Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d8be67794caf45345cc247e5314d0c02724ea25e 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-ssh16697464812800432222.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10889116834348327213.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13309918440481478482.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh2287955172356198739.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-ssh1605084506102490858.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.21 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9937 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 d8be67794caf45345cc247e5314d0c02724ea25e (main) Commit message: "Merge pull request #513 from weichou1229/issue-512" > 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 d8be67794caf45345cc247e5314d0c02724ea25e # timeout=10 > git rev-list --no-walk 4cb387cfbbf91fe1a6210dbc029113972bd5a732 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T15:34:16.026Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T15:34:16.108Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T15:34:16.125Z] ========================================================= [2023-10-24T15:34:16.125Z] EdgeX Global Pipelines Version Info [2023-10-24T15:34:16.125Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:34:17.203Z] ------------------- [2023-10-24T15:34:17.204Z] stable info: [2023-10-24T15:34:17.204Z] ------------------- [2023-10-24T15:34:17.204Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T15:34:17.204Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T15:34:17.204Z] Message: update stable to v1.0.254 [2023-10-24T15:34:17.771Z] ------------------- [2023-10-24T15:34:17.771Z] experimental info: [2023-10-24T15:34:17.771Z] ------------------- [2023-10-24T15:34:17.771Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T15:34:17.771Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T15:34:17.771Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T15:34:17.942Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-10-24T15:34:17.955Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-10-24T15:34:17.968Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T15:34:17.980Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T15:34:17.993Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T15:34:18.012Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T15:34:18.032Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T15:34:18.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T15:34:18.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T15:34:18.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T15:34:18.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T15:34:18.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-10-24T15:34:18.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T15:34:18.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T15:34:18.136Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T15:34:18.154Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T15:34:18.178Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:34:18.196Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T15:34:18.214Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T15:34:18.226Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T15:34:18.240Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T15:34:18.256Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T15:34:18.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T15:34:18.294Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T15:34:18.313Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T15:34:18.329Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T15:34:18.341Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T15:34:18.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T15:34:18.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T15:34:18.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T15:34:18.397Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8be67794caf45345cc247e5314d0c02724ea25e [Pipeline] echo [2023-10-24T15:34:18.417Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8be677 [Pipeline] echo [2023-10-24T15:34:18.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:34:18.480Z] provisioning config files... [2023-10-24T15:34:18.493Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6472281796212098044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:34:18.798Z] ---> docker-login.sh [2023-10-24T15:34:18.798Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:34:18.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:34:19.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:34:19.059Z] Configure a credential helper to remove this warning. See [2023-10-24T15:34:19.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:34:19.059Z] [2023-10-24T15:34:19.059Z] Login Succeeded [2023-10-24T15:34:19.059Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:34:19.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:34:19.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:34:19.059Z] Configure a credential helper to remove this warning. See [2023-10-24T15:34:19.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:34:19.059Z] [2023-10-24T15:34:19.059Z] Login Succeeded [2023-10-24T15:34:19.059Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:34:19.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:34:19.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:34:19.320Z] Configure a credential helper to remove this warning. See [2023-10-24T15:34:19.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:34:19.320Z] [2023-10-24T15:34:19.320Z] Login Succeeded [2023-10-24T15:34:19.320Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:34:19.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:34:19.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:34:19.320Z] Configure a credential helper to remove this warning. See [2023-10-24T15:34:19.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:34:19.320Z] [2023-10-24T15:34:19.320Z] Login Succeeded [2023-10-24T15:34:19.320Z] docker.io [2023-10-24T15:34:19.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:34:19.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:34:19.583Z] Configure a credential helper to remove this warning. See [2023-10-24T15:34:19.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:34:19.583Z] [2023-10-24T15:34:19.583Z] Login Succeeded [2023-10-24T15:34:19.583Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:34:19.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T15:34:19.975Z] + git rev-list -1 --merges d8be67794caf45345cc247e5314d0c02724ea25e~1..d8be67794caf45345cc247e5314d0c02724ea25e [Pipeline] echo [2023-10-24T15:34:20.043Z] -----------> git rev-list -1 --merges d8be67794caf45345cc247e5314d0c02724ea25e~1..d8be67794caf45345cc247e5314d0c02724ea25e d8be67794caf45345cc247e5314d0c02724ea25e [2023-10-24T15:34:20.043Z] d8be67794caf45345cc247e5314d0c02724ea25e [false] [Pipeline] sh [2023-10-24T15:34:20.338Z] + git log --format=format:%s -1 d8be67794caf45345cc247e5314d0c02724ea25e [Pipeline] echo [2023-10-24T15:34:20.352Z] ========================================================= [2023-10-24T15:34:20.352Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T15:34:20.352Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:34:20.682Z] + git log --format=format:%s -1 d8be67794caf45345cc247e5314d0c02724ea25e [Pipeline] echo [2023-10-24T15:34:20.694Z] [semverPrep] GIT_COMMIT: d8be67794caf45345cc247e5314d0c02724ea25e, Commit Message: Merge pull request #513 from weichou1229/issue-512 [Pipeline] echo [2023-10-24T15:34:20.702Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T15:34:21.046Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:34:21.046Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T15:34:21.046Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T15:34:21.046Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T15:34:21.046Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T15:34:21.046Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T15:34:21.046Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:34:21.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:34:21.576Z] [2023-10-24T15:34:21.576Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:34:21.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:34:21.877Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T15:34:21.877Z] b85a868b505f: Pulling fs layer [2023-10-24T15:34:21.877Z] e2be974225ed: Pulling fs layer [2023-10-24T15:34:21.877Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T15:34:21.877Z] 988bab9f4d93: Pulling fs layer [2023-10-24T15:34:21.877Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T15:34:21.877Z] eaf3925da568: Pulling fs layer [2023-10-24T15:34:21.877Z] bab4dde63d76: Pulling fs layer [2023-10-24T15:34:21.877Z] bde34c3a00c8: Pulling fs layer [2023-10-24T15:34:21.877Z] 988bab9f4d93: Waiting [2023-10-24T15:34:21.877Z] 1469e6f7b9e6: Waiting [2023-10-24T15:34:21.877Z] bab4dde63d76: Waiting [2023-10-24T15:34:21.877Z] eaf3925da568: Waiting [2023-10-24T15:34:21.877Z] b352a97aabf1: Pulling fs layer [2023-10-24T15:34:21.877Z] 4872d77fe225: Pulling fs layer [2023-10-24T15:34:21.877Z] 5851b861e8e6: Pulling fs layer [2023-10-24T15:34:21.877Z] bde34c3a00c8: Waiting [2023-10-24T15:34:21.877Z] b352a97aabf1: Waiting [2023-10-24T15:34:21.877Z] 4872d77fe225: Waiting [2023-10-24T15:34:21.877Z] e2be974225ed: Verifying Checksum [2023-10-24T15:34:21.877Z] e2be974225ed: Download complete [2023-10-24T15:34:21.877Z] 988bab9f4d93: Verifying Checksum [2023-10-24T15:34:21.877Z] 988bab9f4d93: Download complete [2023-10-24T15:34:21.877Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T15:34:21.877Z] 1469e6f7b9e6: Download complete [2023-10-24T15:34:21.877Z] eaf3925da568: Verifying Checksum [2023-10-24T15:34:21.877Z] eaf3925da568: Download complete [2023-10-24T15:34:22.137Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T15:34:22.137Z] 339a4e72a1f5: Download complete [2023-10-24T15:34:22.137Z] bde34c3a00c8: Download complete [2023-10-24T15:34:22.137Z] b352a97aabf1: Download complete [2023-10-24T15:34:22.137Z] 4872d77fe225: Verifying Checksum [2023-10-24T15:34:22.137Z] 4872d77fe225: Download complete [2023-10-24T15:34:22.137Z] 5851b861e8e6: Verifying Checksum [2023-10-24T15:34:22.137Z] 5851b861e8e6: Download complete [2023-10-24T15:34:22.137Z] b85a868b505f: Verifying Checksum [2023-10-24T15:34:22.137Z] b85a868b505f: Download complete [2023-10-24T15:34:22.396Z] bab4dde63d76: Verifying Checksum [2023-10-24T15:34:22.396Z] bab4dde63d76: Download complete [2023-10-24T15:34:23.336Z] b85a868b505f: Pull complete [2023-10-24T15:34:23.596Z] e2be974225ed: Pull complete [2023-10-24T15:34:23.857Z] 339a4e72a1f5: Pull complete [2023-10-24T15:34:24.116Z] 988bab9f4d93: Pull complete [2023-10-24T15:34:24.377Z] 1469e6f7b9e6: Pull complete [2023-10-24T15:34:24.377Z] eaf3925da568: Pull complete [2023-10-24T15:34:26.276Z] bab4dde63d76: Pull complete [2023-10-24T15:34:26.276Z] bde34c3a00c8: Pull complete [2023-10-24T15:34:26.276Z] b352a97aabf1: Pull complete [2023-10-24T15:34:26.276Z] 4872d77fe225: Pull complete [2023-10-24T15:34:26.536Z] 5851b861e8e6: Pull complete [2023-10-24T15:34:26.536Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T15:34:26.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:34:26.536Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:34:26.631Z] prd-ubuntu20.04-docker-8c-8g-9937 does not seem to be running inside a container [2023-10-24T15:34:26.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T15:34:29.344Z] $ docker top 2cc792b1a43d74eb94dd1acc780651592ca1c89af7b60e28f517944303e5d676 -eo pid,comm [2023-10-24T15:34:29.416Z] 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-10-24T15:34:29.416Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:34:29.459Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:34:29.459Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:34:29.564Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:34:29.552Z] $ docker exec 2cc792b1a43d74eb94dd1acc780651592ca1c89af7b60e28f517944303e5d676 ssh-agent [2023-10-24T15:34:29.669Z] SSH_AUTH_SOCK=/tmp/ssh-aKGx21m8wMDa/agent.31 [2023-10-24T15:34:29.669Z] SSH_AGENT_PID=38 [2023-10-24T15:34:29.676Z] Running ssh-add (command line suppressed) [2023-10-24T15:34:29.764Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13669545558477702333.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13669545558477702333.key) [2023-10-24T15:34:29.791Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:34:30.075Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T15:34:30.076Z] $ docker exec --env ******** --env ******** 2cc792b1a43d74eb94dd1acc780651592ca1c89af7b60e28f517944303e5d676 ssh-agent -k [2023-10-24T15:34:30.181Z] unset SSH_AUTH_SOCK; [2023-10-24T15:34:30.181Z] unset SSH_AGENT_PID; [2023-10-24T15:34:30.182Z] echo Agent pid 38 killed; [2023-10-24T15:34:30.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T15:34:30.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:34:30.231Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:34:30.354Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:34:30.341Z] $ docker exec 2cc792b1a43d74eb94dd1acc780651592ca1c89af7b60e28f517944303e5d676 ssh-agent [2023-10-24T15:34:30.469Z] SSH_AUTH_SOCK=/tmp/ssh-LesEUADHSYWX/agent.70 [2023-10-24T15:34:30.469Z] SSH_AGENT_PID=76 [2023-10-24T15:34:30.473Z] Running ssh-add (command line suppressed) [2023-10-24T15:34:30.563Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10248283261442756606.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10248283261442756606.key) [2023-10-24T15:34:30.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:34:30.908Z] + git semver init [2023-10-24T15:34:31.168Z] 2023-10-24 15:34:31,049 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T15:34:31.168Z] 2023-10-24 15:34:31,049 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-24T15:34:31.168Z] 2023-10-24 15:34:31,050 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-10-24T15:34:31.168Z] 2023-10-24 15:34:31,050 [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-10-24T15:34:32.105Z] 2023-10-24 15:34:31,951 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-10-24T15:34:32.105Z] 2023-10-24 15:34:31,952 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-10-24T15:34:32.105Z] 2023-10-24 15:34:31,952 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:34:32.105Z] 2023-10-24 15:34:31,952 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:34:32.105Z] 3.1.0-dev.18 [Pipeline] } [2023-10-24T15:34:32.101Z] $ docker exec --env ******** --env ******** 2cc792b1a43d74eb94dd1acc780651592ca1c89af7b60e28f517944303e5d676 ssh-agent -k [2023-10-24T15:34:32.193Z] unset SSH_AUTH_SOCK; [2023-10-24T15:34:32.194Z] unset SSH_AGENT_PID; [2023-10-24T15:34:32.194Z] echo Agent pid 76 killed; [2023-10-24T15:34:32.218Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:34:32.528Z] + git semver [Pipeline] } [2023-10-24T15:34:32.789Z] $ docker stop --time=1 2cc792b1a43d74eb94dd1acc780651592ca1c89af7b60e28f517944303e5d676 [2023-10-24T15:34:34.096Z] $ docker rm -f --volumes 2cc792b1a43d74eb94dd1acc780651592ca1c89af7b60e28f517944303e5d676 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:34:34.455Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T15:34:34.635Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T15:34:34.637Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:34:34.788Z] provisioning config files... [2023-10-24T15:34:34.795Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6144854947053358233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:34:35.096Z] ---> docker-login.sh [2023-10-24T15:34:35.096Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:34:35.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:34:35.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:34:35.096Z] Configure a credential helper to remove this warning. See [2023-10-24T15:34:35.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:34:35.096Z] [2023-10-24T15:34:35.096Z] Login Succeeded [2023-10-24T15:34:35.096Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:34:35.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:34:35.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:34:35.096Z] Configure a credential helper to remove this warning. See [2023-10-24T15:34:35.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:34:35.096Z] [2023-10-24T15:34:35.096Z] Login Succeeded [2023-10-24T15:34:35.096Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:34:35.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:34:35.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:34:35.356Z] Configure a credential helper to remove this warning. See [2023-10-24T15:34:35.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:34:35.356Z] [2023-10-24T15:34:35.356Z] Login Succeeded [2023-10-24T15:34:35.356Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:34:35.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:34:35.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:34:35.357Z] Configure a credential helper to remove this warning. See [2023-10-24T15:34:35.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:34:35.357Z] [2023-10-24T15:34:35.357Z] Login Succeeded [2023-10-24T15:34:35.357Z] docker.io [2023-10-24T15:34:35.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:34:35.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:34:35.873Z] Configure a credential helper to remove this warning. See [2023-10-24T15:34:35.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:34:35.873Z] [2023-10-24T15:34:35.873Z] Login Succeeded [2023-10-24T15:34:35.873Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:34:35.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T15:34:35.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:34:35.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:34:35.972Z] ========================================================= [2023-10-24T15:34:35.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T15:34:35.972Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:34:36.296Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T15:34:36.296Z] Sending build context to Docker daemon 6.522MB [2023-10-24T15:34:36.296Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:34:36.296Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T15:34:36.296Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T15:34:36.296Z] 7264a8db6415: Pulling fs layer [2023-10-24T15:34:36.296Z] c4d48a809fc2: Pulling fs layer [2023-10-24T15:34:36.296Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T15:34:36.296Z] ad3a456e5733: Pulling fs layer [2023-10-24T15:34:36.296Z] 33e27b845d1e: Pulling fs layer [2023-10-24T15:34:36.296Z] c68163c4e522: Pulling fs layer [2023-10-24T15:34:36.296Z] 50da416c3ac9: Pulling fs layer [2023-10-24T15:34:36.296Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T15:34:36.296Z] 50da416c3ac9: Waiting [2023-10-24T15:34:36.296Z] ad3a456e5733: Waiting [2023-10-24T15:34:36.296Z] 33e27b845d1e: Waiting [2023-10-24T15:34:36.296Z] 23d2d4c4bb30: Waiting [2023-10-24T15:34:36.296Z] c68163c4e522: Waiting [2023-10-24T15:34:36.296Z] c4d48a809fc2: Download complete [2023-10-24T15:34:36.559Z] ad3a456e5733: Verifying Checksum [2023-10-24T15:34:36.559Z] ad3a456e5733: Download complete [2023-10-24T15:34:36.559Z] 7264a8db6415: Verifying Checksum [2023-10-24T15:34:36.559Z] 7264a8db6415: Download complete [2023-10-24T15:34:36.559Z] 33e27b845d1e: Verifying Checksum [2023-10-24T15:34:36.559Z] 33e27b845d1e: Download complete [2023-10-24T15:34:36.559Z] c68163c4e522: Verifying Checksum [2023-10-24T15:34:36.559Z] c68163c4e522: Download complete [2023-10-24T15:34:36.559Z] 7264a8db6415: Pull complete [2023-10-24T15:34:36.821Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T15:34:36.821Z] 23d2d4c4bb30: Download complete [2023-10-24T15:34:36.821Z] c4d48a809fc2: Pull complete [2023-10-24T15:34:37.081Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T15:34:37.081Z] 4f1c88b9dad5: Download complete [2023-10-24T15:34:37.339Z] 50da416c3ac9: Verifying Checksum [2023-10-24T15:34:37.339Z] 50da416c3ac9: Download complete [2023-10-24T15:34:40.624Z] 4f1c88b9dad5: Pull complete [2023-10-24T15:34:40.624Z] ad3a456e5733: Pull complete [2023-10-24T15:34:40.624Z] 33e27b845d1e: Pull complete [2023-10-24T15:34:40.624Z] c68163c4e522: Pull complete [2023-10-24T15:34:43.158Z] 50da416c3ac9: Pull complete [2023-10-24T15:34:43.729Z] 23d2d4c4bb30: Pull complete [2023-10-24T15:34:43.729Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T15:34:43.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T15:34:43.729Z] ---> 0786185ac409 [2023-10-24T15:34:43.729Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:34:47.937Z] ---> Running in 826a7f6c4c8c [2023-10-24T15:34:47.937Z] Removing intermediate container 826a7f6c4c8c [2023-10-24T15:34:47.937Z] ---> d64f1b1909a8 [2023-10-24T15:34:47.937Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:34:47.937Z] ---> Running in 8831f157cc3a [2023-10-24T15:34:47.937Z] Removing intermediate container 8831f157cc3a [2023-10-24T15:34:47.937Z] ---> 4f540275e8ec [2023-10-24T15:34:47.937Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-24T15:34:47.937Z] ---> Running in a4a06e004bf0 [2023-10-24T15:34:48.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:34:48.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:34:48.723Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T15:34:48.723Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-24T15:34:48.723Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T15:34:48.723Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T15:34:48.723Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-24T15:34:48.723Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-24T15:34:48.723Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-24T15:34:48.723Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-24T15:34:48.723Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:34:48.723Z] OK: 270 MiB in 60 packages [2023-10-24T15:34:49.684Z] Removing intermediate container a4a06e004bf0 [2023-10-24T15:34:49.684Z] ---> f5107a778812 [2023-10-24T15:34:49.684Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-24T15:34:49.684Z] ---> Running in 2e96f5699dcb [2023-10-24T15:34:49.684Z] Removing intermediate container 2e96f5699dcb [2023-10-24T15:34:49.684Z] ---> 67ba294ef38a [2023-10-24T15:34:49.684Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T15:34:49.684Z] ---> 1f0b063f74d0 [2023-10-24T15:34:49.684Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:34:49.749Z] Still waiting to schedule task [2023-10-24T15:34:49.749Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T15:34:49.958Z] ---> Running in df30eec36904 [2023-10-24T15:35:46.234Z] Removing intermediate container df30eec36904 [2023-10-24T15:35:46.234Z] ---> ec095a7e1b9c [2023-10-24T15:35:46.234Z] Step 9/10 : COPY . . [2023-10-24T15:35:46.234Z] ---> cf30e212a8c9 [2023-10-24T15:35:46.234Z] Step 10/10 : RUN ${MAKE} [2023-10-24T15:35:46.234Z] ---> Running in 94e6e13ad011 [2023-10-24T15:35:46.234Z] noop [2023-10-24T15:35:46.234Z] Removing intermediate container 94e6e13ad011 [2023-10-24T15:35:46.234Z] ---> e38a57f0a587 [2023-10-24T15:35:46.234Z] Successfully built e38a57f0a587 [2023-10-24T15:35:46.234Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:35:46.544Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T15:35:46.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:35:46.616Z] prd-ubuntu20.04-docker-8c-8g-9937 does not seem to be running inside a container [2023-10-24T15:35:46.651Z] $ 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-10-24T15:35:47.013Z] $ docker top 24b9fd0c248b1f77ca080b9bc3f8c87e0d047330309c679865c766326aac0fbe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:35:47.353Z] + go version [2023-10-24T15:35:47.353Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T15:35:47.371Z] $ docker stop --time=1 24b9fd0c248b1f77ca080b9bc3f8c87e0d047330309c679865c766326aac0fbe [2023-10-24T15:35:48.672Z] $ docker rm -f --volumes 24b9fd0c248b1f77ca080b9bc3f8c87e0d047330309c679865c766326aac0fbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:35:49.059Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T15:35:49.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:35:49.131Z] prd-ubuntu20.04-docker-8c-8g-9937 does not seem to be running inside a container [2023-10-24T15:35:49.169Z] $ 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-10-24T15:35:49.496Z] $ docker top a4d90a4a1895b0c0291918344602bcaa852015d5442ccd09a17a406ad4797413 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:35:49.844Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T15:35:50.140Z] + make test [2023-10-24T15:35:50.140Z] go test ./... -coverprofile=coverage.out [2023-10-24T15:35:51.583Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-24T15:36:03.780Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-24T15:36:03.780Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.9% of statements [2023-10-24T15:36:10.328Z] go vet ./... [2023-10-24T15:36:13.608Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T15:36:13.608Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T15:36:13.608Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T15:36:13.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T15:36:13.643Z] $ docker stop --time=1 a4d90a4a1895b0c0291918344602bcaa852015d5442ccd09a17a406ad4797413 [2023-10-24T15:36:16.592Z] $ docker rm -f --volumes a4d90a4a1895b0c0291918344602bcaa852015d5442ccd09a17a406ad4797413 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:36:17.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T15:36:17.104Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T15:36:17.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T15:36:17.857Z] + ls -al . [2023-10-24T15:36:17.857Z] total 192 [2023-10-24T15:36:17.857Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 15:35 . [2023-10-24T15:36:17.857Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:34 .. [2023-10-24T15:36:17.857Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 15:34 .dockerignore [2023-10-24T15:36:17.857Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:36 .git [2023-10-24T15:36:17.857Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:34 .github [2023-10-24T15:36:17.857Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 15:34 .gitignore [2023-10-24T15:36:17.857Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:34 .golangci.yml [2023-10-24T15:36:17.857Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:34 .semver [2023-10-24T15:36:17.857Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 15:34 Attribution.txt [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 15:34 CHANGELOG.md [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 15:34 Dockerfile [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:34 GOVERNANCE.md [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 15:34 Jenkinsfile [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:34 LICENSE [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 15:34 Makefile [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 15:34 OWNERS.md [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 4578 Oct 24 15:34 README.md [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 15:34 VERSION [2023-10-24T15:36:17.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:34 bin [2023-10-24T15:36:17.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:34 cmd [2023-10-24T15:36:17.858Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 15:36 coverage.out [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 15:34 go.mod [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 15:34 go.sum [2023-10-24T15:36:17.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:34 internal [2023-10-24T15:36:17.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:34 simulator [2023-10-24T15:36:17.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:34 snap [2023-10-24T15:36:17.858Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 15:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:18.162Z] + 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=d8be67794caf45345cc247e5314d0c02724ea25e --label arch=amd64 --label version=3.1.0-dev.18 . [2023-10-24T15:36:18.162Z] Sending build context to Docker daemon 6.547MB [2023-10-24T15:36:18.162Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:36:18.162Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-24T15:36:18.162Z] ---> e38a57f0a587 [2023-10-24T15:36:18.162Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:36:18.449Z] ---> Running in 1babbfaa8687 [2023-10-24T15:36:18.449Z] Removing intermediate container 1babbfaa8687 [2023-10-24T15:36:18.450Z] ---> e5655321b2fa [2023-10-24T15:36:18.450Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:36:18.450Z] ---> Running in c4a30c968b96 [2023-10-24T15:36:18.450Z] Removing intermediate container c4a30c968b96 [2023-10-24T15:36:18.450Z] ---> e9fc4c4ed732 [2023-10-24T15:36:18.450Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-24T15:36:18.450Z] ---> Running in 7ef6c5fdda52 [2023-10-24T15:36:18.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:36:19.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:36:19.359Z] OK: 270 MiB in 60 packages [2023-10-24T15:36:19.625Z] Removing intermediate container 7ef6c5fdda52 [2023-10-24T15:36:19.625Z] ---> 3b0a8c4daccf [2023-10-24T15:36:19.625Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-24T15:36:19.625Z] ---> Running in 4ae6ce559bc0 [2023-10-24T15:36:19.625Z] Removing intermediate container 4ae6ce559bc0 [2023-10-24T15:36:19.625Z] ---> 36959761ab10 [2023-10-24T15:36:19.625Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-24T15:36:19.882Z] ---> 5fbb1d1e996e [2023-10-24T15:36:19.882Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:36:19.882Z] ---> Running in b76ba39d90a5 [2023-10-24T15:36:20.451Z] Removing intermediate container b76ba39d90a5 [2023-10-24T15:36:20.451Z] ---> e3bfc99a4839 [2023-10-24T15:36:20.451Z] Step 9/22 : COPY . . [2023-10-24T15:36:21.059Z] ---> 4d194c7c3091 [2023-10-24T15:36:21.059Z] Step 10/22 : RUN ${MAKE} [2023-10-24T15:36:21.059Z] ---> Running in a3369f706c40 [2023-10-24T15:36:21.319Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-24T15:36:43.241Z] Removing intermediate container a3369f706c40 [2023-10-24T15:36:43.241Z] ---> e752381897a8 [2023-10-24T15:36:43.241Z] Step 11/22 : FROM alpine:3.18 [2023-10-24T15:36:43.241Z] 3.18: Pulling from library/alpine [2023-10-24T15:36:43.241Z] 96526aa774ef: Pulling fs layer [2023-10-24T15:36:43.241Z] 96526aa774ef: Verifying Checksum [2023-10-24T15:36:43.241Z] 96526aa774ef: Download complete [2023-10-24T15:36:43.241Z] 96526aa774ef: Pull complete [2023-10-24T15:36:43.241Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T15:36:43.241Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T15:36:43.241Z] ---> 8ca4688f4f35 [2023-10-24T15:36:43.241Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-24T15:36:43.241Z] ---> Running in 5668f6a6612b [2023-10-24T15:36:43.241Z] Removing intermediate container 5668f6a6612b [2023-10-24T15:36:43.241Z] ---> 7923b6e2d6a4 [2023-10-24T15:36:43.241Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-24T15:36:43.241Z] ---> Running in 002609552cce [2023-10-24T15:36:43.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T15:36:43.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T15:36:43.241Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T15:36:43.241Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:36:43.241Z] OK: 7 MiB in 16 packages [2023-10-24T15:36:43.499Z] Removing intermediate container 002609552cce [2023-10-24T15:36:43.499Z] ---> 0889632faf9f [2023-10-24T15:36:43.499Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-24T15:36:44.435Z] ---> 0d57e4f7aee1 [2023-10-24T15:36:44.435Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-24T15:36:44.435Z] ---> eb7023763e39 [2023-10-24T15:36:44.435Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-24T15:36:44.435Z] ---> 61327ea19c6c [2023-10-24T15:36:44.435Z] Step 17/22 : EXPOSE 59901 [2023-10-24T15:36:44.435Z] ---> Running in 3bd01a532568 [2023-10-24T15:36:44.695Z] Removing intermediate container 3bd01a532568 [2023-10-24T15:36:44.695Z] ---> 8afd8cffb7e1 [2023-10-24T15:36:44.695Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-24T15:36:44.695Z] ---> Running in 95ce7e6c29d8 [2023-10-24T15:36:44.695Z] Removing intermediate container 95ce7e6c29d8 [2023-10-24T15:36:44.695Z] ---> 3a1e95ed8283 [2023-10-24T15:36:44.695Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T15:36:44.695Z] ---> Running in 9bf232647bec [2023-10-24T15:36:44.695Z] Removing intermediate container 9bf232647bec [2023-10-24T15:36:44.695Z] ---> 0681afb37d45 [2023-10-24T15:36:44.695Z] Step 20/22 : LABEL arch=amd64 [2023-10-24T15:36:44.695Z] ---> Running in 2e91c2f4c0a9 [2023-10-24T15:36:44.953Z] Removing intermediate container 2e91c2f4c0a9 [2023-10-24T15:36:44.953Z] ---> 67a759b92d9d [2023-10-24T15:36:44.953Z] Step 21/22 : LABEL git_sha=d8be67794caf45345cc247e5314d0c02724ea25e [2023-10-24T15:36:44.953Z] ---> Running in 37d9f1d8dbf1 [2023-10-24T15:36:44.953Z] Removing intermediate container 37d9f1d8dbf1 [2023-10-24T15:36:44.953Z] ---> fa556940861d [2023-10-24T15:36:44.953Z] Step 22/22 : LABEL version=3.1.0-dev.18 [2023-10-24T15:36:44.953Z] ---> Running in a753027f10c9 [2023-10-24T15:36:44.953Z] Removing intermediate container a753027f10c9 [2023-10-24T15:36:44.953Z] ---> 46d1f31db6cf [2023-10-24T15:36:44.953Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T15:36:44.953Z] Successfully built 46d1f31db6cf [2023-10-24T15:36:44.953Z] 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-10-24T15:36:45.071Z] provisioning config files... [2023-10-24T15:36:45.080Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5767438056000694259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:36:45.376Z] ---> docker-login.sh [2023-10-24T15:36:45.376Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:36:45.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:36:45.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:36:45.376Z] Configure a credential helper to remove this warning. See [2023-10-24T15:36:45.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:36:45.376Z] [2023-10-24T15:36:45.376Z] Login Succeeded [2023-10-24T15:36:45.376Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:36:45.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:36:45.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:36:45.376Z] Configure a credential helper to remove this warning. See [2023-10-24T15:36:45.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:36:45.376Z] [2023-10-24T15:36:45.376Z] Login Succeeded [2023-10-24T15:36:45.376Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:36:45.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:36:45.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:36:45.634Z] Configure a credential helper to remove this warning. See [2023-10-24T15:36:45.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:36:45.634Z] [2023-10-24T15:36:45.634Z] Login Succeeded [2023-10-24T15:36:45.634Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:36:45.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:36:45.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:36:45.634Z] Configure a credential helper to remove this warning. See [2023-10-24T15:36:45.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:36:45.634Z] [2023-10-24T15:36:45.634Z] Login Succeeded [2023-10-24T15:36:45.634Z] docker.io [2023-10-24T15:36:45.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:36:46.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:36:46.156Z] Configure a credential helper to remove this warning. See [2023-10-24T15:36:46.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:36:46.156Z] [2023-10-24T15:36:46.156Z] Login Succeeded [2023-10-24T15:36:46.156Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:36:46.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T15:36:46.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:36:46.221Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-10-24T15:36:46.221Z] d8be67794caf45345cc247e5314d0c02724ea25e [2023-10-24T15:36:46.221Z] latest [2023-10-24T15:36:46.221Z] 3.1.0-dev.18 [2023-10-24T15:36:46.221Z] d8be67794caf45345cc247e5314d0c02724ea25e-3.1.0-dev.18 [2023-10-24T15:36:46.221Z] main [2023-10-24T15:36:46.221Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:46.551Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d8be67794caf45345cc247e5314d0c02724ea25e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:46.858Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:d8be67794caf45345cc247e5314d0c02724ea25e [2023-10-24T15:36:46.858Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T15:36:46.858Z] 1b6b960d2963: Preparing [2023-10-24T15:36:46.858Z] f4a63aa871f4: Preparing [2023-10-24T15:36:46.858Z] bd81468f0c9f: Preparing [2023-10-24T15:36:46.858Z] 8676b26ef7e0: Preparing [2023-10-24T15:36:46.858Z] cc2447e1835a: Preparing [2023-10-24T15:36:46.858Z] cc2447e1835a: Layer already exists [2023-10-24T15:36:46.858Z] 8676b26ef7e0: Pushed [2023-10-24T15:36:46.858Z] f4a63aa871f4: Pushed [2023-10-24T15:36:46.858Z] 1b6b960d2963: Pushed [2023-10-24T15:36:50.148Z] bd81468f0c9f: Pushed [2023-10-24T15:36:50.149Z] d8be67794caf45345cc247e5314d0c02724ea25e: digest: sha256:2314dd80310c55693476f5a5779cf7cd6d4b8877118b8ee934f110783b188a9b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:50.465Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:50.767Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-24T15:36:50.767Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T15:36:50.767Z] 1b6b960d2963: Preparing [2023-10-24T15:36:50.767Z] f4a63aa871f4: Preparing [2023-10-24T15:36:50.767Z] bd81468f0c9f: Preparing [2023-10-24T15:36:50.767Z] 8676b26ef7e0: Preparing [2023-10-24T15:36:50.767Z] cc2447e1835a: Preparing [2023-10-24T15:36:50.767Z] 1b6b960d2963: Layer already exists [2023-10-24T15:36:50.767Z] cc2447e1835a: Layer already exists [2023-10-24T15:36:50.767Z] 8676b26ef7e0: Layer already exists [2023-10-24T15:36:50.767Z] bd81468f0c9f: Layer already exists [2023-10-24T15:36:50.767Z] f4a63aa871f4: Layer already exists [2023-10-24T15:36:50.767Z] latest: digest: sha256:2314dd80310c55693476f5a5779cf7cd6d4b8877118b8ee934f110783b188a9b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:51.143Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:51.449Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.18 [2023-10-24T15:36:51.449Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T15:36:51.449Z] 1b6b960d2963: Preparing [2023-10-24T15:36:51.449Z] f4a63aa871f4: Preparing [2023-10-24T15:36:51.449Z] bd81468f0c9f: Preparing [2023-10-24T15:36:51.449Z] 8676b26ef7e0: Preparing [2023-10-24T15:36:51.449Z] cc2447e1835a: Preparing [2023-10-24T15:36:51.449Z] f4a63aa871f4: Layer already exists [2023-10-24T15:36:51.449Z] cc2447e1835a: Layer already exists [2023-10-24T15:36:51.449Z] 1b6b960d2963: Layer already exists [2023-10-24T15:36:51.449Z] 8676b26ef7e0: Layer already exists [2023-10-24T15:36:51.449Z] bd81468f0c9f: Layer already exists [2023-10-24T15:36:51.449Z] 3.1.0-dev.18: digest: sha256:2314dd80310c55693476f5a5779cf7cd6d4b8877118b8ee934f110783b188a9b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:51.758Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d8be67794caf45345cc247e5314d0c02724ea25e-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:52.061Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:d8be67794caf45345cc247e5314d0c02724ea25e-3.1.0-dev.18 [2023-10-24T15:36:52.061Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T15:36:52.061Z] 1b6b960d2963: Preparing [2023-10-24T15:36:52.061Z] f4a63aa871f4: Preparing [2023-10-24T15:36:52.061Z] bd81468f0c9f: Preparing [2023-10-24T15:36:52.061Z] 8676b26ef7e0: Preparing [2023-10-24T15:36:52.061Z] cc2447e1835a: Preparing [2023-10-24T15:36:52.061Z] 1b6b960d2963: Layer already exists [2023-10-24T15:36:52.061Z] bd81468f0c9f: Layer already exists [2023-10-24T15:36:52.061Z] cc2447e1835a: Layer already exists [2023-10-24T15:36:52.061Z] 8676b26ef7e0: Layer already exists [2023-10-24T15:36:52.061Z] f4a63aa871f4: Layer already exists [2023-10-24T15:36:52.061Z] d8be67794caf45345cc247e5314d0c02724ea25e-3.1.0-dev.18: digest: sha256:2314dd80310c55693476f5a5779cf7cd6d4b8877118b8ee934f110783b188a9b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:52.369Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:52.673Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-10-24T15:36:52.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-10-24T15:36:52.673Z] 1b6b960d2963: Preparing [2023-10-24T15:36:52.673Z] f4a63aa871f4: Preparing [2023-10-24T15:36:52.673Z] bd81468f0c9f: Preparing [2023-10-24T15:36:52.673Z] 8676b26ef7e0: Preparing [2023-10-24T15:36:52.673Z] cc2447e1835a: Preparing [2023-10-24T15:36:52.673Z] 1b6b960d2963: Layer already exists [2023-10-24T15:36:52.673Z] f4a63aa871f4: Layer already exists [2023-10-24T15:36:52.673Z] bd81468f0c9f: Layer already exists [2023-10-24T15:36:52.673Z] cc2447e1835a: Layer already exists [2023-10-24T15:36:52.673Z] 8676b26ef7e0: Layer already exists [2023-10-24T15:36:52.673Z] main: digest: sha256:2314dd80310c55693476f5a5779cf7cd6d4b8877118b8ee934f110783b188a9b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T15:36:52.715Z] ===================================================== [Pipeline] echo [2023-10-24T15:36:52.722Z] taggedImages: [2023-10-24T15:36:52.722Z] - nexus3.edgexfoundry.org:10004/device-modbus:d8be67794caf45345cc247e5314d0c02724ea25e [2023-10-24T15:36:52.722Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-10-24T15:36:52.722Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.18 [2023-10-24T15:36:52.722Z] - nexus3.edgexfoundry.org:10004/device-modbus:d8be67794caf45345cc247e5314d0c02724ea25e-3.1.0-dev.18 [2023-10-24T15:36:52.722Z] - 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-10-24T15:36:53.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:36:53.070Z] [2023-10-24T15:36:53.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:36:53.373Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:36:53.373Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T15:36:53.373Z] 5eb5b503b376: Pulling fs layer [2023-10-24T15:36:53.373Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T15:36:53.373Z] ec43610c2a17: Pulling fs layer [2023-10-24T15:36:53.373Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T15:36:53.373Z] 33b1e0a273af: Pulling fs layer [2023-10-24T15:36:53.373Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T15:36:53.373Z] 2f39f015ded8: Pulling fs layer [2023-10-24T15:36:53.373Z] 3a2ae6a8a46f: Waiting [2023-10-24T15:36:53.373Z] 33b1e0a273af: Waiting [2023-10-24T15:36:53.373Z] 2f39f015ded8: Waiting [2023-10-24T15:36:53.373Z] 5d3b04190fa2: Waiting [2023-10-24T15:36:53.373Z] 5c69ac0246d0: Download complete [2023-10-24T15:36:53.373Z] 3a2ae6a8a46f: Download complete [2023-10-24T15:36:53.373Z] 33b1e0a273af: Verifying Checksum [2023-10-24T15:36:53.373Z] 33b1e0a273af: Download complete [2023-10-24T15:36:53.373Z] ec43610c2a17: Verifying Checksum [2023-10-24T15:36:53.373Z] ec43610c2a17: Download complete [2023-10-24T15:36:53.373Z] 5d3b04190fa2: Download complete [2023-10-24T15:36:53.631Z] 5eb5b503b376: Verifying Checksum [2023-10-24T15:36:53.631Z] 5eb5b503b376: Download complete [2023-10-24T15:36:54.197Z] 2f39f015ded8: Download complete [2023-10-24T15:36:55.218Z] 5eb5b503b376: Pull complete [2023-10-24T15:36:55.218Z] 5c69ac0246d0: Pull complete [2023-10-24T15:36:55.787Z] ec43610c2a17: Pull complete [2023-10-24T15:36:55.787Z] 3a2ae6a8a46f: Pull complete [2023-10-24T15:36:56.047Z] 33b1e0a273af: Pull complete [2023-10-24T15:36:56.047Z] 5d3b04190fa2: Pull complete [2023-10-24T15:37:01.311Z] 2f39f015ded8: Pull complete [2023-10-24T15:37:01.311Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T15:37:01.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:37:01.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:37:01.399Z] prd-ubuntu20.04-docker-8c-8g-9937 does not seem to be running inside a container [2023-10-24T15:37:01.442Z] $ 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-10-24T15:37:06.155Z] $ docker top 892c0730ff1044616756bbfb8a55a8064a0fa8ed8cb2a6d346289bfaf206f0ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:37:06.514Z] ---> job-cost.sh [2023-10-24T15:37:06.514Z] lf-activate-venv: SKIPPING [2023-10-24T15:37:06.514Z] INFO: No Stack... [2023-10-24T15:37:06.774Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T15:37:07.033Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T15:37:07.325Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-10-24T15:37:07.325Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T15:37:07.339Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-132-stack-cost] [2023-10-24T15:37:07.345Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-132-stack-cost] did not exist. Created. [2023-10-24T15:37:07.345Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T15:37:07.652Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T15:37:07.684Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T15:37:07.690Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T15:37:07.717Z] $ docker stop --time=1 892c0730ff1044616756bbfb8a55a8064a0fa8ed8cb2a6d346289bfaf206f0ae [2023-10-24T15:37:08.898Z] $ docker rm -f --volumes 892c0730ff1044616756bbfb8a55a8064a0fa8ed8cb2a6d346289bfaf206f0ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T15:37:27.404Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9938 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-10-24T15:37:27.421Z] Running in /w/workspace/device-modbus-go/132 [Pipeline] { [Pipeline] checkout [2023-10-24T15:37:27.454Z] Selected Git installation does not exist. Using Default [2023-10-24T15:37:27.454Z] The recommended git tool is: NONE [2023-10-24T15:37:33.148Z] using credential edgex-jenkins-ssh [2023-10-24T15:37:33.165Z] Cloning the remote Git repository [2023-10-24T15:37:33.209Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-10-24T15:37:33.309Z] > git init /w/workspace/device-modbus-go/132 # timeout=10 [2023-10-24T15:37:33.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-10-24T15:37:33.446Z] > git --version # timeout=10 [2023-10-24T15:37:33.470Z] > git --version # 'git version 2.25.1' [2023-10-24T15:37:33.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T15:37:33.630Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T15:37:36.091Z] Avoid second fetch [2023-10-24T15:37:36.092Z] Checking out Revision d8be67794caf45345cc247e5314d0c02724ea25e (main) [2023-10-24T15:37:35.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-10-24T15:37:35.055Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T15:37:36.132Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T15:37:36.212Z] > git checkout -f d8be67794caf45345cc247e5314d0c02724ea25e # timeout=10 [2023-10-24T15:37:36.736Z] Commit message: "Merge pull request #513 from weichou1229/issue-512" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:37:37.656Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T15:37:37.656Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T15:37:37.656Z] Dload Upload Total Spent Left Speed [2023-10-24T15:37:37.656Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 249k 0 --:--:-- --:--:-- --:--:-- 249k [Pipeline] sh [2023-10-24T15:37:38.319Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T15:37:38.647Z] + sudo tee /etc/docker/daemon.new [2023-10-24T15:37:38.647Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T15:37:38.647Z] { [2023-10-24T15:37:38.647Z] "registry-mirrors": [ [2023-10-24T15:37:38.647Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T15:37:38.647Z] ], [2023-10-24T15:37:38.647Z] "bip": "10.250.0.254/24", [2023-10-24T15:37:38.647Z] "hosts": [ [2023-10-24T15:37:38.647Z] "tcp://0.0.0.0:5555", [2023-10-24T15:37:38.647Z] "unix:///var/run/docker.sock" [2023-10-24T15:37:38.647Z] ], [2023-10-24T15:37:38.647Z] "mtu": 1458, [2023-10-24T15:37:38.647Z] "selinux-enabled": true, [2023-10-24T15:37:38.647Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T15:37:38.647Z] } [Pipeline] sh [2023-10-24T15:37:38.973Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T15:37:39.308Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:37:57.565Z] provisioning config files... [2023-10-24T15:37:57.595Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/132@tmp/config9938131661679925226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:37:57.988Z] ---> docker-login.sh [2023-10-24T15:37:57.988Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:37:58.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:37:58.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:37:58.580Z] Configure a credential helper to remove this warning. See [2023-10-24T15:37:58.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:37:58.580Z] [2023-10-24T15:37:58.580Z] Login Succeeded [2023-10-24T15:37:58.580Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:37:59.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:37:59.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:37:59.177Z] Configure a credential helper to remove this warning. See [2023-10-24T15:37:59.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:37:59.177Z] [2023-10-24T15:37:59.177Z] Login Succeeded [2023-10-24T15:37:59.177Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:37:59.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:37:59.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:37:59.721Z] Configure a credential helper to remove this warning. See [2023-10-24T15:37:59.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:37:59.721Z] [2023-10-24T15:37:59.721Z] Login Succeeded [2023-10-24T15:37:59.721Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:38:00.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:38:00.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:38:00.004Z] Configure a credential helper to remove this warning. See [2023-10-24T15:38:00.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:38:00.004Z] [2023-10-24T15:38:00.004Z] Login Succeeded [2023-10-24T15:38:00.004Z] docker.io [2023-10-24T15:38:00.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:38:00.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:38:00.875Z] Configure a credential helper to remove this warning. See [2023-10-24T15:38:00.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:38:00.875Z] [2023-10-24T15:38:00.875Z] Login Succeeded [2023-10-24T15:38:00.875Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:38:00.894Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T15:38:01.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:38:01.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:38:01.178Z] ========================================================= [2023-10-24T15:38:01.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T15:38:01.178Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:38:01.628Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T15:38:03.041Z] Sending build context to Docker daemon 3.387MB [2023-10-24T15:38:03.041Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:38:03.041Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T15:38:03.041Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T15:38:03.041Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T15:38:03.041Z] 5d54e960e981: Pulling fs layer [2023-10-24T15:38:03.041Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T15:38:03.041Z] f0e02332f6b5: Pulling fs layer [2023-10-24T15:38:03.041Z] f0e02332f6b5: Waiting [2023-10-24T15:38:03.041Z] cefa15bbcfad: Pulling fs layer [2023-10-24T15:38:03.041Z] 17808c966233: Pulling fs layer [2023-10-24T15:38:03.041Z] f4c1fc716caa: Pulling fs layer [2023-10-24T15:38:03.041Z] 17808c966233: Waiting [2023-10-24T15:38:03.041Z] f4c1fc716caa: Waiting [2023-10-24T15:38:03.041Z] cefa15bbcfad: Waiting [2023-10-24T15:38:03.311Z] 5d54e960e981: Verifying Checksum [2023-10-24T15:38:03.311Z] 5d54e960e981: Download complete [2023-10-24T15:38:03.311Z] f0e02332f6b5: Verifying Checksum [2023-10-24T15:38:03.311Z] f0e02332f6b5: Download complete [2023-10-24T15:38:03.311Z] cefa15bbcfad: Verifying Checksum [2023-10-24T15:38:03.311Z] cefa15bbcfad: Download complete [2023-10-24T15:38:03.311Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T15:38:03.311Z] 9fda8d8052c6: Download complete [2023-10-24T15:38:03.589Z] f4c1fc716caa: Verifying Checksum [2023-10-24T15:38:03.589Z] f4c1fc716caa: Download complete [2023-10-24T15:38:04.177Z] 9fda8d8052c6: Pull complete [2023-10-24T15:38:04.764Z] 5d54e960e981: Pull complete [2023-10-24T15:38:05.036Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T15:38:05.036Z] c4a7e357bf2a: Download complete [2023-10-24T15:38:06.010Z] 17808c966233: Verifying Checksum [2023-10-24T15:38:06.010Z] 17808c966233: Download complete [2023-10-24T15:38:18.354Z] c4a7e357bf2a: Pull complete [2023-10-24T15:38:18.621Z] f0e02332f6b5: Pull complete [2023-10-24T15:38:18.890Z] cefa15bbcfad: Pull complete [2023-10-24T15:38:27.105Z] 17808c966233: Pull complete [2023-10-24T15:38:29.696Z] f4c1fc716caa: Pull complete [2023-10-24T15:38:29.696Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T15:38:29.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T15:38:29.696Z] ---> ea914061e18c [2023-10-24T15:38:29.696Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:38:31.115Z] ---> Running in d2eb3db750ea [2023-10-24T15:38:31.382Z] Removing intermediate container d2eb3db750ea [2023-10-24T15:38:31.382Z] ---> 2043b4a7e4db [2023-10-24T15:38:31.382Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:38:31.647Z] ---> Running in 0406cc36668a [2023-10-24T15:38:31.925Z] Removing intermediate container 0406cc36668a [2023-10-24T15:38:31.925Z] ---> d8ade4dcf159 [2023-10-24T15:38:31.925Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-10-24T15:38:31.925Z] ---> Running in 7a85cef1f75e [2023-10-24T15:38:33.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:38:33.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:38:35.038Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T15:38:35.039Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-10-24T15:38:35.039Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T15:38:35.039Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T15:38:35.039Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-10-24T15:38:35.039Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-10-24T15:38:35.039Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-10-24T15:38:35.039Z] (8/8) Installing openssh (9.3_p2-r0) [2023-10-24T15:38:35.039Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:38:35.039Z] OK: 272 MiB in 60 packages [2023-10-24T15:38:36.568Z] Removing intermediate container 7a85cef1f75e [2023-10-24T15:38:36.568Z] ---> a8e40733700e [2023-10-24T15:38:36.568Z] Step 6/10 : WORKDIR /device-modbus-go [2023-10-24T15:38:36.568Z] ---> Running in 66519d33843a [2023-10-24T15:38:36.844Z] Removing intermediate container 66519d33843a [2023-10-24T15:38:36.844Z] ---> e1f7fbd09d1d [2023-10-24T15:38:36.844Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T15:38:37.466Z] ---> ffa1b800048f [2023-10-24T15:38:37.466Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:38:37.466Z] ---> Running in 4cc055ab154a [2023-10-24T15:40:14.175Z] Removing intermediate container 4cc055ab154a [2023-10-24T15:40:14.175Z] ---> 8e545f2a3721 [2023-10-24T15:40:14.175Z] Step 9/10 : COPY . . [2023-10-24T15:40:14.175Z] ---> 6860c4f59f30 [2023-10-24T15:40:14.175Z] Step 10/10 : RUN ${MAKE} [2023-10-24T15:40:14.175Z] ---> Running in e3db930411b9 [2023-10-24T15:40:14.175Z] noop [2023-10-24T15:40:14.175Z] Removing intermediate container e3db930411b9 [2023-10-24T15:40:14.175Z] ---> ea39f1e2d6c0 [2023-10-24T15:40:14.175Z] Successfully built ea39f1e2d6c0 [2023-10-24T15:40:14.175Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:40:14.575Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T15:40:14.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:40:14.823Z] prd-ubuntu20.04-docker-arm64-4c-16g-9938 does not seem to be running inside a container [2023-10-24T15:40:14.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/132 -v /w/workspace/device-modbus-go/132:/w/workspace/device-modbus-go/132:rw,z -v /w/workspace/device-modbus-go/132@tmp:/w/workspace/device-modbus-go/132@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T15:40:17.492Z] $ docker top 14beb328cd4104a0c32d11843c50a29aaedecc164f025edea72e3e97b63a382a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:40:18.367Z] + go version [2023-10-24T15:40:18.367Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T15:40:18.392Z] $ docker stop --time=1 14beb328cd4104a0c32d11843c50a29aaedecc164f025edea72e3e97b63a382a [2023-10-24T15:40:20.044Z] $ docker rm -f --volumes 14beb328cd4104a0c32d11843c50a29aaedecc164f025edea72e3e97b63a382a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:40:20.614Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T15:40:20.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:40:20.813Z] prd-ubuntu20.04-docker-arm64-4c-16g-9938 does not seem to be running inside a container [2023-10-24T15:40:20.893Z] $ 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/132 -v /w/workspace/device-modbus-go/132:/w/workspace/device-modbus-go/132:rw,z -v /w/workspace/device-modbus-go/132@tmp:/w/workspace/device-modbus-go/132@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T15:40:22.286Z] $ docker top 1c33272a1a7e7302719e4a7499b4f773bed183a753720af5295551584e5378b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:40:23.163Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/132 [Pipeline] fileExists [Pipeline] sh [2023-10-24T15:40:23.826Z] + make test [2023-10-24T15:40:23.826Z] go test ./... -coverprofile=coverage.out [2023-10-24T15:40:28.104Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-10-24T15:42:04.762Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-10-24T15:42:06.179Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.096s coverage: 47.9% of statements [2023-10-24T15:42:06.763Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T15:42:06.763Z] go vet ./... [2023-10-24T15:42:33.434Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T15:42:33.434Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T15:42:33.702Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T15:42:33.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T15:42:34.004Z] $ docker stop --time=1 1c33272a1a7e7302719e4a7499b4f773bed183a753720af5295551584e5378b1 [2023-10-24T15:42:35.993Z] $ docker rm -f --volumes 1c33272a1a7e7302719e4a7499b4f773bed183a753720af5295551584e5378b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:42:37.238Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T15:42:37.262Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T15:42:37.786Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T15:42:38.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T15:42:38.511Z] + ls -al . [2023-10-24T15:42:38.511Z] total 188 [2023-10-24T15:42:38.511Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 15:40 . [2023-10-24T15:42:38.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:37 .. [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 15:37 .dockerignore [2023-10-24T15:42:38.511Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:37 .git [2023-10-24T15:42:38.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:37 .github [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 15:37 .gitignore [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:37 .golangci.yml [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 15:37 Attribution.txt [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 15:37 CHANGELOG.md [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 15:37 Dockerfile [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:37 GOVERNANCE.md [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 15:37 Jenkinsfile [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:37 LICENSE [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 15:37 Makefile [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 15:37 OWNERS.md [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 4578 Oct 24 15:37 README.md [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 15:34 VERSION [2023-10-24T15:42:38.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:37 bin [2023-10-24T15:42:38.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:37 cmd [2023-10-24T15:42:38.511Z] -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 15:42 coverage.out [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 15:37 go.mod [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 15:37 go.sum [2023-10-24T15:42:38.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:37 internal [2023-10-24T15:42:38.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:37 simulator [2023-10-24T15:42:38.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:37 snap [2023-10-24T15:42:38.511Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 15:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:42:38.851Z] + 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=d8be67794caf45345cc247e5314d0c02724ea25e --label arch=arm64 --label version=3.1.0-dev.18 . [2023-10-24T15:42:39.141Z] Sending build context to Docker daemon 3.412MB [2023-10-24T15:42:39.142Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T15:42:39.142Z] Step 2/22 : FROM ${BASE} AS builder [2023-10-24T15:42:39.142Z] ---> ea39f1e2d6c0 [2023-10-24T15:42:39.142Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-10-24T15:42:39.411Z] ---> Running in 58b0e5218d2c [2023-10-24T15:42:39.681Z] Removing intermediate container 58b0e5218d2c [2023-10-24T15:42:39.681Z] ---> cc7edce82780 [2023-10-24T15:42:39.681Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T15:42:39.681Z] ---> Running in 4ba518b09d52 [2023-10-24T15:42:40.276Z] Removing intermediate container 4ba518b09d52 [2023-10-24T15:42:40.276Z] ---> 87f56fb93a9c [2023-10-24T15:42:40.276Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-10-24T15:42:40.276Z] ---> Running in de145ae6ac4a [2023-10-24T15:42:41.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:42:41.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:42:43.236Z] OK: 272 MiB in 60 packages [2023-10-24T15:42:45.817Z] Removing intermediate container de145ae6ac4a [2023-10-24T15:42:45.817Z] ---> 518460e22173 [2023-10-24T15:42:45.817Z] Step 6/22 : WORKDIR /device-modbus-go [2023-10-24T15:42:46.088Z] ---> Running in aa7e33d429a4 [2023-10-24T15:42:46.357Z] Removing intermediate container aa7e33d429a4 [2023-10-24T15:42:46.357Z] ---> a225cd52e923 [2023-10-24T15:42:46.357Z] Step 7/22 : COPY go.mod vendor* ./ [2023-10-24T15:42:46.943Z] ---> 99388f220463 [2023-10-24T15:42:46.943Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T15:42:46.943Z] ---> Running in c20caf05e0c4 [2023-10-24T15:42:49.532Z] Removing intermediate container c20caf05e0c4 [2023-10-24T15:42:49.532Z] ---> 8226b8a8c64a [2023-10-24T15:42:49.532Z] Step 9/22 : COPY . . [2023-10-24T15:42:50.114Z] ---> 292e21503605 [2023-10-24T15:42:50.114Z] Step 10/22 : RUN ${MAKE} [2023-10-24T15:42:50.114Z] ---> Running in 5f4408d57181 [2023-10-24T15:42:51.071Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-10-24T15:44:57.749Z] Removing intermediate container 5f4408d57181 [2023-10-24T15:44:57.749Z] ---> 5938732db15b [2023-10-24T15:44:57.749Z] Step 11/22 : FROM alpine:3.18 [2023-10-24T15:44:57.749Z] 3.18: Pulling from library/alpine [2023-10-24T15:44:57.749Z] 579b34f0a95b: Pulling fs layer [2023-10-24T15:44:57.749Z] 579b34f0a95b: Verifying Checksum [2023-10-24T15:44:57.749Z] 579b34f0a95b: Download complete [2023-10-24T15:44:57.749Z] 579b34f0a95b: Pull complete [2023-10-24T15:44:57.749Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T15:44:57.749Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T15:44:57.749Z] ---> 3cc203321400 [2023-10-24T15:44:57.749Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-10-24T15:44:57.749Z] ---> Running in dff94bd80f83 [2023-10-24T15:44:57.749Z] Removing intermediate container dff94bd80f83 [2023-10-24T15:44:57.749Z] ---> de7e1a23f88e [2023-10-24T15:44:57.749Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-10-24T15:44:57.749Z] ---> Running in 40f3f1feac47 [2023-10-24T15:44:57.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T15:44:57.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T15:44:57.749Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T15:44:57.749Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T15:44:57.749Z] OK: 8 MiB in 16 packages [2023-10-24T15:44:57.749Z] Removing intermediate container 40f3f1feac47 [2023-10-24T15:44:57.749Z] ---> 84195f973f49 [2023-10-24T15:44:57.749Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-10-24T15:44:57.749Z] ---> 53e732c2c132 [2023-10-24T15:44:57.749Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-10-24T15:44:57.749Z] ---> 2f91327f3f77 [2023-10-24T15:44:57.749Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-10-24T15:44:57.749Z] ---> c4939f9e8412 [2023-10-24T15:44:57.749Z] Step 17/22 : EXPOSE 59901 [2023-10-24T15:44:57.749Z] ---> Running in f4a8026d7987 [2023-10-24T15:45:01.087Z] Removing intermediate container f4a8026d7987 [2023-10-24T15:45:01.087Z] ---> cd7581fb1636 [2023-10-24T15:45:01.087Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-10-24T15:45:01.087Z] ---> Running in 02e578fd5576 [2023-10-24T15:45:01.087Z] Removing intermediate container 02e578fd5576 [2023-10-24T15:45:01.087Z] ---> 8941cbf0c0f7 [2023-10-24T15:45:01.087Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T15:45:01.087Z] ---> Running in 20dad67a60a5 [2023-10-24T15:45:01.358Z] Removing intermediate container 20dad67a60a5 [2023-10-24T15:45:01.358Z] ---> 59ab8bdfa61a [2023-10-24T15:45:01.358Z] Step 20/22 : LABEL arch=arm64 [2023-10-24T15:45:01.358Z] ---> Running in ff52d5058d53 [2023-10-24T15:45:01.625Z] Removing intermediate container ff52d5058d53 [2023-10-24T15:45:01.625Z] ---> ebff601b795e [2023-10-24T15:45:01.625Z] Step 21/22 : LABEL git_sha=d8be67794caf45345cc247e5314d0c02724ea25e [2023-10-24T15:45:01.897Z] ---> Running in 931b9133fd85 [2023-10-24T15:45:02.165Z] Removing intermediate container 931b9133fd85 [2023-10-24T15:45:02.165Z] ---> 2ca72a0d603b [2023-10-24T15:45:02.165Z] Step 22/22 : LABEL version=3.1.0-dev.18 [2023-10-24T15:45:02.165Z] ---> Running in 8d647a1011b0 [2023-10-24T15:45:02.434Z] Removing intermediate container 8d647a1011b0 [2023-10-24T15:45:02.434Z] ---> ac09e7936d5a [2023-10-24T15:45:02.434Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T15:45:02.434Z] Successfully built ac09e7936d5a [2023-10-24T15:45:02.434Z] 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-10-24T15:45:02.813Z] provisioning config files... [2023-10-24T15:45:02.828Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/132@tmp/config5810768228066179136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:45:03.164Z] ---> docker-login.sh [2023-10-24T15:45:03.164Z] nexus3.edgexfoundry.org:10001 [2023-10-24T15:45:03.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:45:03.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:45:03.432Z] Configure a credential helper to remove this warning. See [2023-10-24T15:45:03.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:45:03.432Z] [2023-10-24T15:45:03.432Z] Login Succeeded [2023-10-24T15:45:03.432Z] nexus3.edgexfoundry.org:10002 [2023-10-24T15:45:03.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:45:03.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:45:03.700Z] Configure a credential helper to remove this warning. See [2023-10-24T15:45:03.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:45:03.700Z] [2023-10-24T15:45:03.700Z] Login Succeeded [2023-10-24T15:45:03.700Z] nexus3.edgexfoundry.org:10003 [2023-10-24T15:45:03.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:45:04.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:45:04.233Z] Configure a credential helper to remove this warning. See [2023-10-24T15:45:04.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:45:04.233Z] [2023-10-24T15:45:04.233Z] Login Succeeded [2023-10-24T15:45:04.233Z] nexus3.edgexfoundry.org:10004 [2023-10-24T15:45:04.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:45:04.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:45:04.500Z] Configure a credential helper to remove this warning. See [2023-10-24T15:45:04.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:45:04.500Z] [2023-10-24T15:45:04.500Z] Login Succeeded [2023-10-24T15:45:04.500Z] docker.io [2023-10-24T15:45:04.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T15:45:05.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T15:45:05.347Z] Configure a credential helper to remove this warning. See [2023-10-24T15:45:05.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T15:45:05.347Z] [2023-10-24T15:45:05.347Z] Login Succeeded [2023-10-24T15:45:05.347Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T15:45:05.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T15:45:05.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T15:45:05.426Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-10-24T15:45:05.426Z] d8be67794caf45345cc247e5314d0c02724ea25e [2023-10-24T15:45:05.426Z] latest [2023-10-24T15:45:05.426Z] 3.1.0-dev.18 [2023-10-24T15:45:05.426Z] d8be67794caf45345cc247e5314d0c02724ea25e-3.1.0-dev.18 [2023-10-24T15:45:05.426Z] main [2023-10-24T15:45:05.426Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:05.789Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8be67794caf45345cc247e5314d0c02724ea25e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:06.138Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8be67794caf45345cc247e5314d0c02724ea25e [2023-10-24T15:45:06.138Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T15:45:06.138Z] 6a678ca314ca: Preparing [2023-10-24T15:45:06.138Z] c9fe8e25adac: Preparing [2023-10-24T15:45:06.138Z] f774adce6843: Preparing [2023-10-24T15:45:06.138Z] 596f9b153573: Preparing [2023-10-24T15:45:06.138Z] 5f4d9fc4d98d: Preparing [2023-10-24T15:45:06.407Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T15:45:06.407Z] c9fe8e25adac: Pushed [2023-10-24T15:45:06.407Z] 6a678ca314ca: Pushed [2023-10-24T15:45:06.407Z] 596f9b153573: Pushed [2023-10-24T15:45:13.058Z] f774adce6843: Pushed [2023-10-24T15:45:14.018Z] d8be67794caf45345cc247e5314d0c02724ea25e: digest: sha256:244c9b9bf05dde2a7d0b9a7b0be1625fffa5fc809dd84ad2a681351b7d532418 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:14.367Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:14.708Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-24T15:45:14.708Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T15:45:14.708Z] 6a678ca314ca: Preparing [2023-10-24T15:45:14.708Z] c9fe8e25adac: Preparing [2023-10-24T15:45:14.708Z] f774adce6843: Preparing [2023-10-24T15:45:14.708Z] 596f9b153573: Preparing [2023-10-24T15:45:14.708Z] 5f4d9fc4d98d: Preparing [2023-10-24T15:45:14.708Z] 6a678ca314ca: Layer already exists [2023-10-24T15:45:14.708Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T15:45:14.708Z] f774adce6843: Layer already exists [2023-10-24T15:45:14.708Z] c9fe8e25adac: Layer already exists [2023-10-24T15:45:14.708Z] 596f9b153573: Layer already exists [2023-10-24T15:45:14.976Z] latest: digest: sha256:244c9b9bf05dde2a7d0b9a7b0be1625fffa5fc809dd84ad2a681351b7d532418 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:15.344Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:15.708Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.18 [2023-10-24T15:45:15.708Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T15:45:15.708Z] 6a678ca314ca: Preparing [2023-10-24T15:45:15.708Z] c9fe8e25adac: Preparing [2023-10-24T15:45:15.708Z] f774adce6843: Preparing [2023-10-24T15:45:15.708Z] 596f9b153573: Preparing [2023-10-24T15:45:15.708Z] 5f4d9fc4d98d: Preparing [2023-10-24T15:45:15.708Z] c9fe8e25adac: Layer already exists [2023-10-24T15:45:15.708Z] 6a678ca314ca: Layer already exists [2023-10-24T15:45:15.708Z] f774adce6843: Layer already exists [2023-10-24T15:45:15.708Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T15:45:15.708Z] 596f9b153573: Layer already exists [2023-10-24T15:45:15.974Z] 3.1.0-dev.18: digest: sha256:244c9b9bf05dde2a7d0b9a7b0be1625fffa5fc809dd84ad2a681351b7d532418 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:16.330Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8be67794caf45345cc247e5314d0c02724ea25e-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:16.699Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8be67794caf45345cc247e5314d0c02724ea25e-3.1.0-dev.18 [2023-10-24T15:45:16.699Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T15:45:16.699Z] 6a678ca314ca: Preparing [2023-10-24T15:45:16.699Z] c9fe8e25adac: Preparing [2023-10-24T15:45:16.699Z] f774adce6843: Preparing [2023-10-24T15:45:16.699Z] 596f9b153573: Preparing [2023-10-24T15:45:16.699Z] 5f4d9fc4d98d: Preparing [2023-10-24T15:45:16.699Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T15:45:16.699Z] 6a678ca314ca: Layer already exists [2023-10-24T15:45:16.699Z] c9fe8e25adac: Layer already exists [2023-10-24T15:45:16.699Z] f774adce6843: Layer already exists [2023-10-24T15:45:16.699Z] 596f9b153573: Layer already exists [2023-10-24T15:45:16.967Z] d8be67794caf45345cc247e5314d0c02724ea25e-3.1.0-dev.18: digest: sha256:244c9b9bf05dde2a7d0b9a7b0be1625fffa5fc809dd84ad2a681351b7d532418 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:17.312Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:17.658Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-10-24T15:45:17.659Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-10-24T15:45:17.659Z] 6a678ca314ca: Preparing [2023-10-24T15:45:17.659Z] c9fe8e25adac: Preparing [2023-10-24T15:45:17.659Z] f774adce6843: Preparing [2023-10-24T15:45:17.659Z] 596f9b153573: Preparing [2023-10-24T15:45:17.659Z] 5f4d9fc4d98d: Preparing [2023-10-24T15:45:17.659Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T15:45:17.659Z] c9fe8e25adac: Layer already exists [2023-10-24T15:45:17.659Z] 596f9b153573: Layer already exists [2023-10-24T15:45:17.659Z] f774adce6843: Layer already exists [2023-10-24T15:45:17.659Z] 6a678ca314ca: Layer already exists [2023-10-24T15:45:17.924Z] main: digest: sha256:244c9b9bf05dde2a7d0b9a7b0be1625fffa5fc809dd84ad2a681351b7d532418 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T15:45:17.978Z] ===================================================== [Pipeline] echo [2023-10-24T15:45:17.985Z] taggedImages: [2023-10-24T15:45:17.985Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8be67794caf45345cc247e5314d0c02724ea25e [2023-10-24T15:45:17.985Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-10-24T15:45:17.985Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.18 [2023-10-24T15:45:17.985Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8be67794caf45345cc247e5314d0c02724ea25e-3.1.0-dev.18 [2023-10-24T15:45:17.985Z] - 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-10-24T15:45:18.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T15:45:18.362Z] [2023-10-24T15:45:18.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:18.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T15:45:18.705Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T15:45:18.705Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T15:45:18.705Z] 04944245beec: Pulling fs layer [2023-10-24T15:45:18.705Z] 699f458cf7ca: Pulling fs layer [2023-10-24T15:45:18.705Z] 765212b225bb: Pulling fs layer [2023-10-24T15:45:18.705Z] f23df028b6ca: Pulling fs layer [2023-10-24T15:45:18.705Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T15:45:18.705Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T15:45:18.705Z] 765212b225bb: Waiting [2023-10-24T15:45:18.705Z] f23df028b6ca: Waiting [2023-10-24T15:45:18.705Z] d65c8cfc05b1: Waiting [2023-10-24T15:45:18.705Z] 2437ff75d9bd: Waiting [2023-10-24T15:45:18.975Z] 04944245beec: Verifying Checksum [2023-10-24T15:45:18.975Z] 04944245beec: Download complete [2023-10-24T15:45:18.975Z] 765212b225bb: Verifying Checksum [2023-10-24T15:45:18.975Z] 765212b225bb: Download complete [2023-10-24T15:45:18.975Z] f23df028b6ca: Verifying Checksum [2023-10-24T15:45:18.975Z] f23df028b6ca: Download complete [2023-10-24T15:45:18.975Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T15:45:18.975Z] d65c8cfc05b1: Download complete [2023-10-24T15:45:19.242Z] 699f458cf7ca: Verifying Checksum [2023-10-24T15:45:19.242Z] 699f458cf7ca: Download complete [2023-10-24T15:45:19.515Z] 8998bd30e6a1: Download complete [2023-10-24T15:45:22.090Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T15:45:22.090Z] 2437ff75d9bd: Download complete [2023-10-24T15:45:24.662Z] 8998bd30e6a1: Pull complete [2023-10-24T15:45:24.662Z] 04944245beec: Pull complete [2023-10-24T15:45:27.311Z] 699f458cf7ca: Pull complete [2023-10-24T15:45:27.311Z] 765212b225bb: Pull complete [2023-10-24T15:45:28.279Z] f23df028b6ca: Pull complete [2023-10-24T15:45:28.279Z] d65c8cfc05b1: Pull complete [2023-10-24T15:45:46.572Z] 2437ff75d9bd: Pull complete [2023-10-24T15:45:46.572Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T15:45:46.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T15:45:46.572Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:45:46.792Z] prd-ubuntu20.04-docker-arm64-4c-16g-9938 does not seem to be running inside a container [2023-10-24T15:45:46.933Z] $ 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/132 -v /w/workspace/device-modbus-go/132:/w/workspace/device-modbus-go/132:rw,z -v /w/workspace/device-modbus-go/132@tmp:/w/workspace/device-modbus-go/132@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T15:45:49.695Z] $ docker top 7456f4ef70cbf50e4b83c0a739669302ae9dced8c1714c09e6def14f07c5d2c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:45:50.599Z] ---> job-cost.sh [2023-10-24T15:45:50.599Z] lf-activate-venv: SKIPPING [2023-10-24T15:45:50.599Z] INFO: No Stack... [2023-10-24T15:45:51.192Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T15:45:54.524Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T15:45:55.162Z] + + cat /w/workspace/device-modbus-go/132/archives/cost.csv [2023-10-24T15:45:55.162Z] cut -d, -f6 [Pipeline] lock [2023-10-24T15:45:55.223Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-132-stack-cost] [2023-10-24T15:45:55.232Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-132-stack-cost] did not exist. Created. [2023-10-24T15:45:55.232Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T15:45:55.875Z] /w/workspace/device-modbus-go/132@tmp/durable-bdbf0d26/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T15:45:56.206Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T15:45:56.230Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T15:45:56.290Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T15:45:56.302Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T15:45:56.322Z] $ docker stop --time=1 7456f4ef70cbf50e4b83c0a739669302ae9dced8c1714c09e6def14f07c5d2c7 [2023-10-24T15:45:57.856Z] $ docker rm -f --volumes 7456f4ef70cbf50e4b83c0a739669302ae9dced8c1714c09e6def14f07c5d2c7 [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-10-24T15:45:58.229Z] provisioning config files... [2023-10-24T15:45:58.236Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17727918194501351075tmp [Pipeline] { [Pipeline] sh [2023-10-24T15:45:58.528Z] + set +x [2023-10-24T15:45:58.528Z] + curl+ -s https://codecov.io/bash [2023-10-24T15:45:58.528Z] bash -s -- [2023-10-24T15:45:58.528Z] [2023-10-24T15:45:58.528Z] _____ _ [2023-10-24T15:45:58.528Z] / ____| | | [2023-10-24T15:45:58.528Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T15:45:58.528Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T15:45:58.528Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T15:45:58.528Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T15:45:58.528Z] Bash-1.0.6 [2023-10-24T15:45:58.528Z] [2023-10-24T15:45:58.528Z] [2023-10-24T15:45:58.528Z] ==> git version 2.25.1 found [2023-10-24T15:45:58.528Z] ==> 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-10-24T15:45:58.528Z] Release-Date: 2020-01-08 [2023-10-24T15:45:58.528Z] 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-10-24T15:45:58.528Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T15:45:58.528Z] ==> Jenkins CI detected. [2023-10-24T15:45:58.528Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-10-24T15:45:58.528Z] project root: . [2023-10-24T15:45:58.528Z] --> token set from env [2023-10-24T15:45:58.528Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T15:45:58.528Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T15:45:58.528Z] ==> Python coveragepy not found [2023-10-24T15:45:58.528Z] ==> Searching for coverage reports in: [2023-10-24T15:45:58.528Z] + . [2023-10-24T15:45:58.528Z] -> Found 1 reports [2023-10-24T15:45:58.528Z] ==> Detecting git/mercurial file structure [2023-10-24T15:45:58.528Z] ==> Reading reports [2023-10-24T15:45:58.528Z] + ./coverage.out bytes=24334 [2023-10-24T15:45:58.528Z] ==> Appending adjustments [2023-10-24T15:45:58.528Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T15:45:58.787Z] + Found adjustments [2023-10-24T15:45:58.787Z] ==> Gzipping contents [2023-10-24T15:45:58.787Z] 4.0K /tmp/codecov.zOoCWW.gz [2023-10-24T15:45:58.787Z] ==> Uploading reports [2023-10-24T15:45:58.787Z] url: https://codecov.io [2023-10-24T15:45:58.787Z] query: branch=main&commit=d8be67794caf45345cc247e5314d0c02724ea25e&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T15:45:58.787Z] -> Pinging Codecov [2023-10-24T15:45:58.787Z] 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=d8be67794caf45345cc247e5314d0c02724ea25e&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T15:45:58.787Z] -> Uploading to [2023-10-24T15:45:58.787Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/55DBCA73C666E3227836607328DD7E49/d8be67794caf45345cc247e5314d0c02724ea25e/87b0eb3d-61be-4aca-a3a4-471da74124bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T154558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec9d98bd02ffdf231155a7e9aee174c488a89e573ac9baf462304ec3b8e62eb1 [2023-10-24T15:45:58.787Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T15:45:58.787Z] Dload Upload Total Spent Left Speed [2023-10-24T15:45:59.355Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3981 0 0 100 3981 0 13727 --:--:-- --:--:-- --:--:-- 13727 [2023-10-24T15:45:59.355Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d8be67794caf45345cc247e5314d0c02724ea25e [Pipeline] } [2023-10-24T15:45:59.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T15:45:59.496Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T15:45:59.507Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:45:59.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T15:45:59.810Z] [2023-10-24T15:45:59.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:46:00.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T15:46:00.111Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T15:46:00.111Z] df9b9388f04a: Pulling fs layer [2023-10-24T15:46:00.111Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T15:46:00.111Z] 25bc292e5bac: Pulling fs layer [2023-10-24T15:46:00.111Z] 114826534d7a: Pulling fs layer [2023-10-24T15:46:00.111Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T15:46:00.111Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T15:46:00.111Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T15:46:00.111Z] 114826534d7a: Waiting [2023-10-24T15:46:00.111Z] 4657fd5d0bcf: Waiting [2023-10-24T15:46:00.111Z] 8a3aa393b2d8: Waiting [2023-10-24T15:46:00.111Z] 6ad1cebc031e: Waiting [2023-10-24T15:46:00.111Z] 25bc292e5bac: Verifying Checksum [2023-10-24T15:46:00.111Z] 25bc292e5bac: Download complete [2023-10-24T15:46:00.111Z] 52dc419b0ee2: Verifying Checksum [2023-10-24T15:46:00.111Z] 52dc419b0ee2: Download complete [2023-10-24T15:46:00.111Z] 4657fd5d0bcf: Verifying Checksum [2023-10-24T15:46:00.111Z] 4657fd5d0bcf: Download complete [2023-10-24T15:46:00.111Z] df9b9388f04a: Verifying Checksum [2023-10-24T15:46:00.111Z] df9b9388f04a: Download complete [2023-10-24T15:46:00.370Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T15:46:00.370Z] 6ad1cebc031e: Download complete [2023-10-24T15:46:00.370Z] df9b9388f04a: Pull complete [2023-10-24T15:46:00.370Z] 52dc419b0ee2: Pull complete [2023-10-24T15:46:00.370Z] 25bc292e5bac: Pull complete [2023-10-24T15:46:00.936Z] 114826534d7a: Verifying Checksum [2023-10-24T15:46:00.936Z] 114826534d7a: Download complete [2023-10-24T15:46:00.936Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T15:46:00.936Z] 8a3aa393b2d8: Download complete [2023-10-24T15:46:04.216Z] 114826534d7a: Pull complete [2023-10-24T15:46:04.216Z] 4657fd5d0bcf: Pull complete [2023-10-24T15:46:04.474Z] 6ad1cebc031e: Pull complete [2023-10-24T15:46:07.801Z] 8a3aa393b2d8: Pull complete [2023-10-24T15:46:07.801Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T15:46:07.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T15:46:07.801Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:46:07.880Z] prd-ubuntu20.04-docker-8c-8g-9937 does not seem to be running inside a container [2023-10-24T15:46:07.927Z] $ 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-10-24T15:46:11.994Z] $ docker top 0397ac081acd05fb4123f3644a1c322defabdd8e890fc91a29b6f1c1ad9e72b7 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T15:46:12.040Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-10-24T15:46:12.316Z] + set -o pipefail [2023-10-24T15:46:12.316Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-10-24T15:46:18.874Z] [2023-10-24T15:46:18.874Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-10-24T15:46:18.874Z] [2023-10-24T15:46:18.874Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/89bbab1f-eba6-4ee9-9fa8-0e20b9167ea3 [2023-10-24T15:46:18.874Z] [2023-10-24T15:46:18.874Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-10-24T15:46:18.874Z] [2023-10-24T15:46:18.874Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T15:46:18.874Z] [2023-10-24T15:46:18.874Z] [2023-10-24T15:46:18.874Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T15:46:18.874Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T15:46:18.874Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T15:46:18.899Z] $ docker stop --time=1 0397ac081acd05fb4123f3644a1c322defabdd8e890fc91a29b6f1c1ad9e72b7 [2023-10-24T15:46:22.514Z] $ docker rm -f --volumes 0397ac081acd05fb4123f3644a1c322defabdd8e890fc91a29b6f1c1ad9e72b7 [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-10-24T15:46:23.222Z] + git log --format=format:%s -1 d8be67794caf45345cc247e5314d0c02724ea25e [Pipeline] sh [2023-10-24T15:46:23.517Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:46:23.517Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:46:23.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:46:23.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:46:23.885Z] prd-ubuntu20.04-docker-8c-8g-9937 does not seem to be running inside a container [2023-10-24T15:46:23.930Z] $ 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-10-24T15:46:24.439Z] $ docker top 5506f944ae0fac11b1960f629524334e34d12d7b3eaa8b85db68735fec8d44a2 -eo pid,comm [2023-10-24T15:46:24.475Z] 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-10-24T15:46:24.475Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:46:24.507Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:46:24.507Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:46:24.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:46:24.630Z] $ docker exec 5506f944ae0fac11b1960f629524334e34d12d7b3eaa8b85db68735fec8d44a2 ssh-agent [2023-10-24T15:46:24.721Z] SSH_AUTH_SOCK=/tmp/ssh-YG5TI2lPRqkU/agent.32 [2023-10-24T15:46:24.721Z] SSH_AGENT_PID=39 [2023-10-24T15:46:24.726Z] Running ssh-add (command line suppressed) [2023-10-24T15:46:24.843Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3703191377011636959.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3703191377011636959.key) [2023-10-24T15:46:24.839Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:46:25.122Z] + git semver tag [2023-10-24T15:46:25.380Z] 2023-10-24 15:46:25,297 [run_tag] DEBUG tag force:False [2023-10-24T15:46:25.380Z] 2023-10-24 15:46:25,297 [check_head_tag] DEBUG check head tag [2023-10-24T15:46:25.380Z] 2023-10-24 15:46:25,298 [execute] INFO git cat-file --batch-check [2023-10-24T15:46:25.380Z] 2023-10-24 15:46:25,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T15:46:25.380Z] 2023-10-24 15:46:25,302 [execute] INFO git cat-file --batch [2023-10-24T15:46:25.380Z] 2023-10-24 15:46:25,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T15:46:25.380Z] 2023-10-24 15:46:25,313 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:46:25.380Z] 2023-10-24 15:46:25,313 [execute] INFO git tag -a v3.1.0-dev.18 -m v3.1.0-dev.18 [2023-10-24T15:46:25.380Z] 2023-10-24 15:46:25,313 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.18', '-m', 'v3.1.0-dev.18'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T15:46:25.380Z] 2023-10-24 15:46:25,317 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:46:25.380Z] 3.1.0-dev.18 [Pipeline] } [2023-10-24T15:46:25.405Z] $ docker exec --env ******** --env ******** 5506f944ae0fac11b1960f629524334e34d12d7b3eaa8b85db68735fec8d44a2 ssh-agent -k [2023-10-24T15:46:25.484Z] unset SSH_AUTH_SOCK; [2023-10-24T15:46:25.484Z] unset SSH_AGENT_PID; [2023-10-24T15:46:25.484Z] echo Agent pid 39 killed; [2023-10-24T15:46:25.477Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:46:25.792Z] + git semver [Pipeline] } [2023-10-24T15:46:26.079Z] $ docker stop --time=1 5506f944ae0fac11b1960f629524334e34d12d7b3eaa8b85db68735fec8d44a2 [2023-10-24T15:46:27.385Z] $ docker rm -f --volumes 5506f944ae0fac11b1960f629524334e34d12d7b3eaa8b85db68735fec8d44a2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:46:27.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T15:46:27.769Z] [2023-10-24T15:46:27.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:46:28.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T15:46:28.073Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T15:46:28.073Z] ab5ef0e58194: Pulling fs layer [2023-10-24T15:46:28.073Z] 9712f1f96733: Pulling fs layer [2023-10-24T15:46:28.073Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T15:46:28.073Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T15:46:28.073Z] e9a5061849ea: Pulling fs layer [2023-10-24T15:46:28.073Z] d747dcd14b5f: Pulling fs layer [2023-10-24T15:46:28.073Z] 2de7ff778b66: Pulling fs layer [2023-10-24T15:46:28.073Z] 0d9ebad4ef96: Waiting [2023-10-24T15:46:28.073Z] e9a5061849ea: Waiting [2023-10-24T15:46:28.073Z] d747dcd14b5f: Waiting [2023-10-24T15:46:28.073Z] 2de7ff778b66: Waiting [2023-10-24T15:46:28.073Z] 9712f1f96733: Verifying Checksum [2023-10-24T15:46:28.073Z] 9712f1f96733: Download complete [2023-10-24T15:46:28.704Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T15:46:28.704Z] 63f879dbbcfc: Download complete [2023-10-24T15:46:28.704Z] 0d9ebad4ef96: Download complete [2023-10-24T15:46:28.704Z] e9a5061849ea: Verifying Checksum [2023-10-24T15:46:28.704Z] e9a5061849ea: Download complete [2023-10-24T15:46:28.704Z] d747dcd14b5f: Verifying Checksum [2023-10-24T15:46:28.704Z] d747dcd14b5f: Download complete [2023-10-24T15:46:28.704Z] ab5ef0e58194: Verifying Checksum [2023-10-24T15:46:28.704Z] ab5ef0e58194: Download complete [2023-10-24T15:46:28.962Z] 2de7ff778b66: Verifying Checksum [2023-10-24T15:46:28.962Z] 2de7ff778b66: Download complete [2023-10-24T15:46:31.490Z] ab5ef0e58194: Pull complete [2023-10-24T15:46:31.490Z] 9712f1f96733: Pull complete [2023-10-24T15:46:32.054Z] 63f879dbbcfc: Pull complete [2023-10-24T15:46:35.328Z] 0d9ebad4ef96: Pull complete [2023-10-24T15:46:35.585Z] e9a5061849ea: Pull complete [2023-10-24T15:46:35.585Z] d747dcd14b5f: Pull complete [2023-10-24T15:46:36.517Z] 2de7ff778b66: Pull complete [2023-10-24T15:46:36.517Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T15:46:36.517Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T15:46:36.517Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:46:36.601Z] prd-ubuntu20.04-docker-8c-8g-9937 does not seem to be running inside a container [2023-10-24T15:46:36.643Z] $ 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-10-24T15:46:41.410Z] $ docker top d068d861f94049616d8d76272964bc9bc4bcf3cfa51eed3738faf8c71147aa54 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:46:41.464Z] provisioning config files... [2023-10-24T15:46:41.469Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16746058383969795739tmp [2023-10-24T15:46:41.477Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12928020503112195926tmp [2023-10-24T15:46:41.484Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3825874905903666tmp [Pipeline] { [Pipeline] echo [2023-10-24T15:46:41.499Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:46:41.781Z] ---> sigul-configuration.sh [2023-10-24T15:46:41.781Z] gpg: directory `/root/.gnupg' created [2023-10-24T15:46:41.781Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T15:46:41.781Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T15:46:41.781Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T15:46:41.781Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T15:46:41.781Z] gpg: CAST5 encrypted data [2023-10-24T15:46:41.781Z] gpg: encrypted with 1 passphrase [2023-10-24T15:46:41.781Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T15:46:42.066Z] + mkdir /home/jenkins [2023-10-24T15:46:42.066Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T15:46:42.350Z] + 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-10-24T15:46:42.360Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:46:42.649Z] ---> sigul-install.sh [2023-10-24T15:46:42.649Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T15:46:42.949Z] + git tag --list [2023-10-24T15:46:42.950Z] 0.7.1 [2023-10-24T15:46:42.950Z] v1.0.0 [2023-10-24T15:46:42.950Z] v1.1.0 [2023-10-24T15:46:42.950Z] v1.1.1 [2023-10-24T15:46:42.950Z] v1.2.2 [2023-10-24T15:46:42.950Z] v1.3.0 [2023-10-24T15:46:42.950Z] v1.3.1 [2023-10-24T15:46:42.950Z] v2.0.0 [2023-10-24T15:46:42.950Z] v2.1.0 [2023-10-24T15:46:42.950Z] v2.1.1 [2023-10-24T15:46:42.950Z] v2.2.0 [2023-10-24T15:46:42.950Z] v2.3.0 [2023-10-24T15:46:42.950Z] v3.0 [2023-10-24T15:46:42.950Z] v3.0.0 [2023-10-24T15:46:42.950Z] v3.1.0-dev.1 [2023-10-24T15:46:42.950Z] v3.1.0-dev.10 [2023-10-24T15:46:42.950Z] v3.1.0-dev.11 [2023-10-24T15:46:42.950Z] v3.1.0-dev.12 [2023-10-24T15:46:42.950Z] v3.1.0-dev.13 [2023-10-24T15:46:42.950Z] v3.1.0-dev.14 [2023-10-24T15:46:42.950Z] v3.1.0-dev.15 [2023-10-24T15:46:42.950Z] v3.1.0-dev.16 [2023-10-24T15:46:42.950Z] v3.1.0-dev.17 [2023-10-24T15:46:42.950Z] v3.1.0-dev.18 [2023-10-24T15:46:42.950Z] v3.1.0-dev.2 [2023-10-24T15:46:42.950Z] v3.1.0-dev.3 [2023-10-24T15:46:42.950Z] v3.1.0-dev.4 [2023-10-24T15:46:42.950Z] v3.1.0-dev.5 [2023-10-24T15:46:42.950Z] v3.1.0-dev.6 [2023-10-24T15:46:42.950Z] v3.1.0-dev.7 [2023-10-24T15:46:42.950Z] v3.1.0-dev.8 [2023-10-24T15:46:42.950Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-24T15:46:43.239Z] + lftools sign git-tag v3.1.0-dev.18 [2023-10-24T15:46:43.806Z] Signing Git tag with Sigul... [2023-10-24T15:46:43.806Z] Signing v3.1.0-dev.18 [Pipeline] echo [2023-10-24T15:46:44.381Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:46:44.667Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T15:46:44.673Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T15:46:44.714Z] $ docker stop --time=1 d068d861f94049616d8d76272964bc9bc4bcf3cfa51eed3738faf8c71147aa54 [2023-10-24T15:46:46.006Z] $ docker rm -f --volumes d068d861f94049616d8d76272964bc9bc4bcf3cfa51eed3738faf8c71147aa54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T15:46:46.415Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:46:46.415Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:46:46.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:46:46.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:46:46.785Z] prd-ubuntu20.04-docker-8c-8g-9937 does not seem to be running inside a container [2023-10-24T15:46:46.831Z] $ 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-10-24T15:46:47.174Z] $ docker top 12cb5f0629d9d04224530ab0722614a202bd31837e15d9494958fc4149472425 -eo pid,comm [2023-10-24T15:46:47.203Z] 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-10-24T15:46:47.203Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:46:47.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:46:47.245Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:46:47.364Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:46:47.383Z] $ docker exec 12cb5f0629d9d04224530ab0722614a202bd31837e15d9494958fc4149472425 ssh-agent [2023-10-24T15:46:47.493Z] SSH_AUTH_SOCK=/tmp/ssh-Gdebrli18EXc/agent.31 [2023-10-24T15:46:47.493Z] SSH_AGENT_PID=37 [2023-10-24T15:46:47.497Z] Running ssh-add (command line suppressed) [2023-10-24T15:46:47.620Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4593951161935915731.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4593951161935915731.key) [2023-10-24T15:46:47.616Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:46:47.899Z] + git semver bump pre [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,093 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,093 [bump_version] DEBUG bumping version:3.1.0-dev.18 on axis:pre with prefix:dev [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,094 [bump_version] DEBUG bumped version:3.1.0-dev.19 [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,094 [write_version] DEBUG write version:3.1.0-dev.19 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,094 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,094 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,096 [execute] INFO git cat-file --batch-check [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,096 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,103 [execute] INFO git cat-file --batch [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T15:46:48.158Z] 2023-10-24 15:46:48,109 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:46:48.158Z] 3.1.0-dev.19 [Pipeline] } [2023-10-24T15:46:48.183Z] $ docker exec --env ******** --env ******** 12cb5f0629d9d04224530ab0722614a202bd31837e15d9494958fc4149472425 ssh-agent -k [2023-10-24T15:46:48.285Z] unset SSH_AUTH_SOCK; [2023-10-24T15:46:48.285Z] unset SSH_AGENT_PID; [2023-10-24T15:46:48.285Z] echo Agent pid 37 killed; [2023-10-24T15:46:48.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:46:48.579Z] + git semver [Pipeline] } [2023-10-24T15:46:48.867Z] $ docker stop --time=1 12cb5f0629d9d04224530ab0722614a202bd31837e15d9494958fc4149472425 [2023-10-24T15:46:50.137Z] $ docker rm -f --volumes 12cb5f0629d9d04224530ab0722614a202bd31837e15d9494958fc4149472425 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T15:46:50.454Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T15:46:50.454Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:46:50.746Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T15:46:50.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:46:50.812Z] prd-ubuntu20.04-docker-8c-8g-9937 does not seem to be running inside a container [2023-10-24T15:46:50.860Z] $ 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-10-24T15:46:51.187Z] $ docker top 59d385fc00722dc11911259b314e2f8292215dd0ac5473225abbccb146ebd93e -eo pid,comm [2023-10-24T15:46:51.222Z] 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-10-24T15:46:51.222Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T15:46:51.256Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T15:46:51.256Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T15:46:51.368Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T15:46:51.386Z] $ docker exec 59d385fc00722dc11911259b314e2f8292215dd0ac5473225abbccb146ebd93e ssh-agent [2023-10-24T15:46:51.481Z] SSH_AUTH_SOCK=/tmp/ssh-JDYREuF282iZ/agent.31 [2023-10-24T15:46:51.481Z] SSH_AGENT_PID=37 [2023-10-24T15:46:51.485Z] Running ssh-add (command line suppressed) [2023-10-24T15:46:51.599Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12704499497621851182.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12704499497621851182.key) [2023-10-24T15:46:51.595Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T15:46:51.878Z] + git semver push [2023-10-24T15:46:52.137Z] 2023-10-24 15:46:52,079 [run_push] DEBUG push [2023-10-24T15:46:52.137Z] 2023-10-24 15:46:52,080 [execute] INFO git cat-file --batch-check [2023-10-24T15:46:52.137Z] 2023-10-24 15:46:52,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T15:46:52.137Z] 2023-10-24 15:46:52,084 [execute] INFO git rev-list 1e1d483161fbacf09966c47f8ac76258209f4731 -- [2023-10-24T15:46:52.137Z] 2023-10-24 15:46:52,085 [execute] DEBUG Popen(['git', 'rev-list', '1e1d483161fbacf09966c47f8ac76258209f4731', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T15:46:52.137Z] 2023-10-24 15:46:52,095 [execute] INFO git fetch -v origin [2023-10-24T15:46:52.138Z] 2023-10-24 15:46:52,095 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T15:46:53.076Z] 2023-10-24 15:46:52,742 [run_push] DEBUG no remote changes detected [2023-10-24T15:46:53.076Z] 2023-10-24 15:46:52,742 [execute] INFO git push origin semver [2023-10-24T15:46:53.076Z] 2023-10-24 15:46:52,742 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T15:46:53.644Z] 2023-10-24 15:46:53,590 [run_push] DEBUG push all version tags [2023-10-24T15:46:53.644Z] 2023-10-24 15:46:53,590 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T15:46:53.644Z] 2023-10-24 15:46:53,591 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T15:46:54.584Z] 2023-10-24 15:46:54,454 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-10-24T15:46:54.584Z] 3.1.0-dev.19 [Pipeline] } [2023-10-24T15:46:54.610Z] $ docker exec --env ******** --env ******** 59d385fc00722dc11911259b314e2f8292215dd0ac5473225abbccb146ebd93e ssh-agent -k [2023-10-24T15:46:54.716Z] unset SSH_AUTH_SOCK; [2023-10-24T15:46:54.716Z] unset SSH_AGENT_PID; [2023-10-24T15:46:54.716Z] echo Agent pid 37 killed; [2023-10-24T15:46:54.712Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T15:46:55.020Z] + git semver [Pipeline] } [2023-10-24T15:46:55.307Z] $ docker stop --time=1 59d385fc00722dc11911259b314e2f8292215dd0ac5473225abbccb146ebd93e [2023-10-24T15:46:56.626Z] $ docker rm -f --volumes 59d385fc00722dc11911259b314e2f8292215dd0ac5473225abbccb146ebd93e [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-10-24T15:46:57.242Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-10-24T15:46:57.242Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-24T15:46:57.242Z] total 16 [2023-10-24T15:46:57.242Z] drwxr-xr-x 3 root root 4096 Oct 24 15:37 . [2023-10-24T15:46:57.242Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 15:46 .. [2023-10-24T15:46:57.242Z] drwxr-xr-x 2 root root 4096 Oct 24 15:37 cost [2023-10-24T15:46:57.242Z] -rw-r--r-- 1 root root 88 Oct 24 15:37 cost.csv [2023-10-24T15:46:57.242Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-24T15:46:57.242Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-10-24T15:46:57.242Z] total 16 [2023-10-24T15:46:57.242Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:37 . [2023-10-24T15:46:57.242Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 15:46 .. [2023-10-24T15:46:57.242Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:37 cost [2023-10-24T15:46:57.242Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 24 15:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:46:57.545Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:46:58.404Z] ---> package-listing.sh [2023-10-24T15:46:58.404Z] ++ facter osfamily [2023-10-24T15:46:58.404Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T15:46:58.663Z] + OS_FAMILY=debian [2023-10-24T15:46:58.663Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-10-24T15:46:58.663Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T15:46:58.663Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T15:46:58.663Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T15:46:58.663Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T15:46:58.663Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-24T15:46:58.663Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T15:46:58.663Z] + case "${OS_FAMILY}" in [2023-10-24T15:46:58.663Z] + dpkg -l [2023-10-24T15:46:58.663Z] + grep '^ii' [2023-10-24T15:46:58.663Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T15:46:58.663Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T15:46:58.663Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T15:46:58.663Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-10-24T15:46:58.663Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-10-24T15:46:58.663Z] + 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-10-24T15:46:58.672Z] 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-10-24T15:46:58.947Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T15:46:59.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T15:46:59.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T15:46:59.578Z] prd-ubuntu20.04-docker-8c-8g-9937 does not seem to be running inside a container [2023-10-24T15:46:59.622Z] $ 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-10-24T15:46:59.804Z] $ docker top 69eedb09967bf0c9c41967b4639baa5c38ce25b8975cd4bafa774709be1d46ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T15:47:00.119Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T15:47:00.402Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T15:47:00.686Z] + ls /var/log/sa-host [2023-10-24T15:47:00.686Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T15:47:00.756Z] provisioning config files... [2023-10-24T15:47:00.764Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2058286163098512079tmp [Pipeline] { [Pipeline] echo [2023-10-24T15:47:00.778Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:47:01.060Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T15:47:01.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:47:01.402Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T15:47:01.411Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:47:01.692Z] ---> sudo-logs.sh [2023-10-24T15:47:01.692Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T15:47:01.715Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:47:01.996Z] ---> job-cost.sh [2023-10-24T15:47:01.996Z] lf-activate-venv: SKIPPING [2023-10-24T15:47:01.996Z] DEBUG: total: 0.2199999988079071 [2023-10-24T15:47:01.996Z] INFO: Retrieving Stack Cost... [2023-10-24T15:47:02.255Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T15:47:02.820Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T15:47:02.830Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T15:47:03.111Z] ---> logs-deploy.sh [2023-10-24T15:47:03.111Z] lf-activate-venv: SKIPPING [2023-10-24T15:47:03.111Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/132 [2023-10-24T15:47:03.111Z] INFO: archiving workspace using pattern(s): [2023-10-24T15:47:04.047Z] Archives upload complete. [2023-10-24T15:47:04.047Z] INFO: archiving logs to Nexus