Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3472a71eabe3cf11e529f0c456c85d4924dd4d23 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-ssh4980868825812209164.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh2628960887488451417.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh12974867847454419792.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh4314901782682933652.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-ssh11889275931412163484.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] ========================================================= [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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17127 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 3472a71eabe3cf11e529f0c456c85d4924dd4d23 (main) Commit message: "Merge pull request #523 from cloudxxx8/changelog" > 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 3472a71eabe3cf11e529f0c456c85d4924dd4d23 # timeout=10 > git rev-list --no-walk dd473f237e8377f6c45c9162e361d1bd18095fab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-09T13:54:24.596Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-09T13:54:24.669Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-09T13:54:24.688Z] ========================================================= [2023-11-09T13:54:24.688Z] EdgeX Global Pipelines Version Info [2023-11-09T13:54:24.688Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-09T13:54:25.398Z] ------------------- [2023-11-09T13:54:25.398Z] stable info: [2023-11-09T13:54:25.398Z] ------------------- [2023-11-09T13:54:25.398Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-09T13:54:25.398Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-09T13:54:25.398Z] Message: update stable to v1.0.257 [2023-11-09T13:54:25.970Z] ------------------- [2023-11-09T13:54:25.970Z] experimental info: [2023-11-09T13:54:25.970Z] ------------------- [2023-11-09T13:54:25.970Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-09T13:54:25.970Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-09T13:54:25.970Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-09T13:54:26.160Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-11-09T13:54:26.169Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-11-09T13:54:26.178Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-09T13:54:26.188Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-09T13:54:26.198Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-09T13:54:26.207Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-09T13:54:26.218Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-09T13:54:26.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-09T13:54:26.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-09T13:54:26.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-09T13:54:26.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-09T13:54:26.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-11-09T13:54:26.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-09T13:54:26.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-09T13:54:26.347Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-09T13:54:26.367Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-09T13:54:26.384Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-09T13:54:26.397Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-09T13:54:26.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-09T13:54:26.424Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-09T13:54:26.434Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-09T13:54:26.445Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-09T13:54:26.461Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-09T13:54:26.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-09T13:54:26.492Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-09T13:54:26.501Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-09T13:54:26.516Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-09T13:54:26.528Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-09T13:54:26.540Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-09T13:54:26.553Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-09T13:54:26.572Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3472a71eabe3cf11e529f0c456c85d4924dd4d23 [Pipeline] echo [2023-11-09T13:54:26.592Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3472a71 [Pipeline] echo [2023-11-09T13:54:26.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T13:54:26.663Z] provisioning config files... [2023-11-09T13:54:26.678Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1114867595842755774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T13:54:26.982Z] ---> docker-login.sh [2023-11-09T13:54:26.982Z] nexus3.edgexfoundry.org:10001 [2023-11-09T13:54:27.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:54:27.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:54:27.504Z] Configure a credential helper to remove this warning. See [2023-11-09T13:54:27.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:54:27.504Z] [2023-11-09T13:54:27.504Z] Login Succeeded [2023-11-09T13:54:27.504Z] nexus3.edgexfoundry.org:10002 [2023-11-09T13:54:27.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:54:27.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:54:27.504Z] Configure a credential helper to remove this warning. See [2023-11-09T13:54:27.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:54:27.504Z] [2023-11-09T13:54:27.504Z] Login Succeeded [2023-11-09T13:54:27.504Z] nexus3.edgexfoundry.org:10003 [2023-11-09T13:54:27.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:54:27.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:54:27.766Z] Configure a credential helper to remove this warning. See [2023-11-09T13:54:27.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:54:27.766Z] [2023-11-09T13:54:27.766Z] Login Succeeded [2023-11-09T13:54:27.766Z] nexus3.edgexfoundry.org:10004 [2023-11-09T13:54:27.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:54:28.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:54:28.026Z] Configure a credential helper to remove this warning. See [2023-11-09T13:54:28.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:54:28.026Z] [2023-11-09T13:54:28.026Z] Login Succeeded [2023-11-09T13:54:28.026Z] docker.io [2023-11-09T13:54:28.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:54:28.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:54:28.285Z] Configure a credential helper to remove this warning. See [2023-11-09T13:54:28.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:54:28.285Z] [2023-11-09T13:54:28.285Z] Login Succeeded [2023-11-09T13:54:28.285Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T13:54:28.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-09T13:54:28.645Z] + git rev-list -1 --merges 3472a71eabe3cf11e529f0c456c85d4924dd4d23~1..3472a71eabe3cf11e529f0c456c85d4924dd4d23 [Pipeline] echo [2023-11-09T13:54:28.698Z] -----------> git rev-list -1 --merges 3472a71eabe3cf11e529f0c456c85d4924dd4d23~1..3472a71eabe3cf11e529f0c456c85d4924dd4d23 3472a71eabe3cf11e529f0c456c85d4924dd4d23 [2023-11-09T13:54:28.698Z] 3472a71eabe3cf11e529f0c456c85d4924dd4d23 [false] [Pipeline] sh [2023-11-09T13:54:28.985Z] + git log --format=format:%s -1 3472a71eabe3cf11e529f0c456c85d4924dd4d23 [Pipeline] echo [2023-11-09T13:54:28.998Z] ========================================================= [2023-11-09T13:54:28.998Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-09T13:54:28.998Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T13:54:29.317Z] + git log --format=format:%s -1 3472a71eabe3cf11e529f0c456c85d4924dd4d23 [Pipeline] echo [2023-11-09T13:54:29.329Z] [semverPrep] GIT_COMMIT: 3472a71eabe3cf11e529f0c456c85d4924dd4d23, Commit Message: Merge pull request #523 from cloudxxx8/changelog [Pipeline] echo [2023-11-09T13:54:29.338Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-09T13:54:29.697Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T13:54:29.697Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-09T13:54:29.697Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-09T13:54:29.697Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-09T13:54:29.697Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-09T13:54:29.697Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-09T13:54:29.697Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:54:30.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T13:54:30.165Z] [2023-11-09T13:54:30.165Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:54:30.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T13:54:30.467Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-09T13:54:30.467Z] b85a868b505f: Pulling fs layer [2023-11-09T13:54:30.467Z] e2be974225ed: Pulling fs layer [2023-11-09T13:54:30.467Z] 339a4e72a1f5: Pulling fs layer [2023-11-09T13:54:30.467Z] 988bab9f4d93: Pulling fs layer [2023-11-09T13:54:30.467Z] 1469e6f7b9e6: Pulling fs layer [2023-11-09T13:54:30.467Z] eaf3925da568: Pulling fs layer [2023-11-09T13:54:30.467Z] bab4dde63d76: Pulling fs layer [2023-11-09T13:54:30.467Z] bde34c3a00c8: Pulling fs layer [2023-11-09T13:54:30.467Z] b352a97aabf1: Pulling fs layer [2023-11-09T13:54:30.467Z] 4872d77fe225: Pulling fs layer [2023-11-09T13:54:30.467Z] 5851b861e8e6: Pulling fs layer [2023-11-09T13:54:30.467Z] 988bab9f4d93: Waiting [2023-11-09T13:54:30.467Z] 1469e6f7b9e6: Waiting [2023-11-09T13:54:30.467Z] 5851b861e8e6: Waiting [2023-11-09T13:54:30.467Z] b352a97aabf1: Waiting [2023-11-09T13:54:30.467Z] 4872d77fe225: Waiting [2023-11-09T13:54:30.467Z] bde34c3a00c8: Waiting [2023-11-09T13:54:30.467Z] bab4dde63d76: Waiting [2023-11-09T13:54:30.726Z] e2be974225ed: Verifying Checksum [2023-11-09T13:54:30.726Z] e2be974225ed: Download complete [2023-11-09T13:54:30.726Z] 988bab9f4d93: Verifying Checksum [2023-11-09T13:54:30.726Z] 988bab9f4d93: Download complete [2023-11-09T13:54:30.726Z] 1469e6f7b9e6: Verifying Checksum [2023-11-09T13:54:30.726Z] 1469e6f7b9e6: Download complete [2023-11-09T13:54:30.726Z] eaf3925da568: Verifying Checksum [2023-11-09T13:54:30.726Z] eaf3925da568: Download complete [2023-11-09T13:54:30.726Z] 339a4e72a1f5: Verifying Checksum [2023-11-09T13:54:30.726Z] 339a4e72a1f5: Download complete [2023-11-09T13:54:30.726Z] bde34c3a00c8: Verifying Checksum [2023-11-09T13:54:30.726Z] bde34c3a00c8: Download complete [2023-11-09T13:54:30.726Z] b352a97aabf1: Verifying Checksum [2023-11-09T13:54:30.726Z] b352a97aabf1: Download complete [2023-11-09T13:54:30.726Z] 4872d77fe225: Download complete [2023-11-09T13:54:30.726Z] 5851b861e8e6: Verifying Checksum [2023-11-09T13:54:30.726Z] 5851b861e8e6: Download complete [2023-11-09T13:54:30.985Z] b85a868b505f: Verifying Checksum [2023-11-09T13:54:30.985Z] b85a868b505f: Download complete [2023-11-09T13:54:31.246Z] bab4dde63d76: Verifying Checksum [2023-11-09T13:54:31.246Z] bab4dde63d76: Download complete [2023-11-09T13:54:32.644Z] b85a868b505f: Pull complete [2023-11-09T13:54:32.644Z] e2be974225ed: Pull complete [2023-11-09T13:54:32.905Z] 339a4e72a1f5: Pull complete [2023-11-09T13:54:33.164Z] 988bab9f4d93: Pull complete [2023-11-09T13:54:33.423Z] 1469e6f7b9e6: Pull complete [2023-11-09T13:54:33.423Z] eaf3925da568: Pull complete [2023-11-09T13:54:35.344Z] bab4dde63d76: Pull complete [2023-11-09T13:54:35.344Z] bde34c3a00c8: Pull complete [2023-11-09T13:54:35.344Z] b352a97aabf1: Pull complete [2023-11-09T13:54:35.603Z] 4872d77fe225: Pull complete [2023-11-09T13:54:35.603Z] 5851b861e8e6: Pull complete [2023-11-09T13:54:35.603Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-09T13:54:35.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T13:54:35.603Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T13:54:35.721Z] prd-ubuntu20.04-docker-8c-8g-17127 does not seem to be running inside a container [2023-11-09T13:54:35.754Z] $ 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-11-09T13:54:39.865Z] $ docker top 2a73ad7a0cf1d9b13d24c20d5a2632b86b5f6f7f66f0ae1c92f086d52bbb1d46 -eo pid,comm [2023-11-09T13:54:39.928Z] 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-11-09T13:54:39.928Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T13:54:39.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T13:54:39.973Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T13:54:40.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T13:54:40.106Z] $ docker exec 2a73ad7a0cf1d9b13d24c20d5a2632b86b5f6f7f66f0ae1c92f086d52bbb1d46 ssh-agent [2023-11-09T13:54:40.206Z] SSH_AUTH_SOCK=/tmp/ssh-64yksoHNKwjM/agent.33 [2023-11-09T13:54:40.206Z] SSH_AGENT_PID=40 [2023-11-09T13:54:40.215Z] Running ssh-add (command line suppressed) [2023-11-09T13:54:40.312Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7512027237472419926.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7512027237472419926.key) [2023-11-09T13:54:40.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T13:54:40.617Z] + git tag --points-at HEAD [Pipeline] } [2023-11-09T13:54:40.634Z] $ docker exec --env ******** --env ******** 2a73ad7a0cf1d9b13d24c20d5a2632b86b5f6f7f66f0ae1c92f086d52bbb1d46 ssh-agent -k [2023-11-09T13:54:40.746Z] unset SSH_AUTH_SOCK; [2023-11-09T13:54:40.746Z] unset SSH_AGENT_PID; [2023-11-09T13:54:40.746Z] echo Agent pid 40 killed; [2023-11-09T13:54:40.758Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-09T13:54:40.782Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T13:54:40.782Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T13:54:40.893Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T13:54:40.896Z] $ docker exec 2a73ad7a0cf1d9b13d24c20d5a2632b86b5f6f7f66f0ae1c92f086d52bbb1d46 ssh-agent [2023-11-09T13:54:41.012Z] SSH_AUTH_SOCK=/tmp/ssh-1Ub3WXQChvR2/agent.72 [2023-11-09T13:54:41.012Z] SSH_AGENT_PID=78 [2023-11-09T13:54:41.017Z] Running ssh-add (command line suppressed) [2023-11-09T13:54:41.129Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7445086823072026535.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7445086823072026535.key) [2023-11-09T13:54:41.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T13:54:41.436Z] + git semver init [2023-11-09T13:54:41.703Z] 2023-11-09 13:54:41,622 [run_init] DEBUG init version:0.0.0 force:False [2023-11-09T13:54:41.703Z] 2023-11-09 13:54:41,623 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-11-09T13:54:41.703Z] 2023-11-09 13:54:41,623 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-11-09T13:54:41.703Z] 2023-11-09 13:54:41,624 [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-11-09T13:54:42.645Z] 2023-11-09 13:54:42,580 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-11-09T13:54:42.645Z] 2023-11-09 13:54:42,581 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-11-09T13:54:42.645Z] 2023-11-09 13:54:42,581 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-09T13:54:42.645Z] 2023-11-09 13:54:42,581 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-09T13:54:42.645Z] 3.1.0-dev.24 [Pipeline] } [2023-11-09T13:54:42.655Z] $ docker exec --env ******** --env ******** 2a73ad7a0cf1d9b13d24c20d5a2632b86b5f6f7f66f0ae1c92f086d52bbb1d46 ssh-agent -k [2023-11-09T13:54:42.756Z] unset SSH_AUTH_SOCK; [2023-11-09T13:54:42.756Z] unset SSH_AGENT_PID; [2023-11-09T13:54:42.756Z] echo Agent pid 78 killed; [2023-11-09T13:54:42.767Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T13:54:43.072Z] + git semver [Pipeline] } [2023-11-09T13:54:43.354Z] $ docker stop --time=1 2a73ad7a0cf1d9b13d24c20d5a2632b86b5f6f7f66f0ae1c92f086d52bbb1d46 [2023-11-09T13:54:44.665Z] $ docker rm -f --volumes 2a73ad7a0cf1d9b13d24c20d5a2632b86b5f6f7f66f0ae1c92f086d52bbb1d46 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T13:54:45.011Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-09T13:54:45.228Z] Stashed 1 file(s) [Pipeline] echo [2023-11-09T13:54:45.232Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.24 [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-11-09T13:54:45.361Z] provisioning config files... [2023-11-09T13:54:45.372Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17945649985837304595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T13:54:45.674Z] ---> docker-login.sh [2023-11-09T13:54:45.674Z] nexus3.edgexfoundry.org:10001 [2023-11-09T13:54:45.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:54:45.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:54:45.674Z] Configure a credential helper to remove this warning. See [2023-11-09T13:54:45.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:54:45.674Z] [2023-11-09T13:54:45.674Z] Login Succeeded [2023-11-09T13:54:45.674Z] nexus3.edgexfoundry.org:10002 [2023-11-09T13:54:45.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:54:45.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:54:45.674Z] Configure a credential helper to remove this warning. See [2023-11-09T13:54:45.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:54:45.674Z] [2023-11-09T13:54:45.674Z] Login Succeeded [2023-11-09T13:54:45.674Z] nexus3.edgexfoundry.org:10003 [2023-11-09T13:54:45.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:54:45.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:54:45.933Z] Configure a credential helper to remove this warning. See [2023-11-09T13:54:45.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:54:45.933Z] [2023-11-09T13:54:45.933Z] Login Succeeded [2023-11-09T13:54:45.933Z] nexus3.edgexfoundry.org:10004 [2023-11-09T13:54:45.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:54:45.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:54:45.933Z] Configure a credential helper to remove this warning. See [2023-11-09T13:54:45.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:54:45.933Z] [2023-11-09T13:54:45.933Z] Login Succeeded [2023-11-09T13:54:45.933Z] docker.io [2023-11-09T13:54:46.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:54:46.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:54:46.194Z] Configure a credential helper to remove this warning. See [2023-11-09T13:54:46.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:54:46.194Z] [2023-11-09T13:54:46.455Z] Login Succeeded [2023-11-09T13:54:46.455Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T13:54:46.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-09T13:54:46.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T13:54:46.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T13:54:46.545Z] ========================================================= [2023-11-09T13:54:46.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-09T13:54:46.545Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:54:46.855Z] + 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-11-09T13:54:46.855Z] Sending build context to Docker daemon 6.562MB [2023-11-09T13:54:46.855Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T13:54:46.855Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-09T13:54:46.855Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-09T13:54:46.855Z] 7264a8db6415: Pulling fs layer [2023-11-09T13:54:46.855Z] c4d48a809fc2: Pulling fs layer [2023-11-09T13:54:46.855Z] 4f1c88b9dad5: Pulling fs layer [2023-11-09T13:54:46.855Z] ad3a456e5733: Pulling fs layer [2023-11-09T13:54:46.855Z] 33e27b845d1e: Pulling fs layer [2023-11-09T13:54:46.855Z] c68163c4e522: Pulling fs layer [2023-11-09T13:54:46.855Z] 50da416c3ac9: Pulling fs layer [2023-11-09T13:54:46.855Z] 23d2d4c4bb30: Pulling fs layer [2023-11-09T13:54:46.855Z] c68163c4e522: Waiting [2023-11-09T13:54:46.855Z] 50da416c3ac9: Waiting [2023-11-09T13:54:46.855Z] 23d2d4c4bb30: Waiting [2023-11-09T13:54:46.855Z] 33e27b845d1e: Waiting [2023-11-09T13:54:46.855Z] ad3a456e5733: Waiting [2023-11-09T13:54:46.855Z] c4d48a809fc2: Download complete [2023-11-09T13:54:47.130Z] ad3a456e5733: Verifying Checksum [2023-11-09T13:54:47.130Z] ad3a456e5733: Download complete [2023-11-09T13:54:47.130Z] 33e27b845d1e: Download complete [2023-11-09T13:54:47.130Z] 7264a8db6415: Verifying Checksum [2023-11-09T13:54:47.130Z] 7264a8db6415: Download complete [2023-11-09T13:54:47.130Z] c68163c4e522: Verifying Checksum [2023-11-09T13:54:47.130Z] c68163c4e522: Download complete [2023-11-09T13:54:47.403Z] 7264a8db6415: Pull complete [2023-11-09T13:54:47.403Z] 23d2d4c4bb30: Verifying Checksum [2023-11-09T13:54:47.403Z] 23d2d4c4bb30: Download complete [2023-11-09T13:54:47.403Z] c4d48a809fc2: Pull complete [2023-11-09T13:54:47.663Z] 4f1c88b9dad5: Verifying Checksum [2023-11-09T13:54:47.663Z] 4f1c88b9dad5: Download complete [2023-11-09T13:54:47.923Z] 50da416c3ac9: Verifying Checksum [2023-11-09T13:54:47.923Z] 50da416c3ac9: Download complete [2023-11-09T13:54:51.253Z] 4f1c88b9dad5: Pull complete [2023-11-09T13:54:51.253Z] ad3a456e5733: Pull complete [2023-11-09T13:54:51.253Z] 33e27b845d1e: Pull complete [2023-11-09T13:54:51.253Z] c68163c4e522: Pull complete [2023-11-09T13:54:53.788Z] 50da416c3ac9: Pull complete [2023-11-09T13:54:53.789Z] 23d2d4c4bb30: Pull complete [2023-11-09T13:54:53.789Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-09T13:54:53.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-09T13:54:53.789Z] ---> 0786185ac409 [2023-11-09T13:54:53.789Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-11-09T13:55:00.324Z] Still waiting to schedule task [2023-11-09T13:55:00.324Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-09T13:55:00.365Z] ---> Running in 212342d9559d [2023-11-09T13:55:00.365Z] Removing intermediate container 212342d9559d [2023-11-09T13:55:00.365Z] ---> bcd8d6befb86 [2023-11-09T13:55:00.365Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T13:55:00.365Z] ---> Running in b415c9443e2f [2023-11-09T13:55:00.365Z] Removing intermediate container b415c9443e2f [2023-11-09T13:55:00.365Z] ---> 93827effc9cc [2023-11-09T13:55:00.365Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-11-09T13:55:00.365Z] ---> Running in b3b74322436e [2023-11-09T13:55:00.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T13:55:03.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T13:55:03.662Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-11-09T13:55:03.662Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-11-09T13:55:03.662Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-11-09T13:55:03.662Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-11-09T13:55:03.662Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-11-09T13:55:03.662Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-11-09T13:55:03.662Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-11-09T13:55:03.662Z] (8/8) Installing openssh (9.3_p2-r0) [2023-11-09T13:55:03.662Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T13:55:03.662Z] OK: 270 MiB in 60 packages [2023-11-09T13:55:03.921Z] Removing intermediate container b3b74322436e [2023-11-09T13:55:03.921Z] ---> 6dd89209384b [2023-11-09T13:55:03.921Z] Step 6/10 : WORKDIR /device-modbus-go [2023-11-09T13:55:03.921Z] ---> Running in 289196773c97 [2023-11-09T13:55:04.179Z] Removing intermediate container 289196773c97 [2023-11-09T13:55:04.179Z] ---> 457ad93fd980 [2023-11-09T13:55:04.179Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-09T13:55:04.179Z] ---> 9f8227f298a9 [2023-11-09T13:55:04.179Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T13:55:04.179Z] ---> Running in 26bbfa0fabd5 [2023-11-09T13:56:00.470Z] Removing intermediate container 26bbfa0fabd5 [2023-11-09T13:56:00.470Z] ---> 766ef21c94a6 [2023-11-09T13:56:00.470Z] Step 9/10 : COPY . . [2023-11-09T13:56:00.470Z] ---> e1a098d5ce3f [2023-11-09T13:56:00.470Z] Step 10/10 : RUN ${MAKE} [2023-11-09T13:56:00.470Z] ---> Running in bd5acbeac99c [2023-11-09T13:56:00.470Z] noop [2023-11-09T13:56:00.470Z] Removing intermediate container bd5acbeac99c [2023-11-09T13:56:00.470Z] ---> 8edec53d2822 [2023-11-09T13:56:00.470Z] Successfully built 8edec53d2822 [2023-11-09T13:56:00.470Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:56:00.787Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-09T13:56:00.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T13:56:00.859Z] prd-ubuntu20.04-docker-8c-8g-17127 does not seem to be running inside a container [2023-11-09T13:56:00.888Z] $ 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-11-09T13:56:01.250Z] $ docker top 72fb1128494539925e2b39ed38d891cc9433eaaee6f1cab21929322ee3f85e91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T13:56:01.598Z] + go version [2023-11-09T13:56:01.598Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-09T13:56:01.607Z] $ docker stop --time=1 72fb1128494539925e2b39ed38d891cc9433eaaee6f1cab21929322ee3f85e91 [2023-11-09T13:56:02.925Z] $ docker rm -f --volumes 72fb1128494539925e2b39ed38d891cc9433eaaee6f1cab21929322ee3f85e91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:56:03.324Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-09T13:56:03.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T13:56:03.401Z] prd-ubuntu20.04-docker-8c-8g-17127 does not seem to be running inside a container [2023-11-09T13:56:03.433Z] $ 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-11-09T13:56:03.868Z] $ docker top 83679e3bf2429b2c8ca626b1d4f0d276846a7b9bc89b75e89fae6d1059b31873 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T13:56:04.221Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-09T13:56:04.527Z] + make test [2023-11-09T13:56:04.527Z] go test ./... -coverprofile=coverage.out [2023-11-09T13:56:06.431Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-11-09T13:56:18.673Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-11-09T13:56:18.673Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2023-11-09T13:56:23.938Z] go vet ./... [2023-11-09T13:56:28.129Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-09T13:56:28.129Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-09T13:56:28.129Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-09T13:56:28.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-09T13:56:28.159Z] $ docker stop --time=1 83679e3bf2429b2c8ca626b1d4f0d276846a7b9bc89b75e89fae6d1059b31873 [2023-11-09T13:56:32.887Z] $ docker rm -f --volumes 83679e3bf2429b2c8ca626b1d4f0d276846a7b9bc89b75e89fae6d1059b31873 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T13:56:33.369Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-09T13:56:33.412Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-09T13:56:33.940Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-09T13:56:34.284Z] + ls -al . [2023-11-09T13:56:34.285Z] total 192 [2023-11-09T13:56:34.285Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 13:56 . [2023-11-09T13:56:34.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 13:54 .. [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 13:54 .dockerignore [2023-11-09T13:56:34.285Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 13:56 .git [2023-11-09T13:56:34.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 13:54 .github [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 9 13:54 .gitignore [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 13:54 .golangci.yml [2023-11-09T13:56:34.285Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 13:54 .semver [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 11101 Nov 9 13:54 Attribution.txt [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 9 13:54 CHANGELOG.md [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 1365 Nov 9 13:54 Dockerfile [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 13:54 GOVERNANCE.md [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 9 13:54 Jenkinsfile [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 13:54 LICENSE [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 1936 Nov 9 13:54 Makefile [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 13:54 OWNERS.md [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 9 13:54 README.md [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 9 13:54 VERSION [2023-11-09T13:56:34.285Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 13:54 bin [2023-11-09T13:56:34.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 13:54 cmd [2023-11-09T13:56:34.285Z] -rw-r--r-- 1 jenkins jenkins 24334 Nov 9 13:56 coverage.out [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 3895 Nov 9 13:54 go.mod [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 35342 Nov 9 13:54 go.sum [2023-11-09T13:56:34.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 13:54 internal [2023-11-09T13:56:34.285Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 13:54 simulator [2023-11-09T13:56:34.285Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 9 13:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:56:34.656Z] + 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=3472a71eabe3cf11e529f0c456c85d4924dd4d23 --label arch=amd64 --label version=3.1.0-dev.24 . [2023-11-09T13:56:34.656Z] Sending build context to Docker daemon 6.587MB [2023-11-09T13:56:34.656Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T13:56:34.656Z] Step 2/22 : FROM ${BASE} AS builder [2023-11-09T13:56:34.656Z] ---> 8edec53d2822 [2023-11-09T13:56:34.656Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-11-09T13:56:34.951Z] ---> Running in b424faa403be [2023-11-09T13:56:34.951Z] Removing intermediate container b424faa403be [2023-11-09T13:56:34.951Z] ---> b88d3704562e [2023-11-09T13:56:34.951Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T13:56:34.951Z] ---> Running in 98337a0dce96 [2023-11-09T13:56:35.215Z] Removing intermediate container 98337a0dce96 [2023-11-09T13:56:35.215Z] ---> d90b4bcaa4ca [2023-11-09T13:56:35.215Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-11-09T13:56:35.215Z] ---> Running in 100bf10c14a1 [2023-11-09T13:56:35.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T13:56:35.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T13:56:36.043Z] OK: 270 MiB in 60 packages [2023-11-09T13:56:36.304Z] Removing intermediate container 100bf10c14a1 [2023-11-09T13:56:36.304Z] ---> c049fa2d3a22 [2023-11-09T13:56:36.304Z] Step 6/22 : WORKDIR /device-modbus-go [2023-11-09T13:56:36.304Z] ---> Running in 29356a5a2352 [2023-11-09T13:56:36.304Z] Removing intermediate container 29356a5a2352 [2023-11-09T13:56:36.304Z] ---> 2c3249812e47 [2023-11-09T13:56:36.304Z] Step 7/22 : COPY go.mod vendor* ./ [2023-11-09T13:56:36.565Z] ---> 4d33d342b4a4 [2023-11-09T13:56:36.565Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T13:56:36.565Z] ---> Running in b787fb8a52b0 [2023-11-09T13:56:37.132Z] Removing intermediate container b787fb8a52b0 [2023-11-09T13:56:37.132Z] ---> 307c56bee64a [2023-11-09T13:56:37.132Z] Step 9/22 : COPY . . [2023-11-09T13:56:37.700Z] ---> 25bb67ca4050 [2023-11-09T13:56:37.700Z] Step 10/22 : RUN ${MAKE} [2023-11-09T13:56:37.700Z] ---> Running in 5ff1f97555fe [2023-11-09T13:56:37.958Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-11-09T13:56:41.570Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17128 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-11-09T13:56:41.585Z] Running in /w/workspace/device-modbus-go/138 [Pipeline] { [Pipeline] checkout [2023-11-09T13:56:41.637Z] Selected Git installation does not exist. Using Default [2023-11-09T13:56:41.637Z] The recommended git tool is: NONE [2023-11-09T13:56:47.622Z] using credential edgex-jenkins-ssh [2023-11-09T13:56:47.643Z] Cloning the remote Git repository [2023-11-09T13:56:47.686Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-11-09T13:56:47.777Z] > git init /w/workspace/device-modbus-go/138 # timeout=10 [2023-11-09T13:56:47.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-11-09T13:56:47.911Z] > git --version # timeout=10 [2023-11-09T13:56:47.933Z] > git --version # 'git version 2.25.1' [2023-11-09T13:56:47.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T13:56:48.081Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-09T13:56:50.023Z] Avoid second fetch [2023-11-09T13:56:50.024Z] Checking out Revision 3472a71eabe3cf11e529f0c456c85d4924dd4d23 (main) [2023-11-09T13:56:49.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-11-09T13:56:49.240Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-09T13:56:50.042Z] > git config core.sparsecheckout # timeout=10 [2023-11-09T13:56:50.097Z] > git checkout -f 3472a71eabe3cf11e529f0c456c85d4924dd4d23 # timeout=10 [2023-11-09T13:56:50.527Z] Commit message: "Merge pull request #523 from cloudxxx8/changelog" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T13:56:51.526Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-09T13:56:51.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-09T13:56:51.526Z] Dload Upload Total Spent Left Speed [2023-11-09T13:56:51.526Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96075 0 --:--:-- --:--:-- --:--:-- 96075 [Pipeline] sh [2023-11-09T13:56:52.089Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-09T13:56:52.412Z] + sudo tee /etc/docker/daemon.new [2023-11-09T13:56:52.412Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-09T13:56:52.412Z] { [2023-11-09T13:56:52.412Z] "registry-mirrors": [ [2023-11-09T13:56:52.412Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-09T13:56:52.412Z] ], [2023-11-09T13:56:52.412Z] "bip": "10.250.0.254/24", [2023-11-09T13:56:52.412Z] "hosts": [ [2023-11-09T13:56:52.412Z] "tcp://0.0.0.0:5555", [2023-11-09T13:56:52.412Z] "unix:///var/run/docker.sock" [2023-11-09T13:56:52.412Z] ], [2023-11-09T13:56:52.412Z] "mtu": 1458, [2023-11-09T13:56:52.412Z] "selinux-enabled": true, [2023-11-09T13:56:52.412Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-09T13:56:52.412Z] } [Pipeline] sh [2023-11-09T13:56:52.736Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-09T13:56:53.069Z] + sudo service docker restart [2023-11-09T13:57:04.538Z] Removing intermediate container 5ff1f97555fe [2023-11-09T13:57:04.538Z] ---> 9db7f2804eb1 [2023-11-09T13:57:04.538Z] Step 11/22 : FROM alpine:3.18 [2023-11-09T13:57:04.538Z] 3.18: Pulling from library/alpine [2023-11-09T13:57:04.538Z] 96526aa774ef: Pulling fs layer [2023-11-09T13:57:04.538Z] 96526aa774ef: Verifying Checksum [2023-11-09T13:57:04.538Z] 96526aa774ef: Download complete [2023-11-09T13:57:04.538Z] 96526aa774ef: Pull complete [2023-11-09T13:57:04.538Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-09T13:57:04.538Z] Status: Downloaded newer image for alpine:3.18 [2023-11-09T13:57:04.538Z] ---> 8ca4688f4f35 [2023-11-09T13:57:04.538Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-11-09T13:57:04.796Z] ---> Running in dd03f1b003d4 [2023-11-09T13:57:05.362Z] Removing intermediate container dd03f1b003d4 [2023-11-09T13:57:05.362Z] ---> 66270bb71efc [2023-11-09T13:57:05.362Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-11-09T13:57:05.623Z] ---> Running in 13432214c89d [2023-11-09T13:57:05.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T13:57:06.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T13:57:06.140Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-09T13:57:06.401Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T13:57:06.401Z] OK: 7 MiB in 16 packages [2023-11-09T13:57:07.781Z] Removing intermediate container 13432214c89d [2023-11-09T13:57:07.781Z] ---> 3f92c9ddc98d [2023-11-09T13:57:07.781Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-11-09T13:57:09.157Z] ---> 29416570624c [2023-11-09T13:57:09.157Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-11-09T13:57:09.724Z] ---> 3fbf5510b663 [2023-11-09T13:57:09.724Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-11-09T13:57:10.291Z] ---> 97b729c155c5 [2023-11-09T13:57:10.291Z] Step 17/22 : EXPOSE 59901 [2023-11-09T13:57:10.551Z] ---> Running in 98d195fe585a [2023-11-09T13:57:10.811Z] Removing intermediate container 98d195fe585a [2023-11-09T13:57:10.811Z] ---> d33993c42d2b [2023-11-09T13:57:10.811Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T13:57:11.312Z] provisioning config files... [2023-11-09T13:57:11.334Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/138@tmp/config8830675649938016099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T13:57:11.383Z] ---> Running in 09802d69b526 [2023-11-09T13:57:11.643Z] Removing intermediate container 09802d69b526 [2023-11-09T13:57:11.643Z] ---> 45ccf538fa92 [2023-11-09T13:57:11.643Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-09T13:57:11.682Z] ---> docker-login.sh [2023-11-09T13:57:11.682Z] nexus3.edgexfoundry.org:10001 [2023-11-09T13:57:11.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:57:12.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:57:12.216Z] Configure a credential helper to remove this warning. See [2023-11-09T13:57:12.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:57:12.216Z] [2023-11-09T13:57:12.216Z] Login Succeeded [2023-11-09T13:57:12.216Z] nexus3.edgexfoundry.org:10002 [2023-11-09T13:57:12.238Z] ---> Running in a42fc8204ba8 [2023-11-09T13:57:12.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:57:12.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:57:12.485Z] Configure a credential helper to remove this warning. See [2023-11-09T13:57:12.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:57:12.485Z] [2023-11-09T13:57:12.485Z] Login Succeeded [2023-11-09T13:57:12.485Z] nexus3.edgexfoundry.org:10003 [2023-11-09T13:57:12.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:57:12.803Z] Removing intermediate container a42fc8204ba8 [2023-11-09T13:57:12.803Z] ---> efb63652a179 [2023-11-09T13:57:12.803Z] Step 20/22 : LABEL arch=amd64 [2023-11-09T13:57:13.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:57:13.023Z] Configure a credential helper to remove this warning. See [2023-11-09T13:57:13.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:57:13.023Z] [2023-11-09T13:57:13.023Z] Login Succeeded [2023-11-09T13:57:13.023Z] nexus3.edgexfoundry.org:10004 [2023-11-09T13:57:13.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:57:13.062Z] ---> Running in 69a1ed0f4ab9 [2023-11-09T13:57:13.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:57:13.292Z] Configure a credential helper to remove this warning. See [2023-11-09T13:57:13.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:57:13.292Z] [2023-11-09T13:57:13.292Z] Login Succeeded [2023-11-09T13:57:13.292Z] docker.io [2023-11-09T13:57:13.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:57:13.630Z] Removing intermediate container 69a1ed0f4ab9 [2023-11-09T13:57:13.630Z] ---> 3c40e493cdfe [2023-11-09T13:57:13.630Z] Step 21/22 : LABEL git_sha=3472a71eabe3cf11e529f0c456c85d4924dd4d23 [2023-11-09T13:57:13.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:57:13.839Z] Configure a credential helper to remove this warning. See [2023-11-09T13:57:13.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:57:13.839Z] [2023-11-09T13:57:13.839Z] Login Succeeded [2023-11-09T13:57:13.839Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T13:57:13.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-09T13:57:14.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T13:57:14.105Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T13:57:14.122Z] ========================================================= [2023-11-09T13:57:14.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-09T13:57:14.122Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:14.199Z] ---> Running in 32171134ff6d [2023-11-09T13:57:14.459Z] + 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-11-09T13:57:14.726Z] Sending build context to Docker daemon 3.399MB [2023-11-09T13:57:14.726Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T13:57:14.726Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-09T13:57:14.767Z] Removing intermediate container 32171134ff6d [2023-11-09T13:57:14.767Z] ---> d2a392a13b79 [2023-11-09T13:57:14.767Z] Step 22/22 : LABEL version=3.1.0-dev.24 [2023-11-09T13:57:14.767Z] ---> Running in 506f5b3bf382 [2023-11-09T13:57:14.997Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-09T13:57:14.997Z] 9fda8d8052c6: Pulling fs layer [2023-11-09T13:57:14.997Z] 5d54e960e981: Pulling fs layer [2023-11-09T13:57:14.997Z] c4a7e357bf2a: Pulling fs layer [2023-11-09T13:57:14.997Z] f0e02332f6b5: Pulling fs layer [2023-11-09T13:57:14.997Z] cefa15bbcfad: Pulling fs layer [2023-11-09T13:57:14.997Z] 17808c966233: Pulling fs layer [2023-11-09T13:57:14.997Z] f4c1fc716caa: Pulling fs layer [2023-11-09T13:57:14.997Z] f0e02332f6b5: Waiting [2023-11-09T13:57:14.997Z] cefa15bbcfad: Waiting [2023-11-09T13:57:14.997Z] 17808c966233: Waiting [2023-11-09T13:57:14.997Z] f4c1fc716caa: Waiting [2023-11-09T13:57:14.997Z] 5d54e960e981: Verifying Checksum [2023-11-09T13:57:14.997Z] 5d54e960e981: Download complete [2023-11-09T13:57:14.997Z] f0e02332f6b5: Verifying Checksum [2023-11-09T13:57:14.997Z] f0e02332f6b5: Download complete [2023-11-09T13:57:14.997Z] cefa15bbcfad: Verifying Checksum [2023-11-09T13:57:14.997Z] cefa15bbcfad: Download complete [2023-11-09T13:57:14.997Z] 9fda8d8052c6: Download complete [2023-11-09T13:57:15.027Z] Removing intermediate container 506f5b3bf382 [2023-11-09T13:57:15.027Z] ---> 159b85ff68d5 [2023-11-09T13:57:15.027Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-09T13:57:15.027Z] Successfully built 159b85ff68d5 [2023-11-09T13:57:15.027Z] 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-11-09T13:57:15.129Z] provisioning config files... [2023-11-09T13:57:15.137Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8437406723555702658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T13:57:15.447Z] ---> docker-login.sh [2023-11-09T13:57:15.447Z] nexus3.edgexfoundry.org:10001 [2023-11-09T13:57:15.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:57:15.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:57:15.447Z] Configure a credential helper to remove this warning. See [2023-11-09T13:57:15.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:57:15.447Z] [2023-11-09T13:57:15.447Z] Login Succeeded [2023-11-09T13:57:15.447Z] nexus3.edgexfoundry.org:10002 [2023-11-09T13:57:15.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:57:15.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:57:15.447Z] Configure a credential helper to remove this warning. See [2023-11-09T13:57:15.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:57:15.447Z] [2023-11-09T13:57:15.447Z] Login Succeeded [2023-11-09T13:57:15.582Z] f4c1fc716caa: Verifying Checksum [2023-11-09T13:57:15.582Z] f4c1fc716caa: Download complete [2023-11-09T13:57:15.707Z] nexus3.edgexfoundry.org:10003 [2023-11-09T13:57:15.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:57:15.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:57:15.707Z] Configure a credential helper to remove this warning. See [2023-11-09T13:57:15.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:57:15.707Z] [2023-11-09T13:57:15.707Z] Login Succeeded [2023-11-09T13:57:15.707Z] nexus3.edgexfoundry.org:10004 [2023-11-09T13:57:15.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:57:15.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:57:15.707Z] Configure a credential helper to remove this warning. See [2023-11-09T13:57:15.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:57:15.707Z] [2023-11-09T13:57:15.707Z] Login Succeeded [2023-11-09T13:57:15.707Z] docker.io [2023-11-09T13:57:15.848Z] 9fda8d8052c6: Pull complete [2023-11-09T13:57:15.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T13:57:15.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T13:57:15.965Z] Configure a credential helper to remove this warning. See [2023-11-09T13:57:15.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T13:57:15.965Z] [2023-11-09T13:57:15.965Z] Login Succeeded [2023-11-09T13:57:15.965Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T13:57:15.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-09T13:57:15.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T13:57:16.016Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-11-09T13:57:16.016Z] 3472a71eabe3cf11e529f0c456c85d4924dd4d23 [2023-11-09T13:57:16.016Z] latest [2023-11-09T13:57:16.016Z] 3.1.0-dev.24 [2023-11-09T13:57:16.016Z] 3472a71eabe3cf11e529f0c456c85d4924dd4d23-3.1.0-dev.24 [2023-11-09T13:57:16.016Z] main [2023-11-09T13:57:16.016Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:16.328Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3472a71eabe3cf11e529f0c456c85d4924dd4d23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:16.630Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3472a71eabe3cf11e529f0c456c85d4924dd4d23 [2023-11-09T13:57:16.630Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-11-09T13:57:16.630Z] 3864ab17e005: Preparing [2023-11-09T13:57:16.630Z] f6b00dd888e7: Preparing [2023-11-09T13:57:16.630Z] f3f3a60ca6b2: Preparing [2023-11-09T13:57:16.630Z] 735c0f09ab25: Preparing [2023-11-09T13:57:16.630Z] cc2447e1835a: Preparing [2023-11-09T13:57:16.630Z] cc2447e1835a: Layer already exists [2023-11-09T13:57:16.630Z] 735c0f09ab25: Pushed [2023-11-09T13:57:16.630Z] f6b00dd888e7: Pushed [2023-11-09T13:57:16.630Z] 3864ab17e005: Pushed [2023-11-09T13:57:16.841Z] 5d54e960e981: Pull complete [2023-11-09T13:57:16.841Z] c4a7e357bf2a: Verifying Checksum [2023-11-09T13:57:16.841Z] c4a7e357bf2a: Download complete [2023-11-09T13:57:17.804Z] 17808c966233: Verifying Checksum [2023-11-09T13:57:17.804Z] 17808c966233: Download complete [2023-11-09T13:57:19.175Z] f3f3a60ca6b2: Pushed [2023-11-09T13:57:19.175Z] 3472a71eabe3cf11e529f0c456c85d4924dd4d23: digest: sha256:2da8cee057b5f45d045c488eb91719a33ea6b51c5a3dbdf5a93cc924613e6315 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:19.742Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:20.047Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-11-09T13:57:20.047Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-11-09T13:57:20.047Z] 3864ab17e005: Preparing [2023-11-09T13:57:20.047Z] f6b00dd888e7: Preparing [2023-11-09T13:57:20.047Z] f3f3a60ca6b2: Preparing [2023-11-09T13:57:20.047Z] 735c0f09ab25: Preparing [2023-11-09T13:57:20.047Z] cc2447e1835a: Preparing [2023-11-09T13:57:20.047Z] f6b00dd888e7: Layer already exists [2023-11-09T13:57:20.047Z] cc2447e1835a: Layer already exists [2023-11-09T13:57:20.047Z] 3864ab17e005: Layer already exists [2023-11-09T13:57:20.047Z] f3f3a60ca6b2: Layer already exists [2023-11-09T13:57:20.047Z] 735c0f09ab25: Layer already exists [2023-11-09T13:57:20.047Z] latest: digest: sha256:2da8cee057b5f45d045c488eb91719a33ea6b51c5a3dbdf5a93cc924613e6315 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:20.361Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:20.670Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.24 [2023-11-09T13:57:20.671Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-11-09T13:57:20.671Z] 3864ab17e005: Preparing [2023-11-09T13:57:20.671Z] f6b00dd888e7: Preparing [2023-11-09T13:57:20.671Z] f3f3a60ca6b2: Preparing [2023-11-09T13:57:20.671Z] 735c0f09ab25: Preparing [2023-11-09T13:57:20.671Z] cc2447e1835a: Preparing [2023-11-09T13:57:20.671Z] cc2447e1835a: Layer already exists [2023-11-09T13:57:20.671Z] f3f3a60ca6b2: Layer already exists [2023-11-09T13:57:20.671Z] f6b00dd888e7: Layer already exists [2023-11-09T13:57:20.671Z] 735c0f09ab25: Layer already exists [2023-11-09T13:57:20.671Z] 3864ab17e005: Layer already exists [2023-11-09T13:57:20.671Z] 3.1.0-dev.24: digest: sha256:2da8cee057b5f45d045c488eb91719a33ea6b51c5a3dbdf5a93cc924613e6315 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:21.002Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3472a71eabe3cf11e529f0c456c85d4924dd4d23-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:21.315Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3472a71eabe3cf11e529f0c456c85d4924dd4d23-3.1.0-dev.24 [2023-11-09T13:57:21.315Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-11-09T13:57:21.315Z] 3864ab17e005: Preparing [2023-11-09T13:57:21.315Z] f6b00dd888e7: Preparing [2023-11-09T13:57:21.315Z] f3f3a60ca6b2: Preparing [2023-11-09T13:57:21.315Z] 735c0f09ab25: Preparing [2023-11-09T13:57:21.315Z] cc2447e1835a: Preparing [2023-11-09T13:57:21.315Z] f3f3a60ca6b2: Layer already exists [2023-11-09T13:57:21.315Z] f6b00dd888e7: Layer already exists [2023-11-09T13:57:21.315Z] cc2447e1835a: Layer already exists [2023-11-09T13:57:21.315Z] 735c0f09ab25: Layer already exists [2023-11-09T13:57:21.315Z] 3864ab17e005: Layer already exists [2023-11-09T13:57:21.315Z] 3472a71eabe3cf11e529f0c456c85d4924dd4d23-3.1.0-dev.24: digest: sha256:2da8cee057b5f45d045c488eb91719a33ea6b51c5a3dbdf5a93cc924613e6315 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:21.642Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:21.956Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-11-09T13:57:21.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-11-09T13:57:21.956Z] 3864ab17e005: Preparing [2023-11-09T13:57:21.956Z] f6b00dd888e7: Preparing [2023-11-09T13:57:21.956Z] f3f3a60ca6b2: Preparing [2023-11-09T13:57:21.956Z] 735c0f09ab25: Preparing [2023-11-09T13:57:21.956Z] cc2447e1835a: Preparing [2023-11-09T13:57:21.956Z] 3864ab17e005: Layer already exists [2023-11-09T13:57:21.956Z] f3f3a60ca6b2: Layer already exists [2023-11-09T13:57:21.956Z] f6b00dd888e7: Layer already exists [2023-11-09T13:57:21.956Z] cc2447e1835a: Layer already exists [2023-11-09T13:57:21.956Z] 735c0f09ab25: Layer already exists [2023-11-09T13:57:21.956Z] main: digest: sha256:2da8cee057b5f45d045c488eb91719a33ea6b51c5a3dbdf5a93cc924613e6315 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-09T13:57:21.997Z] ===================================================== [Pipeline] echo [2023-11-09T13:57:22.006Z] taggedImages: [2023-11-09T13:57:22.006Z] - nexus3.edgexfoundry.org:10004/device-modbus:3472a71eabe3cf11e529f0c456c85d4924dd4d23 [2023-11-09T13:57:22.006Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-11-09T13:57:22.006Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.24 [2023-11-09T13:57:22.006Z] - nexus3.edgexfoundry.org:10004/device-modbus:3472a71eabe3cf11e529f0c456c85d4924dd4d23-3.1.0-dev.24 [2023-11-09T13:57:22.006Z] - 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-11-09T13:57:22.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T13:57:22.375Z] [2023-11-09T13:57:22.375Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:57:22.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T13:57:22.686Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-09T13:57:22.686Z] 5eb5b503b376: Pulling fs layer [2023-11-09T13:57:22.686Z] 5c69ac0246d0: Pulling fs layer [2023-11-09T13:57:22.686Z] ec43610c2a17: Pulling fs layer [2023-11-09T13:57:22.686Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-09T13:57:22.686Z] 33b1e0a273af: Pulling fs layer [2023-11-09T13:57:22.686Z] 5d3b04190fa2: Pulling fs layer [2023-11-09T13:57:22.686Z] 2f39f015ded8: Pulling fs layer [2023-11-09T13:57:22.686Z] 33b1e0a273af: Waiting [2023-11-09T13:57:22.686Z] 3a2ae6a8a46f: Waiting [2023-11-09T13:57:22.686Z] 2f39f015ded8: Waiting [2023-11-09T13:57:22.686Z] 5d3b04190fa2: Waiting [2023-11-09T13:57:22.686Z] 5c69ac0246d0: Verifying Checksum [2023-11-09T13:57:22.686Z] 5c69ac0246d0: Download complete [2023-11-09T13:57:22.686Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-09T13:57:22.686Z] 3a2ae6a8a46f: Download complete [2023-11-09T13:57:22.958Z] 33b1e0a273af: Verifying Checksum [2023-11-09T13:57:22.958Z] 33b1e0a273af: Download complete [2023-11-09T13:57:22.958Z] 5d3b04190fa2: Verifying Checksum [2023-11-09T13:57:22.958Z] 5d3b04190fa2: Download complete [2023-11-09T13:57:22.958Z] ec43610c2a17: Verifying Checksum [2023-11-09T13:57:22.958Z] ec43610c2a17: Download complete [2023-11-09T13:57:22.958Z] 5eb5b503b376: Verifying Checksum [2023-11-09T13:57:22.958Z] 5eb5b503b376: Download complete [2023-11-09T13:57:23.895Z] 2f39f015ded8: Download complete [2023-11-09T13:57:24.462Z] 5eb5b503b376: Pull complete [2023-11-09T13:57:24.462Z] 5c69ac0246d0: Pull complete [2023-11-09T13:57:25.028Z] ec43610c2a17: Pull complete [2023-11-09T13:57:25.028Z] 3a2ae6a8a46f: Pull complete [2023-11-09T13:57:25.028Z] 33b1e0a273af: Pull complete [2023-11-09T13:57:25.288Z] 5d3b04190fa2: Pull complete [2023-11-09T13:57:29.475Z] 2f39f015ded8: Pull complete [2023-11-09T13:57:29.475Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-09T13:57:29.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T13:57:29.475Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T13:57:29.550Z] prd-ubuntu20.04-docker-8c-8g-17127 does not seem to be running inside a container [2023-11-09T13:57:29.577Z] $ 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-11-09T13:57:30.112Z] c4a7e357bf2a: Pull complete [2023-11-09T13:57:30.112Z] f0e02332f6b5: Pull complete [2023-11-09T13:57:30.112Z] cefa15bbcfad: Pull complete [2023-11-09T13:57:38.324Z] 17808c966233: Pull complete [2023-11-09T13:57:39.425Z] f4c1fc716caa: Pull complete [2023-11-09T13:57:39.425Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-09T13:57:39.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-09T13:57:39.425Z] ---> ea914061e18c [2023-11-09T13:57:39.425Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-11-09T13:57:41.384Z] ---> Running in cee3b8dd08c3 [2023-11-09T13:57:41.384Z] Removing intermediate container cee3b8dd08c3 [2023-11-09T13:57:41.384Z] ---> 830ef26bc035 [2023-11-09T13:57:41.384Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T13:57:41.652Z] ---> Running in 86b9a46dc243 [2023-11-09T13:57:41.919Z] Removing intermediate container 86b9a46dc243 [2023-11-09T13:57:41.919Z] ---> e948da93fc65 [2023-11-09T13:57:41.919Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-11-09T13:57:41.919Z] ---> Running in d1e8905d933d [2023-11-09T13:57:42.107Z] $ docker top 82ea2d0e2f82d6f01bc4f67c5e21724293ef04eead42ae3532057854fc6243b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T13:57:42.511Z] ---> job-cost.sh [2023-11-09T13:57:42.511Z] lf-activate-venv: SKIPPING [2023-11-09T13:57:42.511Z] INFO: No Stack... [2023-11-09T13:57:42.770Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-09T13:57:42.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T13:57:43.028Z] INFO: Archiving Costs [Pipeline] sh [2023-11-09T13:57:43.322Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-11-09T13:57:43.323Z] + cut -d, -f6 [Pipeline] lock [2023-11-09T13:57:43.337Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-138-stack-cost] [2023-11-09T13:57:43.345Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-138-stack-cost] did not exist. Created. [2023-11-09T13:57:43.345Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-09T13:57:43.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T13:57:43.651Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-09T13:57:43.684Z] Stashed 1 file(s) [Pipeline] } [2023-11-09T13:57:43.693Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-09T13:57:43.708Z] $ docker stop --time=1 82ea2d0e2f82d6f01bc4f67c5e21724293ef04eead42ae3532057854fc6243b5 [2023-11-09T13:57:44.443Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-11-09T13:57:44.443Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-11-09T13:57:44.443Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-11-09T13:57:44.443Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-11-09T13:57:44.443Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-11-09T13:57:44.443Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-11-09T13:57:44.443Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-11-09T13:57:44.711Z] (8/8) Installing openssh (9.3_p2-r0) [2023-11-09T13:57:44.711Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T13:57:44.711Z] OK: 272 MiB in 60 packages [2023-11-09T13:57:45.413Z] $ docker rm -f --volumes 82ea2d0e2f82d6f01bc4f67c5e21724293ef04eead42ae3532057854fc6243b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-09T13:57:45.692Z] Removing intermediate container d1e8905d933d [2023-11-09T13:57:45.693Z] ---> 311670c6a478 [2023-11-09T13:57:45.693Z] Step 6/10 : WORKDIR /device-modbus-go [2023-11-09T13:57:45.693Z] ---> Running in a09dc42cf03f [2023-11-09T13:57:45.959Z] Removing intermediate container a09dc42cf03f [2023-11-09T13:57:45.959Z] ---> ccbcc305ab58 [2023-11-09T13:57:45.959Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-09T13:57:46.547Z] ---> 26ed94608d95 [2023-11-09T13:57:46.547Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T13:57:46.547Z] ---> Running in 19e1bf5c3b4d [2023-11-09T13:59:08.178Z] Removing intermediate container 19e1bf5c3b4d [2023-11-09T13:59:08.178Z] ---> 5341859a2dcc [2023-11-09T13:59:08.178Z] Step 9/10 : COPY . . [2023-11-09T13:59:08.178Z] ---> e019caf788df [2023-11-09T13:59:08.178Z] Step 10/10 : RUN ${MAKE} [2023-11-09T13:59:08.178Z] ---> Running in 8a7a6a031010 [2023-11-09T13:59:08.178Z] noop [2023-11-09T13:59:08.178Z] Removing intermediate container 8a7a6a031010 [2023-11-09T13:59:08.178Z] ---> 7491f40bcfb1 [2023-11-09T13:59:08.178Z] Successfully built 7491f40bcfb1 [2023-11-09T13:59:08.178Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:59:08.530Z] + docker inspect -f . ci-base-image-arm64 [2023-11-09T13:59:08.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T13:59:08.724Z] prd-ubuntu20.04-docker-arm64-4c-16g-17128 does not seem to be running inside a container [2023-11-09T13:59:08.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/138 -v /w/workspace/device-modbus-go/138:/w/workspace/device-modbus-go/138:rw,z -v /w/workspace/device-modbus-go/138@tmp:/w/workspace/device-modbus-go/138@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-11-09T13:59:10.036Z] $ docker top 9e4aeef93ba0859274976945008513047cce8c29698f2acd0707a54188e10e2b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T13:59:10.857Z] + go version [2023-11-09T13:59:10.857Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-09T13:59:10.873Z] $ docker stop --time=1 9e4aeef93ba0859274976945008513047cce8c29698f2acd0707a54188e10e2b [2023-11-09T13:59:12.495Z] $ docker rm -f --volumes 9e4aeef93ba0859274976945008513047cce8c29698f2acd0707a54188e10e2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T13:59:13.037Z] + docker inspect -f . ci-base-image-arm64 [2023-11-09T13:59:13.037Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T13:59:13.218Z] prd-ubuntu20.04-docker-arm64-4c-16g-17128 does not seem to be running inside a container [2023-11-09T13:59:13.280Z] $ 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/138 -v /w/workspace/device-modbus-go/138:/w/workspace/device-modbus-go/138:rw,z -v /w/workspace/device-modbus-go/138@tmp:/w/workspace/device-modbus-go/138@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-11-09T13:59:17.456Z] $ docker top 272d28007c6082691c1c0ce1589843178ba90a5bbfb61a6e08818a9029bbed49 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T13:59:18.286Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/138 [Pipeline] fileExists [Pipeline] sh [2023-11-09T13:59:18.935Z] + make test [2023-11-09T13:59:18.935Z] go test ./... -coverprofile=coverage.out [2023-11-09T13:59:23.195Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-11-09T14:00:59.870Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-11-09T14:00:59.870Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.9% of statements [2023-11-09T14:00:59.870Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-09T14:00:59.870Z] go vet ./... [2023-11-09T14:01:26.571Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-09T14:01:26.571Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-09T14:01:26.571Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-09T14:01:26.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-09T14:01:26.601Z] $ docker stop --time=1 272d28007c6082691c1c0ce1589843178ba90a5bbfb61a6e08818a9029bbed49 [2023-11-09T14:01:28.860Z] $ docker rm -f --volumes 272d28007c6082691c1c0ce1589843178ba90a5bbfb61a6e08818a9029bbed49 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:01:30.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-09T14:01:30.252Z] Warning: overwriting stash ‘coverage-report’ [2023-11-09T14:01:30.879Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T14:01:31.279Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-09T14:01:31.612Z] + ls -al . [2023-11-09T14:01:31.612Z] total 188 [2023-11-09T14:01:31.612Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 13:59 . [2023-11-09T14:01:31.612Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 13:56 .. [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 13:56 .dockerignore [2023-11-09T14:01:31.612Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 13:56 .git [2023-11-09T14:01:31.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 13:56 .github [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 9 13:56 .gitignore [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 13:56 .golangci.yml [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 11101 Nov 9 13:56 Attribution.txt [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 16388 Nov 9 13:56 CHANGELOG.md [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 1365 Nov 9 13:56 Dockerfile [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 13:56 GOVERNANCE.md [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 9 13:56 Jenkinsfile [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 13:56 LICENSE [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 1936 Nov 9 13:56 Makefile [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 13:56 OWNERS.md [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 9 13:56 README.md [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 9 13:54 VERSION [2023-11-09T14:01:31.612Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 13:56 bin [2023-11-09T14:01:31.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 13:56 cmd [2023-11-09T14:01:31.612Z] -rw-r--r-- 1 jenkins jenkins 24334 Nov 9 14:00 coverage.out [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 3895 Nov 9 13:56 go.mod [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 35342 Nov 9 13:56 go.sum [2023-11-09T14:01:31.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 13:56 internal [2023-11-09T14:01:31.612Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 13:56 simulator [2023-11-09T14:01:31.612Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 9 13:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:01:31.976Z] + 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=3472a71eabe3cf11e529f0c456c85d4924dd4d23 --label arch=arm64 --label version=3.1.0-dev.24 . [2023-11-09T14:01:33.416Z] Sending build context to Docker daemon 3.424MB [2023-11-09T14:01:33.683Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:01:33.684Z] Step 2/22 : FROM ${BASE} AS builder [2023-11-09T14:01:33.684Z] ---> 7491f40bcfb1 [2023-11-09T14:01:33.684Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:01:33.684Z] ---> Running in 114f2f37198e [2023-11-09T14:01:33.952Z] Removing intermediate container 114f2f37198e [2023-11-09T14:01:33.952Z] ---> f7c7cd21e023 [2023-11-09T14:01:33.952Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:01:34.229Z] ---> Running in 612fdbd3937d [2023-11-09T14:01:34.503Z] Removing intermediate container 612fdbd3937d [2023-11-09T14:01:34.503Z] ---> 94c1a49cc716 [2023-11-09T14:01:34.503Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-11-09T14:01:34.503Z] ---> Running in e5668df04da5 [2023-11-09T14:01:35.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:01:36.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:01:37.619Z] OK: 272 MiB in 60 packages [2023-11-09T14:01:38.578Z] Removing intermediate container e5668df04da5 [2023-11-09T14:01:38.578Z] ---> 80478db8c32b [2023-11-09T14:01:38.578Z] Step 6/22 : WORKDIR /device-modbus-go [2023-11-09T14:01:38.578Z] ---> Running in 4320f84f2f02 [2023-11-09T14:01:38.845Z] Removing intermediate container 4320f84f2f02 [2023-11-09T14:01:38.845Z] ---> 3adbb2fc6cee [2023-11-09T14:01:38.845Z] Step 7/22 : COPY go.mod vendor* ./ [2023-11-09T14:01:39.428Z] ---> ef28315fe15e [2023-11-09T14:01:39.428Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:01:39.428Z] ---> Running in ea44dfb34558 [2023-11-09T14:01:42.015Z] Removing intermediate container ea44dfb34558 [2023-11-09T14:01:42.015Z] ---> 3b4bfa1f0174 [2023-11-09T14:01:42.015Z] Step 9/22 : COPY . . [2023-11-09T14:01:42.602Z] ---> bd838dd469c9 [2023-11-09T14:01:42.602Z] Step 10/22 : RUN ${MAKE} [2023-11-09T14:01:42.602Z] ---> Running in cfa916dc56fa [2023-11-09T14:01:43.564Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-11-09T14:04:05.283Z] Removing intermediate container cfa916dc56fa [2023-11-09T14:04:05.283Z] ---> 559d5ba8aec0 [2023-11-09T14:04:05.283Z] Step 11/22 : FROM alpine:3.18 [2023-11-09T14:04:05.283Z] 3.18: Pulling from library/alpine [2023-11-09T14:04:05.283Z] 579b34f0a95b: Pulling fs layer [2023-11-09T14:04:05.283Z] 579b34f0a95b: Verifying Checksum [2023-11-09T14:04:05.283Z] 579b34f0a95b: Download complete [2023-11-09T14:04:05.283Z] 579b34f0a95b: Pull complete [2023-11-09T14:04:05.283Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-09T14:04:05.283Z] Status: Downloaded newer image for alpine:3.18 [2023-11-09T14:04:05.283Z] ---> 3cc203321400 [2023-11-09T14:04:05.283Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-11-09T14:04:05.283Z] ---> Running in 7786203843d3 [2023-11-09T14:04:05.283Z] Removing intermediate container 7786203843d3 [2023-11-09T14:04:05.283Z] ---> 7c5da9dc016d [2023-11-09T14:04:05.283Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-11-09T14:04:05.283Z] ---> Running in d0640acac759 [2023-11-09T14:04:05.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:04:05.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:04:05.283Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-09T14:04:05.283Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:04:05.283Z] OK: 8 MiB in 16 packages [2023-11-09T14:04:05.283Z] Removing intermediate container d0640acac759 [2023-11-09T14:04:05.283Z] ---> c37292d4c825 [2023-11-09T14:04:05.283Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-11-09T14:04:05.283Z] ---> 05bea54023f7 [2023-11-09T14:04:05.283Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-11-09T14:04:05.283Z] ---> dc0b725393ab [2023-11-09T14:04:05.283Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-11-09T14:04:05.283Z] ---> 8955d1fe3b4e [2023-11-09T14:04:05.283Z] Step 17/22 : EXPOSE 59901 [2023-11-09T14:04:05.283Z] ---> Running in c6b8d99f2118 [2023-11-09T14:04:05.283Z] Removing intermediate container c6b8d99f2118 [2023-11-09T14:04:05.283Z] ---> de8600947a6a [2023-11-09T14:04:05.283Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-11-09T14:04:05.283Z] ---> Running in f0666f36aa0f [2023-11-09T14:04:05.283Z] Removing intermediate container f0666f36aa0f [2023-11-09T14:04:05.283Z] ---> 91cdf4bc4387 [2023-11-09T14:04:05.283Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-09T14:04:05.283Z] ---> Running in 2bd6c29df652 [2023-11-09T14:04:05.283Z] Removing intermediate container 2bd6c29df652 [2023-11-09T14:04:05.283Z] ---> 767a8691f772 [2023-11-09T14:04:05.283Z] Step 20/22 : LABEL arch=arm64 [2023-11-09T14:04:05.283Z] ---> Running in 90cb7679380b [2023-11-09T14:04:05.283Z] Removing intermediate container 90cb7679380b [2023-11-09T14:04:05.283Z] ---> 0f63c06b50ed [2023-11-09T14:04:05.283Z] Step 21/22 : LABEL git_sha=3472a71eabe3cf11e529f0c456c85d4924dd4d23 [2023-11-09T14:04:05.283Z] ---> Running in dce48d2761eb [2023-11-09T14:04:05.283Z] Removing intermediate container dce48d2761eb [2023-11-09T14:04:05.283Z] ---> 0674ec5ee64a [2023-11-09T14:04:05.283Z] Step 22/22 : LABEL version=3.1.0-dev.24 [2023-11-09T14:04:05.283Z] ---> Running in dcc3bcae536e [2023-11-09T14:04:05.283Z] Removing intermediate container dcc3bcae536e [2023-11-09T14:04:05.283Z] ---> 122c5c0fea9e [2023-11-09T14:04:05.283Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-09T14:04:05.283Z] Successfully built 122c5c0fea9e [2023-11-09T14:04:05.283Z] 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-11-09T14:04:05.417Z] provisioning config files... [2023-11-09T14:04:05.437Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/138@tmp/config11629988654895443922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:04:05.792Z] ---> docker-login.sh [2023-11-09T14:04:05.792Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:04:06.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:04:06.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:04:06.064Z] Configure a credential helper to remove this warning. See [2023-11-09T14:04:06.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:04:06.064Z] [2023-11-09T14:04:06.064Z] Login Succeeded [2023-11-09T14:04:06.064Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:04:06.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:04:06.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:04:06.599Z] Configure a credential helper to remove this warning. See [2023-11-09T14:04:06.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:04:06.599Z] [2023-11-09T14:04:06.599Z] Login Succeeded [2023-11-09T14:04:06.599Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:04:06.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:04:06.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:04:06.869Z] Configure a credential helper to remove this warning. See [2023-11-09T14:04:06.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:04:06.869Z] [2023-11-09T14:04:06.869Z] Login Succeeded [2023-11-09T14:04:06.869Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:04:07.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:04:07.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:04:07.403Z] Configure a credential helper to remove this warning. See [2023-11-09T14:04:07.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:04:07.403Z] [2023-11-09T14:04:07.403Z] Login Succeeded [2023-11-09T14:04:07.403Z] docker.io [2023-11-09T14:04:07.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:04:07.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:04:07.938Z] Configure a credential helper to remove this warning. See [2023-11-09T14:04:07.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:04:07.938Z] [2023-11-09T14:04:07.938Z] Login Succeeded [2023-11-09T14:04:07.938Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:04:07.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-09T14:04:07.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:04:08.000Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-11-09T14:04:08.000Z] 3472a71eabe3cf11e529f0c456c85d4924dd4d23 [2023-11-09T14:04:08.000Z] latest [2023-11-09T14:04:08.000Z] 3.1.0-dev.24 [2023-11-09T14:04:08.000Z] 3472a71eabe3cf11e529f0c456c85d4924dd4d23-3.1.0-dev.24 [2023-11-09T14:04:08.000Z] main [2023-11-09T14:04:08.000Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:08.352Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3472a71eabe3cf11e529f0c456c85d4924dd4d23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:08.714Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3472a71eabe3cf11e529f0c456c85d4924dd4d23 [2023-11-09T14:04:08.715Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-11-09T14:04:08.715Z] 513069380813: Preparing [2023-11-09T14:04:08.715Z] 8edc68e8a13f: Preparing [2023-11-09T14:04:08.715Z] 88894807294c: Preparing [2023-11-09T14:04:08.715Z] 626233f64aa5: Preparing [2023-11-09T14:04:08.715Z] 5f4d9fc4d98d: Preparing [2023-11-09T14:04:08.715Z] 5f4d9fc4d98d: Layer already exists [2023-11-09T14:04:08.983Z] 513069380813: Pushed [2023-11-09T14:04:08.983Z] 626233f64aa5: Pushed [2023-11-09T14:04:08.983Z] 8edc68e8a13f: Pushed [2023-11-09T14:04:14.352Z] 88894807294c: Pushed [2023-11-09T14:04:14.620Z] 3472a71eabe3cf11e529f0c456c85d4924dd4d23: digest: sha256:c5f2a8dd86afe1adf9c2d0f07bac6383ba63e2efd3bb432c6dc86fa883b72162 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:14.986Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:15.347Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-11-09T14:04:15.347Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-11-09T14:04:15.347Z] 513069380813: Preparing [2023-11-09T14:04:15.347Z] 8edc68e8a13f: Preparing [2023-11-09T14:04:15.347Z] 88894807294c: Preparing [2023-11-09T14:04:15.347Z] 626233f64aa5: Preparing [2023-11-09T14:04:15.347Z] 5f4d9fc4d98d: Preparing [2023-11-09T14:04:15.347Z] 513069380813: Layer already exists [2023-11-09T14:04:15.347Z] 8edc68e8a13f: Layer already exists [2023-11-09T14:04:15.347Z] 88894807294c: Layer already exists [2023-11-09T14:04:15.347Z] 626233f64aa5: Layer already exists [2023-11-09T14:04:15.347Z] 5f4d9fc4d98d: Layer already exists [2023-11-09T14:04:15.615Z] latest: digest: sha256:c5f2a8dd86afe1adf9c2d0f07bac6383ba63e2efd3bb432c6dc86fa883b72162 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:15.981Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:16.341Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.24 [2023-11-09T14:04:16.341Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-11-09T14:04:16.341Z] 513069380813: Preparing [2023-11-09T14:04:16.341Z] 8edc68e8a13f: Preparing [2023-11-09T14:04:16.341Z] 88894807294c: Preparing [2023-11-09T14:04:16.341Z] 626233f64aa5: Preparing [2023-11-09T14:04:16.341Z] 5f4d9fc4d98d: Preparing [2023-11-09T14:04:16.341Z] 513069380813: Layer already exists [2023-11-09T14:04:16.341Z] 88894807294c: Layer already exists [2023-11-09T14:04:16.341Z] 8edc68e8a13f: Layer already exists [2023-11-09T14:04:16.341Z] 626233f64aa5: Layer already exists [2023-11-09T14:04:16.341Z] 5f4d9fc4d98d: Layer already exists [2023-11-09T14:04:16.341Z] 3.1.0-dev.24: digest: sha256:c5f2a8dd86afe1adf9c2d0f07bac6383ba63e2efd3bb432c6dc86fa883b72162 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:17.052Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3472a71eabe3cf11e529f0c456c85d4924dd4d23-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:17.475Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3472a71eabe3cf11e529f0c456c85d4924dd4d23-3.1.0-dev.24 [2023-11-09T14:04:17.475Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-11-09T14:04:17.475Z] 513069380813: Preparing [2023-11-09T14:04:17.475Z] 8edc68e8a13f: Preparing [2023-11-09T14:04:17.475Z] 88894807294c: Preparing [2023-11-09T14:04:17.475Z] 626233f64aa5: Preparing [2023-11-09T14:04:17.475Z] 5f4d9fc4d98d: Preparing [2023-11-09T14:04:17.475Z] 513069380813: Layer already exists [2023-11-09T14:04:17.475Z] 8edc68e8a13f: Layer already exists [2023-11-09T14:04:17.475Z] 626233f64aa5: Layer already exists [2023-11-09T14:04:17.475Z] 5f4d9fc4d98d: Layer already exists [2023-11-09T14:04:17.475Z] 88894807294c: Layer already exists [2023-11-09T14:04:17.751Z] 3472a71eabe3cf11e529f0c456c85d4924dd4d23-3.1.0-dev.24: digest: sha256:c5f2a8dd86afe1adf9c2d0f07bac6383ba63e2efd3bb432c6dc86fa883b72162 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:18.115Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:18.490Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-11-09T14:04:18.490Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-11-09T14:04:18.490Z] 513069380813: Preparing [2023-11-09T14:04:18.490Z] 8edc68e8a13f: Preparing [2023-11-09T14:04:18.490Z] 88894807294c: Preparing [2023-11-09T14:04:18.490Z] 626233f64aa5: Preparing [2023-11-09T14:04:18.490Z] 5f4d9fc4d98d: Preparing [2023-11-09T14:04:18.490Z] 513069380813: Layer already exists [2023-11-09T14:04:18.490Z] 5f4d9fc4d98d: Layer already exists [2023-11-09T14:04:18.490Z] 626233f64aa5: Layer already exists [2023-11-09T14:04:18.490Z] 8edc68e8a13f: Layer already exists [2023-11-09T14:04:18.490Z] 88894807294c: Layer already exists [2023-11-09T14:04:18.762Z] main: digest: sha256:c5f2a8dd86afe1adf9c2d0f07bac6383ba63e2efd3bb432c6dc86fa883b72162 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-09T14:04:18.838Z] ===================================================== [Pipeline] echo [2023-11-09T14:04:18.859Z] taggedImages: [2023-11-09T14:04:18.859Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3472a71eabe3cf11e529f0c456c85d4924dd4d23 [2023-11-09T14:04:18.859Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-11-09T14:04:18.859Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.24 [2023-11-09T14:04:18.859Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3472a71eabe3cf11e529f0c456c85d4924dd4d23-3.1.0-dev.24 [2023-11-09T14:04:18.859Z] - 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-11-09T14:04:19.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:04:19.250Z] [2023-11-09T14:04:19.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:19.586Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:04:19.586Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-09T14:04:19.586Z] 8998bd30e6a1: Pulling fs layer [2023-11-09T14:04:19.586Z] 04944245beec: Pulling fs layer [2023-11-09T14:04:19.586Z] 699f458cf7ca: Pulling fs layer [2023-11-09T14:04:19.586Z] 765212b225bb: Pulling fs layer [2023-11-09T14:04:19.586Z] f23df028b6ca: Pulling fs layer [2023-11-09T14:04:19.586Z] d65c8cfc05b1: Pulling fs layer [2023-11-09T14:04:19.586Z] 2437ff75d9bd: Pulling fs layer [2023-11-09T14:04:19.586Z] 765212b225bb: Waiting [2023-11-09T14:04:19.586Z] f23df028b6ca: Waiting [2023-11-09T14:04:19.586Z] d65c8cfc05b1: Waiting [2023-11-09T14:04:19.586Z] 2437ff75d9bd: Waiting [2023-11-09T14:04:19.853Z] 04944245beec: Verifying Checksum [2023-11-09T14:04:19.854Z] 04944245beec: Download complete [2023-11-09T14:04:19.854Z] 765212b225bb: Verifying Checksum [2023-11-09T14:04:19.854Z] 765212b225bb: Download complete [2023-11-09T14:04:19.854Z] f23df028b6ca: Download complete [2023-11-09T14:04:19.854Z] d65c8cfc05b1: Verifying Checksum [2023-11-09T14:04:19.854Z] d65c8cfc05b1: Download complete [2023-11-09T14:04:20.122Z] 699f458cf7ca: Verifying Checksum [2023-11-09T14:04:20.122Z] 699f458cf7ca: Download complete [2023-11-09T14:04:20.389Z] 8998bd30e6a1: Verifying Checksum [2023-11-09T14:04:20.389Z] 8998bd30e6a1: Download complete [2023-11-09T14:04:22.975Z] 2437ff75d9bd: Verifying Checksum [2023-11-09T14:04:22.975Z] 2437ff75d9bd: Download complete [2023-11-09T14:04:27.220Z] 8998bd30e6a1: Pull complete [2023-11-09T14:04:27.220Z] 04944245beec: Pull complete [2023-11-09T14:04:29.162Z] 699f458cf7ca: Pull complete [2023-11-09T14:04:29.162Z] 765212b225bb: Pull complete [2023-11-09T14:04:30.124Z] f23df028b6ca: Pull complete [2023-11-09T14:04:30.124Z] d65c8cfc05b1: Pull complete [2023-11-09T14:04:48.353Z] 2437ff75d9bd: Pull complete [2023-11-09T14:04:48.353Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-09T14:04:48.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:04:48.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:04:48.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-17128 does not seem to be running inside a container [2023-11-09T14:04:48.646Z] $ 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/138 -v /w/workspace/device-modbus-go/138:/w/workspace/device-modbus-go/138:rw,z -v /w/workspace/device-modbus-go/138@tmp:/w/workspace/device-modbus-go/138@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-11-09T14:04:51.916Z] $ docker top f6ff571d6f687590f97f1be6d7325541921e35e4fa2a6ca694231013666ba559 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:04:52.789Z] ---> job-cost.sh [2023-11-09T14:04:52.789Z] lf-activate-venv: SKIPPING [2023-11-09T14:04:52.789Z] INFO: No Stack... [2023-11-09T14:04:53.376Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-09T14:04:53.973Z] INFO: Archiving Costs [Pipeline] sh [2023-11-09T14:04:54.623Z] + cut+ -d, -f6 [2023-11-09T14:04:54.623Z] cat /w/workspace/device-modbus-go/138/archives/cost.csv [Pipeline] lock [2023-11-09T14:04:54.689Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-138-stack-cost] [2023-11-09T14:04:54.702Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-138-stack-cost] did not exist. Created. [2023-11-09T14:04:54.702Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-09T14:04:55.366Z] /w/workspace/device-modbus-go/138@tmp/durable-402a0ba6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-09T14:04:56.040Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-09T14:04:56.063Z] Warning: overwriting stash ‘stack-cost’ [2023-11-09T14:04:56.120Z] Stashed 1 file(s) [Pipeline] } [2023-11-09T14:04:56.131Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-09T14:04:56.134Z] $ docker stop --time=1 f6ff571d6f687590f97f1be6d7325541921e35e4fa2a6ca694231013666ba559 [2023-11-09T14:04:57.668Z] $ docker rm -f --volumes f6ff571d6f687590f97f1be6d7325541921e35e4fa2a6ca694231013666ba559 [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-11-09T14:04:58.104Z] provisioning config files... [2023-11-09T14:04:58.111Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5761876622406397811tmp [Pipeline] { [Pipeline] sh [2023-11-09T14:04:58.409Z] + set +x [2023-11-09T14:04:58.409Z] + + curl -sbash https://codecov.io/bash -s [2023-11-09T14:04:58.409Z] -- [2023-11-09T14:04:58.409Z] [2023-11-09T14:04:58.409Z] _____ _ [2023-11-09T14:04:58.409Z] / ____| | | [2023-11-09T14:04:58.409Z] | | ___ __| | ___ ___ _____ __ [2023-11-09T14:04:58.409Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-09T14:04:58.409Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-09T14:04:58.409Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-09T14:04:58.409Z] Bash-1.0.6 [2023-11-09T14:04:58.409Z] [2023-11-09T14:04:58.409Z] [2023-11-09T14:04:58.409Z] ==> git version 2.25.1 found [2023-11-09T14:04:58.409Z] ==> 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-11-09T14:04:58.409Z] Release-Date: 2020-01-08 [2023-11-09T14:04:58.409Z] 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-11-09T14:04:58.409Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-09T14:04:58.409Z] ==> Jenkins CI detected. [2023-11-09T14:04:58.409Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-11-09T14:04:58.409Z] project root: . [2023-11-09T14:04:58.409Z] --> token set from env [2023-11-09T14:04:58.668Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-09T14:04:58.668Z] ==> Running gcov in . (disable via -X gcov) [2023-11-09T14:04:58.668Z] ==> Python coveragepy not found [2023-11-09T14:04:58.668Z] ==> Searching for coverage reports in: [2023-11-09T14:04:58.668Z] + . [2023-11-09T14:04:58.668Z] -> Found 1 reports [2023-11-09T14:04:58.668Z] ==> Detecting git/mercurial file structure [2023-11-09T14:04:58.668Z] ==> Reading reports [2023-11-09T14:04:58.668Z] + ./coverage.out bytes=24334 [2023-11-09T14:04:58.668Z] ==> Appending adjustments [2023-11-09T14:04:58.668Z] https://docs.codecov.io/docs/fixing-reports [2023-11-09T14:04:58.668Z] + Found adjustments [2023-11-09T14:04:58.668Z] ==> Gzipping contents [2023-11-09T14:04:58.668Z] 4.0K /tmp/codecov.JE2XCW.gz [2023-11-09T14:04:58.668Z] ==> Uploading reports [2023-11-09T14:04:58.668Z] url: https://codecov.io [2023-11-09T14:04:58.668Z] query: branch=main&commit=3472a71eabe3cf11e529f0c456c85d4924dd4d23&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-09T14:04:58.668Z] -> Pinging Codecov [2023-11-09T14:04:58.668Z] 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=3472a71eabe3cf11e529f0c456c85d4924dd4d23&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-09T14:04:58.930Z] -> Uploading to [2023-11-09T14:04:58.930Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-09/55DBCA73C666E3227836607328DD7E49/3472a71eabe3cf11e529f0c456c85d4924dd4d23/5bfccd38-c419-44dc-a4f9-e1fb81e7fa4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T140458Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6fdc14678ec47565fb6b99b47076dc2cf314d42d6b68c22f750a0cf3060508c [2023-11-09T14:04:58.930Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-09T14:04:58.930Z] Dload Upload Total Spent Left Speed [2023-11-09T14:04:59.195Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 13169 --:--:-- --:--:-- --:--:-- 13169 [2023-11-09T14:04:59.195Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/3472a71eabe3cf11e529f0c456c85d4924dd4d23 [Pipeline] } [2023-11-09T14:04:59.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-09T14:04:59.424Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-09T14:04:59.439Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:59.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-09T14:04:59.736Z] [2023-11-09T14:04:59.736Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:05:00.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-09T14:05:00.037Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-09T14:05:00.037Z] df9b9388f04a: Pulling fs layer [2023-11-09T14:05:00.037Z] 52dc419b0ee2: Pulling fs layer [2023-11-09T14:05:00.037Z] 25bc292e5bac: Pulling fs layer [2023-11-09T14:05:00.037Z] 114826534d7a: Pulling fs layer [2023-11-09T14:05:00.037Z] 4657fd5d0bcf: Pulling fs layer [2023-11-09T14:05:00.037Z] 6ad1cebc031e: Pulling fs layer [2023-11-09T14:05:00.037Z] 8a3aa393b2d8: Pulling fs layer [2023-11-09T14:05:00.037Z] 4657fd5d0bcf: Waiting [2023-11-09T14:05:00.037Z] 8a3aa393b2d8: Waiting [2023-11-09T14:05:00.037Z] 114826534d7a: Waiting [2023-11-09T14:05:00.037Z] 6ad1cebc031e: Waiting [2023-11-09T14:05:00.037Z] 25bc292e5bac: Verifying Checksum [2023-11-09T14:05:00.037Z] 25bc292e5bac: Download complete [2023-11-09T14:05:00.037Z] 52dc419b0ee2: Verifying Checksum [2023-11-09T14:05:00.037Z] 52dc419b0ee2: Download complete [2023-11-09T14:05:00.037Z] 4657fd5d0bcf: Verifying Checksum [2023-11-09T14:05:00.037Z] 4657fd5d0bcf: Download complete [2023-11-09T14:05:00.037Z] df9b9388f04a: Download complete [2023-11-09T14:05:00.316Z] df9b9388f04a: Pull complete [2023-11-09T14:05:00.316Z] 6ad1cebc031e: Verifying Checksum [2023-11-09T14:05:00.316Z] 6ad1cebc031e: Download complete [2023-11-09T14:05:00.316Z] 52dc419b0ee2: Pull complete [2023-11-09T14:05:00.316Z] 25bc292e5bac: Pull complete [2023-11-09T14:05:01.261Z] 114826534d7a: Verifying Checksum [2023-11-09T14:05:01.261Z] 114826534d7a: Download complete [2023-11-09T14:05:01.261Z] 8a3aa393b2d8: Verifying Checksum [2023-11-09T14:05:01.261Z] 8a3aa393b2d8: Download complete [2023-11-09T14:05:04.570Z] 114826534d7a: Pull complete [2023-11-09T14:05:04.570Z] 4657fd5d0bcf: Pull complete [2023-11-09T14:05:04.827Z] 6ad1cebc031e: Pull complete [2023-11-09T14:05:07.353Z] 8a3aa393b2d8: Pull complete [2023-11-09T14:05:07.610Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-09T14:05:07.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-09T14:05:07.610Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:05:07.691Z] prd-ubuntu20.04-docker-8c-8g-17127 does not seem to be running inside a container [2023-11-09T14:05:07.718Z] $ 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-11-09T14:05:15.698Z] $ docker top fe809d7597a8b9b8bebfc2f0e59a2ad29178c6c1599706a67374a1dca7903804 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-09T14:05:15.774Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-11-09T14:05:16.052Z] + set -o pipefail [2023-11-09T14:05:16.053Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-11-09T14:05:21.321Z] [2023-11-09T14:05:21.321Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-11-09T14:05:21.321Z] [2023-11-09T14:05:21.321Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/d816bdd3-26dd-4481-b7d7-dcf3e4098561 [2023-11-09T14:05:21.321Z] [2023-11-09T14:05:21.321Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-11-09T14:05:21.321Z] [2023-11-09T14:05:21.321Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-09T14:05:21.321Z] [2023-11-09T14:05:21.321Z] [2023-11-09T14:05:21.321Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-09T14:05:21.321Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-09T14:05:21.321Z] More details here: https://snyk.co/ue1NS [2023-11-09T14:05:21.321Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-09T14:05:21.321Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-09T14:05:21.330Z] $ docker stop --time=1 fe809d7597a8b9b8bebfc2f0e59a2ad29178c6c1599706a67374a1dca7903804 [2023-11-09T14:05:29.745Z] $ docker rm -f --volumes fe809d7597a8b9b8bebfc2f0e59a2ad29178c6c1599706a67374a1dca7903804 [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-11-09T14:05:30.496Z] + git log --format=format:%s -1 3472a71eabe3cf11e529f0c456c85d4924dd4d23 [Pipeline] sh [2023-11-09T14:05:30.784Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T14:05:30.784Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:05:31.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:05:31.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:05:31.145Z] prd-ubuntu20.04-docker-8c-8g-17127 does not seem to be running inside a container [2023-11-09T14:05:31.172Z] $ 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-11-09T14:05:31.828Z] $ docker top 7006e68e79b597a1172c0103600d7f16b42ee3208d4ccaa45844a14a42424d21 -eo pid,comm [2023-11-09T14:05:31.876Z] 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-11-09T14:05:31.876Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T14:05:31.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:05:31.916Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:05:32.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:05:32.031Z] $ docker exec 7006e68e79b597a1172c0103600d7f16b42ee3208d4ccaa45844a14a42424d21 ssh-agent [2023-11-09T14:05:32.139Z] SSH_AUTH_SOCK=/tmp/ssh-4AovA1ZdL7r6/agent.32 [2023-11-09T14:05:32.139Z] SSH_AGENT_PID=38 [2023-11-09T14:05:32.144Z] Running ssh-add (command line suppressed) [2023-11-09T14:05:32.253Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10381979433573630719.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10381979433573630719.key) [2023-11-09T14:05:32.270Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:05:32.561Z] + git semver tag [2023-11-09T14:05:32.823Z] 2023-11-09 14:05:32,741 [run_tag] DEBUG tag force:False [2023-11-09T14:05:32.823Z] 2023-11-09 14:05:32,741 [check_head_tag] DEBUG check head tag [2023-11-09T14:05:32.823Z] 2023-11-09 14:05:32,742 [execute] INFO git cat-file --batch-check [2023-11-09T14:05:32.823Z] 2023-11-09 14:05:32,742 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-11-09T14:05:32.823Z] 2023-11-09 14:05:32,746 [execute] INFO git cat-file --batch [2023-11-09T14:05:32.823Z] 2023-11-09 14:05:32,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-11-09T14:05:32.823Z] 2023-11-09 14:05:32,762 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-09T14:05:32.823Z] 2023-11-09 14:05:32,762 [execute] INFO git tag -a v3.1.0-dev.24 -m v3.1.0-dev.24 [2023-11-09T14:05:32.823Z] 2023-11-09 14:05:32,763 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.24', '-m', 'v3.1.0-dev.24'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-09T14:05:32.823Z] 2023-11-09 14:05:32,767 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-09T14:05:32.823Z] 3.1.0-dev.24 [Pipeline] } [2023-11-09T14:05:32.832Z] $ docker exec --env ******** --env ******** 7006e68e79b597a1172c0103600d7f16b42ee3208d4ccaa45844a14a42424d21 ssh-agent -k [2023-11-09T14:05:32.923Z] unset SSH_AUTH_SOCK; [2023-11-09T14:05:32.923Z] unset SSH_AGENT_PID; [2023-11-09T14:05:32.924Z] echo Agent pid 38 killed; [2023-11-09T14:05:32.936Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T14:05:33.248Z] + git semver [Pipeline] } [2023-11-09T14:05:33.518Z] $ docker stop --time=1 7006e68e79b597a1172c0103600d7f16b42ee3208d4ccaa45844a14a42424d21 [2023-11-09T14:05:35.213Z] $ docker rm -f --volumes 7006e68e79b597a1172c0103600d7f16b42ee3208d4ccaa45844a14a42424d21 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:05:35.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-09T14:05:35.622Z] [2023-11-09T14:05:35.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:05:35.930Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-09T14:05:35.930Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-09T14:05:35.930Z] ab5ef0e58194: Pulling fs layer [2023-11-09T14:05:35.930Z] 9712f1f96733: Pulling fs layer [2023-11-09T14:05:35.930Z] 63f879dbbcfc: Pulling fs layer [2023-11-09T14:05:35.930Z] 0d9ebad4ef96: Pulling fs layer [2023-11-09T14:05:35.930Z] e9a5061849ea: Pulling fs layer [2023-11-09T14:05:35.930Z] d747dcd14b5f: Pulling fs layer [2023-11-09T14:05:35.930Z] 2de7ff778b66: Pulling fs layer [2023-11-09T14:05:35.930Z] d747dcd14b5f: Waiting [2023-11-09T14:05:35.930Z] 2de7ff778b66: Waiting [2023-11-09T14:05:35.930Z] e9a5061849ea: Waiting [2023-11-09T14:05:35.930Z] 9712f1f96733: Verifying Checksum [2023-11-09T14:05:35.930Z] 9712f1f96733: Download complete [2023-11-09T14:05:36.536Z] 63f879dbbcfc: Verifying Checksum [2023-11-09T14:05:36.536Z] 63f879dbbcfc: Download complete [2023-11-09T14:05:36.536Z] e9a5061849ea: Verifying Checksum [2023-11-09T14:05:36.536Z] e9a5061849ea: Download complete [2023-11-09T14:05:36.795Z] 0d9ebad4ef96: Verifying Checksum [2023-11-09T14:05:36.795Z] 0d9ebad4ef96: Download complete [2023-11-09T14:05:36.795Z] ab5ef0e58194: Verifying Checksum [2023-11-09T14:05:36.795Z] ab5ef0e58194: Download complete [2023-11-09T14:05:36.795Z] 2de7ff778b66: Verifying Checksum [2023-11-09T14:05:36.795Z] 2de7ff778b66: Download complete [2023-11-09T14:05:39.326Z] ab5ef0e58194: Pull complete [2023-11-09T14:05:39.583Z] 9712f1f96733: Pull complete [2023-11-09T14:05:40.519Z] 63f879dbbcfc: Pull complete [2023-11-09T14:05:44.702Z] 0d9ebad4ef96: Pull complete [2023-11-09T14:05:45.638Z] e9a5061849ea: Pull complete [2023-11-09T14:05:45.897Z] d747dcd14b5f: Pull complete [2023-11-09T14:05:47.799Z] 2de7ff778b66: Pull complete [2023-11-09T14:05:47.799Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-09T14:05:47.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-09T14:05:48.058Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:05:48.137Z] prd-ubuntu20.04-docker-8c-8g-17127 does not seem to be running inside a container [2023-11-09T14:05:48.165Z] $ 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-11-09T14:06:03.995Z] $ docker top 6b90deb87f413553618c22ea289e64ced212a1c4fcceab83ac9bfbf61c9aec3c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:06:04.071Z] provisioning config files... [2023-11-09T14:06:04.078Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8104091653856949564tmp [2023-11-09T14:06:04.088Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15775074819795803038tmp [2023-11-09T14:06:04.098Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2569723905286734509tmp [Pipeline] { [Pipeline] echo [2023-11-09T14:06:04.117Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:06:04.400Z] ---> sigul-configuration.sh [2023-11-09T14:06:04.400Z] gpg: directory `/root/.gnupg' created [2023-11-09T14:06:04.400Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-09T14:06:04.400Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-09T14:06:04.400Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-09T14:06:04.400Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-09T14:06:04.400Z] gpg: CAST5 encrypted data [2023-11-09T14:06:04.400Z] gpg: encrypted with 1 passphrase [2023-11-09T14:06:04.400Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-09T14:06:04.686Z] + mkdir /home/jenkins [2023-11-09T14:06:04.686Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-09T14:06:04.972Z] + 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-11-09T14:06:04.981Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:06:05.266Z] ---> sigul-install.sh [2023-11-09T14:06:05.266Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-09T14:06:05.552Z] + git tag --list [2023-11-09T14:06:05.552Z] 0.7.1 [2023-11-09T14:06:05.552Z] v1.0.0 [2023-11-09T14:06:05.552Z] v1.1.0 [2023-11-09T14:06:05.552Z] v1.1.1 [2023-11-09T14:06:05.552Z] v1.2.2 [2023-11-09T14:06:05.552Z] v1.3.0 [2023-11-09T14:06:05.552Z] v1.3.1 [2023-11-09T14:06:05.552Z] v2.0.0 [2023-11-09T14:06:05.552Z] v2.1.0 [2023-11-09T14:06:05.552Z] v2.1.1 [2023-11-09T14:06:05.552Z] v2.2.0 [2023-11-09T14:06:05.552Z] v2.3.0 [2023-11-09T14:06:05.552Z] v3.0 [2023-11-09T14:06:05.553Z] v3.0.0 [2023-11-09T14:06:05.553Z] v3.1.0-dev.1 [2023-11-09T14:06:05.553Z] v3.1.0-dev.10 [2023-11-09T14:06:05.553Z] v3.1.0-dev.11 [2023-11-09T14:06:05.553Z] v3.1.0-dev.12 [2023-11-09T14:06:05.553Z] v3.1.0-dev.13 [2023-11-09T14:06:05.553Z] v3.1.0-dev.14 [2023-11-09T14:06:05.553Z] v3.1.0-dev.15 [2023-11-09T14:06:05.553Z] v3.1.0-dev.16 [2023-11-09T14:06:05.553Z] v3.1.0-dev.17 [2023-11-09T14:06:05.553Z] v3.1.0-dev.18 [2023-11-09T14:06:05.553Z] v3.1.0-dev.19 [2023-11-09T14:06:05.553Z] v3.1.0-dev.2 [2023-11-09T14:06:05.553Z] v3.1.0-dev.20 [2023-11-09T14:06:05.553Z] v3.1.0-dev.21 [2023-11-09T14:06:05.553Z] v3.1.0-dev.22 [2023-11-09T14:06:05.553Z] v3.1.0-dev.23 [2023-11-09T14:06:05.553Z] v3.1.0-dev.24 [2023-11-09T14:06:05.553Z] v3.1.0-dev.3 [2023-11-09T14:06:05.553Z] v3.1.0-dev.4 [2023-11-09T14:06:05.553Z] v3.1.0-dev.5 [2023-11-09T14:06:05.553Z] v3.1.0-dev.6 [2023-11-09T14:06:05.553Z] v3.1.0-dev.7 [2023-11-09T14:06:05.553Z] v3.1.0-dev.8 [2023-11-09T14:06:05.553Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-09T14:06:05.841Z] + lftools sign git-tag v3.1.0-dev.24 [2023-11-09T14:06:06.410Z] Signing Git tag with Sigul... [2023-11-09T14:06:06.410Z] Signing v3.1.0-dev.24 [Pipeline] echo [2023-11-09T14:06:06.680Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:06:06.967Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-09T14:06:06.974Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-09T14:06:06.988Z] $ docker stop --time=1 6b90deb87f413553618c22ea289e64ced212a1c4fcceab83ac9bfbf61c9aec3c [2023-11-09T14:06:08.663Z] $ docker rm -f --volumes 6b90deb87f413553618c22ea289e64ced212a1c4fcceab83ac9bfbf61c9aec3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-09T14:06:09.082Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T14:06:09.082Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:06:09.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:06:09.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:06:09.452Z] prd-ubuntu20.04-docker-8c-8g-17127 does not seem to be running inside a container [2023-11-09T14:06:09.484Z] $ 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-11-09T14:06:10.771Z] $ docker top 6825abde9b37839b8fe6de357547cadd9c64e7603963ff5043098e632035674b -eo pid,comm [2023-11-09T14:06:10.819Z] 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-11-09T14:06:10.819Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T14:06:10.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:06:10.861Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:06:11.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:06:11.023Z] $ docker exec 6825abde9b37839b8fe6de357547cadd9c64e7603963ff5043098e632035674b ssh-agent [2023-11-09T14:06:11.144Z] SSH_AUTH_SOCK=/tmp/ssh-KCJGSEtvCrFH/agent.14 [2023-11-09T14:06:11.144Z] SSH_AGENT_PID=20 [2023-11-09T14:06:11.149Z] Running ssh-add (command line suppressed) [2023-11-09T14:06:11.266Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4168929388564999943.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4168929388564999943.key) [2023-11-09T14:06:11.284Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:06:11.575Z] + git semver bump pre [2023-11-09T14:06:11.833Z] 2023-11-09 14:06:11,823 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-09T14:06:11.833Z] 2023-11-09 14:06:11,823 [bump_version] DEBUG bumping version:3.1.0-dev.24 on axis:pre with prefix:dev [2023-11-09T14:06:11.833Z] 2023-11-09 14:06:11,824 [bump_version] DEBUG bumped version:3.1.0-dev.25 [2023-11-09T14:06:11.833Z] 2023-11-09 14:06:11,824 [write_version] DEBUG write version:3.1.0-dev.25 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-11-09T14:06:11.833Z] 2023-11-09 14:06:11,824 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-09T14:06:11.833Z] 2023-11-09 14:06:11,824 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-09T14:06:11.833Z] 2023-11-09 14:06:11,828 [execute] INFO git cat-file --batch-check [2023-11-09T14:06:11.833Z] 2023-11-09 14:06:11,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T14:06:12.093Z] 2023-11-09 14:06:11,834 [execute] INFO git cat-file --batch [2023-11-09T14:06:12.093Z] 2023-11-09 14:06:11,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T14:06:12.093Z] 2023-11-09 14:06:11,839 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-09T14:06:12.093Z] 3.1.0-dev.25 [Pipeline] } [2023-11-09T14:06:12.100Z] $ docker exec --env ******** --env ******** 6825abde9b37839b8fe6de357547cadd9c64e7603963ff5043098e632035674b ssh-agent -k [2023-11-09T14:06:12.194Z] unset SSH_AUTH_SOCK; [2023-11-09T14:06:12.195Z] unset SSH_AGENT_PID; [2023-11-09T14:06:12.195Z] echo Agent pid 20 killed; [2023-11-09T14:06:12.208Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T14:06:12.520Z] + git semver [Pipeline] } [2023-11-09T14:06:12.790Z] $ docker stop --time=1 6825abde9b37839b8fe6de357547cadd9c64e7603963ff5043098e632035674b [2023-11-09T14:06:14.797Z] $ docker rm -f --volumes 6825abde9b37839b8fe6de357547cadd9c64e7603963ff5043098e632035674b [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:06:15.182Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T14:06:15.182Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:06:15.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:06:15.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:06:15.586Z] prd-ubuntu20.04-docker-8c-8g-17127 does not seem to be running inside a container [2023-11-09T14:06:15.687Z] $ 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-11-09T14:06:16.450Z] $ docker top 78f837ca0e7a4a992f8b1df95fbac7ea1dbbc066fc8ad135c8bc85b084fd6627 -eo pid,comm [2023-11-09T14:06:16.503Z] 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-11-09T14:06:16.503Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T14:06:16.538Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:06:16.538Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:06:16.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:06:16.662Z] $ docker exec 78f837ca0e7a4a992f8b1df95fbac7ea1dbbc066fc8ad135c8bc85b084fd6627 ssh-agent [2023-11-09T14:06:16.788Z] SSH_AUTH_SOCK=/tmp/ssh-QymNwu9ugLEo/agent.15 [2023-11-09T14:06:16.788Z] SSH_AGENT_PID=21 [2023-11-09T14:06:16.794Z] Running ssh-add (command line suppressed) [2023-11-09T14:06:16.931Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3527966251997670714.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3527966251997670714.key) [2023-11-09T14:06:16.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:06:17.240Z] + git semver push [2023-11-09T14:06:17.500Z] 2023-11-09 14:06:17,430 [run_push] DEBUG push [2023-11-09T14:06:17.500Z] 2023-11-09 14:06:17,431 [execute] INFO git cat-file --batch-check [2023-11-09T14:06:17.500Z] 2023-11-09 14:06:17,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T14:06:17.500Z] 2023-11-09 14:06:17,436 [execute] INFO git rev-list 2175e1c29c41c4e17cb6775a4706e4a92039f1ae -- [2023-11-09T14:06:17.500Z] 2023-11-09 14:06:17,437 [execute] DEBUG Popen(['git', 'rev-list', '2175e1c29c41c4e17cb6775a4706e4a92039f1ae', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-09T14:06:17.500Z] 2023-11-09 14:06:17,447 [execute] INFO git fetch -v origin [2023-11-09T14:06:17.500Z] 2023-11-09 14:06:17,447 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-09T14:06:18.068Z] 2023-11-09 14:06:18,011 [run_push] DEBUG no remote changes detected [2023-11-09T14:06:18.068Z] 2023-11-09 14:06:18,012 [execute] INFO git push origin semver [2023-11-09T14:06:18.068Z] 2023-11-09 14:06:18,012 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-09T14:06:19.006Z] 2023-11-09 14:06:18,945 [run_push] DEBUG push all version tags [2023-11-09T14:06:19.006Z] 2023-11-09 14:06:18,946 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-09T14:06:19.006Z] 2023-11-09 14:06:18,946 [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-11-09T14:06:19.941Z] 2023-11-09 14:06:19,698 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-09T14:06:19.941Z] 3.1.0-dev.25 [Pipeline] } [2023-11-09T14:06:19.950Z] $ docker exec --env ******** --env ******** 78f837ca0e7a4a992f8b1df95fbac7ea1dbbc066fc8ad135c8bc85b084fd6627 ssh-agent -k [2023-11-09T14:06:20.043Z] unset SSH_AUTH_SOCK; [2023-11-09T14:06:20.043Z] unset SSH_AGENT_PID; [2023-11-09T14:06:20.043Z] echo Agent pid 21 killed; [2023-11-09T14:06:20.054Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T14:06:20.361Z] + git semver [Pipeline] } [2023-11-09T14:06:20.631Z] $ docker stop --time=1 78f837ca0e7a4a992f8b1df95fbac7ea1dbbc066fc8ad135c8bc85b084fd6627 [2023-11-09T14:06:22.233Z] $ docker rm -f --volumes 78f837ca0e7a4a992f8b1df95fbac7ea1dbbc066fc8ad135c8bc85b084fd6627 [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-11-09T14:06:22.906Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-11-09T14:06:22.906Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-11-09T14:06:22.906Z] total 16 [2023-11-09T14:06:22.906Z] drwxr-xr-x 3 root root 4096 Nov 9 13:57 . [2023-11-09T14:06:22.906Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:06 .. [2023-11-09T14:06:22.906Z] drwxr-xr-x 2 root root 4096 Nov 9 13:57 cost [2023-11-09T14:06:22.906Z] -rw-r--r-- 1 root root 88 Nov 9 13:57 cost.csv [2023-11-09T14:06:22.906Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-11-09T14:06:22.906Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-11-09T14:06:22.906Z] total 16 [2023-11-09T14:06:22.906Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 13:57 . [2023-11-09T14:06:22.906Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:06 .. [2023-11-09T14:06:22.906Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 13:57 cost [2023-11-09T14:06:22.906Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 9 13:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:06:23.198Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:06:24.059Z] ---> package-listing.sh [2023-11-09T14:06:24.059Z] ++ facter osfamily [2023-11-09T14:06:24.059Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-09T14:06:24.319Z] + OS_FAMILY=debian [2023-11-09T14:06:24.319Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-11-09T14:06:24.319Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-09T14:06:24.319Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-09T14:06:24.319Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-09T14:06:24.319Z] + PACKAGES=/tmp/packages_start.txt [2023-11-09T14:06:24.319Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-11-09T14:06:24.319Z] + PACKAGES=/tmp/packages_end.txt [2023-11-09T14:06:24.319Z] + case "${OS_FAMILY}" in [2023-11-09T14:06:24.319Z] + dpkg -l [2023-11-09T14:06:24.319Z] + grep '^ii' [2023-11-09T14:06:24.319Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-09T14:06:24.319Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-09T14:06:24.319Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-09T14:06:24.319Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-11-09T14:06:24.319Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-11-09T14:06:24.319Z] + 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-11-09T14:06:24.330Z] 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-11-09T14:06:24.609Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:06:25.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:06:25.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:06:25.243Z] prd-ubuntu20.04-docker-8c-8g-17127 does not seem to be running inside a container [2023-11-09T14:06:25.273Z] $ 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-11-09T14:06:25.471Z] $ docker top bc37c47e1c49a5fc4f065e6ec29eb9bd420de01be5a963cac61ad2e0ae4370af -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:06:25.816Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-09T14:06:26.101Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-09T14:06:26.387Z] + ls /var/log/sa-host [2023-11-09T14:06:26.387Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:06:26.473Z] provisioning config files... [2023-11-09T14:06:26.481Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7287791830464477450tmp [Pipeline] { [Pipeline] echo [2023-11-09T14:06:26.497Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:06:26.780Z] ---> create-netrc.sh [Pipeline] } [2023-11-09T14:06:26.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:06:27.125Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-09T14:06:27.135Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:06:27.421Z] ---> sudo-logs.sh [2023-11-09T14:06:27.421Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-09T14:06:27.454Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:06:27.741Z] ---> job-cost.sh [2023-11-09T14:06:27.741Z] lf-activate-venv: SKIPPING [2023-11-09T14:06:27.741Z] DEBUG: total: 0.2199999988079071 [2023-11-09T14:06:27.741Z] INFO: Retrieving Stack Cost... [2023-11-09T14:06:28.312Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-09T14:06:28.572Z] INFO: Archiving Costs [Pipeline] echo [2023-11-09T14:06:28.586Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:06:28.870Z] ---> logs-deploy.sh [2023-11-09T14:06:28.870Z] lf-activate-venv: SKIPPING [2023-11-09T14:06:28.870Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/138 [2023-11-09T14:06:28.870Z] INFO: archiving workspace using pattern(s): [2023-11-09T14:06:29.807Z] Archives upload complete. [2023-11-09T14:06:29.807Z] INFO: archiving logs to Nexus