Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 62ec25a2eb67d4cbe0628602eb20a0741648d64e 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-ssh7066813661233346338.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10622352330627650438.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17984879388737273821.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7298398224476010565.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-ssh15609789913771067331.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-142’ Running on prd-ubuntu20.04-docker-8c-8g-144 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 62ec25a2eb67d4cbe0628602eb20a0741648d64e (main) Commit message: "Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4" > 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 62ec25a2eb67d4cbe0628602eb20a0741648d64e # timeout=10 > git rev-list --no-walk e06bb49e1a76cfe96378d9ace2c77329ab7864d7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-19T06:04:22.282Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-19T06:04:22.345Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-19T06:04:22.360Z] ========================================================= [2022-12-19T06:04:22.360Z] EdgeX Global Pipelines Version Info [2022-12-19T06:04:22.360Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:04:23.077Z] ------------------- [2022-12-19T06:04:23.077Z] stable info: [2022-12-19T06:04:23.077Z] ------------------- [2022-12-19T06:04:23.077Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-19T06:04:23.077Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T06:04:23.077Z] Message: update stable to v1.0.244 [2022-12-19T06:04:23.649Z] ------------------- [2022-12-19T06:04:23.649Z] experimental info: [2022-12-19T06:04:23.649Z] ------------------- [2022-12-19T06:04:23.649Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-19T06:04:23.649Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T06:04:23.649Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-19T06:04:23.799Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-12-19T06:04:23.813Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-12-19T06:04:23.828Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-19T06:04:23.838Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-19T06:04:23.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-19T06:04:23.862Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-19T06:04:23.874Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-19T06:04:23.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-19T06:04:23.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-19T06:04:23.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-19T06:04:23.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-19T06:04:23.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-12-19T06:04:23.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-19T06:04:23.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-19T06:04:23.971Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T06:04:23.984Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T06:04:23.997Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T06:04:24.010Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T06:04:24.020Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-19T06:04:24.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-19T06:04:24.047Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-19T06:04:24.060Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-19T06:04:24.073Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-19T06:04:24.087Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-19T06:04:24.098Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-19T06:04:24.112Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-19T06:04:24.123Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-19T06:04:24.135Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-12-19T06:04:24.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-12-19T06:04:24.161Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-12-19T06:04:24.172Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] echo [2022-12-19T06:04:24.186Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 62ec25a [Pipeline] echo [2022-12-19T06:04:24.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T06:04:24.245Z] provisioning config files... [2022-12-19T06:04:24.258Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16608697651536869093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:04:24.560Z] ---> docker-login.sh [2022-12-19T06:04:24.560Z] nexus3.edgexfoundry.org:10001 [2022-12-19T06:04:24.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:04:24.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:04:24.821Z] Configure a credential helper to remove this warning. See [2022-12-19T06:04:24.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:04:24.821Z] [2022-12-19T06:04:24.821Z] Login Succeeded [2022-12-19T06:04:24.821Z] nexus3.edgexfoundry.org:10002 [2022-12-19T06:04:25.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:04:25.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:04:25.081Z] Configure a credential helper to remove this warning. See [2022-12-19T06:04:25.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:04:25.081Z] [2022-12-19T06:04:25.081Z] Login Succeeded [2022-12-19T06:04:25.081Z] nexus3.edgexfoundry.org:10003 [2022-12-19T06:04:25.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:04:25.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:04:25.081Z] Configure a credential helper to remove this warning. See [2022-12-19T06:04:25.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:04:25.081Z] [2022-12-19T06:04:25.081Z] Login Succeeded [2022-12-19T06:04:25.081Z] nexus3.edgexfoundry.org:10004 [2022-12-19T06:04:25.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:04:25.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:04:25.341Z] Configure a credential helper to remove this warning. See [2022-12-19T06:04:25.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:04:25.341Z] [2022-12-19T06:04:25.341Z] Login Succeeded [2022-12-19T06:04:25.341Z] docker.io [2022-12-19T06:04:25.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:04:25.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:04:25.601Z] Configure a credential helper to remove this warning. See [2022-12-19T06:04:25.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:04:25.601Z] [2022-12-19T06:04:25.601Z] Login Succeeded [2022-12-19T06:04:25.601Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T06:04:25.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-19T06:04:25.977Z] + git rev-list -1 --merges 62ec25a2eb67d4cbe0628602eb20a0741648d64e~1..62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] echo [2022-12-19T06:04:26.018Z] -----------> git rev-list -1 --merges 62ec25a2eb67d4cbe0628602eb20a0741648d64e~1..62ec25a2eb67d4cbe0628602eb20a0741648d64e 62ec25a2eb67d4cbe0628602eb20a0741648d64e [2022-12-19T06:04:26.018Z] 62ec25a2eb67d4cbe0628602eb20a0741648d64e [false] [Pipeline] sh [2022-12-19T06:04:26.305Z] + git log --format=format:%s -1 62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] echo [2022-12-19T06:04:26.321Z] ========================================================= [2022-12-19T06:04:26.321Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-19T06:04:26.321Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T06:04:26.659Z] + git log --format=format:%s -1 62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] echo [2022-12-19T06:04:26.670Z] [semverPrep] GIT_COMMIT: 62ec25a2eb67d4cbe0628602eb20a0741648d64e, Commit Message: Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4 [Pipeline] echo [2022-12-19T06:04:26.680Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-19T06:04:27.021Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-19T06:04:27.021Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-19T06:04:27.021Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-19T06:04:27.021Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-19T06:04:27.021Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-19T06:04:27.021Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-19T06:04:27.021Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:04:27.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T06:04:27.368Z] [2022-12-19T06:04:27.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:04:27.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T06:04:27.668Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-19T06:04:27.668Z] b85a868b505f: Pulling fs layer [2022-12-19T06:04:27.668Z] e2be974225ed: Pulling fs layer [2022-12-19T06:04:27.668Z] 339a4e72a1f5: Pulling fs layer [2022-12-19T06:04:27.668Z] 988bab9f4d93: Pulling fs layer [2022-12-19T06:04:27.668Z] 1469e6f7b9e6: Pulling fs layer [2022-12-19T06:04:27.668Z] eaf3925da568: Pulling fs layer [2022-12-19T06:04:27.668Z] bab4dde63d76: Pulling fs layer [2022-12-19T06:04:27.668Z] bde34c3a00c8: Pulling fs layer [2022-12-19T06:04:27.668Z] b352a97aabf1: Pulling fs layer [2022-12-19T06:04:27.668Z] 4872d77fe225: Pulling fs layer [2022-12-19T06:04:27.668Z] 5851b861e8e6: Pulling fs layer [2022-12-19T06:04:27.668Z] bde34c3a00c8: Waiting [2022-12-19T06:04:27.668Z] bab4dde63d76: Waiting [2022-12-19T06:04:27.668Z] b352a97aabf1: Waiting [2022-12-19T06:04:27.668Z] 4872d77fe225: Waiting [2022-12-19T06:04:27.668Z] 988bab9f4d93: Waiting [2022-12-19T06:04:27.668Z] 5851b861e8e6: Waiting [2022-12-19T06:04:27.668Z] 1469e6f7b9e6: Waiting [2022-12-19T06:04:27.668Z] eaf3925da568: Waiting [2022-12-19T06:04:27.668Z] e2be974225ed: Verifying Checksum [2022-12-19T06:04:27.668Z] e2be974225ed: Download complete [2022-12-19T06:04:27.668Z] 988bab9f4d93: Verifying Checksum [2022-12-19T06:04:27.668Z] 988bab9f4d93: Download complete [2022-12-19T06:04:27.930Z] 1469e6f7b9e6: Download complete [2022-12-19T06:04:27.930Z] 339a4e72a1f5: Verifying Checksum [2022-12-19T06:04:27.930Z] 339a4e72a1f5: Download complete [2022-12-19T06:04:27.930Z] eaf3925da568: Download complete [2022-12-19T06:04:27.930Z] bde34c3a00c8: Download complete [2022-12-19T06:04:27.930Z] b352a97aabf1: Download complete [2022-12-19T06:04:27.930Z] 4872d77fe225: Verifying Checksum [2022-12-19T06:04:27.930Z] 4872d77fe225: Download complete [2022-12-19T06:04:27.930Z] b85a868b505f: Verifying Checksum [2022-12-19T06:04:27.930Z] b85a868b505f: Download complete [2022-12-19T06:04:27.930Z] 5851b861e8e6: Verifying Checksum [2022-12-19T06:04:27.930Z] 5851b861e8e6: Download complete [2022-12-19T06:04:28.190Z] bab4dde63d76: Verifying Checksum [2022-12-19T06:04:28.190Z] bab4dde63d76: Download complete [2022-12-19T06:04:29.127Z] b85a868b505f: Pull complete [2022-12-19T06:04:29.385Z] e2be974225ed: Pull complete [2022-12-19T06:04:29.952Z] 339a4e72a1f5: Pull complete [2022-12-19T06:04:29.953Z] 988bab9f4d93: Pull complete [2022-12-19T06:04:30.212Z] 1469e6f7b9e6: Pull complete [2022-12-19T06:04:30.213Z] eaf3925da568: Pull complete [2022-12-19T06:04:32.118Z] bab4dde63d76: Pull complete [2022-12-19T06:04:32.118Z] bde34c3a00c8: Pull complete [2022-12-19T06:04:32.379Z] b352a97aabf1: Pull complete [2022-12-19T06:04:32.379Z] 4872d77fe225: Pull complete [2022-12-19T06:04:32.379Z] 5851b861e8e6: Pull complete [2022-12-19T06:04:32.379Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-19T06:04:32.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T06:04:32.379Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:04:32.481Z] prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container [2022-12-19T06:04:32.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-19T06:04:33.775Z] $ docker top a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e -eo pid,comm [2022-12-19T06:04:33.828Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-12-19T06:04:33.828Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-19T06:04:33.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T06:04:33.866Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T06:04:33.990Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T06:04:33.997Z] $ docker exec a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e ssh-agent [2022-12-19T06:04:34.101Z] SSH_AUTH_SOCK=/tmp/ssh-6SiUXfB3oldz/agent.32 [2022-12-19T06:04:34.101Z] SSH_AGENT_PID=38 [2022-12-19T06:04:34.108Z] Running ssh-add (command line suppressed) [2022-12-19T06:04:34.215Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17204919915238687238.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17204919915238687238.key) [2022-12-19T06:04:34.226Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T06:04:34.515Z] + git tag --points-at HEAD [Pipeline] } [2022-12-19T06:04:34.536Z] $ docker exec --env ******** --env ******** a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e ssh-agent -k [2022-12-19T06:04:34.633Z] unset SSH_AUTH_SOCK; [2022-12-19T06:04:34.634Z] unset SSH_AGENT_PID; [2022-12-19T06:04:34.634Z] echo Agent pid 38 killed; [2022-12-19T06:04:34.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-19T06:04:34.663Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T06:04:34.663Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T06:04:34.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T06:04:34.787Z] $ docker exec a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e ssh-agent [2022-12-19T06:04:34.888Z] SSH_AUTH_SOCK=/tmp/ssh-QfWxH8cpXcu5/agent.70 [2022-12-19T06:04:34.888Z] SSH_AGENT_PID=76 [2022-12-19T06:04:34.894Z] Running ssh-add (command line suppressed) [2022-12-19T06:04:35.002Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1475973473648669028.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1475973473648669028.key) [2022-12-19T06:04:35.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T06:04:35.301Z] + git semver init [2022-12-19T06:04:35.561Z] 2022-12-19 06:04:35,480 [run_init] DEBUG init version:0.0.0 force:False [2022-12-19T06:04:35.561Z] 2022-12-19 06:04:35,481 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-12-19T06:04:35.561Z] 2022-12-19 06:04:35,481 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-12-19T06:04:35.561Z] 2022-12-19 06:04:35,482 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-12-19T06:04:36.505Z] 2022-12-19 06:04:36,266 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-12-19T06:04:36.505Z] 2022-12-19 06:04:36,266 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-12-19T06:04:36.505Z] 2022-12-19 06:04:36,267 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-12-19T06:04:36.505Z] 2022-12-19 06:04:36,267 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-12-19T06:04:36.505Z] 3.0.0-dev.2 [Pipeline] } [2022-12-19T06:04:36.517Z] $ docker exec --env ******** --env ******** a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e ssh-agent -k [2022-12-19T06:04:36.624Z] unset SSH_AUTH_SOCK; [2022-12-19T06:04:36.624Z] unset SSH_AGENT_PID; [2022-12-19T06:04:36.624Z] echo Agent pid 76 killed; [2022-12-19T06:04:36.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-19T06:04:36.931Z] + git semver [Pipeline] } [2022-12-19T06:04:37.205Z] $ docker stop --time=1 a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e [2022-12-19T06:04:38.538Z] $ docker rm -f --volumes a7d1fcbc944af261eaf1b8b981af1c9c00a6de910a574b2f698fede0af2c9e4e [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T06:04:38.877Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-19T06:04:39.079Z] Stashed 1 file(s) [Pipeline] echo [2022-12-19T06:04:39.082Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T06:04:39.245Z] provisioning config files... [2022-12-19T06:04:39.256Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3456435995723956922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:04:39.554Z] ---> docker-login.sh [2022-12-19T06:04:39.554Z] nexus3.edgexfoundry.org:10001 [2022-12-19T06:04:39.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:04:39.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:04:39.554Z] Configure a credential helper to remove this warning. See [2022-12-19T06:04:39.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:04:39.554Z] [2022-12-19T06:04:39.554Z] Login Succeeded [2022-12-19T06:04:39.554Z] nexus3.edgexfoundry.org:10002 [2022-12-19T06:04:39.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:04:39.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:04:39.554Z] Configure a credential helper to remove this warning. See [2022-12-19T06:04:39.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:04:39.554Z] [2022-12-19T06:04:39.554Z] Login Succeeded [2022-12-19T06:04:39.554Z] nexus3.edgexfoundry.org:10003 [2022-12-19T06:04:39.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:04:39.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:04:39.814Z] Configure a credential helper to remove this warning. See [2022-12-19T06:04:39.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:04:39.814Z] [2022-12-19T06:04:39.814Z] Login Succeeded [2022-12-19T06:04:39.814Z] nexus3.edgexfoundry.org:10004 [2022-12-19T06:04:39.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:04:39.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:04:39.814Z] Configure a credential helper to remove this warning. See [2022-12-19T06:04:39.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:04:39.814Z] [2022-12-19T06:04:39.814Z] Login Succeeded [2022-12-19T06:04:39.814Z] docker.io [2022-12-19T06:04:40.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:04:40.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:04:40.073Z] Configure a credential helper to remove this warning. See [2022-12-19T06:04:40.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:04:40.073Z] [2022-12-19T06:04:40.073Z] Login Succeeded [2022-12-19T06:04:40.073Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T06:04:40.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T06:04:40.151Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T06:04:40.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T06:04:40.182Z] ========================================================= [2022-12-19T06:04:40.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-19T06:04:40.182Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:04:40.505Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-19T06:04:40.505Z] Sending build context to Docker daemon 6.284MB [2022-12-19T06:04:40.505Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T06:04:40.505Z] Step 2/10 : FROM ${BASE} AS builder [2022-12-19T06:04:40.505Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-19T06:04:40.505Z] 213ec9aee27d: Pulling fs layer [2022-12-19T06:04:40.505Z] 4583459ba037: Pulling fs layer [2022-12-19T06:04:40.505Z] 93c1e223e6f2: Pulling fs layer [2022-12-19T06:04:40.505Z] 53926ce57604: Pulling fs layer [2022-12-19T06:04:40.505Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-19T06:04:40.505Z] 22ff95d597cd: Pulling fs layer [2022-12-19T06:04:40.505Z] 53926ce57604: Waiting [2022-12-19T06:04:40.505Z] 12d6caf4c0d1: Pulling fs layer [2022-12-19T06:04:40.505Z] 96b7cbca73a9: Pulling fs layer [2022-12-19T06:04:40.505Z] a7acece74701: Pulling fs layer [2022-12-19T06:04:40.505Z] 21b2b0c7a3f4: Waiting [2022-12-19T06:04:40.505Z] 96b7cbca73a9: Waiting [2022-12-19T06:04:40.505Z] 22ff95d597cd: Waiting [2022-12-19T06:04:40.505Z] 12d6caf4c0d1: Waiting [2022-12-19T06:04:40.505Z] a7acece74701: Waiting [2022-12-19T06:04:40.505Z] 93c1e223e6f2: Verifying Checksum [2022-12-19T06:04:40.505Z] 93c1e223e6f2: Download complete [2022-12-19T06:04:40.505Z] 4583459ba037: Verifying Checksum [2022-12-19T06:04:40.505Z] 4583459ba037: Download complete [2022-12-19T06:04:40.505Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-19T06:04:40.505Z] 21b2b0c7a3f4: Download complete [2022-12-19T06:04:40.765Z] 22ff95d597cd: Verifying Checksum [2022-12-19T06:04:40.765Z] 22ff95d597cd: Download complete [2022-12-19T06:04:40.765Z] 213ec9aee27d: Verifying Checksum [2022-12-19T06:04:40.765Z] 12d6caf4c0d1: Download complete [2022-12-19T06:04:40.765Z] 213ec9aee27d: Pull complete [2022-12-19T06:04:41.029Z] 4583459ba037: Pull complete [2022-12-19T06:04:41.029Z] 93c1e223e6f2: Pull complete [2022-12-19T06:04:41.029Z] a7acece74701: Verifying Checksum [2022-12-19T06:04:41.029Z] a7acece74701: Download complete [2022-12-19T06:04:41.596Z] 96b7cbca73a9: Verifying Checksum [2022-12-19T06:04:41.596Z] 96b7cbca73a9: Download complete [2022-12-19T06:04:41.596Z] 53926ce57604: Verifying Checksum [2022-12-19T06:04:41.596Z] 53926ce57604: Download complete [2022-12-19T06:04:45.791Z] 53926ce57604: Pull complete [2022-12-19T06:04:45.791Z] 21b2b0c7a3f4: Pull complete [2022-12-19T06:04:45.791Z] 22ff95d597cd: Pull complete [2022-12-19T06:04:45.791Z] 12d6caf4c0d1: Pull complete [2022-12-19T06:04:47.692Z] 96b7cbca73a9: Pull complete [2022-12-19T06:04:48.625Z] a7acece74701: Pull complete [2022-12-19T06:04:48.625Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-19T06:04:48.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-19T06:04:48.625Z] ---> db6d94c90886 [2022-12-19T06:04:48.625Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-12-19T06:04:50.005Z] ---> Running in df730bc91c45 [2022-12-19T06:04:50.264Z] Removing intermediate container df730bc91c45 [2022-12-19T06:04:50.264Z] ---> cb6f3e28a2e8 [2022-12-19T06:04:50.264Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T06:04:50.264Z] ---> Running in 6dfb5c6de5d7 [2022-12-19T06:04:50.264Z] Removing intermediate container 6dfb5c6de5d7 [2022-12-19T06:04:50.264Z] ---> 1b3b84ed347d [2022-12-19T06:04:50.264Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-12-19T06:04:50.264Z] ---> Running in a5b6ca412f3b [2022-12-19T06:04:50.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T06:04:50.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T06:04:51.042Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-12-19T06:04:51.042Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-12-19T06:04:51.042Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-12-19T06:04:51.042Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-12-19T06:04:51.042Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-12-19T06:04:51.042Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-12-19T06:04:51.042Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-12-19T06:04:51.042Z] (8/8) Installing openssh (9.0_p1-r2) [2022-12-19T06:04:51.042Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T06:04:51.042Z] OK: 217 MiB in 59 packages [2022-12-19T06:04:51.612Z] Removing intermediate container a5b6ca412f3b [2022-12-19T06:04:51.612Z] ---> 4329a072eb91 [2022-12-19T06:04:51.612Z] Step 6/10 : WORKDIR /device-modbus-go [2022-12-19T06:04:51.612Z] ---> Running in dca098a7fae8 [2022-12-19T06:04:51.612Z] Removing intermediate container dca098a7fae8 [2022-12-19T06:04:51.612Z] ---> 1782c1856e66 [2022-12-19T06:04:51.612Z] Step 7/10 : COPY go.mod vendor* ./ [2022-12-19T06:04:51.873Z] ---> 25dc402c981f [2022-12-19T06:04:51.873Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T06:04:51.873Z] ---> Running in de905258ae77 [2022-12-19T06:04:54.195Z] Still waiting to schedule task [2022-12-19T06:04:54.196Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-143’ [2022-12-19T06:05:09.965Z] Removing intermediate container de905258ae77 [2022-12-19T06:05:09.965Z] ---> 8a60d0dcf7b3 [2022-12-19T06:05:09.965Z] Step 9/10 : COPY . . [2022-12-19T06:05:09.965Z] ---> 91926f73925c [2022-12-19T06:05:09.965Z] Step 10/10 : RUN ${MAKE} [2022-12-19T06:05:09.965Z] ---> Running in f05fc3e966de [2022-12-19T06:05:09.965Z] noop [2022-12-19T06:05:09.965Z] Removing intermediate container f05fc3e966de [2022-12-19T06:05:09.965Z] ---> c2dbb28da8cc [2022-12-19T06:05:09.965Z] Successfully built c2dbb28da8cc [2022-12-19T06:05:09.965Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:05:10.280Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T06:05:10.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:05:10.357Z] prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container [2022-12-19T06:05:10.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-19T06:05:10.751Z] $ docker top 73195b8b89a8a78389c2d720fc17badacc2cae7c0c3e32f56db5e634c8f6af31 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T06:05:11.098Z] + go version [2022-12-19T06:05:11.098Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-19T06:05:11.108Z] $ docker stop --time=1 73195b8b89a8a78389c2d720fc17badacc2cae7c0c3e32f56db5e634c8f6af31 [2022-12-19T06:05:12.371Z] $ docker rm -f --volumes 73195b8b89a8a78389c2d720fc17badacc2cae7c0c3e32f56db5e634c8f6af31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:05:12.767Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T06:05:12.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:05:12.839Z] prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container [2022-12-19T06:05:12.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-19T06:05:13.238Z] $ docker top c8aaa588937455b328d31ffa957ca877863619bec5dc63134fc68c37f0942390 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T06:05:13.585Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2022-12-19T06:05:13.881Z] + make test [2022-12-19T06:05:13.881Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-12-19T06:05:14.139Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-12-19T06:05:24.109Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-12-19T06:05:24.109Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2022-12-19T06:05:30.677Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-12-19T06:05:30.677Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T06:05:33.959Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T06:05:33.960Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T06:05:33.960Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T06:05:34.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T06:05:34.242Z] $ docker stop --time=1 c8aaa588937455b328d31ffa957ca877863619bec5dc63134fc68c37f0942390 [2022-12-19T06:05:35.889Z] $ docker rm -f --volumes c8aaa588937455b328d31ffa957ca877863619bec5dc63134fc68c37f0942390 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T06:05:36.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T06:05:36.366Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-19T06:05:36.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T06:05:37.064Z] + ls -al . [2022-12-19T06:05:37.064Z] total 196 [2022-12-19T06:05:37.064Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 06:05 . [2022-12-19T06:05:37.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:04 .. [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 19 06:04 .dockerignore [2022-12-19T06:05:37.064Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 06:05 .git [2022-12-19T06:05:37.064Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:04 .github [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 331 Dec 19 06:04 .gitignore [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 06:04 .golangci.yml [2022-12-19T06:05:37.064Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 06:04 .semver [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 10121 Dec 19 06:04 Attribution.txt [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 11576 Dec 19 06:04 CHANGELOG.md [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 1428 Dec 19 06:04 Dockerfile [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 06:04 GOVERNANCE.md [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 06:04 Jenkinsfile [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 06:04 LICENSE [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 2101 Dec 19 06:04 Makefile [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 19 06:04 OWNERS.md [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 4061 Dec 19 06:04 README.md [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 19 06:04 VERSION [2022-12-19T06:05:37.064Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 06:04 bin [2022-12-19T06:05:37.064Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:04 cmd [2022-12-19T06:05:37.064Z] -rw-r--r-- 1 jenkins jenkins 23241 Dec 19 06:05 coverage.out [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 3584 Dec 19 06:04 go.mod [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 45355 Dec 19 06:04 go.sum [2022-12-19T06:05:37.064Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:04 internal [2022-12-19T06:05:37.064Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 06:04 simulator [2022-12-19T06:05:37.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:04 snap [2022-12-19T06:05:37.064Z] -rw-rw-r-- 1 jenkins jenkins 229 Dec 19 06:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:05:37.371Z] + 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=62ec25a2eb67d4cbe0628602eb20a0741648d64e --label arch=amd64 --label version=3.0.0-dev.2 . [2022-12-19T06:05:37.371Z] Sending build context to Docker daemon 6.308MB [2022-12-19T06:05:37.371Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T06:05:37.371Z] Step 2/22 : FROM ${BASE} AS builder [2022-12-19T06:05:37.371Z] ---> c2dbb28da8cc [2022-12-19T06:05:37.371Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-12-19T06:05:37.371Z] ---> Running in 63c317d39bd8 [2022-12-19T06:05:37.629Z] Removing intermediate container 63c317d39bd8 [2022-12-19T06:05:37.629Z] ---> c6a9046c16cf [2022-12-19T06:05:37.629Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T06:05:37.629Z] ---> Running in fbf4e5bc634a [2022-12-19T06:05:37.629Z] Removing intermediate container fbf4e5bc634a [2022-12-19T06:05:37.629Z] ---> a5614bf6dfab [2022-12-19T06:05:37.629Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-12-19T06:05:37.629Z] ---> Running in 31cf30963bc1 [2022-12-19T06:05:37.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T06:05:38.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T06:05:38.407Z] OK: 217 MiB in 59 packages [2022-12-19T06:05:38.674Z] Removing intermediate container 31cf30963bc1 [2022-12-19T06:05:38.674Z] ---> 00cde7461d4c [2022-12-19T06:05:38.674Z] Step 6/22 : WORKDIR /device-modbus-go [2022-12-19T06:05:38.674Z] ---> Running in 3bb476d62e9a [2022-12-19T06:05:38.674Z] Removing intermediate container 3bb476d62e9a [2022-12-19T06:05:38.674Z] ---> a9aef20704fd [2022-12-19T06:05:38.674Z] Step 7/22 : COPY go.mod vendor* ./ [2022-12-19T06:05:38.933Z] ---> 9fd83581115c [2022-12-19T06:05:38.933Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T06:05:38.933Z] ---> Running in 0110e6f4f430 [2022-12-19T06:05:39.502Z] Removing intermediate container 0110e6f4f430 [2022-12-19T06:05:39.502Z] ---> b0f96d26ca3f [2022-12-19T06:05:39.502Z] Step 9/22 : COPY . . [2022-12-19T06:05:39.762Z] ---> deb4f78dd16b [2022-12-19T06:05:39.762Z] Step 10/22 : RUN ${MAKE} [2022-12-19T06:05:39.762Z] ---> Running in d44cacb5e44d [2022-12-19T06:05:40.332Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-12-19T06:06:02.276Z] Removing intermediate container d44cacb5e44d [2022-12-19T06:06:02.276Z] ---> 80cbb1c90cc3 [2022-12-19T06:06:02.276Z] Step 11/22 : FROM alpine:3.14 [2022-12-19T06:06:02.276Z] 3.14: Pulling from library/alpine [2022-12-19T06:06:02.276Z] c7ed990a2339: Pulling fs layer [2022-12-19T06:06:02.276Z] c7ed990a2339: Download complete [2022-12-19T06:06:02.276Z] c7ed990a2339: Pull complete [2022-12-19T06:06:02.276Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2022-12-19T06:06:02.276Z] Status: Downloaded newer image for alpine:3.14 [2022-12-19T06:06:02.276Z] ---> dd53f409bf0b [2022-12-19T06:06:02.276Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-12-19T06:06:02.276Z] ---> Running in 5bf49cec9878 [2022-12-19T06:06:02.276Z] Removing intermediate container 5bf49cec9878 [2022-12-19T06:06:02.276Z] ---> e6597cd9be52 [2022-12-19T06:06:02.276Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-19T06:06:02.276Z] ---> Running in 27c926477f4c [2022-12-19T06:06:02.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-12-19T06:06:02.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-12-19T06:06:02.276Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-19T06:06:02.276Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-12-19T06:06:02.276Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-19T06:06:02.276Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-12-19T06:06:02.276Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-19T06:06:02.276Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-19T06:06:02.276Z] Executing busybox-1.33.1-r8.trigger [2022-12-19T06:06:02.276Z] OK: 8 MiB in 20 packages [2022-12-19T06:06:02.276Z] Removing intermediate container 27c926477f4c [2022-12-19T06:06:02.276Z] ---> e70ad3038389 [2022-12-19T06:06:02.276Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-12-19T06:06:02.276Z] ---> db5491882346 [2022-12-19T06:06:02.276Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-12-19T06:06:02.276Z] ---> 7aefdcea1708 [2022-12-19T06:06:02.276Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-12-19T06:06:02.276Z] ---> 320a7cf011b8 [2022-12-19T06:06:02.276Z] Step 17/22 : EXPOSE 59901 [2022-12-19T06:06:02.276Z] ---> Running in 23e7d675d12f [2022-12-19T06:06:02.276Z] Removing intermediate container 23e7d675d12f [2022-12-19T06:06:02.276Z] ---> e3992f6237c3 [2022-12-19T06:06:02.276Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-12-19T06:06:02.276Z] ---> Running in bf630e4d6ce6 [2022-12-19T06:06:02.536Z] Removing intermediate container bf630e4d6ce6 [2022-12-19T06:06:02.536Z] ---> 399320b29aad [2022-12-19T06:06:02.536Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-19T06:06:02.536Z] ---> Running in 1f5f1c12a1bf [2022-12-19T06:06:02.536Z] Removing intermediate container 1f5f1c12a1bf [2022-12-19T06:06:02.536Z] ---> 504533d2d53a [2022-12-19T06:06:02.536Z] Step 20/22 : LABEL arch=amd64 [2022-12-19T06:06:02.536Z] ---> Running in e4eb5c57224f [2022-12-19T06:06:02.795Z] Removing intermediate container e4eb5c57224f [2022-12-19T06:06:02.795Z] ---> f086ab96a23e [2022-12-19T06:06:02.795Z] Step 21/22 : LABEL git_sha=62ec25a2eb67d4cbe0628602eb20a0741648d64e [2022-12-19T06:06:02.795Z] ---> Running in 4e5305d63a96 [2022-12-19T06:06:02.795Z] Removing intermediate container 4e5305d63a96 [2022-12-19T06:06:02.795Z] ---> bade1f711bfb [2022-12-19T06:06:02.795Z] Step 22/22 : LABEL version=3.0.0-dev.2 [2022-12-19T06:06:02.795Z] ---> Running in af376099c60b [2022-12-19T06:06:02.795Z] Removing intermediate container af376099c60b [2022-12-19T06:06:02.795Z] ---> 6b7f17e29959 [2022-12-19T06:06:02.795Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T06:06:02.795Z] Successfully built 6b7f17e29959 [2022-12-19T06:06:02.795Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T06:06:03.158Z] provisioning config files... [2022-12-19T06:06:03.165Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16850934013903512045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:06:03.459Z] ---> docker-login.sh [2022-12-19T06:06:03.459Z] nexus3.edgexfoundry.org:10001 [2022-12-19T06:06:03.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:06:03.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:06:03.459Z] Configure a credential helper to remove this warning. See [2022-12-19T06:06:03.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:06:03.459Z] [2022-12-19T06:06:03.459Z] Login Succeeded [2022-12-19T06:06:03.459Z] nexus3.edgexfoundry.org:10002 [2022-12-19T06:06:03.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:06:03.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:06:03.459Z] Configure a credential helper to remove this warning. See [2022-12-19T06:06:03.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:06:03.460Z] [2022-12-19T06:06:03.460Z] Login Succeeded [2022-12-19T06:06:03.460Z] nexus3.edgexfoundry.org:10003 [2022-12-19T06:06:03.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:06:03.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:06:03.718Z] Configure a credential helper to remove this warning. See [2022-12-19T06:06:03.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:06:03.718Z] [2022-12-19T06:06:03.718Z] Login Succeeded [2022-12-19T06:06:03.718Z] nexus3.edgexfoundry.org:10004 [2022-12-19T06:06:03.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:06:03.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:06:03.718Z] Configure a credential helper to remove this warning. See [2022-12-19T06:06:03.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:06:03.718Z] [2022-12-19T06:06:03.718Z] Login Succeeded [2022-12-19T06:06:03.718Z] docker.io [2022-12-19T06:06:03.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:06:03.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:06:03.978Z] Configure a credential helper to remove this warning. See [2022-12-19T06:06:03.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:06:03.978Z] [2022-12-19T06:06:03.978Z] Login Succeeded [2022-12-19T06:06:03.978Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T06:06:03.986Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-12-19T06:06:04.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T06:06:04.025Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-12-19T06:06:04.025Z] 62ec25a2eb67d4cbe0628602eb20a0741648d64e [2022-12-19T06:06:04.025Z] latest [2022-12-19T06:06:04.025Z] 3.0.0-dev.2 [2022-12-19T06:06:04.025Z] 62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 [2022-12-19T06:06:04.025Z] main [2022-12-19T06:06:04.025Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:04.330Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:04.635Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e [2022-12-19T06:06:04.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-12-19T06:06:04.635Z] 6eb44cd12d27: Preparing [2022-12-19T06:06:04.635Z] 3ca960cc0d07: Preparing [2022-12-19T06:06:04.635Z] 3f939af649d5: Preparing [2022-12-19T06:06:04.635Z] 7695b8358e4c: Preparing [2022-12-19T06:06:04.635Z] 63493a9ab2d4: Preparing [2022-12-19T06:06:04.635Z] 63493a9ab2d4: Layer already exists [2022-12-19T06:06:04.635Z] 3ca960cc0d07: Pushed [2022-12-19T06:06:04.635Z] 6eb44cd12d27: Pushed [2022-12-19T06:06:04.894Z] 7695b8358e4c: Pushed [2022-12-19T06:06:06.794Z] 3f939af649d5: Pushed [2022-12-19T06:06:07.052Z] 62ec25a2eb67d4cbe0628602eb20a0741648d64e: digest: sha256:baa6278e7edc582a139ee8e4c159255cf1c91077ffd2d09ddeb634cc7553371f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:07.424Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:07.772Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-12-19T06:06:07.772Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-12-19T06:06:07.772Z] 6eb44cd12d27: Preparing [2022-12-19T06:06:07.772Z] 3ca960cc0d07: Preparing [2022-12-19T06:06:07.772Z] 3f939af649d5: Preparing [2022-12-19T06:06:07.772Z] 7695b8358e4c: Preparing [2022-12-19T06:06:07.772Z] 63493a9ab2d4: Preparing [2022-12-19T06:06:07.772Z] 3ca960cc0d07: Layer already exists [2022-12-19T06:06:07.772Z] 7695b8358e4c: Layer already exists [2022-12-19T06:06:07.772Z] 3f939af649d5: Layer already exists [2022-12-19T06:06:07.772Z] 6eb44cd12d27: Layer already exists [2022-12-19T06:06:07.772Z] 63493a9ab2d4: Layer already exists [2022-12-19T06:06:07.772Z] latest: digest: sha256:baa6278e7edc582a139ee8e4c159255cf1c91077ffd2d09ddeb634cc7553371f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:08.120Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:08.422Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.2 [2022-12-19T06:06:08.422Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-12-19T06:06:08.422Z] 6eb44cd12d27: Preparing [2022-12-19T06:06:08.422Z] 3ca960cc0d07: Preparing [2022-12-19T06:06:08.422Z] 3f939af649d5: Preparing [2022-12-19T06:06:08.422Z] 7695b8358e4c: Preparing [2022-12-19T06:06:08.422Z] 63493a9ab2d4: Preparing [2022-12-19T06:06:08.422Z] 3ca960cc0d07: Layer already exists [2022-12-19T06:06:08.422Z] 63493a9ab2d4: Layer already exists [2022-12-19T06:06:08.422Z] 3f939af649d5: Layer already exists [2022-12-19T06:06:08.422Z] 6eb44cd12d27: Layer already exists [2022-12-19T06:06:08.422Z] 7695b8358e4c: Layer already exists [2022-12-19T06:06:08.422Z] 3.0.0-dev.2: digest: sha256:baa6278e7edc582a139ee8e4c159255cf1c91077ffd2d09ddeb634cc7553371f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:08.728Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:09.030Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 [2022-12-19T06:06:09.030Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-12-19T06:06:09.030Z] 6eb44cd12d27: Preparing [2022-12-19T06:06:09.030Z] 3ca960cc0d07: Preparing [2022-12-19T06:06:09.030Z] 3f939af649d5: Preparing [2022-12-19T06:06:09.030Z] 7695b8358e4c: Preparing [2022-12-19T06:06:09.030Z] 63493a9ab2d4: Preparing [2022-12-19T06:06:09.030Z] 3ca960cc0d07: Layer already exists [2022-12-19T06:06:09.030Z] 6eb44cd12d27: Layer already exists [2022-12-19T06:06:09.030Z] 63493a9ab2d4: Layer already exists [2022-12-19T06:06:09.030Z] 3f939af649d5: Layer already exists [2022-12-19T06:06:09.030Z] 7695b8358e4c: Layer already exists [2022-12-19T06:06:09.030Z] 62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2: digest: sha256:baa6278e7edc582a139ee8e4c159255cf1c91077ffd2d09ddeb634cc7553371f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:09.347Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:09.650Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-12-19T06:06:09.650Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-12-19T06:06:09.650Z] 6eb44cd12d27: Preparing [2022-12-19T06:06:09.650Z] 3ca960cc0d07: Preparing [2022-12-19T06:06:09.650Z] 3f939af649d5: Preparing [2022-12-19T06:06:09.650Z] 7695b8358e4c: Preparing [2022-12-19T06:06:09.650Z] 63493a9ab2d4: Preparing [2022-12-19T06:06:09.650Z] 6eb44cd12d27: Layer already exists [2022-12-19T06:06:09.650Z] 63493a9ab2d4: Layer already exists [2022-12-19T06:06:09.650Z] 7695b8358e4c: Layer already exists [2022-12-19T06:06:09.650Z] 3f939af649d5: Layer already exists [2022-12-19T06:06:09.650Z] 3ca960cc0d07: Layer already exists [2022-12-19T06:06:09.650Z] main: digest: sha256:baa6278e7edc582a139ee8e4c159255cf1c91077ffd2d09ddeb634cc7553371f size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-12-19T06:06:09.686Z] ===================================================== [Pipeline] echo [2022-12-19T06:06:09.692Z] taggedImages: [2022-12-19T06:06:09.692Z] - nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e [2022-12-19T06:06:09.692Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-12-19T06:06:09.692Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.2 [2022-12-19T06:06:09.692Z] - nexus3.edgexfoundry.org:10004/device-modbus:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 [2022-12-19T06:06:09.692Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:10.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T06:06:10.052Z] [2022-12-19T06:06:10.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:06:10.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T06:06:10.352Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-19T06:06:10.352Z] 5eb5b503b376: Pulling fs layer [2022-12-19T06:06:10.352Z] 5c69ac0246d0: Pulling fs layer [2022-12-19T06:06:10.352Z] ec43610c2a17: Pulling fs layer [2022-12-19T06:06:10.352Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-19T06:06:10.352Z] 33b1e0a273af: Pulling fs layer [2022-12-19T06:06:10.352Z] 5d3b04190fa2: Pulling fs layer [2022-12-19T06:06:10.352Z] 3a2ae6a8a46f: Waiting [2022-12-19T06:06:10.352Z] 2f39f015ded8: Pulling fs layer [2022-12-19T06:06:10.352Z] 33b1e0a273af: Waiting [2022-12-19T06:06:10.352Z] 5d3b04190fa2: Waiting [2022-12-19T06:06:10.352Z] 2f39f015ded8: Waiting [2022-12-19T06:06:10.352Z] 5c69ac0246d0: Download complete [2022-12-19T06:06:10.352Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-19T06:06:10.352Z] 3a2ae6a8a46f: Download complete [2022-12-19T06:06:10.352Z] ec43610c2a17: Verifying Checksum [2022-12-19T06:06:10.352Z] ec43610c2a17: Download complete [2022-12-19T06:06:10.352Z] 33b1e0a273af: Verifying Checksum [2022-12-19T06:06:10.352Z] 33b1e0a273af: Download complete [2022-12-19T06:06:10.352Z] 5d3b04190fa2: Verifying Checksum [2022-12-19T06:06:10.352Z] 5d3b04190fa2: Download complete [2022-12-19T06:06:10.612Z] 5eb5b503b376: Verifying Checksum [2022-12-19T06:06:10.612Z] 5eb5b503b376: Download complete [2022-12-19T06:06:11.181Z] 2f39f015ded8: Download complete [2022-12-19T06:06:11.747Z] 5eb5b503b376: Pull complete [2022-12-19T06:06:11.747Z] 5c69ac0246d0: Pull complete [2022-12-19T06:06:12.314Z] ec43610c2a17: Pull complete [2022-12-19T06:06:12.314Z] 3a2ae6a8a46f: Pull complete [2022-12-19T06:06:12.314Z] 33b1e0a273af: Pull complete [2022-12-19T06:06:12.571Z] 5d3b04190fa2: Pull complete [2022-12-19T06:06:16.759Z] 2f39f015ded8: Pull complete [2022-12-19T06:06:16.759Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-19T06:06:16.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T06:06:16.759Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:06:16.842Z] prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container [2022-12-19T06:06:16.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-19T06:06:18.257Z] $ docker top 0f511d8dbb6ae3b66a0314f1cc2bf756f5fe4b76b8cdba0adb0abf1f12ee9fad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:06:18.627Z] ---> job-cost.sh [2022-12-19T06:06:18.627Z] lf-activate-venv: SKIPPING [2022-12-19T06:06:18.627Z] INFO: No Stack... [2022-12-19T06:06:18.885Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T06:06:19.453Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T06:06:19.738Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-12-19T06:06:19.738Z] + cut -d, -f6 [Pipeline] lock [2022-12-19T06:06:19.753Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] [2022-12-19T06:06:19.759Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] did not exist. Created. [2022-12-19T06:06:19.759Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T06:06:20.063Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-19T06:06:20.086Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T06:06:20.092Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T06:06:20.109Z] $ docker stop --time=1 0f511d8dbb6ae3b66a0314f1cc2bf756f5fe4b76b8cdba0adb0abf1f12ee9fad [2022-12-19T06:06:21.284Z] $ docker rm -f --volumes 0f511d8dbb6ae3b66a0314f1cc2bf756f5fe4b76b8cdba0adb0abf1f12ee9fad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-19T06:08:14.011Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-146 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-12-19T06:08:14.024Z] Running in /w/workspace/device-modbus-go/68 [Pipeline] { [Pipeline] checkout [2022-12-19T06:08:14.063Z] Selected Git installation does not exist. Using Default [2022-12-19T06:08:14.063Z] The recommended git tool is: NONE [2022-12-19T06:08:19.234Z] using credential edgex-jenkins-ssh [2022-12-19T06:08:19.248Z] Cloning the remote Git repository [2022-12-19T06:08:19.282Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-12-19T06:08:19.353Z] > git init /w/workspace/device-modbus-go/68 # timeout=10 [2022-12-19T06:08:19.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-12-19T06:08:19.494Z] > git --version # timeout=10 [2022-12-19T06:08:19.514Z] > git --version # 'git version 2.25.1' [2022-12-19T06:08:19.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T06:08:19.587Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T06:08:21.566Z] Avoid second fetch [2022-12-19T06:08:21.567Z] Checking out Revision 62ec25a2eb67d4cbe0628602eb20a0741648d64e (main) [2022-12-19T06:08:20.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-12-19T06:08:20.709Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T06:08:22.031Z] Commit message: "Merge pull request #393 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T06:08:21.577Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T06:08:21.596Z] > git checkout -f 62ec25a2eb67d4cbe0628602eb20a0741648d64e # timeout=10 [2022-12-19T06:08:22.931Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-19T06:08:22.931Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T06:08:22.931Z] Dload Upload Total Spent Left Speed [2022-12-19T06:08:22.931Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2022-12-19T06:08:23.480Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-19T06:08:23.821Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-12-19T06:08:23.821Z] [2022-12-19T06:08:23.821Z] { [2022-12-19T06:08:23.821Z] "registry-mirrors": [ [2022-12-19T06:08:23.821Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-19T06:08:23.821Z] ], [2022-12-19T06:08:23.821Z] "bip": "10.250.0.254/24", [2022-12-19T06:08:23.821Z] "hosts": [ [2022-12-19T06:08:23.821Z] "tcp://0.0.0.0:5555", [2022-12-19T06:08:23.821Z] "unix:///var/run/docker.sock" [2022-12-19T06:08:23.821Z] ], [2022-12-19T06:08:23.821Z] "mtu": 1458, [2022-12-19T06:08:23.821Z] "selinux-enabled": true, [2022-12-19T06:08:23.821Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-19T06:08:23.821Z] } [Pipeline] sh [2022-12-19T06:08:24.146Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-19T06:08:24.484Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T06:08:42.744Z] provisioning config files... [2022-12-19T06:08:42.770Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/68@tmp/config9717074155406534636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:08:43.130Z] ---> docker-login.sh [2022-12-19T06:08:43.130Z] nexus3.edgexfoundry.org:10001 [2022-12-19T06:08:43.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:08:43.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:08:43.674Z] Configure a credential helper to remove this warning. See [2022-12-19T06:08:43.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:08:43.674Z] [2022-12-19T06:08:43.674Z] Login Succeeded [2022-12-19T06:08:43.674Z] nexus3.edgexfoundry.org:10002 [2022-12-19T06:08:43.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:08:44.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:08:44.210Z] Configure a credential helper to remove this warning. See [2022-12-19T06:08:44.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:08:44.210Z] [2022-12-19T06:08:44.210Z] Login Succeeded [2022-12-19T06:08:44.210Z] nexus3.edgexfoundry.org:10003 [2022-12-19T06:08:44.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:08:44.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:08:44.481Z] Configure a credential helper to remove this warning. See [2022-12-19T06:08:44.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:08:44.481Z] [2022-12-19T06:08:44.481Z] Login Succeeded [2022-12-19T06:08:44.481Z] nexus3.edgexfoundry.org:10004 [2022-12-19T06:08:44.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:08:44.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:08:44.751Z] Configure a credential helper to remove this warning. See [2022-12-19T06:08:44.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:08:44.751Z] [2022-12-19T06:08:44.751Z] Login Succeeded [2022-12-19T06:08:44.751Z] docker.io [2022-12-19T06:08:45.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:08:45.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:08:45.290Z] Configure a credential helper to remove this warning. See [2022-12-19T06:08:45.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:08:45.290Z] [2022-12-19T06:08:45.290Z] Login Succeeded [2022-12-19T06:08:45.290Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T06:08:45.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T06:08:45.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T06:08:45.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T06:08:45.571Z] ========================================================= [2022-12-19T06:08:45.572Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-19T06:08:45.572Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:08:45.926Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-19T06:08:46.196Z] Sending build context to Docker daemon 3.271MB [2022-12-19T06:08:46.196Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T06:08:46.196Z] Step 2/10 : FROM ${BASE} AS builder [2022-12-19T06:08:46.468Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-19T06:08:46.468Z] 9b18e9b68314: Pulling fs layer [2022-12-19T06:08:46.468Z] 35d82f9e3411: Pulling fs layer [2022-12-19T06:08:46.468Z] e16973657156: Pulling fs layer [2022-12-19T06:08:46.468Z] fc693d55d65f: Pulling fs layer [2022-12-19T06:08:46.468Z] 7e9fc2657dce: Pulling fs layer [2022-12-19T06:08:46.468Z] dda99020689f: Pulling fs layer [2022-12-19T06:08:46.468Z] db1c61fa0a46: Pulling fs layer [2022-12-19T06:08:46.468Z] 891c053d2c06: Pulling fs layer [2022-12-19T06:08:46.468Z] fc693d55d65f: Waiting [2022-12-19T06:08:46.468Z] 7e9fc2657dce: Waiting [2022-12-19T06:08:46.468Z] dda99020689f: Waiting [2022-12-19T06:08:46.468Z] db1c61fa0a46: Waiting [2022-12-19T06:08:46.468Z] 891c053d2c06: Waiting [2022-12-19T06:08:46.468Z] e16973657156: Verifying Checksum [2022-12-19T06:08:46.468Z] e16973657156: Download complete [2022-12-19T06:08:46.468Z] 35d82f9e3411: Verifying Checksum [2022-12-19T06:08:46.468Z] 35d82f9e3411: Download complete [2022-12-19T06:08:46.468Z] 7e9fc2657dce: Verifying Checksum [2022-12-19T06:08:46.468Z] 7e9fc2657dce: Download complete [2022-12-19T06:08:46.468Z] dda99020689f: Download complete [2022-12-19T06:08:46.468Z] 9b18e9b68314: Verifying Checksum [2022-12-19T06:08:46.468Z] 9b18e9b68314: Download complete [2022-12-19T06:08:47.447Z] 9b18e9b68314: Pull complete [2022-12-19T06:08:47.447Z] 891c053d2c06: Verifying Checksum [2022-12-19T06:08:47.447Z] 891c053d2c06: Download complete [2022-12-19T06:08:48.035Z] 35d82f9e3411: Pull complete [2022-12-19T06:08:48.307Z] e16973657156: Pull complete [2022-12-19T06:08:48.897Z] db1c61fa0a46: Verifying Checksum [2022-12-19T06:08:48.897Z] db1c61fa0a46: Download complete [2022-12-19T06:08:49.485Z] fc693d55d65f: Verifying Checksum [2022-12-19T06:08:49.485Z] fc693d55d65f: Download complete [2022-12-19T06:09:01.827Z] fc693d55d65f: Pull complete [2022-12-19T06:09:01.827Z] 7e9fc2657dce: Pull complete [2022-12-19T06:09:01.827Z] dda99020689f: Pull complete [2022-12-19T06:09:08.489Z] db1c61fa0a46: Pull complete [2022-12-19T06:09:09.453Z] 891c053d2c06: Pull complete [2022-12-19T06:09:09.453Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-19T06:09:09.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-19T06:09:09.453Z] ---> f96f9c87975a [2022-12-19T06:09:09.453Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-12-19T06:09:11.404Z] ---> Running in f8fe04cc1337 [2022-12-19T06:09:11.404Z] Removing intermediate container f8fe04cc1337 [2022-12-19T06:09:11.404Z] ---> d50d7c4bb525 [2022-12-19T06:09:11.404Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T06:09:11.404Z] ---> Running in 55e05cf31be3 [2022-12-19T06:09:11.675Z] Removing intermediate container 55e05cf31be3 [2022-12-19T06:09:11.675Z] ---> 3b28d6f704bf [2022-12-19T06:09:11.675Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-12-19T06:09:11.944Z] ---> Running in 1fd21b67054d [2022-12-19T06:09:12.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T06:09:13.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T06:09:14.219Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-12-19T06:09:14.219Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-12-19T06:09:14.219Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-12-19T06:09:14.219Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-12-19T06:09:14.219Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-12-19T06:09:14.219Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-12-19T06:09:14.219Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-12-19T06:09:14.219Z] (8/8) Installing openssh (9.0_p1-r2) [2022-12-19T06:09:14.219Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T06:09:14.219Z] OK: 228 MiB in 59 packages [2022-12-19T06:09:15.193Z] Removing intermediate container 1fd21b67054d [2022-12-19T06:09:15.193Z] ---> e23176f5d7c7 [2022-12-19T06:09:15.193Z] Step 6/10 : WORKDIR /device-modbus-go [2022-12-19T06:09:15.461Z] ---> Running in 38bc4171674f [2022-12-19T06:09:15.729Z] Removing intermediate container 38bc4171674f [2022-12-19T06:09:15.729Z] ---> ec835880aed3 [2022-12-19T06:09:15.729Z] Step 7/10 : COPY go.mod vendor* ./ [2022-12-19T06:09:18.312Z] ---> 4d21cbe5c94f [2022-12-19T06:09:18.312Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T06:09:18.312Z] ---> Running in 550f184a8e20 [2022-12-19T06:10:14.748Z] Removing intermediate container 550f184a8e20 [2022-12-19T06:10:14.748Z] ---> 03302159acf6 [2022-12-19T06:10:14.748Z] Step 9/10 : COPY . . [2022-12-19T06:10:14.748Z] ---> 973de0bf3e95 [2022-12-19T06:10:14.748Z] Step 10/10 : RUN ${MAKE} [2022-12-19T06:10:14.748Z] ---> Running in ceda3d32fa7f [2022-12-19T06:10:14.748Z] noop [2022-12-19T06:10:15.335Z] Removing intermediate container ceda3d32fa7f [2022-12-19T06:10:15.335Z] ---> 267ad0cb63e3 [2022-12-19T06:10:15.335Z] Successfully built 267ad0cb63e3 [2022-12-19T06:10:15.335Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:10:15.691Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T06:10:15.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:10:15.875Z] prd-ubuntu20.04-docker-arm64-4c-16g-146 does not seem to be running inside a container [2022-12-19T06:10:15.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/68 -v /w/workspace/device-modbus-go/68:/w/workspace/device-modbus-go/68:rw,z -v /w/workspace/device-modbus-go/68@tmp:/w/workspace/device-modbus-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-19T06:10:17.203Z] $ docker top 8d89cf1dac266422cd433d262cb982079817ee5e608a48981fed056435dee720 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T06:10:18.045Z] + go version [2022-12-19T06:10:18.045Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-19T06:10:18.071Z] $ docker stop --time=1 8d89cf1dac266422cd433d262cb982079817ee5e608a48981fed056435dee720 [2022-12-19T06:10:19.719Z] $ docker rm -f --volumes 8d89cf1dac266422cd433d262cb982079817ee5e608a48981fed056435dee720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:10:20.254Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T06:10:20.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:10:20.432Z] prd-ubuntu20.04-docker-arm64-4c-16g-146 does not seem to be running inside a container [2022-12-19T06:10:20.506Z] $ 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/68 -v /w/workspace/device-modbus-go/68:/w/workspace/device-modbus-go/68:rw,z -v /w/workspace/device-modbus-go/68@tmp:/w/workspace/device-modbus-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-19T06:10:21.621Z] $ docker top bc96ff47f72ca53c6031ccd77c386eac93c1fcf6ff7974c3379c309f7c2ff3da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T06:10:22.125Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/68 [Pipeline] fileExists [Pipeline] sh [2022-12-19T06:10:22.782Z] + make test [2022-12-19T06:10:22.782Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-12-19T06:10:24.188Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-12-19T06:11:45.824Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-12-19T06:11:45.824Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements [2022-12-19T06:11:45.824Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-19T06:11:45.824Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T06:12:04.029Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T06:12:04.029Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T06:12:04.029Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T06:12:04.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T06:12:04.065Z] $ docker stop --time=1 bc96ff47f72ca53c6031ccd77c386eac93c1fcf6ff7974c3379c309f7c2ff3da [2022-12-19T06:12:05.801Z] $ docker rm -f --volumes bc96ff47f72ca53c6031ccd77c386eac93c1fcf6ff7974c3379c309f7c2ff3da [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T06:12:06.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T06:12:06.756Z] Warning: overwriting stash ‘coverage-report’ [2022-12-19T06:12:07.194Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T06:12:07.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T06:12:07.924Z] + ls -al . [2022-12-19T06:12:07.924Z] total 192 [2022-12-19T06:12:07.924Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 06:10 . [2022-12-19T06:12:07.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:08 .. [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 19 06:08 .dockerignore [2022-12-19T06:12:07.924Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 06:08 .git [2022-12-19T06:12:07.924Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:08 .github [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 331 Dec 19 06:08 .gitignore [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 19 06:08 .golangci.yml [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 10121 Dec 19 06:08 Attribution.txt [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 11576 Dec 19 06:08 CHANGELOG.md [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 1428 Dec 19 06:08 Dockerfile [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 06:08 GOVERNANCE.md [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 680 Dec 19 06:08 Jenkinsfile [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 19 06:08 LICENSE [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 2101 Dec 19 06:08 Makefile [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 622 Dec 19 06:08 OWNERS.md [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 4061 Dec 19 06:08 README.md [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 19 06:04 VERSION [2022-12-19T06:12:07.924Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 06:08 bin [2022-12-19T06:12:07.924Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:08 cmd [2022-12-19T06:12:07.924Z] -rw-r--r-- 1 jenkins jenkins 23241 Dec 19 06:11 coverage.out [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 3584 Dec 19 06:08 go.mod [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 45355 Dec 19 06:08 go.sum [2022-12-19T06:12:07.924Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 06:08 internal [2022-12-19T06:12:07.924Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 06:08 simulator [2022-12-19T06:12:07.924Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 06:08 snap [2022-12-19T06:12:07.924Z] -rw-rw-r-- 1 jenkins jenkins 229 Dec 19 06:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:12:08.266Z] + 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=62ec25a2eb67d4cbe0628602eb20a0741648d64e --label arch=arm64 --label version=3.0.0-dev.2 . [2022-12-19T06:12:08.535Z] Sending build context to Docker daemon 3.295MB [2022-12-19T06:12:08.535Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T06:12:08.535Z] Step 2/22 : FROM ${BASE} AS builder [2022-12-19T06:12:08.535Z] ---> 267ad0cb63e3 [2022-12-19T06:12:08.535Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-12-19T06:12:08.535Z] ---> Running in 87220bb7c56a [2022-12-19T06:12:09.122Z] Removing intermediate container 87220bb7c56a [2022-12-19T06:12:09.122Z] ---> c6ce98cad7af [2022-12-19T06:12:09.122Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T06:12:09.122Z] ---> Running in 41b25e6afcd7 [2022-12-19T06:12:09.390Z] Removing intermediate container 41b25e6afcd7 [2022-12-19T06:12:09.390Z] ---> 968158ecd0bf [2022-12-19T06:12:09.390Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-12-19T06:12:09.390Z] ---> Running in 28b15a73541d [2022-12-19T06:12:10.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T06:12:10.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T06:12:11.575Z] OK: 228 MiB in 59 packages [2022-12-19T06:12:13.522Z] Removing intermediate container 28b15a73541d [2022-12-19T06:12:13.522Z] ---> 39aca379b3e9 [2022-12-19T06:12:13.522Z] Step 6/22 : WORKDIR /device-modbus-go [2022-12-19T06:12:13.522Z] ---> Running in 394df1ce9eb7 [2022-12-19T06:12:13.522Z] Removing intermediate container 394df1ce9eb7 [2022-12-19T06:12:13.522Z] ---> b8adfce5a70c [2022-12-19T06:12:13.522Z] Step 7/22 : COPY go.mod vendor* ./ [2022-12-19T06:12:14.105Z] ---> 42af3ef7708b [2022-12-19T06:12:14.105Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T06:12:14.105Z] ---> Running in c2dad3ebf58b [2022-12-19T06:12:16.055Z] Removing intermediate container c2dad3ebf58b [2022-12-19T06:12:16.055Z] ---> 00044ff69bd7 [2022-12-19T06:12:16.055Z] Step 9/22 : COPY . . [2022-12-19T06:12:16.639Z] ---> e533cb427474 [2022-12-19T06:12:16.639Z] Step 10/22 : RUN ${MAKE} [2022-12-19T06:12:16.639Z] ---> Running in 6c247f54b600 [2022-12-19T06:12:17.599Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-12-19T06:14:39.327Z] Removing intermediate container 6c247f54b600 [2022-12-19T06:14:39.327Z] ---> 0b37b985aa49 [2022-12-19T06:14:39.327Z] Step 11/22 : FROM alpine:3.14 [2022-12-19T06:14:39.327Z] 3.14: Pulling from library/alpine [2022-12-19T06:14:39.327Z] 90cda3b7c325: Pulling fs layer [2022-12-19T06:14:39.327Z] 90cda3b7c325: Verifying Checksum [2022-12-19T06:14:39.327Z] 90cda3b7c325: Download complete [2022-12-19T06:14:39.327Z] 90cda3b7c325: Pull complete [2022-12-19T06:14:39.327Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2022-12-19T06:14:39.327Z] Status: Downloaded newer image for alpine:3.14 [2022-12-19T06:14:39.327Z] ---> 275902a1839d [2022-12-19T06:14:39.327Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-12-19T06:14:39.327Z] ---> Running in 6b98da558c2c [2022-12-19T06:14:39.596Z] Removing intermediate container 6b98da558c2c [2022-12-19T06:14:39.596Z] ---> 88f5454e08ad [2022-12-19T06:14:39.596Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-19T06:14:39.596Z] ---> Running in 268b3324986b [2022-12-19T06:14:40.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-12-19T06:14:40.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-12-19T06:14:41.783Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-19T06:14:41.783Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-12-19T06:14:41.783Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-19T06:14:41.783Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-12-19T06:14:41.783Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-19T06:14:41.783Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-19T06:14:41.783Z] Executing busybox-1.33.1-r8.trigger [2022-12-19T06:14:41.783Z] OK: 8 MiB in 20 packages [2022-12-19T06:14:42.749Z] Removing intermediate container 268b3324986b [2022-12-19T06:14:42.749Z] ---> ebcaecf5002c [2022-12-19T06:14:42.749Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-12-19T06:14:44.164Z] ---> cfd0164a5698 [2022-12-19T06:14:44.164Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-12-19T06:14:44.750Z] ---> 2e9cf8a9a21b [2022-12-19T06:14:44.750Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-12-19T06:14:46.162Z] ---> 6166eeeea32d [2022-12-19T06:14:46.162Z] Step 17/22 : EXPOSE 59901 [2022-12-19T06:14:46.162Z] ---> Running in f5d22c505c71 [2022-12-19T06:14:46.430Z] Removing intermediate container f5d22c505c71 [2022-12-19T06:14:46.430Z] ---> de5df7f61e4d [2022-12-19T06:14:46.430Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-12-19T06:14:46.698Z] ---> Running in b0a9b8822606 [2022-12-19T06:14:46.964Z] Removing intermediate container b0a9b8822606 [2022-12-19T06:14:46.964Z] ---> 988757afb2c5 [2022-12-19T06:14:46.964Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-19T06:14:46.965Z] ---> Running in ce8990a48a2b [2022-12-19T06:14:47.230Z] Removing intermediate container ce8990a48a2b [2022-12-19T06:14:47.230Z] ---> 709b493225aa [2022-12-19T06:14:47.230Z] Step 20/22 : LABEL arch=arm64 [2022-12-19T06:14:47.230Z] ---> Running in 9160f70e4fb8 [2022-12-19T06:14:47.496Z] Removing intermediate container 9160f70e4fb8 [2022-12-19T06:14:47.496Z] ---> 6e2ca8169b78 [2022-12-19T06:14:47.496Z] Step 21/22 : LABEL git_sha=62ec25a2eb67d4cbe0628602eb20a0741648d64e [2022-12-19T06:14:47.496Z] ---> Running in 0cdcb96f8f44 [2022-12-19T06:14:47.763Z] Removing intermediate container 0cdcb96f8f44 [2022-12-19T06:14:47.763Z] ---> 3c8f6cf5e2f1 [2022-12-19T06:14:47.763Z] Step 22/22 : LABEL version=3.0.0-dev.2 [2022-12-19T06:14:48.030Z] ---> Running in fbe6dad4b8df [2022-12-19T06:14:48.030Z] Removing intermediate container fbe6dad4b8df [2022-12-19T06:14:48.030Z] ---> 9f394c5083ab [2022-12-19T06:14:48.030Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T06:14:48.296Z] Successfully built 9f394c5083ab [2022-12-19T06:14:48.296Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T06:14:48.410Z] provisioning config files... [2022-12-19T06:14:48.424Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/68@tmp/config1020238898018620156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:14:48.777Z] ---> docker-login.sh [2022-12-19T06:14:48.777Z] nexus3.edgexfoundry.org:10001 [2022-12-19T06:14:48.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:14:49.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:14:49.047Z] Configure a credential helper to remove this warning. See [2022-12-19T06:14:49.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:14:49.047Z] [2022-12-19T06:14:49.047Z] Login Succeeded [2022-12-19T06:14:49.047Z] nexus3.edgexfoundry.org:10002 [2022-12-19T06:14:49.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:14:49.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:14:49.313Z] Configure a credential helper to remove this warning. See [2022-12-19T06:14:49.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:14:49.313Z] [2022-12-19T06:14:49.313Z] Login Succeeded [2022-12-19T06:14:49.313Z] nexus3.edgexfoundry.org:10003 [2022-12-19T06:14:49.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:14:49.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:14:49.848Z] Configure a credential helper to remove this warning. See [2022-12-19T06:14:49.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:14:49.848Z] [2022-12-19T06:14:49.848Z] Login Succeeded [2022-12-19T06:14:49.848Z] nexus3.edgexfoundry.org:10004 [2022-12-19T06:14:50.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:14:50.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:14:50.116Z] Configure a credential helper to remove this warning. See [2022-12-19T06:14:50.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:14:50.116Z] [2022-12-19T06:14:50.116Z] Login Succeeded [2022-12-19T06:14:50.116Z] docker.io [2022-12-19T06:14:50.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T06:14:50.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T06:14:50.650Z] Configure a credential helper to remove this warning. See [2022-12-19T06:14:50.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T06:14:50.650Z] [2022-12-19T06:14:50.650Z] Login Succeeded [2022-12-19T06:14:50.650Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T06:14:50.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-12-19T06:14:50.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T06:14:50.703Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-12-19T06:14:50.703Z] 62ec25a2eb67d4cbe0628602eb20a0741648d64e [2022-12-19T06:14:50.703Z] latest [2022-12-19T06:14:50.703Z] 3.0.0-dev.2 [2022-12-19T06:14:50.703Z] 62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 [2022-12-19T06:14:50.703Z] main [2022-12-19T06:14:50.703Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:14:51.041Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:14:51.378Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e [2022-12-19T06:14:51.378Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-12-19T06:14:51.378Z] 5412fd882010: Preparing [2022-12-19T06:14:51.378Z] 7c33ae5c9853: Preparing [2022-12-19T06:14:51.378Z] 6f6f1d3162ff: Preparing [2022-12-19T06:14:51.378Z] 647a076eaa68: Preparing [2022-12-19T06:14:51.378Z] 28c3ef001483: Preparing [2022-12-19T06:14:51.378Z] 28c3ef001483: Layer already exists [2022-12-19T06:14:51.645Z] 5412fd882010: Pushed [2022-12-19T06:14:51.645Z] 7c33ae5c9853: Pushed [2022-12-19T06:14:52.227Z] 647a076eaa68: Pushed [2022-12-19T06:14:56.474Z] 6f6f1d3162ff: Pushed [2022-12-19T06:14:56.741Z] 62ec25a2eb67d4cbe0628602eb20a0741648d64e: digest: sha256:eec626196ef03514fa5fded4e12d701432a44e4366d12d8373610da987de2410 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:14:57.097Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:14:57.435Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-12-19T06:14:57.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-12-19T06:14:57.436Z] 5412fd882010: Preparing [2022-12-19T06:14:57.436Z] 7c33ae5c9853: Preparing [2022-12-19T06:14:57.436Z] 6f6f1d3162ff: Preparing [2022-12-19T06:14:57.436Z] 647a076eaa68: Preparing [2022-12-19T06:14:57.436Z] 28c3ef001483: Preparing [2022-12-19T06:14:57.436Z] 6f6f1d3162ff: Layer already exists [2022-12-19T06:14:57.436Z] 28c3ef001483: Layer already exists [2022-12-19T06:14:57.436Z] 5412fd882010: Layer already exists [2022-12-19T06:14:57.436Z] 7c33ae5c9853: Layer already exists [2022-12-19T06:14:57.436Z] 647a076eaa68: Layer already exists [2022-12-19T06:14:57.700Z] latest: digest: sha256:eec626196ef03514fa5fded4e12d701432a44e4366d12d8373610da987de2410 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:14:58.054Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:14:58.392Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.2 [2022-12-19T06:14:58.392Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-12-19T06:14:58.392Z] 5412fd882010: Preparing [2022-12-19T06:14:58.392Z] 7c33ae5c9853: Preparing [2022-12-19T06:14:58.392Z] 6f6f1d3162ff: Preparing [2022-12-19T06:14:58.392Z] 647a076eaa68: Preparing [2022-12-19T06:14:58.392Z] 28c3ef001483: Preparing [2022-12-19T06:14:58.392Z] 7c33ae5c9853: Layer already exists [2022-12-19T06:14:58.392Z] 6f6f1d3162ff: Layer already exists [2022-12-19T06:14:58.392Z] 647a076eaa68: Layer already exists [2022-12-19T06:14:58.392Z] 28c3ef001483: Layer already exists [2022-12-19T06:14:58.392Z] 5412fd882010: Layer already exists [2022-12-19T06:14:58.392Z] 3.0.0-dev.2: digest: sha256:eec626196ef03514fa5fded4e12d701432a44e4366d12d8373610da987de2410 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:14:58.727Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:14:59.071Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 [2022-12-19T06:14:59.071Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-12-19T06:14:59.071Z] 5412fd882010: Preparing [2022-12-19T06:14:59.071Z] 7c33ae5c9853: Preparing [2022-12-19T06:14:59.071Z] 6f6f1d3162ff: Preparing [2022-12-19T06:14:59.071Z] 647a076eaa68: Preparing [2022-12-19T06:14:59.071Z] 28c3ef001483: Preparing [2022-12-19T06:14:59.071Z] 28c3ef001483: Layer already exists [2022-12-19T06:14:59.071Z] 7c33ae5c9853: Layer already exists [2022-12-19T06:14:59.071Z] 647a076eaa68: Layer already exists [2022-12-19T06:14:59.071Z] 5412fd882010: Layer already exists [2022-12-19T06:14:59.071Z] 6f6f1d3162ff: Layer already exists [2022-12-19T06:14:59.071Z] 62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2: digest: sha256:eec626196ef03514fa5fded4e12d701432a44e4366d12d8373610da987de2410 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:14:59.460Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:14:59.833Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-12-19T06:14:59.833Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-12-19T06:14:59.833Z] 5412fd882010: Preparing [2022-12-19T06:14:59.833Z] 7c33ae5c9853: Preparing [2022-12-19T06:14:59.833Z] 6f6f1d3162ff: Preparing [2022-12-19T06:14:59.833Z] 647a076eaa68: Preparing [2022-12-19T06:14:59.833Z] 28c3ef001483: Preparing [2022-12-19T06:14:59.833Z] 647a076eaa68: Layer already exists [2022-12-19T06:14:59.833Z] 5412fd882010: Layer already exists [2022-12-19T06:14:59.833Z] 7c33ae5c9853: Layer already exists [2022-12-19T06:14:59.833Z] 6f6f1d3162ff: Layer already exists [2022-12-19T06:14:59.833Z] 28c3ef001483: Layer already exists [2022-12-19T06:14:59.833Z] main: digest: sha256:eec626196ef03514fa5fded4e12d701432a44e4366d12d8373610da987de2410 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-12-19T06:15:00.147Z] ===================================================== [Pipeline] echo [2022-12-19T06:15:00.156Z] taggedImages: [2022-12-19T06:15:00.156Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e [2022-12-19T06:15:00.156Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-12-19T06:15:00.156Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.2 [2022-12-19T06:15:00.156Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:62ec25a2eb67d4cbe0628602eb20a0741648d64e-3.0.0-dev.2 [2022-12-19T06:15:00.156Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:15:00.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T06:15:00.511Z] [2022-12-19T06:15:00.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:15:00.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T06:15:00.860Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-19T06:15:00.860Z] 8998bd30e6a1: Pulling fs layer [2022-12-19T06:15:00.860Z] 04944245beec: Pulling fs layer [2022-12-19T06:15:00.860Z] 699f458cf7ca: Pulling fs layer [2022-12-19T06:15:00.860Z] 765212b225bb: Pulling fs layer [2022-12-19T06:15:00.860Z] f23df028b6ca: Pulling fs layer [2022-12-19T06:15:00.860Z] d65c8cfc05b1: Pulling fs layer [2022-12-19T06:15:00.860Z] 2437ff75d9bd: Pulling fs layer [2022-12-19T06:15:00.860Z] f23df028b6ca: Waiting [2022-12-19T06:15:00.860Z] d65c8cfc05b1: Waiting [2022-12-19T06:15:00.860Z] 765212b225bb: Waiting [2022-12-19T06:15:01.137Z] 04944245beec: Verifying Checksum [2022-12-19T06:15:01.137Z] 04944245beec: Download complete [2022-12-19T06:15:01.137Z] 765212b225bb: Verifying Checksum [2022-12-19T06:15:01.137Z] 765212b225bb: Download complete [2022-12-19T06:15:01.137Z] f23df028b6ca: Verifying Checksum [2022-12-19T06:15:01.137Z] f23df028b6ca: Download complete [2022-12-19T06:15:01.137Z] d65c8cfc05b1: Verifying Checksum [2022-12-19T06:15:01.137Z] d65c8cfc05b1: Download complete [2022-12-19T06:15:01.428Z] 699f458cf7ca: Verifying Checksum [2022-12-19T06:15:01.428Z] 699f458cf7ca: Download complete [2022-12-19T06:15:01.715Z] 8998bd30e6a1: Verifying Checksum [2022-12-19T06:15:01.715Z] 8998bd30e6a1: Download complete [2022-12-19T06:15:04.299Z] 2437ff75d9bd: Verifying Checksum [2022-12-19T06:15:04.299Z] 2437ff75d9bd: Download complete [2022-12-19T06:15:05.709Z] 8998bd30e6a1: Pull complete [2022-12-19T06:15:05.974Z] 04944245beec: Pull complete [2022-12-19T06:15:07.379Z] 699f458cf7ca: Pull complete [2022-12-19T06:15:07.379Z] 765212b225bb: Pull complete [2022-12-19T06:15:07.962Z] f23df028b6ca: Pull complete [2022-12-19T06:15:08.229Z] d65c8cfc05b1: Pull complete [2022-12-19T06:15:23.225Z] 2437ff75d9bd: Pull complete [2022-12-19T06:15:23.225Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-19T06:15:23.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T06:15:23.225Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:15:23.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-146 does not seem to be running inside a container [2022-12-19T06:15:23.486Z] $ 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/68 -v /w/workspace/device-modbus-go/68:/w/workspace/device-modbus-go/68:rw,z -v /w/workspace/device-modbus-go/68@tmp:/w/workspace/device-modbus-go/68@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-19T06:15:25.970Z] $ docker top 256c88623a107b372bb21b21bc639747ec8acc5d88e2a53f78e714beb219cb43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:15:26.799Z] ---> job-cost.sh [2022-12-19T06:15:26.799Z] lf-activate-venv: SKIPPING [2022-12-19T06:15:26.799Z] INFO: No Stack... [2022-12-19T06:15:27.064Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-19T06:15:28.020Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T06:15:28.657Z] + cat /w/workspace/device-modbus-go/68/archives/cost.csv [2022-12-19T06:15:28.657Z] + cut -d, -f6 [Pipeline] lock [2022-12-19T06:15:28.724Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] [2022-12-19T06:15:28.735Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] did not exist. Created. [2022-12-19T06:15:28.735Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T06:15:29.390Z] /w/workspace/device-modbus-go/68@tmp/durable-939ec8e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-19T06:15:29.721Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-19T06:15:29.748Z] Warning: overwriting stash ‘stack-cost’ [2022-12-19T06:15:29.795Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T06:15:29.801Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T06:15:29.828Z] $ docker stop --time=1 256c88623a107b372bb21b21bc639747ec8acc5d88e2a53f78e714beb219cb43 [2022-12-19T06:15:31.327Z] $ docker rm -f --volumes 256c88623a107b372bb21b21bc639747ec8acc5d88e2a53f78e714beb219cb43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-12-19T06:15:31.724Z] provisioning config files... [2022-12-19T06:15:31.730Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17354725503903246461tmp [Pipeline] { [Pipeline] sh [2022-12-19T06:15:32.016Z] + set +x [2022-12-19T06:15:32.016Z] + curl -s https://codecov.io/bash [2022-12-19T06:15:32.016Z] + bash -s -- [2022-12-19T06:15:32.016Z] [2022-12-19T06:15:32.016Z] _____ _ [2022-12-19T06:15:32.016Z] / ____| | | [2022-12-19T06:15:32.016Z] | | ___ __| | ___ ___ _____ __ [2022-12-19T06:15:32.016Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-19T06:15:32.016Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-19T06:15:32.016Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-19T06:15:32.016Z] Bash-1.0.6 [2022-12-19T06:15:32.016Z] [2022-12-19T06:15:32.016Z] [2022-12-19T06:15:32.016Z] ==> git version 2.25.1 found [2022-12-19T06:15:32.016Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-12-19T06:15:32.016Z] Release-Date: 2020-01-08 [2022-12-19T06:15:32.016Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-19T06:15:32.016Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-19T06:15:32.016Z] ==> Jenkins CI detected. [2022-12-19T06:15:32.016Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-12-19T06:15:32.016Z] project root: . [2022-12-19T06:15:32.016Z] --> token set from env [2022-12-19T06:15:32.016Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-19T06:15:32.016Z] ==> Running gcov in . (disable via -X gcov) [2022-12-19T06:15:32.016Z] ==> Python coveragepy not found [2022-12-19T06:15:32.016Z] ==> Searching for coverage reports in: [2022-12-19T06:15:32.016Z] + . [2022-12-19T06:15:32.016Z] -> Found 1 reports [2022-12-19T06:15:32.016Z] ==> Detecting git/mercurial file structure [2022-12-19T06:15:32.016Z] ==> Reading reports [2022-12-19T06:15:32.016Z] + ./coverage.out bytes=23241 [2022-12-19T06:15:32.016Z] ==> Appending adjustments [2022-12-19T06:15:32.016Z] https://docs.codecov.io/docs/fixing-reports [2022-12-19T06:15:32.278Z] + Found adjustments [2022-12-19T06:15:32.278Z] ==> Gzipping contents [2022-12-19T06:15:32.278Z] 4.0K /tmp/codecov.WissAv.gz [2022-12-19T06:15:32.278Z] ==> Uploading reports [2022-12-19T06:15:32.278Z] url: https://codecov.io [2022-12-19T06:15:32.278Z] query: branch=main&commit=62ec25a2eb67d4cbe0628602eb20a0741648d64e&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-12-19T06:15:32.278Z] -> Pinging Codecov [2022-12-19T06:15:32.278Z] 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=62ec25a2eb67d4cbe0628602eb20a0741648d64e&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-12-19T06:15:32.538Z] -> Uploading to [2022-12-19T06:15:32.538Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-19/55DBCA73C666E3227836607328DD7E49/62ec25a2eb67d4cbe0628602eb20a0741648d64e/3fe292d0-b07f-49d5-b783-320006a96341.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T061532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=87b504a2c37770240453aca577a432d0c2356e32d9f9f9db566f9ecaf23498f4 [2022-12-19T06:15:32.538Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T06:15:32.538Z] Dload Upload Total Spent Left Speed [2022-12-19T06:15:32.798Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3920 0 0 100 3920 0 19215 --:--:-- --:--:-- --:--:-- 19121 100 3920 0 0 100 3920 0 16752 --:--:-- --:--:-- --:--:-- 16680 [2022-12-19T06:15:32.798Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] } [2022-12-19T06:15:32.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-12-19T06:15:32.931Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-12-19T06:15:32.943Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:15:33.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-12-19T06:15:33.252Z] [2022-12-19T06:15:33.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:15:33.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-12-19T06:15:33.558Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-12-19T06:15:33.558Z] df9b9388f04a: Pulling fs layer [2022-12-19T06:15:33.558Z] 52dc419b0ee2: Pulling fs layer [2022-12-19T06:15:33.558Z] 25bc292e5bac: Pulling fs layer [2022-12-19T06:15:33.558Z] 114826534d7a: Pulling fs layer [2022-12-19T06:15:33.558Z] 4657fd5d0bcf: Pulling fs layer [2022-12-19T06:15:33.558Z] 6ad1cebc031e: Pulling fs layer [2022-12-19T06:15:33.558Z] 8a3aa393b2d8: Pulling fs layer [2022-12-19T06:15:33.558Z] 4657fd5d0bcf: Waiting [2022-12-19T06:15:33.558Z] 6ad1cebc031e: Waiting [2022-12-19T06:15:33.558Z] 8a3aa393b2d8: Waiting [2022-12-19T06:15:33.558Z] 114826534d7a: Waiting [2022-12-19T06:15:33.558Z] 25bc292e5bac: Verifying Checksum [2022-12-19T06:15:33.558Z] 25bc292e5bac: Download complete [2022-12-19T06:15:33.558Z] 52dc419b0ee2: Verifying Checksum [2022-12-19T06:15:33.558Z] 52dc419b0ee2: Download complete [2022-12-19T06:15:33.558Z] 4657fd5d0bcf: Download complete [2022-12-19T06:15:33.558Z] df9b9388f04a: Verifying Checksum [2022-12-19T06:15:33.558Z] df9b9388f04a: Download complete [2022-12-19T06:15:33.825Z] df9b9388f04a: Pull complete [2022-12-19T06:15:33.825Z] 6ad1cebc031e: Verifying Checksum [2022-12-19T06:15:33.825Z] 6ad1cebc031e: Download complete [2022-12-19T06:15:33.825Z] 52dc419b0ee2: Pull complete [2022-12-19T06:15:33.825Z] 25bc292e5bac: Pull complete [2022-12-19T06:15:34.797Z] 114826534d7a: Verifying Checksum [2022-12-19T06:15:34.797Z] 114826534d7a: Download complete [2022-12-19T06:15:34.797Z] 8a3aa393b2d8: Verifying Checksum [2022-12-19T06:15:34.797Z] 8a3aa393b2d8: Download complete [2022-12-19T06:15:38.075Z] 114826534d7a: Pull complete [2022-12-19T06:15:38.075Z] 4657fd5d0bcf: Pull complete [2022-12-19T06:15:38.343Z] 6ad1cebc031e: Pull complete [2022-12-19T06:15:40.876Z] 8a3aa393b2d8: Pull complete [2022-12-19T06:15:40.876Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-12-19T06:15:40.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-12-19T06:15:40.876Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:15:40.969Z] prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container [2022-12-19T06:15:40.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-12-19T06:15:42.764Z] $ docker top 42253e9c7005fd242b3fdeca7767c417adaec12edb98922cbaa8e382458c9533 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-12-19T06:15:42.831Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-12-19T06:15:43.107Z] + set -o pipefail [2022-12-19T06:15:43.107Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-12-19T06:15:49.673Z] [2022-12-19T06:15:49.673Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-12-19T06:15:49.673Z] [2022-12-19T06:15:49.673Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/437224e3-5a9d-49c3-9db7-d3d56771aeb7 [2022-12-19T06:15:49.673Z] [2022-12-19T06:15:49.673Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-12-19T06:15:49.673Z] [2022-12-19T06:15:49.673Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-12-19T06:15:49.673Z] [2022-12-19T06:15:49.673Z] [2022-12-19T06:15:49.673Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-12-19T06:15:49.673Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-12-19T06:15:49.673Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-12-19T06:15:49.941Z] $ docker stop --time=1 42253e9c7005fd242b3fdeca7767c417adaec12edb98922cbaa8e382458c9533 [2022-12-19T06:15:51.981Z] $ docker rm -f --volumes 42253e9c7005fd242b3fdeca7767c417adaec12edb98922cbaa8e382458c9533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T06:15:52.689Z] + git log --format=format:%s -1 62ec25a2eb67d4cbe0628602eb20a0741648d64e [Pipeline] sh [2022-12-19T06:15:52.984Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-19T06:15:52.984Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:15:53.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T06:15:53.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:15:53.367Z] prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container [2022-12-19T06:15:53.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-19T06:15:53.755Z] $ docker top c39e7eb3e2da2c3d8b9d01861545ea6f9e143fe358f145263c01bb5548dcdf91 -eo pid,comm [2022-12-19T06:15:53.807Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-12-19T06:15:53.807Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-19T06:15:53.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T06:15:53.844Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T06:15:53.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T06:15:53.958Z] $ docker exec c39e7eb3e2da2c3d8b9d01861545ea6f9e143fe358f145263c01bb5548dcdf91 ssh-agent [2022-12-19T06:15:54.061Z] SSH_AUTH_SOCK=/tmp/ssh-wKZteZ7z05Px/agent.31 [2022-12-19T06:15:54.061Z] SSH_AGENT_PID=37 [2022-12-19T06:15:54.066Z] Running ssh-add (command line suppressed) [2022-12-19T06:15:54.169Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15084607816035034285.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15084607816035034285.key) [2022-12-19T06:15:54.186Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T06:15:54.476Z] + git semver tag [2022-12-19T06:15:54.735Z] 2022-12-19 06:15:54,647 [run_tag] DEBUG tag force:False [2022-12-19T06:15:54.735Z] 2022-12-19 06:15:54,647 [check_head_tag] DEBUG check head tag [2022-12-19T06:15:54.735Z] 2022-12-19 06:15:54,648 [execute] INFO git cat-file --batch-check [2022-12-19T06:15:54.735Z] 2022-12-19 06:15:54,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-12-19T06:15:54.735Z] 2022-12-19 06:15:54,651 [execute] INFO git cat-file --batch [2022-12-19T06:15:54.735Z] 2022-12-19 06:15:54,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-12-19T06:15:54.735Z] 2022-12-19 06:15:54,665 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-12-19T06:15:54.735Z] 2022-12-19 06:15:54,665 [execute] INFO git tag -a v3.0.0-dev.2 -m v3.0.0-dev.2 [2022-12-19T06:15:54.735Z] 2022-12-19 06:15:54,665 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.2', '-m', 'v3.0.0-dev.2'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-12-19T06:15:54.735Z] 2022-12-19 06:15:54,669 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-12-19T06:15:54.735Z] 3.0.0-dev.2 [Pipeline] } [2022-12-19T06:15:54.739Z] $ docker exec --env ******** --env ******** c39e7eb3e2da2c3d8b9d01861545ea6f9e143fe358f145263c01bb5548dcdf91 ssh-agent -k [2022-12-19T06:15:54.840Z] unset SSH_AUTH_SOCK; [2022-12-19T06:15:54.841Z] unset SSH_AGENT_PID; [2022-12-19T06:15:54.841Z] echo Agent pid 37 killed; [2022-12-19T06:15:54.854Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-19T06:15:55.162Z] + git semver [Pipeline] } [2022-12-19T06:15:55.429Z] $ docker stop --time=1 c39e7eb3e2da2c3d8b9d01861545ea6f9e143fe358f145263c01bb5548dcdf91 [2022-12-19T06:15:56.706Z] $ docker rm -f --volumes c39e7eb3e2da2c3d8b9d01861545ea6f9e143fe358f145263c01bb5548dcdf91 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:15:57.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-12-19T06:15:57.085Z] [2022-12-19T06:15:57.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:15:57.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-12-19T06:15:57.381Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-12-19T06:15:57.381Z] ab5ef0e58194: Pulling fs layer [2022-12-19T06:15:57.381Z] 9712f1f96733: Pulling fs layer [2022-12-19T06:15:57.381Z] 63f879dbbcfc: Pulling fs layer [2022-12-19T06:15:57.382Z] 0d9ebad4ef96: Pulling fs layer [2022-12-19T06:15:57.382Z] e9a5061849ea: Pulling fs layer [2022-12-19T06:15:57.382Z] d747dcd14b5f: Pulling fs layer [2022-12-19T06:15:57.382Z] 2de7ff778b66: Pulling fs layer [2022-12-19T06:15:57.382Z] e9a5061849ea: Waiting [2022-12-19T06:15:57.382Z] 0d9ebad4ef96: Waiting [2022-12-19T06:15:57.382Z] d747dcd14b5f: Waiting [2022-12-19T06:15:57.382Z] 9712f1f96733: Verifying Checksum [2022-12-19T06:15:57.382Z] 9712f1f96733: Download complete [2022-12-19T06:15:57.642Z] 63f879dbbcfc: Verifying Checksum [2022-12-19T06:15:57.642Z] 63f879dbbcfc: Download complete [2022-12-19T06:15:57.901Z] e9a5061849ea: Verifying Checksum [2022-12-19T06:15:57.901Z] e9a5061849ea: Download complete [2022-12-19T06:15:57.901Z] d747dcd14b5f: Download complete [2022-12-19T06:15:58.166Z] 0d9ebad4ef96: Download complete [2022-12-19T06:15:58.166Z] ab5ef0e58194: Verifying Checksum [2022-12-19T06:15:58.166Z] ab5ef0e58194: Download complete [2022-12-19T06:15:58.166Z] 2de7ff778b66: Verifying Checksum [2022-12-19T06:15:58.166Z] 2de7ff778b66: Download complete [2022-12-19T06:16:00.700Z] ab5ef0e58194: Pull complete [2022-12-19T06:16:00.700Z] 9712f1f96733: Pull complete [2022-12-19T06:16:01.634Z] 63f879dbbcfc: Pull complete [2022-12-19T06:16:04.918Z] 0d9ebad4ef96: Pull complete [2022-12-19T06:16:05.175Z] e9a5061849ea: Pull complete [2022-12-19T06:16:05.175Z] d747dcd14b5f: Pull complete [2022-12-19T06:16:06.110Z] 2de7ff778b66: Pull complete [2022-12-19T06:16:06.110Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-12-19T06:16:06.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-12-19T06:16:06.110Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:16:06.186Z] prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container [2022-12-19T06:16:06.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-12-19T06:16:08.080Z] $ docker top d3da6541d2bd979c231c7eaba5a40226398e0382950bc51ed3c328a3d2f02f50 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-12-19T06:16:08.155Z] provisioning config files... [2022-12-19T06:16:08.162Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3404703175621667526tmp [2022-12-19T06:16:08.171Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4564502263687364222tmp [2022-12-19T06:16:08.180Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2918981984030818581tmp [Pipeline] { [Pipeline] echo [2022-12-19T06:16:08.196Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:16:08.475Z] ---> sigul-configuration.sh [2022-12-19T06:16:08.475Z] gpg: directory `/root/.gnupg' created [2022-12-19T06:16:08.475Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-12-19T06:16:08.475Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-12-19T06:16:08.475Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-12-19T06:16:08.475Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-12-19T06:16:08.475Z] gpg: CAST5 encrypted data [2022-12-19T06:16:08.475Z] gpg: encrypted with 1 passphrase [2022-12-19T06:16:08.475Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-12-19T06:16:08.764Z] + mkdir /home/jenkins [2022-12-19T06:16:08.764Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-12-19T06:16:09.050Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-12-19T06:16:09.061Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:16:09.344Z] ---> sigul-install.sh [2022-12-19T06:16:09.345Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-12-19T06:16:09.631Z] + git tag --list [2022-12-19T06:16:09.631Z] 0.7.1 [2022-12-19T06:16:09.631Z] v1.0.0 [2022-12-19T06:16:09.631Z] v1.1.0 [2022-12-19T06:16:09.631Z] v1.1.1 [2022-12-19T06:16:09.631Z] v1.2.2 [2022-12-19T06:16:09.631Z] v1.3.0 [2022-12-19T06:16:09.631Z] v1.3.1 [2022-12-19T06:16:09.631Z] v2.0.0 [2022-12-19T06:16:09.631Z] v2.1.0 [2022-12-19T06:16:09.631Z] v2.1.1 [2022-12-19T06:16:09.631Z] v2.1.1-dev.1 [2022-12-19T06:16:09.631Z] v2.1.1-dev.2 [2022-12-19T06:16:09.631Z] v2.1.1-dev.3 [2022-12-19T06:16:09.631Z] v2.2.0 [2022-12-19T06:16:09.631Z] v2.2.1-dev.1 [2022-12-19T06:16:09.631Z] v2.2.1-dev.2 [2022-12-19T06:16:09.631Z] v2.2.1-dev.3 [2022-12-19T06:16:09.631Z] v2.2.1-dev.4 [2022-12-19T06:16:09.631Z] v2.2.1-dev.5 [2022-12-19T06:16:09.631Z] v2.2.1-dev.6 [2022-12-19T06:16:09.631Z] v2.2.1-dev.7 [2022-12-19T06:16:09.631Z] v2.3.0 [2022-12-19T06:16:09.631Z] v2.3.0-dev.10 [2022-12-19T06:16:09.631Z] v2.3.0-dev.11 [2022-12-19T06:16:09.631Z] v2.3.0-dev.12 [2022-12-19T06:16:09.631Z] v2.3.0-dev.13 [2022-12-19T06:16:09.631Z] v2.3.0-dev.14 [2022-12-19T06:16:09.631Z] v2.3.0-dev.15 [2022-12-19T06:16:09.631Z] v2.3.0-dev.16 [2022-12-19T06:16:09.631Z] v2.3.0-dev.17 [2022-12-19T06:16:09.631Z] v2.3.0-dev.18 [2022-12-19T06:16:09.631Z] v2.3.0-dev.19 [2022-12-19T06:16:09.631Z] v2.3.0-dev.20 [2022-12-19T06:16:09.631Z] v2.3.0-dev.21 [2022-12-19T06:16:09.631Z] v2.3.0-dev.22 [2022-12-19T06:16:09.631Z] v2.3.0-dev.23 [2022-12-19T06:16:09.631Z] v2.3.0-dev.24 [2022-12-19T06:16:09.631Z] v2.3.0-dev.25 [2022-12-19T06:16:09.631Z] v2.3.0-dev.7 [2022-12-19T06:16:09.631Z] v2.3.0-dev.8 [2022-12-19T06:16:09.631Z] v2.3.0-dev.9 [2022-12-19T06:16:09.631Z] v3.0.0-dev.1 [2022-12-19T06:16:09.631Z] v3.0.0-dev.2 [Pipeline] sh [2022-12-19T06:16:09.917Z] + lftools sign git-tag v3.0.0-dev.2 [2022-12-19T06:16:10.485Z] Signing Git tag with Sigul... [2022-12-19T06:16:10.485Z] Signing v3.0.0-dev.2 [Pipeline] echo [2022-12-19T06:16:11.061Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:16:11.343Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-12-19T06:16:11.349Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-12-19T06:16:11.363Z] $ docker stop --time=1 d3da6541d2bd979c231c7eaba5a40226398e0382950bc51ed3c328a3d2f02f50 [2022-12-19T06:16:12.680Z] $ docker rm -f --volumes d3da6541d2bd979c231c7eaba5a40226398e0382950bc51ed3c328a3d2f02f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-12-19T06:16:13.107Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-19T06:16:13.107Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:16:13.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T06:16:13.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:16:13.473Z] prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container [2022-12-19T06:16:13.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-19T06:16:13.862Z] $ docker top 8e46a3333813d3a23fa119ab07d33ef0ae5cb6dd757dab8402cedc02f6e727b0 -eo pid,comm [2022-12-19T06:16:13.919Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-12-19T06:16:13.919Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-19T06:16:13.955Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T06:16:13.955Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T06:16:14.067Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T06:16:14.065Z] $ docker exec 8e46a3333813d3a23fa119ab07d33ef0ae5cb6dd757dab8402cedc02f6e727b0 ssh-agent [2022-12-19T06:16:14.179Z] SSH_AUTH_SOCK=/tmp/ssh-N5oTHersaCpH/agent.31 [2022-12-19T06:16:14.179Z] SSH_AGENT_PID=37 [2022-12-19T06:16:14.183Z] Running ssh-add (command line suppressed) [2022-12-19T06:16:14.286Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8134103766364181652.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8134103766364181652.key) [2022-12-19T06:16:14.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T06:16:14.588Z] + git semver bump pre [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,750 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,751 [bump_version] DEBUG bumping version:3.0.0-dev.2 on axis:pre with prefix:dev [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,751 [bump_version] DEBUG bumped version:3.0.0-dev.3 [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,751 [write_version] DEBUG write version:3.0.0-dev.3 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,751 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,753 [execute] INFO git cat-file --batch-check [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,753 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,758 [execute] INFO git cat-file --batch [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T06:16:14.848Z] 2022-12-19 06:16:14,762 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-12-19T06:16:14.848Z] 3.0.0-dev.3 [Pipeline] } [2022-12-19T06:16:14.852Z] $ docker exec --env ******** --env ******** 8e46a3333813d3a23fa119ab07d33ef0ae5cb6dd757dab8402cedc02f6e727b0 ssh-agent -k [2022-12-19T06:16:14.955Z] unset SSH_AUTH_SOCK; [2022-12-19T06:16:14.956Z] unset SSH_AGENT_PID; [2022-12-19T06:16:14.956Z] echo Agent pid 37 killed; [2022-12-19T06:16:14.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-19T06:16:15.281Z] + git semver [Pipeline] } [2022-12-19T06:16:15.546Z] $ docker stop --time=1 8e46a3333813d3a23fa119ab07d33ef0ae5cb6dd757dab8402cedc02f6e727b0 [2022-12-19T06:16:16.851Z] $ docker rm -f --volumes 8e46a3333813d3a23fa119ab07d33ef0ae5cb6dd757dab8402cedc02f6e727b0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T06:16:17.194Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-19T06:16:17.194Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:16:17.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T06:16:17.491Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:16:17.565Z] prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container [2022-12-19T06:16:17.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-19T06:16:17.930Z] $ docker top b57aeb9349797e41e8317e82d57d1ced9337df4d2a11263a54a8347cb072d956 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-19T06:16:18.023Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T06:16:18.024Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T06:16:18.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T06:16:18.142Z] $ docker exec b57aeb9349797e41e8317e82d57d1ced9337df4d2a11263a54a8347cb072d956 ssh-agent [2022-12-19T06:16:18.242Z] SSH_AUTH_SOCK=/tmp/ssh-um3xUYxM4o8y/agent.32 [2022-12-19T06:16:18.242Z] SSH_AGENT_PID=38 [2022-12-19T06:16:18.246Z] Running ssh-add (command line suppressed) [2022-12-19T06:16:18.340Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15335778136991224796.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15335778136991224796.key) [2022-12-19T06:16:18.360Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T06:16:18.648Z] + git semver push [2022-12-19T06:16:18.907Z] 2022-12-19 06:16:18,824 [run_push] DEBUG push [2022-12-19T06:16:18.907Z] 2022-12-19 06:16:18,824 [execute] INFO git cat-file --batch-check [2022-12-19T06:16:18.907Z] 2022-12-19 06:16:18,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T06:16:18.907Z] 2022-12-19 06:16:18,828 [execute] INFO git rev-list 9c7d80ef6828101fcce2d76e9526e81e97ac80c9 -- [2022-12-19T06:16:18.907Z] 2022-12-19 06:16:18,828 [execute] DEBUG Popen(['git', 'rev-list', '9c7d80ef6828101fcce2d76e9526e81e97ac80c9', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-12-19T06:16:18.907Z] 2022-12-19 06:16:18,836 [execute] INFO git fetch -v origin [2022-12-19T06:16:18.907Z] 2022-12-19 06:16:18,837 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-12-19T06:16:19.478Z] 2022-12-19 06:16:19,345 [run_push] DEBUG no remote changes detected [2022-12-19T06:16:19.478Z] 2022-12-19 06:16:19,346 [execute] INFO git push origin semver [2022-12-19T06:16:19.478Z] 2022-12-19 06:16:19,346 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-12-19T06:16:20.414Z] 2022-12-19 06:16:20,101 [run_push] DEBUG push all version tags [2022-12-19T06:16:20.414Z] 2022-12-19 06:16:20,102 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-12-19T06:16:20.414Z] 2022-12-19 06:16:20,102 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-12-19T06:16:20.980Z] 2022-12-19 06:16:20,834 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-12-19T06:16:20.980Z] 3.0.0-dev.3 [Pipeline] } [2022-12-19T06:16:20.984Z] $ docker exec --env ******** --env ******** b57aeb9349797e41e8317e82d57d1ced9337df4d2a11263a54a8347cb072d956 ssh-agent -k [2022-12-19T06:16:21.080Z] unset SSH_AUTH_SOCK; [2022-12-19T06:16:21.080Z] unset SSH_AGENT_PID; [2022-12-19T06:16:21.080Z] echo Agent pid 38 killed; [2022-12-19T06:16:21.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-19T06:16:21.402Z] + git semver [Pipeline] } [2022-12-19T06:16:21.667Z] $ docker stop --time=1 b57aeb9349797e41e8317e82d57d1ced9337df4d2a11263a54a8347cb072d956 [2022-12-19T06:16:22.925Z] $ docker rm -f --volumes b57aeb9349797e41e8317e82d57d1ced9337df4d2a11263a54a8347cb072d956 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-12-19T06:16:23.475Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-12-19T06:16:23.475Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-12-19T06:16:23.475Z] total 16 [2022-12-19T06:16:23.475Z] drwxr-xr-x 3 root root 4096 Dec 19 06:06 . [2022-12-19T06:16:23.475Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 06:16 .. [2022-12-19T06:16:23.475Z] drwxr-xr-x 2 root root 4096 Dec 19 06:06 cost [2022-12-19T06:16:23.475Z] -rw-r--r-- 1 root root 87 Dec 19 06:06 cost.csv [2022-12-19T06:16:23.475Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-12-19T06:16:23.475Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-12-19T06:16:23.475Z] total 16 [2022-12-19T06:16:23.475Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 06:06 . [2022-12-19T06:16:23.475Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 06:16 .. [2022-12-19T06:16:23.475Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 06:06 cost [2022-12-19T06:16:23.475Z] -rw-r--r-- 1 jenkins jenkins 87 Dec 19 06:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:16:23.764Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:16:24.622Z] ---> package-listing.sh [2022-12-19T06:16:24.622Z] ++ facter osfamily [2022-12-19T06:16:24.622Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-19T06:16:24.881Z] + OS_FAMILY=debian [2022-12-19T06:16:24.881Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-12-19T06:16:24.881Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-19T06:16:24.881Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-19T06:16:24.881Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-19T06:16:24.881Z] + PACKAGES=/tmp/packages_start.txt [2022-12-19T06:16:24.881Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-12-19T06:16:24.881Z] + PACKAGES=/tmp/packages_end.txt [2022-12-19T06:16:24.881Z] + case "${OS_FAMILY}" in [2022-12-19T06:16:24.881Z] + dpkg -l [2022-12-19T06:16:24.881Z] + grep '^ii' [2022-12-19T06:16:24.881Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-19T06:16:24.881Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-19T06:16:24.881Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-19T06:16:24.881Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-12-19T06:16:24.881Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-12-19T06:16:24.881Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-12-19T06:16:24.894Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-19T06:16:25.170Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T06:16:25.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T06:16:25.733Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T06:16:25.805Z] prd-ubuntu20.04-docker-8c-8g-144 does not seem to be running inside a container [2022-12-19T06:16:25.829Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-19T06:16:26.031Z] $ docker top 5573dbfff843636c1ebd7334344c5cd0e93b1d04a6c1f463723d6566fb6f0866 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T06:16:26.380Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-19T06:16:26.664Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-19T06:16:26.947Z] + ls /var/log/sa-host [2022-12-19T06:16:26.947Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T06:16:27.025Z] provisioning config files... [2022-12-19T06:16:27.034Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15698911345705513306tmp [Pipeline] { [Pipeline] echo [2022-12-19T06:16:27.046Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:16:27.326Z] ---> create-netrc.sh [Pipeline] } [2022-12-19T06:16:27.333Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:16:27.778Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-19T06:16:27.796Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:16:28.110Z] ---> sudo-logs.sh [2022-12-19T06:16:28.110Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-19T06:16:28.149Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:16:28.429Z] ---> job-cost.sh [2022-12-19T06:16:28.429Z] lf-activate-venv: SKIPPING [2022-12-19T06:16:28.430Z] DEBUG: total: 0.2199999988079071 [2022-12-19T06:16:28.430Z] INFO: Retrieving Stack Cost... [2022-12-19T06:16:28.998Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T06:16:29.256Z] INFO: Archiving Costs [Pipeline] echo [2022-12-19T06:16:29.268Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T06:16:29.551Z] ---> logs-deploy.sh [2022-12-19T06:16:29.551Z] lf-activate-venv: SKIPPING [2022-12-19T06:16:29.551Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/68 [2022-12-19T06:16:29.551Z] INFO: archiving workspace using pattern(s): [2022-12-19T06:16:30.487Z] Archives upload complete. [2022-12-19T06:16:30.487Z] INFO: archiving logs to Nexus