Started by upstream project "edgexfoundry/cd-management/release" build number 151 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 18e5bddd1624945f7f79c46e89df23b543e6953b 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-ssh827939513048098397.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7914314605887695787.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6638340067418983806.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh18201206071709587262.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-ssh17514077472268713218.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17540’ Running on prd-ubuntu20.04-docker-8c-8g-17549 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 18e5bddd1624945f7f79c46e89df23b543e6953b (main) Commit message: "docs: Update changelog for 3.0 (#489)" > 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 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 > git rev-list --no-walk 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-31T20:38:53.369Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-31T20:38:53.427Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:38:53.443Z] ========================================================= [2023-05-31T20:38:53.443Z] EdgeX Global Pipelines Version Info [2023-05-31T20:38:53.443Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:38:54.144Z] ------------------- [2023-05-31T20:38:54.144Z] stable info: [2023-05-31T20:38:54.144Z] ------------------- [2023-05-31T20:38:54.144Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-31T20:38:54.144Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-31T20:38:54.144Z] Message: update stable to v1.0.249 [2023-05-31T20:38:54.711Z] ------------------- [2023-05-31T20:38:54.711Z] experimental info: [2023-05-31T20:38:54.711Z] ------------------- [2023-05-31T20:38:54.711Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-31T20:38:54.711Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-31T20:38:54.711Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-31T20:38:54.867Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-31T20:38:54.876Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-31T20:38:54.885Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-31T20:38:54.893Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-31T20:38:54.902Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-31T20:38:54.910Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-31T20:38:54.920Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-31T20:38:54.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-31T20:38:54.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-31T20:38:54.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-31T20:38:54.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-31T20:38:54.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-31T20:38:54.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-31T20:38:55.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-31T20:38:55.018Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-31T20:38:55.032Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-31T20:38:55.042Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-31T20:38:55.055Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-31T20:38:55.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-31T20:38:55.093Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-31T20:38:55.103Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-31T20:38:55.113Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-31T20:38:55.123Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-31T20:38:55.135Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-31T20:38:55.147Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-31T20:38:55.159Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-31T20:38:55.170Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-31T20:38:55.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-31T20:38:55.197Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-31T20:38:55.209Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-31T20:38:55.225Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] echo [2023-05-31T20:38:55.237Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18e5bdd [Pipeline] echo [2023-05-31T20:38:55.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:38:55.290Z] provisioning config files... [2023-05-31T20:38:55.302Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5629694496136104543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:38:55.602Z] ---> docker-login.sh [2023-05-31T20:38:55.602Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:38:55.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:38:55.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:38:55.862Z] Configure a credential helper to remove this warning. See [2023-05-31T20:38:55.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:38:55.862Z] [2023-05-31T20:38:55.862Z] Login Succeeded [2023-05-31T20:38:55.862Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:38:55.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:38:55.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:38:55.862Z] Configure a credential helper to remove this warning. See [2023-05-31T20:38:55.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:38:55.862Z] [2023-05-31T20:38:55.862Z] Login Succeeded [2023-05-31T20:38:55.862Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:38:56.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:38:56.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:38:56.122Z] Configure a credential helper to remove this warning. See [2023-05-31T20:38:56.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:38:56.122Z] [2023-05-31T20:38:56.122Z] Login Succeeded [2023-05-31T20:38:56.122Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:38:56.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:38:56.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:38:56.122Z] Configure a credential helper to remove this warning. See [2023-05-31T20:38:56.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:38:56.122Z] [2023-05-31T20:38:56.122Z] Login Succeeded [2023-05-31T20:38:56.122Z] docker.io [2023-05-31T20:38:56.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:38:56.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:38:56.381Z] Configure a credential helper to remove this warning. See [2023-05-31T20:38:56.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:38:56.381Z] [2023-05-31T20:38:56.381Z] Login Succeeded [2023-05-31T20:38:56.381Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:38:56.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-31T20:38:56.831Z] + git rev-list -1 --merges 18e5bddd1624945f7f79c46e89df23b543e6953b~1..18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] echo [2023-05-31T20:38:56.879Z] -----------> git rev-list -1 --merges 18e5bddd1624945f7f79c46e89df23b543e6953b~1..18e5bddd1624945f7f79c46e89df23b543e6953b 18e5bddd1624945f7f79c46e89df23b543e6953b [false] [Pipeline] sh [2023-05-31T20:38:57.167Z] + git log --format=format:%s -1 18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] echo [2023-05-31T20:38:57.181Z] ========================================================= [2023-05-31T20:38:57.181Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-05-31T20:38:57.181Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:38:57.497Z] + git log --format=format:%s -1 18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] echo [2023-05-31T20:38:57.506Z] [semverPrep] GIT_COMMIT: 18e5bddd1624945f7f79c46e89df23b543e6953b, Commit Message: docs: Update changelog for 3.0 (#489) [Pipeline] echo [2023-05-31T20:38:57.516Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-31T20:38:57.855Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:38:57.856Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-31T20:38:57.856Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-31T20:38:57.856Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-31T20:38:57.856Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-05-31T20:38:57.856Z] tee -a /etc/ssh/ssh_known_hosts [2023-05-31T20:38:57.856Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:38:58.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:38:58.207Z] [2023-05-31T20:38:58.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:38:58.510Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:38:58.510Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-31T20:38:58.510Z] b85a868b505f: Pulling fs layer [2023-05-31T20:38:58.510Z] e2be974225ed: Pulling fs layer [2023-05-31T20:38:58.510Z] 339a4e72a1f5: Pulling fs layer [2023-05-31T20:38:58.510Z] 988bab9f4d93: Pulling fs layer [2023-05-31T20:38:58.510Z] 1469e6f7b9e6: Pulling fs layer [2023-05-31T20:38:58.510Z] eaf3925da568: Pulling fs layer [2023-05-31T20:38:58.510Z] bab4dde63d76: Pulling fs layer [2023-05-31T20:38:58.510Z] bde34c3a00c8: Pulling fs layer [2023-05-31T20:38:58.510Z] b352a97aabf1: Pulling fs layer [2023-05-31T20:38:58.510Z] 4872d77fe225: Pulling fs layer [2023-05-31T20:38:58.510Z] 5851b861e8e6: Pulling fs layer [2023-05-31T20:38:58.510Z] bde34c3a00c8: Waiting [2023-05-31T20:38:58.510Z] b352a97aabf1: Waiting [2023-05-31T20:38:58.510Z] bab4dde63d76: Waiting [2023-05-31T20:38:58.510Z] 4872d77fe225: Waiting [2023-05-31T20:38:58.510Z] 988bab9f4d93: Waiting [2023-05-31T20:38:58.510Z] 5851b861e8e6: Waiting [2023-05-31T20:38:58.510Z] eaf3925da568: Waiting [2023-05-31T20:38:58.510Z] 1469e6f7b9e6: Waiting [2023-05-31T20:38:58.510Z] e2be974225ed: Download complete [2023-05-31T20:38:58.510Z] 988bab9f4d93: Verifying Checksum [2023-05-31T20:38:58.510Z] 988bab9f4d93: Download complete [2023-05-31T20:38:58.510Z] 339a4e72a1f5: Verifying Checksum [2023-05-31T20:38:58.510Z] 339a4e72a1f5: Download complete [2023-05-31T20:38:58.510Z] 1469e6f7b9e6: Verifying Checksum [2023-05-31T20:38:58.510Z] 1469e6f7b9e6: Download complete [2023-05-31T20:38:58.510Z] eaf3925da568: Download complete [2023-05-31T20:38:58.510Z] bde34c3a00c8: Verifying Checksum [2023-05-31T20:38:58.510Z] bde34c3a00c8: Download complete [2023-05-31T20:38:58.769Z] b352a97aabf1: Verifying Checksum [2023-05-31T20:38:58.769Z] b352a97aabf1: Download complete [2023-05-31T20:38:58.769Z] 4872d77fe225: Verifying Checksum [2023-05-31T20:38:58.769Z] 4872d77fe225: Download complete [2023-05-31T20:38:58.769Z] 5851b861e8e6: Verifying Checksum [2023-05-31T20:38:58.769Z] 5851b861e8e6: Download complete [2023-05-31T20:38:58.769Z] b85a868b505f: Verifying Checksum [2023-05-31T20:38:58.769Z] b85a868b505f: Download complete [2023-05-31T20:38:59.027Z] bab4dde63d76: Verifying Checksum [2023-05-31T20:38:59.027Z] bab4dde63d76: Download complete [2023-05-31T20:38:59.964Z] b85a868b505f: Pull complete [2023-05-31T20:38:59.964Z] e2be974225ed: Pull complete [2023-05-31T20:39:00.532Z] 339a4e72a1f5: Pull complete [2023-05-31T20:39:00.532Z] 988bab9f4d93: Pull complete [2023-05-31T20:39:00.791Z] 1469e6f7b9e6: Pull complete [2023-05-31T20:39:00.791Z] eaf3925da568: Pull complete [2023-05-31T20:39:04.075Z] bab4dde63d76: Pull complete [2023-05-31T20:39:04.075Z] bde34c3a00c8: Pull complete [2023-05-31T20:39:04.334Z] b352a97aabf1: Pull complete [2023-05-31T20:39:04.334Z] 4872d77fe225: Pull complete [2023-05-31T20:39:04.334Z] 5851b861e8e6: Pull complete [2023-05-31T20:39:04.593Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-31T20:39:04.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:39:04.593Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:39:04.719Z] prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container [2023-05-31T20:39:04.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:39:11.134Z] $ docker top bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 -eo pid,comm [2023-05-31T20:39:11.212Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-31T20:39:11.212Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-31T20:39:11.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T20:39:11.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T20:39:11.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T20:39:11.444Z] $ docker exec bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 ssh-agent [2023-05-31T20:39:11.570Z] SSH_AUTH_SOCK=/tmp/ssh-dABFKnUav70Y/agent.13 [2023-05-31T20:39:11.570Z] SSH_AGENT_PID=19 [2023-05-31T20:39:11.575Z] Running ssh-add (command line suppressed) [2023-05-31T20:39:11.730Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4261084474723046646.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4261084474723046646.key) [2023-05-31T20:39:11.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T20:39:12.024Z] + git tag --points-at 18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] } [2023-05-31T20:39:12.040Z] $ docker exec --env ******** --env ******** bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 ssh-agent -k [2023-05-31T20:39:12.135Z] unset SSH_AUTH_SOCK; [2023-05-31T20:39:12.135Z] unset SSH_AGENT_PID; [2023-05-31T20:39:12.135Z] echo Agent pid 19 killed; [2023-05-31T20:39:12.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-05-31T20:39:12.159Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.0.0|v3.0.0-dev.46' [Pipeline] sshagent [2023-05-31T20:39:12.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T20:39:12.179Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T20:39:12.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T20:39:12.302Z] $ docker exec bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 ssh-agent [2023-05-31T20:39:12.402Z] SSH_AUTH_SOCK=/tmp/ssh-W5RLPlQHLD4Y/agent.70 [2023-05-31T20:39:12.402Z] SSH_AGENT_PID=76 [2023-05-31T20:39:12.407Z] Running ssh-add (command line suppressed) [2023-05-31T20:39:12.510Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18396068193001544830.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18396068193001544830.key) [2023-05-31T20:39:12.519Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T20:39:12.800Z] + git semver init [2023-05-31T20:39:13.060Z] 2023-05-31 20:39:12,978 [run_init] DEBUG init version:0.0.0 force:False [2023-05-31T20:39:13.060Z] 2023-05-31 20:39:12,979 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-31T20:39:13.060Z] 2023-05-31 20:39:12,979 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-31T20:39:13.060Z] 2023-05-31 20:39:12,979 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-31T20:39:13.996Z] 2023-05-31 20:39:13,786 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-31T20:39:13.997Z] 2023-05-31 20:39:13,786 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-31T20:39:13.997Z] 2023-05-31 20:39:13,786 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-31T20:39:13.997Z] 2023-05-31 20:39:13,786 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-31T20:39:13.997Z] 3.0.0 [Pipeline] } [2023-05-31T20:39:14.007Z] $ docker exec --env ******** --env ******** bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 ssh-agent -k [2023-05-31T20:39:14.095Z] unset SSH_AUTH_SOCK; [2023-05-31T20:39:14.096Z] unset SSH_AGENT_PID; [2023-05-31T20:39:14.096Z] echo Agent pid 76 killed; [2023-05-31T20:39:14.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:39:14.415Z] + git semver [Pipeline] } [2023-05-31T20:39:14.688Z] $ docker stop --time=1 bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 [2023-05-31T20:39:15.961Z] $ docker rm -f --volumes bf2f1a06864be13a622c9821b34f58d9c97254fb376ec1d464b7d0ee42805f76 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:39:16.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-31T20:39:16.512Z] Stashed 1 file(s) [Pipeline] echo [2023-05-31T20:39:16.514Z] [edgeXSemver]: initialized semver on version 3.0.0 [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] sh [2023-05-31T20:39:16.905Z] + git checkout 18e5bddd1624945f7f79c46e89df23b543e6953b [2023-05-31T20:39:16.905Z] HEAD is now at 18e5bdd docs: Update changelog for 3.0 (#489) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:39:16.929Z] provisioning config files... [2023-05-31T20:39:16.937Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14803933182829654096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:39:17.237Z] ---> docker-login.sh [2023-05-31T20:39:17.237Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:39:17.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:17.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:17.238Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:17.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:17.238Z] [2023-05-31T20:39:17.238Z] Login Succeeded [2023-05-31T20:39:17.238Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:39:17.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:17.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:17.238Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:17.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:17.238Z] [2023-05-31T20:39:17.238Z] Login Succeeded [2023-05-31T20:39:17.238Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:39:17.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:17.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:17.497Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:17.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:17.497Z] [2023-05-31T20:39:17.497Z] Login Succeeded [2023-05-31T20:39:17.497Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:39:17.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:17.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:17.497Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:17.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:17.497Z] [2023-05-31T20:39:17.497Z] Login Succeeded [2023-05-31T20:39:17.497Z] docker.io [2023-05-31T20:39:17.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:17.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:17.757Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:17.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:17.757Z] [2023-05-31T20:39:17.757Z] Login Succeeded [2023-05-31T20:39:17.757Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:39:17.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-31T20:39:17.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:39:17.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:39:17.854Z] ========================================================= [2023-05-31T20:39:17.854Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-31T20:39:17.854Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:18.167Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-31T20:39:18.167Z] Sending build context to Docker daemon 6.564MB [2023-05-31T20:39:18.167Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:39:18.167Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-31T20:39:18.734Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-31T20:39:18.734Z] f56be85fc22e: Pulling fs layer [2023-05-31T20:39:18.734Z] 85791d961cd3: Pulling fs layer [2023-05-31T20:39:18.734Z] d694b5ae8c79: Pulling fs layer [2023-05-31T20:39:18.734Z] 9f32a84ed3da: Pulling fs layer [2023-05-31T20:39:18.734Z] 4d19c01a9841: Pulling fs layer [2023-05-31T20:39:18.734Z] 9325e15d5711: Pulling fs layer [2023-05-31T20:39:18.734Z] 556b6ee489ea: Pulling fs layer [2023-05-31T20:39:18.734Z] c5a4b2cf53e6: Pulling fs layer [2023-05-31T20:39:18.734Z] 9325e15d5711: Waiting [2023-05-31T20:39:18.734Z] 556b6ee489ea: Waiting [2023-05-31T20:39:18.734Z] 9f32a84ed3da: Waiting [2023-05-31T20:39:18.734Z] 4d19c01a9841: Waiting [2023-05-31T20:39:18.734Z] c5a4b2cf53e6: Waiting [2023-05-31T20:39:18.734Z] 85791d961cd3: Download complete [2023-05-31T20:39:18.734Z] 9f32a84ed3da: Verifying Checksum [2023-05-31T20:39:18.734Z] 9f32a84ed3da: Download complete [2023-05-31T20:39:18.734Z] 4d19c01a9841: Verifying Checksum [2023-05-31T20:39:18.734Z] 4d19c01a9841: Download complete [2023-05-31T20:39:18.734Z] f56be85fc22e: Verifying Checksum [2023-05-31T20:39:18.734Z] f56be85fc22e: Download complete [2023-05-31T20:39:18.734Z] 9325e15d5711: Verifying Checksum [2023-05-31T20:39:18.734Z] 9325e15d5711: Download complete [2023-05-31T20:39:19.303Z] c5a4b2cf53e6: Verifying Checksum [2023-05-31T20:39:19.303Z] c5a4b2cf53e6: Download complete [2023-05-31T20:39:19.303Z] f56be85fc22e: Pull complete [2023-05-31T20:39:19.562Z] d694b5ae8c79: Verifying Checksum [2023-05-31T20:39:19.562Z] d694b5ae8c79: Download complete [2023-05-31T20:39:19.562Z] 556b6ee489ea: Verifying Checksum [2023-05-31T20:39:19.562Z] 556b6ee489ea: Download complete [2023-05-31T20:39:19.819Z] 85791d961cd3: Pull complete [2023-05-31T20:39:23.113Z] d694b5ae8c79: Pull complete [2023-05-31T20:39:23.113Z] 9f32a84ed3da: Pull complete [2023-05-31T20:39:23.113Z] 4d19c01a9841: Pull complete [2023-05-31T20:39:23.113Z] 9325e15d5711: Pull complete [2023-05-31T20:39:25.642Z] 556b6ee489ea: Pull complete [2023-05-31T20:39:26.208Z] c5a4b2cf53e6: Pull complete [2023-05-31T20:39:26.208Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-31T20:39:26.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-31T20:39:26.208Z] ---> c4be618373d6 [2023-05-31T20:39:26.208Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:39:31.595Z] Still waiting to schedule task [2023-05-31T20:39:31.595Z] ‘prd-centos7-blackbox-4c-2g-17069’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-31T20:39:31.595Z] ‘prd-ubuntu20.04-docker-8c-8g-17548’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-31T20:39:31.595Z] ‘prd-ubuntu20.04-docker-8c-8g-17552’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-31T20:39:31.595Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17553’ is offline [2023-05-31T20:39:52.772Z] ---> Running in 9c7bed7f7579 [2023-05-31T20:39:52.772Z] Removing intermediate container 9c7bed7f7579 [2023-05-31T20:39:52.772Z] ---> 36a8aec8c522 [2023-05-31T20:39:52.772Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:39:52.772Z] ---> Running in ba06909b7da7 [2023-05-31T20:39:53.340Z] Removing intermediate container ba06909b7da7 [2023-05-31T20:39:53.340Z] ---> aaae56175b66 [2023-05-31T20:39:53.340Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-31T20:39:53.340Z] ---> Running in 3df5b69b076b [2023-05-31T20:39:53.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:53.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:53.855Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-05-31T20:39:53.855Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-31T20:39:53.855Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-05-31T20:39:53.855Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-05-31T20:39:53.855Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-05-31T20:39:53.855Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-05-31T20:39:53.855Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-05-31T20:39:53.855Z] (8/8) Installing openssh (9.1_p1-r3) [2023-05-31T20:39:53.855Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:39:53.855Z] OK: 270 MiB in 61 packages [2023-05-31T20:39:54.426Z] Removing intermediate container 3df5b69b076b [2023-05-31T20:39:54.426Z] ---> 57b0347b6d41 [2023-05-31T20:39:54.426Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-31T20:39:54.426Z] ---> Running in 619360f40f45 [2023-05-31T20:39:54.683Z] Removing intermediate container 619360f40f45 [2023-05-31T20:39:54.683Z] ---> e38f6ec15eb9 [2023-05-31T20:39:54.683Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-31T20:39:54.683Z] ---> bb7e120cb6b1 [2023-05-31T20:39:54.683Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:39:54.683Z] ---> Running in 593a4a18d2b5 [2023-05-31T20:40:41.364Z] Removing intermediate container 593a4a18d2b5 [2023-05-31T20:40:41.364Z] ---> 03e7ea57a85d [2023-05-31T20:40:41.364Z] Step 9/10 : COPY . . [2023-05-31T20:40:41.364Z] ---> a814b1dc9f72 [2023-05-31T20:40:41.364Z] Step 10/10 : RUN ${MAKE} [2023-05-31T20:40:41.364Z] ---> Running in a01c12267128 [2023-05-31T20:40:41.364Z] noop [2023-05-31T20:40:41.364Z] Removing intermediate container a01c12267128 [2023-05-31T20:40:41.364Z] ---> 4a713cb8ba54 [2023-05-31T20:40:41.364Z] Successfully built 4a713cb8ba54 [2023-05-31T20:40:41.364Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:41.677Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-31T20:40:41.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:40:41.750Z] prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container [2023-05-31T20:40:41.784Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-31T20:40:42.103Z] $ docker top 4bd0be8f8a907cedf313fdc16e2919fe4f57aaa63fb8d0b1dec100ac5b0515ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:40:42.436Z] + go version [2023-05-31T20:40:42.436Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-31T20:40:42.451Z] $ docker stop --time=1 4bd0be8f8a907cedf313fdc16e2919fe4f57aaa63fb8d0b1dec100ac5b0515ed [2023-05-31T20:40:43.716Z] $ docker rm -f --volumes 4bd0be8f8a907cedf313fdc16e2919fe4f57aaa63fb8d0b1dec100ac5b0515ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:44.122Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-31T20:40:44.122Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:40:44.193Z] prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container [2023-05-31T20:40:44.228Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-31T20:40:44.540Z] $ docker top d457d15f7c92393ac2622efd71cddd4b264d6048e764e564a884883937b26755 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:40:44.878Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-31T20:40:45.170Z] + make test [2023-05-31T20:40:45.170Z] go test ./... -coverprofile=coverage.out [2023-05-31T20:40:49.379Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-31T20:40:59.344Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-31T20:40:59.344Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements [2023-05-31T20:41:03.647Z] go vet ./... [2023-05-31T20:41:06.956Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-31T20:41:06.956Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-31T20:41:06.956Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-31T20:41:06.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-31T20:41:06.986Z] $ docker stop --time=1 d457d15f7c92393ac2622efd71cddd4b264d6048e764e564a884883937b26755 [2023-05-31T20:41:11.271Z] $ docker rm -f --volumes d457d15f7c92393ac2622efd71cddd4b264d6048e764e564a884883937b26755 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:41:12.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-31T20:41:12.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-31T20:41:13.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-31T20:41:13.518Z] + ls -al . [2023-05-31T20:41:13.518Z] total 188 [2023-05-31T20:41:13.518Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:40 . [2023-05-31T20:41:13.518Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:38 .. [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 140 May 31 20:38 .dockerignore [2023-05-31T20:41:13.518Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:39 .git [2023-05-31T20:41:13.518Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:38 .github [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 331 May 31 20:38 .gitignore [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:38 .golangci.yml [2023-05-31T20:41:13.518Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:39 .semver [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 31 20:38 Attribution.txt [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 14764 May 31 20:38 CHANGELOG.md [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 31 20:38 Dockerfile [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:38 GOVERNANCE.md [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 680 May 31 20:38 Jenkinsfile [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:38 LICENSE [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 31 20:38 Makefile [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 622 May 31 20:38 OWNERS.md [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 4578 May 31 20:38 README.md [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:39 VERSION [2023-05-31T20:41:13.518Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:38 bin [2023-05-31T20:41:13.518Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:38 cmd [2023-05-31T20:41:13.518Z] -rw-r--r-- 1 jenkins jenkins 24160 May 31 20:40 coverage.out [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 3405 May 31 20:38 go.mod [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 31574 May 31 20:38 go.sum [2023-05-31T20:41:13.518Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:38 internal [2023-05-31T20:41:13.518Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:38 simulator [2023-05-31T20:41:13.518Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:38 snap [2023-05-31T20:41:13.518Z] -rw-rw-r-- 1 jenkins jenkins 229 May 31 20:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:13.828Z] + 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=18e5bddd1624945f7f79c46e89df23b543e6953b --label arch=amd64 --label version=3.0.0 . [2023-05-31T20:41:13.828Z] Sending build context to Docker daemon 6.589MB [2023-05-31T20:41:13.828Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:41:13.828Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-31T20:41:13.828Z] ---> 4a713cb8ba54 [2023-05-31T20:41:13.828Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:41:14.397Z] ---> Running in df59341e2f8d [2023-05-31T20:41:14.964Z] Removing intermediate container df59341e2f8d [2023-05-31T20:41:14.964Z] ---> 9777131cc320 [2023-05-31T20:41:14.965Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:41:15.224Z] ---> Running in 9c82aa697286 [2023-05-31T20:41:15.482Z] Removing intermediate container 9c82aa697286 [2023-05-31T20:41:15.482Z] ---> bbb9fd105772 [2023-05-31T20:41:15.482Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-31T20:41:15.740Z] ---> Running in b58c26b4a18d [2023-05-31T20:41:16.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:41:16.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:41:16.567Z] OK: 270 MiB in 61 packages [2023-05-31T20:41:16.825Z] Removing intermediate container b58c26b4a18d [2023-05-31T20:41:16.825Z] ---> 304d25fdf822 [2023-05-31T20:41:16.825Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-31T20:41:16.825Z] ---> Running in 88ae082578d5 [2023-05-31T20:41:16.825Z] Removing intermediate container 88ae082578d5 [2023-05-31T20:41:16.825Z] ---> 069aad3df81c [2023-05-31T20:41:16.825Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-31T20:41:17.084Z] ---> 97f9fd2c696f [2023-05-31T20:41:17.084Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:41:17.084Z] ---> Running in d418149002e3 [2023-05-31T20:41:17.649Z] Removing intermediate container d418149002e3 [2023-05-31T20:41:17.649Z] ---> 61d03c2584e2 [2023-05-31T20:41:17.649Z] Step 9/22 : COPY . . [2023-05-31T20:41:18.215Z] ---> 6c561b09da11 [2023-05-31T20:41:18.215Z] Step 10/22 : RUN ${MAKE} [2023-05-31T20:41:18.215Z] ---> Running in cfbe702e2371 [2023-05-31T20:41:18.473Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-31T20:41:40.425Z] Removing intermediate container cfbe702e2371 [2023-05-31T20:41:40.425Z] ---> 04bc451c5180 [2023-05-31T20:41:40.425Z] Step 11/22 : FROM alpine:3.17 [2023-05-31T20:41:40.425Z] 3.17: Pulling from library/alpine [2023-05-31T20:41:40.425Z] f56be85fc22e: Already exists [2023-05-31T20:41:40.425Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-31T20:41:40.425Z] Status: Downloaded newer image for alpine:3.17 [2023-05-31T20:41:40.425Z] ---> 9ed4aefc74f6 [2023-05-31T20:41:40.425Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-31T20:41:40.425Z] ---> Running in 72e5a9828bc4 [2023-05-31T20:41:40.993Z] Removing intermediate container 72e5a9828bc4 [2023-05-31T20:41:40.993Z] ---> 7a6611c9e1e6 [2023-05-31T20:41:40.993Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-31T20:41:40.993Z] ---> Running in e82f6a380af4 [2023-05-31T20:41:41.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:41:41.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:41:41.767Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-31T20:41:41.767Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:41:41.767Z] OK: 7 MiB in 16 packages [2023-05-31T20:41:42.025Z] Removing intermediate container e82f6a380af4 [2023-05-31T20:41:42.025Z] ---> 6d8f97dc6f53 [2023-05-31T20:41:42.025Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-31T20:41:42.648Z] ---> bc2f5a8cc3a6 [2023-05-31T20:41:42.648Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-31T20:41:42.648Z] ---> b83874d95c19 [2023-05-31T20:41:42.648Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-31T20:41:42.905Z] ---> 61364dca5161 [2023-05-31T20:41:42.905Z] Step 17/22 : EXPOSE 59901 [2023-05-31T20:41:42.905Z] ---> Running in 5c806ba8259a [2023-05-31T20:41:42.905Z] Removing intermediate container 5c806ba8259a [2023-05-31T20:41:42.905Z] ---> 90249455ad0d [2023-05-31T20:41:42.905Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-31T20:41:42.905Z] ---> Running in 36de590204c5 [2023-05-31T20:41:42.905Z] Removing intermediate container 36de590204c5 [2023-05-31T20:41:42.905Z] ---> 3683d48a6a43 [2023-05-31T20:41:42.905Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-31T20:41:42.905Z] ---> Running in efad9df42a3d [2023-05-31T20:41:43.164Z] Removing intermediate container efad9df42a3d [2023-05-31T20:41:43.164Z] ---> b20208601155 [2023-05-31T20:41:43.164Z] Step 20/22 : LABEL arch=amd64 [2023-05-31T20:41:43.164Z] ---> Running in b2c4166b8335 [2023-05-31T20:41:43.164Z] Removing intermediate container b2c4166b8335 [2023-05-31T20:41:43.164Z] ---> 166d6a8cea71 [2023-05-31T20:41:43.164Z] Step 21/22 : LABEL git_sha=18e5bddd1624945f7f79c46e89df23b543e6953b [2023-05-31T20:41:43.164Z] ---> Running in 067571b0b813 [2023-05-31T20:41:43.164Z] Removing intermediate container 067571b0b813 [2023-05-31T20:41:43.164Z] ---> 886f702a08e7 [2023-05-31T20:41:43.164Z] Step 22/22 : LABEL version=3.0.0 [2023-05-31T20:41:43.164Z] ---> Running in fce33ae8cd2a [2023-05-31T20:41:43.422Z] Removing intermediate container fce33ae8cd2a [2023-05-31T20:41:43.422Z] ---> c27532925785 [2023-05-31T20:41:43.422Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-31T20:41:43.422Z] Successfully built c27532925785 [2023-05-31T20:41:43.422Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:41:43.498Z] provisioning config files... [2023-05-31T20:41:43.506Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config609742266779744641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:41:43.798Z] ---> docker-login.sh [2023-05-31T20:41:43.798Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:41:43.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:43.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:43.798Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:43.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:43.798Z] [2023-05-31T20:41:43.798Z] Login Succeeded [2023-05-31T20:41:43.798Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:41:43.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:44.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:44.056Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:44.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:44.056Z] [2023-05-31T20:41:44.056Z] Login Succeeded [2023-05-31T20:41:44.056Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:41:44.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:44.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:44.056Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:44.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:44.056Z] [2023-05-31T20:41:44.056Z] Login Succeeded [2023-05-31T20:41:44.056Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:41:44.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:44.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:44.056Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:44.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:44.056Z] [2023-05-31T20:41:44.314Z] Login Succeeded [2023-05-31T20:41:44.314Z] docker.io [2023-05-31T20:41:44.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:41:44.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:41:44.572Z] Configure a credential helper to remove this warning. See [2023-05-31T20:41:44.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:41:44.572Z] [2023-05-31T20:41:44.572Z] Login Succeeded [2023-05-31T20:41:44.572Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:41:44.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:41:44.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:41:44.637Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-31T20:41:44.637Z] 18e5bddd1624945f7f79c46e89df23b543e6953b [2023-05-31T20:41:44.637Z] latest [2023-05-31T20:41:44.637Z] 3.0.0 [2023-05-31T20:41:44.637Z] 18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 [2023-05-31T20:41:44.637Z] main [2023-05-31T20:41:44.637Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:44.960Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:45.268Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b [2023-05-31T20:41:45.268Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-31T20:41:45.268Z] 32521c735f8d: Preparing [2023-05-31T20:41:45.268Z] e0c834327cca: Preparing [2023-05-31T20:41:45.268Z] 04553f288631: Preparing [2023-05-31T20:41:45.268Z] bcc51c37bc51: Preparing [2023-05-31T20:41:45.268Z] f1417ff83b31: Preparing [2023-05-31T20:41:45.268Z] f1417ff83b31: Layer already exists [2023-05-31T20:41:45.268Z] e0c834327cca: Pushed [2023-05-31T20:41:45.268Z] 32521c735f8d: Pushed [2023-05-31T20:41:45.268Z] bcc51c37bc51: Pushed [2023-05-31T20:41:47.803Z] 04553f288631: Pushed [2023-05-31T20:41:47.803Z] 18e5bddd1624945f7f79c46e89df23b543e6953b: digest: sha256:a9a0451d70d1d4fcbcda9c9e956db987c289580b7b8e8ad172bce8c1e7e7184a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:48.110Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:48.423Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-31T20:41:48.423Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-31T20:41:48.423Z] 32521c735f8d: Preparing [2023-05-31T20:41:48.423Z] e0c834327cca: Preparing [2023-05-31T20:41:48.423Z] 04553f288631: Preparing [2023-05-31T20:41:48.423Z] bcc51c37bc51: Preparing [2023-05-31T20:41:48.423Z] f1417ff83b31: Preparing [2023-05-31T20:41:48.423Z] e0c834327cca: Layer already exists [2023-05-31T20:41:48.423Z] f1417ff83b31: Layer already exists [2023-05-31T20:41:48.423Z] 32521c735f8d: Layer already exists [2023-05-31T20:41:48.423Z] 04553f288631: Layer already exists [2023-05-31T20:41:48.423Z] bcc51c37bc51: Layer already exists [2023-05-31T20:41:48.423Z] latest: digest: sha256:a9a0451d70d1d4fcbcda9c9e956db987c289580b7b8e8ad172bce8c1e7e7184a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:48.741Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:49.046Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0 [2023-05-31T20:41:49.046Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-31T20:41:49.046Z] 32521c735f8d: Preparing [2023-05-31T20:41:49.046Z] e0c834327cca: Preparing [2023-05-31T20:41:49.046Z] 04553f288631: Preparing [2023-05-31T20:41:49.046Z] bcc51c37bc51: Preparing [2023-05-31T20:41:49.046Z] f1417ff83b31: Preparing [2023-05-31T20:41:49.046Z] bcc51c37bc51: Layer already exists [2023-05-31T20:41:49.046Z] e0c834327cca: Layer already exists [2023-05-31T20:41:49.046Z] 32521c735f8d: Layer already exists [2023-05-31T20:41:49.046Z] 04553f288631: Layer already exists [2023-05-31T20:41:49.046Z] f1417ff83b31: Layer already exists [2023-05-31T20:41:49.046Z] 3.0.0: digest: sha256:a9a0451d70d1d4fcbcda9c9e956db987c289580b7b8e8ad172bce8c1e7e7184a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:49.360Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:49.675Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 [2023-05-31T20:41:49.675Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-31T20:41:49.675Z] 32521c735f8d: Preparing [2023-05-31T20:41:49.675Z] e0c834327cca: Preparing [2023-05-31T20:41:49.675Z] 04553f288631: Preparing [2023-05-31T20:41:49.675Z] bcc51c37bc51: Preparing [2023-05-31T20:41:49.675Z] f1417ff83b31: Preparing [2023-05-31T20:41:49.675Z] 32521c735f8d: Layer already exists [2023-05-31T20:41:49.675Z] f1417ff83b31: Layer already exists [2023-05-31T20:41:49.675Z] e0c834327cca: Layer already exists [2023-05-31T20:41:49.675Z] bcc51c37bc51: Layer already exists [2023-05-31T20:41:49.675Z] 04553f288631: Layer already exists [2023-05-31T20:41:49.675Z] 18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0: digest: sha256:a9a0451d70d1d4fcbcda9c9e956db987c289580b7b8e8ad172bce8c1e7e7184a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:49.989Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:50.299Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-31T20:41:50.299Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-31T20:41:50.299Z] 32521c735f8d: Preparing [2023-05-31T20:41:50.299Z] e0c834327cca: Preparing [2023-05-31T20:41:50.299Z] 04553f288631: Preparing [2023-05-31T20:41:50.299Z] bcc51c37bc51: Preparing [2023-05-31T20:41:50.299Z] f1417ff83b31: Preparing [2023-05-31T20:41:50.299Z] bcc51c37bc51: Layer already exists [2023-05-31T20:41:50.299Z] f1417ff83b31: Layer already exists [2023-05-31T20:41:50.299Z] 32521c735f8d: Layer already exists [2023-05-31T20:41:50.299Z] 04553f288631: Layer already exists [2023-05-31T20:41:50.299Z] e0c834327cca: Layer already exists [2023-05-31T20:41:50.300Z] main: digest: sha256:a9a0451d70d1d4fcbcda9c9e956db987c289580b7b8e8ad172bce8c1e7e7184a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:41:50.339Z] ===================================================== [Pipeline] echo [2023-05-31T20:41:50.345Z] taggedImages: [2023-05-31T20:41:50.345Z] - nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b [2023-05-31T20:41:50.345Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-31T20:41:50.345Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0 [2023-05-31T20:41:50.345Z] - nexus3.edgexfoundry.org:10004/device-modbus:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 [2023-05-31T20:41:50.345Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:50.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:41:50.711Z] [2023-05-31T20:41:50.711Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:41:51.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:41:51.020Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-31T20:41:51.020Z] 5eb5b503b376: Pulling fs layer [2023-05-31T20:41:51.020Z] 5c69ac0246d0: Pulling fs layer [2023-05-31T20:41:51.020Z] ec43610c2a17: Pulling fs layer [2023-05-31T20:41:51.020Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-31T20:41:51.020Z] 33b1e0a273af: Pulling fs layer [2023-05-31T20:41:51.020Z] 5d3b04190fa2: Pulling fs layer [2023-05-31T20:41:51.020Z] 2f39f015ded8: Pulling fs layer [2023-05-31T20:41:51.020Z] 3a2ae6a8a46f: Waiting [2023-05-31T20:41:51.020Z] 33b1e0a273af: Waiting [2023-05-31T20:41:51.020Z] 2f39f015ded8: Waiting [2023-05-31T20:41:51.020Z] 5d3b04190fa2: Waiting [2023-05-31T20:41:51.020Z] 5c69ac0246d0: Download complete [2023-05-31T20:41:51.020Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-31T20:41:51.020Z] 3a2ae6a8a46f: Download complete [2023-05-31T20:41:51.020Z] 33b1e0a273af: Verifying Checksum [2023-05-31T20:41:51.020Z] 33b1e0a273af: Download complete [2023-05-31T20:41:51.020Z] 5d3b04190fa2: Download complete [2023-05-31T20:41:51.020Z] ec43610c2a17: Verifying Checksum [2023-05-31T20:41:51.020Z] ec43610c2a17: Download complete [2023-05-31T20:41:51.277Z] 5eb5b503b376: Verifying Checksum [2023-05-31T20:41:51.277Z] 5eb5b503b376: Download complete [2023-05-31T20:41:51.842Z] 2f39f015ded8: Download complete [2023-05-31T20:41:52.406Z] 5eb5b503b376: Pull complete [2023-05-31T20:41:52.406Z] 5c69ac0246d0: Pull complete [2023-05-31T20:41:52.971Z] ec43610c2a17: Pull complete [2023-05-31T20:41:52.971Z] 3a2ae6a8a46f: Pull complete [2023-05-31T20:41:53.228Z] 33b1e0a273af: Pull complete [2023-05-31T20:41:53.228Z] 5d3b04190fa2: Pull complete [2023-05-31T20:41:57.408Z] 2f39f015ded8: Pull complete [2023-05-31T20:41:57.409Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-31T20:41:57.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:41:57.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:41:57.497Z] prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container [2023-05-31T20:41:57.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-31T20:42:04.409Z] $ docker top fb1dbc17e63a0a2b84548d53e5b3cb3f027962dce25790be91384fdcf92dc722 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:42:04.800Z] ---> job-cost.sh [2023-05-31T20:42:04.800Z] lf-activate-venv: SKIPPING [2023-05-31T20:42:04.800Z] INFO: No Stack... [2023-05-31T20:42:05.058Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-31T20:42:05.626Z] INFO: Archiving Costs [Pipeline] sh [2023-05-31T20:42:05.912Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-31T20:42:05.912Z] + cut -d, -f6 [Pipeline] lock [2023-05-31T20:42:05.924Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] [2023-05-31T20:42:05.932Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] did not exist. Created. [2023-05-31T20:42:05.932Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T20:42:06.230Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-31T20:42:06.248Z] Stashed 1 file(s) [Pipeline] } [2023-05-31T20:42:06.255Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-31T20:42:06.279Z] $ docker stop --time=1 fb1dbc17e63a0a2b84548d53e5b3cb3f027962dce25790be91384fdcf92dc722 [2023-05-31T20:42:07.438Z] $ docker rm -f --volumes fb1dbc17e63a0a2b84548d53e5b3cb3f027962dce25790be91384fdcf92dc722 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-31T20:42:09.877Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17560 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-31T20:42:09.890Z] Running in /w/workspace/device-modbus-go/113 [Pipeline] { [Pipeline] checkout [2023-05-31T20:42:09.931Z] Selected Git installation does not exist. Using Default [2023-05-31T20:42:09.931Z] The recommended git tool is: NONE [2023-05-31T20:42:18.246Z] using credential edgex-jenkins-ssh [2023-05-31T20:42:18.269Z] Cloning the remote Git repository [2023-05-31T20:42:18.349Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-31T20:42:18.493Z] > git init /w/workspace/device-modbus-go/113 # timeout=10 [2023-05-31T20:42:18.721Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-31T20:42:18.723Z] > git --version # timeout=10 [2023-05-31T20:42:18.751Z] > git --version # 'git version 2.25.1' [2023-05-31T20:42:18.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-31T20:42:18.992Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-31T20:42:20.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-31T20:42:20.341Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-31T20:42:21.758Z] Avoid second fetch [2023-05-31T20:42:21.759Z] Checking out Revision 18e5bddd1624945f7f79c46e89df23b543e6953b (main) [2023-05-31T20:42:21.788Z] > git config core.sparsecheckout # timeout=10 [2023-05-31T20:42:22.750Z] Commit message: "docs: Update changelog for 3.0 (#489)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:42:21.907Z] > git checkout -f 18e5bddd1624945f7f79c46e89df23b543e6953b # timeout=10 [2023-05-31T20:42:23.755Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-31T20:42:23.755Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-31T20:42:23.755Z] Dload Upload Total Spent Left Speed [2023-05-31T20:42:23.755Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh [2023-05-31T20:42:24.549Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-31T20:42:24.913Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-31T20:42:24.913Z] + sudo tee /etc/docker/daemon.new [2023-05-31T20:42:24.913Z] { [2023-05-31T20:42:24.913Z] "registry-mirrors": [ [2023-05-31T20:42:24.913Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-31T20:42:24.913Z] ], [2023-05-31T20:42:24.913Z] "bip": "10.250.0.254/24", [2023-05-31T20:42:24.913Z] "hosts": [ [2023-05-31T20:42:24.913Z] "tcp://0.0.0.0:5555", [2023-05-31T20:42:24.913Z] "unix:///var/run/docker.sock" [2023-05-31T20:42:24.913Z] ], [2023-05-31T20:42:24.913Z] "mtu": 1458, [2023-05-31T20:42:24.913Z] "selinux-enabled": true, [2023-05-31T20:42:24.913Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-31T20:42:24.913Z] } [Pipeline] sh [2023-05-31T20:42:25.293Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-31T20:42:25.660Z] + sudo service docker restart [Pipeline] sh [2023-05-31T20:42:44.608Z] + git checkout 18e5bddd1624945f7f79c46e89df23b543e6953b [2023-05-31T20:42:44.608Z] HEAD is now at 18e5bdd docs: Update changelog for 3.0 (#489) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:42:44.649Z] provisioning config files... [2023-05-31T20:42:44.688Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/113@tmp/config825622013357229104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:42:45.088Z] ---> docker-login.sh [2023-05-31T20:42:45.088Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:42:45.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:42:45.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:42:45.691Z] Configure a credential helper to remove this warning. See [2023-05-31T20:42:45.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:42:45.691Z] [2023-05-31T20:42:45.691Z] Login Succeeded [2023-05-31T20:42:45.968Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:42:46.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:42:46.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:42:46.248Z] Configure a credential helper to remove this warning. See [2023-05-31T20:42:46.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:42:46.248Z] [2023-05-31T20:42:46.248Z] Login Succeeded [2023-05-31T20:42:46.248Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:42:46.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:42:46.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:42:46.799Z] Configure a credential helper to remove this warning. See [2023-05-31T20:42:46.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:42:46.799Z] [2023-05-31T20:42:46.799Z] Login Succeeded [2023-05-31T20:42:46.799Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:42:47.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:42:47.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:42:47.396Z] Configure a credential helper to remove this warning. See [2023-05-31T20:42:47.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:42:47.396Z] [2023-05-31T20:42:47.396Z] Login Succeeded [2023-05-31T20:42:47.396Z] docker.io [2023-05-31T20:42:47.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:42:47.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:42:47.986Z] Configure a credential helper to remove this warning. See [2023-05-31T20:42:47.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:42:47.986Z] [2023-05-31T20:42:47.986Z] Login Succeeded [2023-05-31T20:42:47.986Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:42:48.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-31T20:42:48.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:42:48.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:42:48.523Z] ========================================================= [2023-05-31T20:42:48.523Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-31T20:42:48.523Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:42:48.941Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-31T20:42:49.237Z] Sending build context to Docker daemon 3.443MB [2023-05-31T20:42:49.513Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:42:49.513Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-31T20:42:49.794Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-31T20:42:49.794Z] c41833b44d91: Pulling fs layer [2023-05-31T20:42:49.794Z] ed15518f5707: Pulling fs layer [2023-05-31T20:42:49.794Z] feae8fd75edb: Pulling fs layer [2023-05-31T20:42:49.794Z] 242c74f7c9fa: Pulling fs layer [2023-05-31T20:42:49.794Z] 3cdef696dda3: Pulling fs layer [2023-05-31T20:42:49.794Z] 2ced38df9373: Pulling fs layer [2023-05-31T20:42:49.794Z] 58f1dce35555: Pulling fs layer [2023-05-31T20:42:49.794Z] 242c74f7c9fa: Waiting [2023-05-31T20:42:49.794Z] 3cdef696dda3: Waiting [2023-05-31T20:42:49.794Z] 2ced38df9373: Waiting [2023-05-31T20:42:49.794Z] 58f1dce35555: Waiting [2023-05-31T20:42:49.794Z] ed15518f5707: Verifying Checksum [2023-05-31T20:42:49.794Z] ed15518f5707: Download complete [2023-05-31T20:42:49.794Z] 242c74f7c9fa: Verifying Checksum [2023-05-31T20:42:49.794Z] 242c74f7c9fa: Download complete [2023-05-31T20:42:49.794Z] 3cdef696dda3: Download complete [2023-05-31T20:42:49.794Z] c41833b44d91: Download complete [2023-05-31T20:42:50.790Z] c41833b44d91: Pull complete [2023-05-31T20:42:51.411Z] ed15518f5707: Pull complete [2023-05-31T20:42:52.244Z] 58f1dce35555: Download complete [2023-05-31T20:42:53.233Z] feae8fd75edb: Verifying Checksum [2023-05-31T20:42:53.233Z] feae8fd75edb: Download complete [2023-05-31T20:42:53.508Z] 2ced38df9373: Verifying Checksum [2023-05-31T20:43:05.941Z] feae8fd75edb: Pull complete [2023-05-31T20:43:05.941Z] 242c74f7c9fa: Pull complete [2023-05-31T20:43:05.941Z] 3cdef696dda3: Pull complete [2023-05-31T20:43:14.355Z] 2ced38df9373: Pull complete [2023-05-31T20:43:15.795Z] 58f1dce35555: Pull complete [2023-05-31T20:43:15.795Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-31T20:43:15.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-31T20:43:15.795Z] ---> fadd8f120f05 [2023-05-31T20:43:15.795Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:43:18.410Z] ---> Running in 259c65afc8a0 [2023-05-31T20:43:18.410Z] Removing intermediate container 259c65afc8a0 [2023-05-31T20:43:18.410Z] ---> f1a6262966c3 [2023-05-31T20:43:18.410Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:43:18.410Z] ---> Running in 7d7cf4978110 [2023-05-31T20:43:18.999Z] Removing intermediate container 7d7cf4978110 [2023-05-31T20:43:18.999Z] ---> ecea164cf517 [2023-05-31T20:43:18.999Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-31T20:43:18.999Z] ---> Running in 51186b6792f3 [2023-05-31T20:43:20.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:43:21.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:43:22.452Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-05-31T20:43:22.452Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-31T20:43:22.453Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-05-31T20:43:22.453Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-05-31T20:43:22.728Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-05-31T20:43:22.728Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-05-31T20:43:22.728Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-05-31T20:43:22.728Z] (8/8) Installing openssh (9.1_p1-r3) [2023-05-31T20:43:22.728Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:43:22.728Z] OK: 270 MiB in 61 packages [2023-05-31T20:43:24.169Z] Removing intermediate container 51186b6792f3 [2023-05-31T20:43:24.170Z] ---> 653da9ab0604 [2023-05-31T20:43:24.170Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-31T20:43:24.170Z] ---> Running in 140758fa1d3e [2023-05-31T20:43:24.439Z] Removing intermediate container 140758fa1d3e [2023-05-31T20:43:24.439Z] ---> 3ea225462852 [2023-05-31T20:43:24.439Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-31T20:43:25.035Z] ---> b2f8f5f15297 [2023-05-31T20:43:25.035Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:43:25.035Z] ---> Running in c03eaccec63e [2023-05-31T20:44:33.085Z] Removing intermediate container c03eaccec63e [2023-05-31T20:44:33.085Z] ---> 2554a3622f8a [2023-05-31T20:44:33.085Z] Step 9/10 : COPY . . [2023-05-31T20:44:33.085Z] ---> a4bb7ca43bd5 [2023-05-31T20:44:33.085Z] Step 10/10 : RUN ${MAKE} [2023-05-31T20:44:33.085Z] ---> Running in 59297f359aef [2023-05-31T20:44:34.507Z] noop [2023-05-31T20:44:35.097Z] Removing intermediate container 59297f359aef [2023-05-31T20:44:35.097Z] ---> 4ded6621eacc [2023-05-31T20:44:35.097Z] Successfully built 4ded6621eacc [2023-05-31T20:44:35.097Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:44:35.463Z] + docker inspect -f . ci-base-image-arm64 [2023-05-31T20:44:35.463Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:44:35.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-17560 does not seem to be running inside a container [2023-05-31T20:44:35.790Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/113 -v /w/workspace/device-modbus-go/113:/w/workspace/device-modbus-go/113:rw,z -v /w/workspace/device-modbus-go/113@tmp:/w/workspace/device-modbus-go/113@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 ******** -e ******** ci-base-image-arm64 cat [2023-05-31T20:44:37.198Z] $ docker top 052c11a14e861a062e5c772bf8b7eff127e11e520608d8d631874095a2989c2b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:44:38.103Z] + go version [2023-05-31T20:44:38.104Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-31T20:44:38.130Z] $ docker stop --time=1 052c11a14e861a062e5c772bf8b7eff127e11e520608d8d631874095a2989c2b [2023-05-31T20:44:39.867Z] $ docker rm -f --volumes 052c11a14e861a062e5c772bf8b7eff127e11e520608d8d631874095a2989c2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:44:40.474Z] + docker inspect -f . ci-base-image-arm64 [2023-05-31T20:44:40.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:44:40.703Z] prd-ubuntu20.04-docker-arm64-4c-16g-17560 does not seem to be running inside a container [2023-05-31T20:44:40.796Z] $ 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/113 -v /w/workspace/device-modbus-go/113:/w/workspace/device-modbus-go/113:rw,z -v /w/workspace/device-modbus-go/113@tmp:/w/workspace/device-modbus-go/113@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 ******** -e ******** ci-base-image-arm64 cat [2023-05-31T20:44:44.583Z] $ docker top 9a338bffd0e55efbb91e03529dd2da34b72c9c8fbaeea2328a4d4ce26a11c1b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:44:45.481Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/113 [Pipeline] fileExists [Pipeline] sh [2023-05-31T20:44:46.167Z] + make test [2023-05-31T20:44:46.167Z] go test ./... -coverprofile=coverage.out [2023-05-31T20:45:26.107Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-31T20:48:02.935Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-31T20:48:02.935Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.097s coverage: 47.4% of statements [2023-05-31T20:48:02.935Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-31T20:48:02.935Z] go vet ./... [2023-05-31T20:48:29.677Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-31T20:48:29.677Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-31T20:48:29.677Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-31T20:48:29.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-31T20:48:29.713Z] $ docker stop --time=1 9a338bffd0e55efbb91e03529dd2da34b72c9c8fbaeea2328a4d4ce26a11c1b0 [2023-05-31T20:48:31.765Z] $ docker rm -f --volumes 9a338bffd0e55efbb91e03529dd2da34b72c9c8fbaeea2328a4d4ce26a11c1b0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:48:33.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-31T20:48:33.128Z] Warning: overwriting stash ‘coverage-report’ [2023-05-31T20:48:33.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:48:34.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-31T20:48:34.581Z] + ls -al . [2023-05-31T20:48:34.582Z] total 184 [2023-05-31T20:48:34.582Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 20:44 . [2023-05-31T20:48:34.582Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:42 .. [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 140 May 31 20:42 .dockerignore [2023-05-31T20:48:34.582Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:42 .git [2023-05-31T20:48:34.582Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:42 .github [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 331 May 31 20:42 .gitignore [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:42 .golangci.yml [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 31 20:42 Attribution.txt [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 14764 May 31 20:42 CHANGELOG.md [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 31 20:42 Dockerfile [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:42 GOVERNANCE.md [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 680 May 31 20:42 Jenkinsfile [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:42 LICENSE [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 31 20:42 Makefile [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 622 May 31 20:42 OWNERS.md [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 4578 May 31 20:42 README.md [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:39 VERSION [2023-05-31T20:48:34.582Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:42 bin [2023-05-31T20:48:34.582Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:42 cmd [2023-05-31T20:48:34.582Z] -rw-r--r-- 1 jenkins jenkins 24160 May 31 20:47 coverage.out [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 3405 May 31 20:42 go.mod [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 31574 May 31 20:42 go.sum [2023-05-31T20:48:34.582Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:42 internal [2023-05-31T20:48:34.582Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:42 simulator [2023-05-31T20:48:34.582Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:42 snap [2023-05-31T20:48:34.582Z] -rw-rw-r-- 1 jenkins jenkins 229 May 31 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:48:34.943Z] + 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=18e5bddd1624945f7f79c46e89df23b543e6953b --label arch=arm64 --label version=3.0.0 . [2023-05-31T20:48:35.214Z] Sending build context to Docker daemon 3.468MB [2023-05-31T20:48:35.485Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:48:35.485Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-31T20:48:35.485Z] ---> 4ded6621eacc [2023-05-31T20:48:35.485Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:48:36.460Z] ---> Running in 80e6fcfcffa6 [2023-05-31T20:48:37.057Z] Removing intermediate container 80e6fcfcffa6 [2023-05-31T20:48:37.057Z] ---> 903d54615220 [2023-05-31T20:48:37.057Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:48:37.057Z] ---> Running in ea53c33f91d1 [2023-05-31T20:48:37.329Z] Removing intermediate container ea53c33f91d1 [2023-05-31T20:48:37.329Z] ---> f31d434d545a [2023-05-31T20:48:37.329Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-31T20:48:37.602Z] ---> Running in 1d5de8c9db30 [2023-05-31T20:48:39.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:48:39.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:48:41.040Z] OK: 270 MiB in 61 packages [2023-05-31T20:48:42.021Z] Removing intermediate container 1d5de8c9db30 [2023-05-31T20:48:42.022Z] ---> c056ec7fc339 [2023-05-31T20:48:42.022Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-31T20:48:42.293Z] ---> Running in e6c2e4ed7a8e [2023-05-31T20:48:42.567Z] Removing intermediate container e6c2e4ed7a8e [2023-05-31T20:48:42.567Z] ---> c6660d6aefd6 [2023-05-31T20:48:42.567Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-31T20:48:43.157Z] ---> 1461908be6b9 [2023-05-31T20:48:43.157Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:48:43.428Z] ---> Running in fd80317fb058 [2023-05-31T20:48:46.806Z] Removing intermediate container fd80317fb058 [2023-05-31T20:48:46.806Z] ---> a375f7303789 [2023-05-31T20:48:46.806Z] Step 9/22 : COPY . . [2023-05-31T20:48:47.411Z] ---> df0a56f7a88a [2023-05-31T20:48:47.411Z] Step 10/22 : RUN ${MAKE} [2023-05-31T20:48:47.411Z] ---> Running in 7cd4b5ba9109 [2023-05-31T20:48:48.849Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-31T20:51:25.645Z] Removing intermediate container 7cd4b5ba9109 [2023-05-31T20:51:25.645Z] ---> 05fb57387a83 [2023-05-31T20:51:25.645Z] Step 11/22 : FROM alpine:3.17 [2023-05-31T20:51:25.645Z] 3.17: Pulling from library/alpine [2023-05-31T20:51:25.645Z] c41833b44d91: Already exists [2023-05-31T20:51:25.645Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-31T20:51:25.645Z] Status: Downloaded newer image for alpine:3.17 [2023-05-31T20:51:25.645Z] ---> 51e60588ff2c [2023-05-31T20:51:25.645Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-31T20:51:25.645Z] ---> Running in 89238ad4191c [2023-05-31T20:51:25.914Z] Removing intermediate container 89238ad4191c [2023-05-31T20:51:25.914Z] ---> 40c2c1986afe [2023-05-31T20:51:25.914Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-31T20:51:25.914Z] ---> Running in 5bfbe2188b92 [2023-05-31T20:51:26.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:51:27.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:51:28.821Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-31T20:51:28.821Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:51:28.821Z] OK: 8 MiB in 16 packages [2023-05-31T20:51:30.241Z] Removing intermediate container 5bfbe2188b92 [2023-05-31T20:51:30.241Z] ---> 11a3080c671d [2023-05-31T20:51:30.241Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-31T20:51:31.674Z] ---> f8d989f16e92 [2023-05-31T20:51:31.674Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-31T20:51:32.265Z] ---> 45c041240cf0 [2023-05-31T20:51:32.265Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-31T20:51:32.876Z] ---> 83e0e075d8ae [2023-05-31T20:51:32.876Z] Step 17/22 : EXPOSE 59901 [2023-05-31T20:51:32.876Z] ---> Running in b5eb0dfec32d [2023-05-31T20:51:33.151Z] Removing intermediate container b5eb0dfec32d [2023-05-31T20:51:33.151Z] ---> 45cbd0b24c78 [2023-05-31T20:51:33.151Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-31T20:51:33.151Z] ---> Running in 41d9fd59a319 [2023-05-31T20:51:33.741Z] Removing intermediate container 41d9fd59a319 [2023-05-31T20:51:33.741Z] ---> 88430868c0e0 [2023-05-31T20:51:33.741Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-31T20:51:33.741Z] ---> Running in e7b3f508ecd4 [2023-05-31T20:51:34.010Z] Removing intermediate container e7b3f508ecd4 [2023-05-31T20:51:34.010Z] ---> f90aa2f60b99 [2023-05-31T20:51:34.010Z] Step 20/22 : LABEL arch=arm64 [2023-05-31T20:51:34.010Z] ---> Running in 2967f87af585 [2023-05-31T20:51:34.598Z] Removing intermediate container 2967f87af585 [2023-05-31T20:51:34.598Z] ---> b45b6c8a715e [2023-05-31T20:51:34.598Z] Step 21/22 : LABEL git_sha=18e5bddd1624945f7f79c46e89df23b543e6953b [2023-05-31T20:51:34.598Z] ---> Running in 8d7a5329b434 [2023-05-31T20:51:34.866Z] Removing intermediate container 8d7a5329b434 [2023-05-31T20:51:34.866Z] ---> 6760ddd128f1 [2023-05-31T20:51:34.866Z] Step 22/22 : LABEL version=3.0.0 [2023-05-31T20:51:35.136Z] ---> Running in 8a736b3f6a9e [2023-05-31T20:51:35.405Z] Removing intermediate container 8a736b3f6a9e [2023-05-31T20:51:35.405Z] ---> 2710e2a9c18b [2023-05-31T20:51:35.405Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-31T20:51:35.405Z] Successfully built 2710e2a9c18b [2023-05-31T20:51:35.405Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:51:35.521Z] provisioning config files... [2023-05-31T20:51:35.539Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/113@tmp/config16878930848930928476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:35.978Z] ---> docker-login.sh [2023-05-31T20:51:35.978Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:51:36.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:51:36.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:51:36.251Z] Configure a credential helper to remove this warning. See [2023-05-31T20:51:36.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:51:36.251Z] [2023-05-31T20:51:36.251Z] Login Succeeded [2023-05-31T20:51:36.251Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:51:36.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:51:36.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:51:36.809Z] Configure a credential helper to remove this warning. See [2023-05-31T20:51:36.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:51:36.809Z] [2023-05-31T20:51:36.809Z] Login Succeeded [2023-05-31T20:51:36.809Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:51:37.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:51:37.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:51:37.357Z] Configure a credential helper to remove this warning. See [2023-05-31T20:51:37.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:51:37.357Z] [2023-05-31T20:51:37.357Z] Login Succeeded [2023-05-31T20:51:37.357Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:51:37.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:51:37.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:51:37.632Z] Configure a credential helper to remove this warning. See [2023-05-31T20:51:37.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:51:37.632Z] [2023-05-31T20:51:37.632Z] Login Succeeded [2023-05-31T20:51:37.632Z] docker.io [2023-05-31T20:51:37.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:51:38.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:51:38.186Z] Configure a credential helper to remove this warning. See [2023-05-31T20:51:38.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:51:38.186Z] [2023-05-31T20:51:38.186Z] Login Succeeded [2023-05-31T20:51:38.186Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:51:38.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:51:38.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:51:38.260Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-31T20:51:38.260Z] 18e5bddd1624945f7f79c46e89df23b543e6953b [2023-05-31T20:51:38.260Z] latest [2023-05-31T20:51:38.260Z] 3.0.0 [2023-05-31T20:51:38.260Z] 18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 [2023-05-31T20:51:38.260Z] main [2023-05-31T20:51:38.260Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:38.625Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:38.986Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b [2023-05-31T20:51:38.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-31T20:51:38.986Z] 154abc81239f: Preparing [2023-05-31T20:51:38.986Z] 9f627b5a654c: Preparing [2023-05-31T20:51:38.986Z] 4e6d298117bc: Preparing [2023-05-31T20:51:38.986Z] 7eceaab8e6fe: Preparing [2023-05-31T20:51:38.986Z] 26cbea5cba74: Preparing [2023-05-31T20:51:38.986Z] 26cbea5cba74: Layer already exists [2023-05-31T20:51:39.255Z] 154abc81239f: Pushed [2023-05-31T20:51:39.255Z] 9f627b5a654c: Pushed [2023-05-31T20:51:39.255Z] 7eceaab8e6fe: Pushed [2023-05-31T20:51:45.921Z] 4e6d298117bc: Pushed [2023-05-31T20:51:45.921Z] 18e5bddd1624945f7f79c46e89df23b543e6953b: digest: sha256:a4f481c32d551a022693a89a83d5c43ccadc46ece65c7d66c85c5413dfbb323e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:46.281Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:46.639Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-31T20:51:46.639Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-31T20:51:46.639Z] 154abc81239f: Preparing [2023-05-31T20:51:46.639Z] 9f627b5a654c: Preparing [2023-05-31T20:51:46.639Z] 4e6d298117bc: Preparing [2023-05-31T20:51:46.639Z] 7eceaab8e6fe: Preparing [2023-05-31T20:51:46.639Z] 26cbea5cba74: Preparing [2023-05-31T20:51:46.639Z] 9f627b5a654c: Layer already exists [2023-05-31T20:51:46.639Z] 154abc81239f: Layer already exists [2023-05-31T20:51:46.639Z] 26cbea5cba74: Layer already exists [2023-05-31T20:51:46.640Z] 4e6d298117bc: Layer already exists [2023-05-31T20:51:46.640Z] 7eceaab8e6fe: Layer already exists [2023-05-31T20:51:46.907Z] latest: digest: sha256:a4f481c32d551a022693a89a83d5c43ccadc46ece65c7d66c85c5413dfbb323e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:47.259Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:47.604Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0 [2023-05-31T20:51:47.605Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-31T20:51:47.605Z] 154abc81239f: Preparing [2023-05-31T20:51:47.605Z] 9f627b5a654c: Preparing [2023-05-31T20:51:47.605Z] 4e6d298117bc: Preparing [2023-05-31T20:51:47.605Z] 7eceaab8e6fe: Preparing [2023-05-31T20:51:47.605Z] 26cbea5cba74: Preparing [2023-05-31T20:51:47.605Z] 9f627b5a654c: Layer already exists [2023-05-31T20:51:47.605Z] 7eceaab8e6fe: Layer already exists [2023-05-31T20:51:47.605Z] 26cbea5cba74: Layer already exists [2023-05-31T20:51:47.605Z] 4e6d298117bc: Layer already exists [2023-05-31T20:51:47.605Z] 154abc81239f: Layer already exists [2023-05-31T20:51:47.605Z] 3.0.0: digest: sha256:a4f481c32d551a022693a89a83d5c43ccadc46ece65c7d66c85c5413dfbb323e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:48.219Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:48.573Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 [2023-05-31T20:51:48.573Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-31T20:51:48.573Z] 154abc81239f: Preparing [2023-05-31T20:51:48.573Z] 9f627b5a654c: Preparing [2023-05-31T20:51:48.573Z] 4e6d298117bc: Preparing [2023-05-31T20:51:48.573Z] 7eceaab8e6fe: Preparing [2023-05-31T20:51:48.573Z] 26cbea5cba74: Preparing [2023-05-31T20:51:48.573Z] 26cbea5cba74: Layer already exists [2023-05-31T20:51:48.573Z] 9f627b5a654c: Layer already exists [2023-05-31T20:51:48.573Z] 154abc81239f: Layer already exists [2023-05-31T20:51:48.573Z] 7eceaab8e6fe: Layer already exists [2023-05-31T20:51:48.573Z] 4e6d298117bc: Layer already exists [2023-05-31T20:51:48.573Z] 18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0: digest: sha256:a4f481c32d551a022693a89a83d5c43ccadc46ece65c7d66c85c5413dfbb323e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:49.203Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:49.550Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-31T20:51:49.550Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-31T20:51:49.550Z] 154abc81239f: Preparing [2023-05-31T20:51:49.550Z] 9f627b5a654c: Preparing [2023-05-31T20:51:49.550Z] 4e6d298117bc: Preparing [2023-05-31T20:51:49.550Z] 7eceaab8e6fe: Preparing [2023-05-31T20:51:49.550Z] 26cbea5cba74: Preparing [2023-05-31T20:51:49.550Z] 9f627b5a654c: Layer already exists [2023-05-31T20:51:49.550Z] 26cbea5cba74: Layer already exists [2023-05-31T20:51:49.550Z] 154abc81239f: Layer already exists [2023-05-31T20:51:49.550Z] 7eceaab8e6fe: Layer already exists [2023-05-31T20:51:49.550Z] 4e6d298117bc: Layer already exists [2023-05-31T20:51:49.818Z] main: digest: sha256:a4f481c32d551a022693a89a83d5c43ccadc46ece65c7d66c85c5413dfbb323e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:51:49.867Z] ===================================================== [Pipeline] echo [2023-05-31T20:51:49.873Z] taggedImages: [2023-05-31T20:51:49.873Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b [2023-05-31T20:51:49.873Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-31T20:51:49.873Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0 [2023-05-31T20:51:49.873Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:18e5bddd1624945f7f79c46e89df23b543e6953b-3.0.0 [2023-05-31T20:51:49.873Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:50.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:51:50.226Z] [2023-05-31T20:51:50.226Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:50.565Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:51:50.565Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-31T20:51:50.565Z] 8998bd30e6a1: Pulling fs layer [2023-05-31T20:51:50.565Z] 04944245beec: Pulling fs layer [2023-05-31T20:51:50.565Z] 699f458cf7ca: Pulling fs layer [2023-05-31T20:51:50.565Z] 765212b225bb: Pulling fs layer [2023-05-31T20:51:50.565Z] f23df028b6ca: Pulling fs layer [2023-05-31T20:51:50.565Z] 765212b225bb: Waiting [2023-05-31T20:51:50.565Z] d65c8cfc05b1: Pulling fs layer [2023-05-31T20:51:50.565Z] 2437ff75d9bd: Pulling fs layer [2023-05-31T20:51:50.565Z] f23df028b6ca: Waiting [2023-05-31T20:51:50.565Z] 2437ff75d9bd: Waiting [2023-05-31T20:51:50.565Z] d65c8cfc05b1: Waiting [2023-05-31T20:51:50.834Z] 04944245beec: Verifying Checksum [2023-05-31T20:51:50.834Z] 04944245beec: Download complete [2023-05-31T20:51:50.834Z] 765212b225bb: Verifying Checksum [2023-05-31T20:51:50.834Z] 765212b225bb: Download complete [2023-05-31T20:51:50.834Z] f23df028b6ca: Verifying Checksum [2023-05-31T20:51:50.834Z] f23df028b6ca: Download complete [2023-05-31T20:51:50.834Z] d65c8cfc05b1: Verifying Checksum [2023-05-31T20:51:50.834Z] d65c8cfc05b1: Download complete [2023-05-31T20:51:51.106Z] 699f458cf7ca: Verifying Checksum [2023-05-31T20:51:51.106Z] 699f458cf7ca: Download complete [2023-05-31T20:51:51.375Z] 8998bd30e6a1: Verifying Checksum [2023-05-31T20:51:53.967Z] 2437ff75d9bd: Verifying Checksum [2023-05-31T20:51:53.967Z] 2437ff75d9bd: Download complete [2023-05-31T20:51:55.913Z] 8998bd30e6a1: Pull complete [2023-05-31T20:51:55.913Z] 04944245beec: Pull complete [2023-05-31T20:51:57.322Z] 699f458cf7ca: Pull complete [2023-05-31T20:51:57.590Z] 765212b225bb: Pull complete [2023-05-31T20:51:58.555Z] f23df028b6ca: Pull complete [2023-05-31T20:52:02.819Z] d65c8cfc05b1: Pull complete [2023-05-31T20:52:17.817Z] 2437ff75d9bd: Pull complete [2023-05-31T20:52:17.817Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-31T20:52:17.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:52:17.817Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:18.020Z] prd-ubuntu20.04-docker-arm64-4c-16g-17560 does not seem to be running inside a container [2023-05-31T20:52:18.093Z] $ 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/113 -v /w/workspace/device-modbus-go/113:/w/workspace/device-modbus-go/113:rw,z -v /w/workspace/device-modbus-go/113@tmp:/w/workspace/device-modbus-go/113@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-31T20:52:20.775Z] $ docker top 3194fff48ad52410ba34716b2168a0dbac4b642367d751aa8350de85a91a61b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:52:21.620Z] ---> job-cost.sh [2023-05-31T20:52:21.620Z] lf-activate-venv: SKIPPING [2023-05-31T20:52:21.620Z] INFO: No Stack... [2023-05-31T20:52:21.887Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-31T20:52:22.852Z] INFO: Archiving Costs [Pipeline] sh [2023-05-31T20:52:23.495Z] + cat+ /w/workspace/device-modbus-go/113/archives/cost.csv [2023-05-31T20:52:23.495Z] cut -d, -f6 [Pipeline] lock [2023-05-31T20:52:23.567Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] [2023-05-31T20:52:23.573Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] did not exist. Created. [2023-05-31T20:52:23.573Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T20:52:24.231Z] /w/workspace/device-modbus-go/113@tmp/durable-9ac3b748/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-31T20:52:24.889Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-31T20:52:24.905Z] Warning: overwriting stash ‘stack-cost’ [2023-05-31T20:52:25.001Z] Stashed 1 file(s) [Pipeline] } [2023-05-31T20:52:25.012Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-113-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-31T20:52:25.035Z] $ docker stop --time=1 3194fff48ad52410ba34716b2168a0dbac4b642367d751aa8350de85a91a61b3 [2023-05-31T20:52:26.583Z] $ docker rm -f --volumes 3194fff48ad52410ba34716b2168a0dbac4b642367d751aa8350de85a91a61b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-31T20:52:26.963Z] provisioning config files... [2023-05-31T20:52:26.970Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18320564610169452956tmp [Pipeline] { [Pipeline] sh [2023-05-31T20:52:27.256Z] + set +x [2023-05-31T20:52:27.257Z] + curl -s https://codecov.io/bash [2023-05-31T20:52:27.257Z] + bash -s -- [2023-05-31T20:52:27.257Z] [2023-05-31T20:52:27.257Z] _____ _ [2023-05-31T20:52:27.257Z] / ____| | | [2023-05-31T20:52:27.257Z] | | ___ __| | ___ ___ _____ __ [2023-05-31T20:52:27.257Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-31T20:52:27.257Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-31T20:52:27.257Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-31T20:52:27.257Z] Bash-1.0.6 [2023-05-31T20:52:27.257Z] [2023-05-31T20:52:27.257Z] [2023-05-31T20:52:27.257Z] ==> git version 2.25.1 found [2023-05-31T20:52:27.257Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-31T20:52:27.257Z] Release-Date: 2020-01-08 [2023-05-31T20:52:27.257Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-31T20:52:27.257Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-31T20:52:27.257Z] ==> Jenkins CI detected. [2023-05-31T20:52:27.257Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-31T20:52:27.257Z] project root: . [2023-05-31T20:52:27.257Z] --> token set from env [2023-05-31T20:52:27.257Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-31T20:52:27.257Z] ==> Running gcov in . (disable via -X gcov) [2023-05-31T20:52:27.257Z] ==> Python coveragepy not found [2023-05-31T20:52:27.257Z] ==> Searching for coverage reports in: [2023-05-31T20:52:27.257Z] + . [2023-05-31T20:52:27.257Z] -> Found 1 reports [2023-05-31T20:52:27.257Z] ==> Detecting git/mercurial file structure [2023-05-31T20:52:27.257Z] ==> Reading reports [2023-05-31T20:52:27.257Z] + ./coverage.out bytes=24160 [2023-05-31T20:52:27.257Z] ==> Appending adjustments [2023-05-31T20:52:27.257Z] https://docs.codecov.io/docs/fixing-reports [2023-05-31T20:52:27.515Z] + Found adjustments [2023-05-31T20:52:27.515Z] ==> Gzipping contents [2023-05-31T20:52:27.515Z] 4.0K /tmp/codecov.c858wc.gz [2023-05-31T20:52:27.515Z] ==> Uploading reports [2023-05-31T20:52:27.516Z] url: https://codecov.io [2023-05-31T20:52:27.516Z] query: branch=main&commit=18e5bddd1624945f7f79c46e89df23b543e6953b&build=113&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F113%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-31T20:52:27.516Z] -> Pinging Codecov [2023-05-31T20:52:27.516Z] 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=18e5bddd1624945f7f79c46e89df23b543e6953b&build=113&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F113%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-31T20:52:27.774Z] -> Uploading to [2023-05-31T20:52:27.774Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-31/55DBCA73C666E3227836607328DD7E49/18e5bddd1624945f7f79c46e89df23b543e6953b/5f0b2d00-385b-45f8-a359-72fd077a9dfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T205227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75c1cb4bc6b35e360a419a7f6bc79df3d97652736954a26d9ba9139d922bb9d5 [2023-05-31T20:52:27.774Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-31T20:52:27.774Z] Dload Upload Total Spent Left Speed [2023-05-31T20:52:28.032Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 18775 --:--:-- --:--:-- --:--:-- 18775 [2023-05-31T20:52:28.032Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] } [2023-05-31T20:52:28.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-31T20:52:28.158Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-31T20:52:28.171Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:28.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:52:28.468Z] [2023-05-31T20:52:28.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:28.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:52:28.769Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-31T20:52:28.769Z] df9b9388f04a: Pulling fs layer [2023-05-31T20:52:28.769Z] 52dc419b0ee2: Pulling fs layer [2023-05-31T20:52:28.769Z] 25bc292e5bac: Pulling fs layer [2023-05-31T20:52:28.769Z] 114826534d7a: Pulling fs layer [2023-05-31T20:52:28.769Z] 4657fd5d0bcf: Pulling fs layer [2023-05-31T20:52:28.769Z] 6ad1cebc031e: Pulling fs layer [2023-05-31T20:52:28.769Z] 8a3aa393b2d8: Pulling fs layer [2023-05-31T20:52:28.769Z] 4657fd5d0bcf: Waiting [2023-05-31T20:52:28.769Z] 6ad1cebc031e: Waiting [2023-05-31T20:52:28.769Z] 8a3aa393b2d8: Waiting [2023-05-31T20:52:28.769Z] 114826534d7a: Waiting [2023-05-31T20:52:28.769Z] 25bc292e5bac: Verifying Checksum [2023-05-31T20:52:28.769Z] 25bc292e5bac: Download complete [2023-05-31T20:52:28.769Z] 52dc419b0ee2: Verifying Checksum [2023-05-31T20:52:28.769Z] 4657fd5d0bcf: Verifying Checksum [2023-05-31T20:52:28.769Z] 4657fd5d0bcf: Download complete [2023-05-31T20:52:28.769Z] df9b9388f04a: Download complete [2023-05-31T20:52:29.029Z] df9b9388f04a: Pull complete [2023-05-31T20:52:29.029Z] 6ad1cebc031e: Verifying Checksum [2023-05-31T20:52:29.029Z] 52dc419b0ee2: Pull complete [2023-05-31T20:52:29.029Z] 25bc292e5bac: Pull complete [2023-05-31T20:52:29.596Z] 114826534d7a: Verifying Checksum [2023-05-31T20:52:29.596Z] 114826534d7a: Download complete [2023-05-31T20:52:29.596Z] 8a3aa393b2d8: Verifying Checksum [2023-05-31T20:52:29.596Z] 8a3aa393b2d8: Download complete [2023-05-31T20:52:32.874Z] 114826534d7a: Pull complete [2023-05-31T20:52:32.874Z] 4657fd5d0bcf: Pull complete [2023-05-31T20:52:32.874Z] 6ad1cebc031e: Pull complete [2023-05-31T20:52:35.413Z] 8a3aa393b2d8: Pull complete [2023-05-31T20:52:35.413Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-31T20:52:35.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:52:35.413Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:35.490Z] prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container [2023-05-31T20:52:35.534Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-31T20:52:39.106Z] $ docker top 4e7adcec56ee7c6afca880f43e145589966e738047cef5a8a43ef1dcd2852e28 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-31T20:52:39.167Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-31T20:52:39.442Z] + set -o pipefail [2023-05-31T20:52:39.442Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-31T20:52:43.623Z] [2023-05-31T20:52:43.623Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-31T20:52:43.623Z] [2023-05-31T20:52:43.623Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/0e45892a-5d8f-467c-893f-18ecf3d9d6ce [2023-05-31T20:52:43.623Z] [2023-05-31T20:52:43.623Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-31T20:52:43.623Z] [2023-05-31T20:52:43.623Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-31T20:52:43.623Z] [2023-05-31T20:52:43.623Z] [2023-05-31T20:52:43.623Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-31T20:52:43.623Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-31T20:52:43.623Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-31T20:52:43.635Z] $ docker stop --time=1 4e7adcec56ee7c6afca880f43e145589966e738047cef5a8a43ef1dcd2852e28 [2023-05-31T20:52:46.727Z] $ docker rm -f --volumes 4e7adcec56ee7c6afca880f43e145589966e738047cef5a8a43ef1dcd2852e28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T20:52:47.385Z] + git log --format=format:%s -1 18e5bddd1624945f7f79c46e89df23b543e6953b [Pipeline] sh [2023-05-31T20:52:47.673Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:52:47.673Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:47.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:52:47.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:48.046Z] prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container [2023-05-31T20:52:48.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:52:48.490Z] $ docker top 3efe20e645b93455550390d7451dbc9c17f25cdbc942c5b5726515b914d70e35 -eo pid,comm [2023-05-31T20:52:48.533Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-31T20:52:48.533Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:52:48.553Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.46' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:52:48.837Z] + git semver [Pipeline] } [2023-05-31T20:52:49.112Z] $ docker stop --time=1 3efe20e645b93455550390d7451dbc9c17f25cdbc942c5b5726515b914d70e35 [2023-05-31T20:52:50.393Z] $ docker rm -f --volumes 3efe20e645b93455550390d7451dbc9c17f25cdbc942c5b5726515b914d70e35 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:50.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:52:50.778Z] [2023-05-31T20:52:50.778Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:52:51.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:52:51.072Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-31T20:52:51.072Z] ab5ef0e58194: Pulling fs layer [2023-05-31T20:52:51.072Z] 9712f1f96733: Pulling fs layer [2023-05-31T20:52:51.072Z] 63f879dbbcfc: Pulling fs layer [2023-05-31T20:52:51.072Z] 0d9ebad4ef96: Pulling fs layer [2023-05-31T20:52:51.072Z] e9a5061849ea: Pulling fs layer [2023-05-31T20:52:51.072Z] d747dcd14b5f: Pulling fs layer [2023-05-31T20:52:51.072Z] 2de7ff778b66: Pulling fs layer [2023-05-31T20:52:51.072Z] 2de7ff778b66: Waiting [2023-05-31T20:52:51.072Z] d747dcd14b5f: Waiting [2023-05-31T20:52:51.072Z] 0d9ebad4ef96: Waiting [2023-05-31T20:52:51.072Z] e9a5061849ea: Waiting [2023-05-31T20:52:51.072Z] 9712f1f96733: Verifying Checksum [2023-05-31T20:52:51.072Z] 9712f1f96733: Download complete [2023-05-31T20:52:51.332Z] 63f879dbbcfc: Verifying Checksum [2023-05-31T20:52:51.332Z] 63f879dbbcfc: Download complete [2023-05-31T20:52:51.589Z] 0d9ebad4ef96: Verifying Checksum [2023-05-31T20:52:51.589Z] 0d9ebad4ef96: Download complete [2023-05-31T20:52:51.589Z] e9a5061849ea: Verifying Checksum [2023-05-31T20:52:51.589Z] e9a5061849ea: Download complete [2023-05-31T20:52:51.589Z] d747dcd14b5f: Download complete [2023-05-31T20:52:51.589Z] ab5ef0e58194: Verifying Checksum [2023-05-31T20:52:51.589Z] ab5ef0e58194: Download complete [2023-05-31T20:52:51.589Z] 2de7ff778b66: Verifying Checksum [2023-05-31T20:52:51.589Z] 2de7ff778b66: Download complete [2023-05-31T20:52:54.111Z] ab5ef0e58194: Pull complete [2023-05-31T20:52:54.111Z] 9712f1f96733: Pull complete [2023-05-31T20:52:54.675Z] 63f879dbbcfc: Pull complete [2023-05-31T20:52:57.954Z] 0d9ebad4ef96: Pull complete [2023-05-31T20:52:57.954Z] e9a5061849ea: Pull complete [2023-05-31T20:52:57.954Z] d747dcd14b5f: Pull complete [2023-05-31T20:52:58.886Z] 2de7ff778b66: Pull complete [2023-05-31T20:52:58.886Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-31T20:52:58.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:52:58.886Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:52:58.961Z] prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container [2023-05-31T20:52:58.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-31T20:53:04.125Z] $ docker top 10706fa9af074ac386206afb9e9ccc3a16ad2f8cddec9287783c1214a81564e0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:53:04.194Z] provisioning config files... [2023-05-31T20:53:04.201Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14812221784975531528tmp [2023-05-31T20:53:04.212Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7606433788469630087tmp [2023-05-31T20:53:04.220Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10112477282808858262tmp [Pipeline] { [Pipeline] echo [2023-05-31T20:53:04.236Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:04.519Z] ---> sigul-configuration.sh [2023-05-31T20:53:04.519Z] gpg: directory `/root/.gnupg' created [2023-05-31T20:53:04.519Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-31T20:53:04.519Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-31T20:53:04.519Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-31T20:53:04.519Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-31T20:53:04.519Z] gpg: CAST5 encrypted data [2023-05-31T20:53:04.519Z] gpg: encrypted with 1 passphrase [2023-05-31T20:53:04.519Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-31T20:53:04.806Z] + mkdir /home/jenkins [2023-05-31T20:53:04.807Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-31T20:53:05.092Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-05-31T20:53:05.100Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:05.382Z] ---> sigul-install.sh [2023-05-31T20:53:05.382Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-31T20:53:05.666Z] + git tag --list [2023-05-31T20:53:05.666Z] 0.7.1 [2023-05-31T20:53:05.666Z] v1.0.0 [2023-05-31T20:53:05.666Z] v1.1.0 [2023-05-31T20:53:05.666Z] v1.1.1 [2023-05-31T20:53:05.666Z] v1.2.2 [2023-05-31T20:53:05.666Z] v1.3.0 [2023-05-31T20:53:05.666Z] v1.3.1 [2023-05-31T20:53:05.666Z] v2.0.0 [2023-05-31T20:53:05.666Z] v2.1.0 [2023-05-31T20:53:05.666Z] v2.1.1 [2023-05-31T20:53:05.666Z] v2.1.1-dev.1 [2023-05-31T20:53:05.666Z] v2.1.1-dev.2 [2023-05-31T20:53:05.666Z] v2.1.1-dev.3 [2023-05-31T20:53:05.666Z] v2.2.0 [2023-05-31T20:53:05.666Z] v2.2.1-dev.1 [2023-05-31T20:53:05.666Z] v2.2.1-dev.2 [2023-05-31T20:53:05.666Z] v2.2.1-dev.3 [2023-05-31T20:53:05.666Z] v2.2.1-dev.4 [2023-05-31T20:53:05.666Z] v2.2.1-dev.5 [2023-05-31T20:53:05.666Z] v2.2.1-dev.6 [2023-05-31T20:53:05.666Z] v2.2.1-dev.7 [2023-05-31T20:53:05.666Z] v2.3.0 [2023-05-31T20:53:05.666Z] v2.3.0-dev.10 [2023-05-31T20:53:05.666Z] v2.3.0-dev.11 [2023-05-31T20:53:05.666Z] v2.3.0-dev.12 [2023-05-31T20:53:05.666Z] v2.3.0-dev.13 [2023-05-31T20:53:05.666Z] v2.3.0-dev.14 [2023-05-31T20:53:05.666Z] v2.3.0-dev.15 [2023-05-31T20:53:05.666Z] v2.3.0-dev.16 [2023-05-31T20:53:05.666Z] v2.3.0-dev.17 [2023-05-31T20:53:05.666Z] v2.3.0-dev.18 [2023-05-31T20:53:05.666Z] v2.3.0-dev.19 [2023-05-31T20:53:05.666Z] v2.3.0-dev.20 [2023-05-31T20:53:05.666Z] v2.3.0-dev.21 [2023-05-31T20:53:05.666Z] v2.3.0-dev.22 [2023-05-31T20:53:05.666Z] v2.3.0-dev.23 [2023-05-31T20:53:05.666Z] v2.3.0-dev.24 [2023-05-31T20:53:05.666Z] v2.3.0-dev.25 [2023-05-31T20:53:05.666Z] v2.3.0-dev.7 [2023-05-31T20:53:05.666Z] v2.3.0-dev.8 [2023-05-31T20:53:05.666Z] v2.3.0-dev.9 [2023-05-31T20:53:05.666Z] v3.0.0 [2023-05-31T20:53:05.666Z] v3.0.0-dev.1 [2023-05-31T20:53:05.666Z] v3.0.0-dev.10 [2023-05-31T20:53:05.666Z] v3.0.0-dev.11 [2023-05-31T20:53:05.666Z] v3.0.0-dev.12 [2023-05-31T20:53:05.666Z] v3.0.0-dev.13 [2023-05-31T20:53:05.666Z] v3.0.0-dev.14 [2023-05-31T20:53:05.666Z] v3.0.0-dev.15 [2023-05-31T20:53:05.666Z] v3.0.0-dev.16 [2023-05-31T20:53:05.666Z] v3.0.0-dev.17 [2023-05-31T20:53:05.666Z] v3.0.0-dev.18 [2023-05-31T20:53:05.666Z] v3.0.0-dev.19 [2023-05-31T20:53:05.666Z] v3.0.0-dev.2 [2023-05-31T20:53:05.666Z] v3.0.0-dev.20 [2023-05-31T20:53:05.666Z] v3.0.0-dev.21 [2023-05-31T20:53:05.666Z] v3.0.0-dev.22 [2023-05-31T20:53:05.666Z] v3.0.0-dev.23 [2023-05-31T20:53:05.666Z] v3.0.0-dev.24 [2023-05-31T20:53:05.666Z] v3.0.0-dev.25 [2023-05-31T20:53:05.666Z] v3.0.0-dev.26 [2023-05-31T20:53:05.666Z] v3.0.0-dev.27 [2023-05-31T20:53:05.666Z] v3.0.0-dev.28 [2023-05-31T20:53:05.666Z] v3.0.0-dev.29 [2023-05-31T20:53:05.666Z] v3.0.0-dev.3 [2023-05-31T20:53:05.666Z] v3.0.0-dev.30 [2023-05-31T20:53:05.666Z] v3.0.0-dev.31 [2023-05-31T20:53:05.666Z] v3.0.0-dev.32 [2023-05-31T20:53:05.666Z] v3.0.0-dev.33 [2023-05-31T20:53:05.666Z] v3.0.0-dev.34 [2023-05-31T20:53:05.666Z] v3.0.0-dev.35 [2023-05-31T20:53:05.666Z] v3.0.0-dev.36 [2023-05-31T20:53:05.666Z] v3.0.0-dev.37 [2023-05-31T20:53:05.666Z] v3.0.0-dev.38 [2023-05-31T20:53:05.666Z] v3.0.0-dev.39 [2023-05-31T20:53:05.666Z] v3.0.0-dev.4 [2023-05-31T20:53:05.666Z] v3.0.0-dev.40 [2023-05-31T20:53:05.666Z] v3.0.0-dev.41 [2023-05-31T20:53:05.666Z] v3.0.0-dev.42 [2023-05-31T20:53:05.666Z] v3.0.0-dev.43 [2023-05-31T20:53:05.666Z] v3.0.0-dev.44 [2023-05-31T20:53:05.666Z] v3.0.0-dev.45 [2023-05-31T20:53:05.666Z] v3.0.0-dev.46 [2023-05-31T20:53:05.666Z] v3.0.0-dev.5 [2023-05-31T20:53:05.666Z] v3.0.0-dev.6 [2023-05-31T20:53:05.666Z] v3.0.0-dev.7 [2023-05-31T20:53:05.666Z] v3.0.0-dev.8 [2023-05-31T20:53:05.666Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-31T20:53:05.957Z] + lftools sign git-tag v3.0.0 [2023-05-31T20:53:06.526Z] Signing Git tag with Sigul... [2023-05-31T20:53:06.526Z] Signing v3.0.0 [Pipeline] echo [2023-05-31T20:53:06.792Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:07.074Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-31T20:53:07.081Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-31T20:53:07.100Z] $ docker stop --time=1 10706fa9af074ac386206afb9e9ccc3a16ad2f8cddec9287783c1214a81564e0 [2023-05-31T20:53:08.363Z] $ docker rm -f --volumes 10706fa9af074ac386206afb9e9ccc3a16ad2f8cddec9287783c1214a81564e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-31T20:53:08.778Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:53:08.778Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:53:09.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:53:09.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:53:09.146Z] prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container [2023-05-31T20:53:09.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:53:09.499Z] $ docker top 707a68b8353e7b4a0ceb9254cf1c49341658715960ff6c5f5a36865b520f7880 -eo pid,comm [2023-05-31T20:53:09.543Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-31T20:53:09.543Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:53:09.570Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.46' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:53:09.855Z] + git semver [Pipeline] } [2023-05-31T20:53:10.128Z] $ docker stop --time=1 707a68b8353e7b4a0ceb9254cf1c49341658715960ff6c5f5a36865b520f7880 [2023-05-31T20:53:11.914Z] $ docker rm -f --volumes 707a68b8353e7b4a0ceb9254cf1c49341658715960ff6c5f5a36865b520f7880 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:53:12.419Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:53:12.419Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:53:12.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:53:12.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:53:12.793Z] prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container [2023-05-31T20:53:12.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:53:13.625Z] $ docker top 80d70cf7e590d7f35f1cba02b5977f0e9f2eb519c0172b671c8452a7a7f08e10 -eo pid,comm [2023-05-31T20:53:13.667Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-31T20:53:13.667Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:53:13.687Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.46' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:53:13.993Z] + git semver [Pipeline] } [2023-05-31T20:53:14.261Z] $ docker stop --time=1 80d70cf7e590d7f35f1cba02b5977f0e9f2eb519c0172b671c8452a7a7f08e10 [2023-05-31T20:53:15.556Z] $ docker rm -f --volumes 80d70cf7e590d7f35f1cba02b5977f0e9f2eb519c0172b671c8452a7a7f08e10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-31T20:53:16.067Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-31T20:53:16.067Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-31T20:53:16.067Z] total 16 [2023-05-31T20:53:16.067Z] drwxr-xr-x 3 root root 4096 May 31 20:42 . [2023-05-31T20:53:16.067Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 20:53 .. [2023-05-31T20:53:16.067Z] drwxr-xr-x 2 root root 4096 May 31 20:42 cost [2023-05-31T20:53:16.067Z] -rw-r--r-- 1 root root 88 May 31 20:42 cost.csv [2023-05-31T20:53:16.067Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-31T20:53:16.067Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-31T20:53:16.067Z] total 16 [2023-05-31T20:53:16.067Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:42 . [2023-05-31T20:53:16.067Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 20:53 .. [2023-05-31T20:53:16.067Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 20:42 cost [2023-05-31T20:53:16.067Z] -rw-r--r-- 1 jenkins jenkins 88 May 31 20:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:16.355Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:17.209Z] ---> package-listing.sh [2023-05-31T20:53:17.209Z] ++ facter osfamily [2023-05-31T20:53:17.209Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-31T20:53:17.467Z] + OS_FAMILY=debian [2023-05-31T20:53:17.467Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-31T20:53:17.467Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-31T20:53:17.467Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-31T20:53:17.467Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-31T20:53:17.467Z] + PACKAGES=/tmp/packages_start.txt [2023-05-31T20:53:17.467Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-31T20:53:17.467Z] + PACKAGES=/tmp/packages_end.txt [2023-05-31T20:53:17.467Z] + case "${OS_FAMILY}" in [2023-05-31T20:53:17.467Z] + grep '^ii' [2023-05-31T20:53:17.467Z] + dpkg -l [2023-05-31T20:53:17.467Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-31T20:53:17.467Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-31T20:53:17.467Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-31T20:53:17.467Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-31T20:53:17.467Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-31T20:53:17.467Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-05-31T20:53:17.477Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-31T20:53:17.751Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:53:18.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:53:18.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:53:18.373Z] prd-ubuntu20.04-docker-8c-8g-17549 does not seem to be running inside a container [2023-05-31T20:53:18.405Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-31T20:53:18.623Z] $ docker top 86ccb65918f9115830b9f49a8276d2065ecbccef01255fce49d7d147096032a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:53:18.954Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-31T20:53:19.350Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-31T20:53:19.681Z] + ls /var/log/sa-host [2023-05-31T20:53:19.681Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:53:19.775Z] provisioning config files... [2023-05-31T20:53:19.781Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16792935592429370691tmp [Pipeline] { [Pipeline] echo [2023-05-31T20:53:19.794Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:20.075Z] ---> create-netrc.sh [Pipeline] } [2023-05-31T20:53:20.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:20.411Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-31T20:53:20.420Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:20.703Z] ---> sudo-logs.sh [2023-05-31T20:53:20.703Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-31T20:53:20.731Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:21.012Z] ---> job-cost.sh [2023-05-31T20:53:21.012Z] lf-activate-venv: SKIPPING [2023-05-31T20:53:21.012Z] DEBUG: total: 0.2199999988079071 [2023-05-31T20:53:21.012Z] INFO: Retrieving Stack Cost... [2023-05-31T20:53:21.579Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-31T20:53:21.837Z] INFO: Archiving Costs [Pipeline] echo [2023-05-31T20:53:21.848Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:53:22.127Z] ---> logs-deploy.sh [2023-05-31T20:53:22.127Z] lf-activate-venv: SKIPPING [2023-05-31T20:53:22.127Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/113 [2023-05-31T20:53:22.127Z] INFO: archiving workspace using pattern(s): [2023-05-31T20:53:23.064Z] Archives upload complete. [2023-05-31T20:53:23.064Z] INFO: archiving logs to Nexus