Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 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-ssh2349224884383108273.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh13745933209002327694.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh3329217228831998065.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh4440583291638517157.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-ssh13634166976589272164.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3267 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 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 (main) Commit message: "Merge pull request #492 from mglmc/modbus-int32RAW-float64type" > 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 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 # timeout=10 > git rev-list --no-walk 7e1e3f9b0a00566f3add41dca9941190c71764c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-10T02:42:25.090Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-10T02:42:25.203Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-10T02:42:25.218Z] ========================================================= [2023-08-10T02:42:25.218Z] EdgeX Global Pipelines Version Info [2023-08-10T02:42:25.218Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:42:25.927Z] ------------------- [2023-08-10T02:42:25.927Z] stable info: [2023-08-10T02:42:25.927Z] ------------------- [2023-08-10T02:42:25.927Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-10T02:42:25.927Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-10T02:42:25.927Z] Message: update stable to v1.0.250 [2023-08-10T02:42:26.502Z] ------------------- [2023-08-10T02:42:26.502Z] experimental info: [2023-08-10T02:42:26.502Z] ------------------- [2023-08-10T02:42:26.502Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-10T02:42:26.502Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-10T02:42:26.502Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-10T02:42:26.677Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-08-10T02:42:26.686Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-08-10T02:42:26.704Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-10T02:42:26.715Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-10T02:42:26.727Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-10T02:42:26.742Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-10T02:42:26.759Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-10T02:42:26.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-10T02:42:26.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-10T02:42:26.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-10T02:42:26.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-10T02:42:26.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-08-10T02:42:26.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-10T02:42:26.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-10T02:42:26.872Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-10T02:42:26.887Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-10T02:42:26.907Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-10T02:42:26.926Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-10T02:42:26.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-10T02:42:26.965Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-10T02:42:26.986Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-10T02:42:27.000Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-10T02:42:27.014Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-10T02:42:27.027Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-10T02:42:27.043Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-10T02:42:27.058Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-10T02:42:27.071Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-10T02:42:27.091Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-10T02:42:27.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-10T02:42:27.125Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-10T02:42:27.147Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [Pipeline] echo [2023-08-10T02:42:27.168Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1035885 [Pipeline] echo [2023-08-10T02:42:27.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T02:42:27.236Z] provisioning config files... [2023-08-10T02:42:27.249Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15222972114176036891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:42:27.549Z] ---> docker-login.sh [2023-08-10T02:42:27.549Z] nexus3.edgexfoundry.org:10001 [2023-08-10T02:42:27.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:42:27.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:42:27.809Z] Configure a credential helper to remove this warning. See [2023-08-10T02:42:27.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:42:27.809Z] [2023-08-10T02:42:27.809Z] Login Succeeded [2023-08-10T02:42:27.809Z] nexus3.edgexfoundry.org:10002 [2023-08-10T02:42:27.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:42:28.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:42:28.067Z] Configure a credential helper to remove this warning. See [2023-08-10T02:42:28.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:42:28.067Z] [2023-08-10T02:42:28.067Z] Login Succeeded [2023-08-10T02:42:28.067Z] nexus3.edgexfoundry.org:10003 [2023-08-10T02:42:28.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:42:28.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:42:28.067Z] Configure a credential helper to remove this warning. See [2023-08-10T02:42:28.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:42:28.067Z] [2023-08-10T02:42:28.067Z] Login Succeeded [2023-08-10T02:42:28.067Z] nexus3.edgexfoundry.org:10004 [2023-08-10T02:42:28.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:42:28.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:42:28.067Z] Configure a credential helper to remove this warning. See [2023-08-10T02:42:28.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:42:28.067Z] [2023-08-10T02:42:28.067Z] Login Succeeded [2023-08-10T02:42:28.067Z] docker.io [2023-08-10T02:42:28.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:42:28.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:42:28.585Z] Configure a credential helper to remove this warning. See [2023-08-10T02:42:28.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:42:28.585Z] [2023-08-10T02:42:28.585Z] Login Succeeded [2023-08-10T02:42:28.585Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T02:42:28.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-10T02:42:28.971Z] + git rev-list -1 --merges 1035885eab2253e2bed58002dbe5aaa8ab8aecd1~1..1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [Pipeline] echo [2023-08-10T02:42:29.020Z] -----------> git rev-list -1 --merges 1035885eab2253e2bed58002dbe5aaa8ab8aecd1~1..1035885eab2253e2bed58002dbe5aaa8ab8aecd1 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [2023-08-10T02:42:29.020Z] 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [false] [Pipeline] sh [2023-08-10T02:42:29.312Z] + git log --format=format:%s -1 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [Pipeline] echo [2023-08-10T02:42:29.350Z] ========================================================= [2023-08-10T02:42:29.350Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-10T02:42:29.350Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-10T02:42:29.672Z] + git log --format=format:%s -1 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [Pipeline] echo [2023-08-10T02:42:29.682Z] [semverPrep] GIT_COMMIT: 1035885eab2253e2bed58002dbe5aaa8ab8aecd1, Commit Message: Merge pull request #492 from mglmc/modbus-int32RAW-float64type [Pipeline] echo [2023-08-10T02:42:29.690Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-10T02:42:30.069Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T02:42:30.069Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-10T02:42:30.069Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-10T02:42:30.069Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-10T02:42:30.069Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-10T02:42:30.069Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-10T02:42:30.069Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:42:30.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T02:42:30.521Z] [2023-08-10T02:42:30.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:42:30.818Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T02:42:30.818Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-10T02:42:30.818Z] b85a868b505f: Pulling fs layer [2023-08-10T02:42:30.818Z] e2be974225ed: Pulling fs layer [2023-08-10T02:42:30.818Z] 339a4e72a1f5: Pulling fs layer [2023-08-10T02:42:30.818Z] 988bab9f4d93: Pulling fs layer [2023-08-10T02:42:30.818Z] 1469e6f7b9e6: Pulling fs layer [2023-08-10T02:42:30.818Z] eaf3925da568: Pulling fs layer [2023-08-10T02:42:30.818Z] bab4dde63d76: Pulling fs layer [2023-08-10T02:42:30.818Z] bde34c3a00c8: Pulling fs layer [2023-08-10T02:42:30.818Z] b352a97aabf1: Pulling fs layer [2023-08-10T02:42:30.818Z] 4872d77fe225: Pulling fs layer [2023-08-10T02:42:30.818Z] 5851b861e8e6: Pulling fs layer [2023-08-10T02:42:30.818Z] bab4dde63d76: Waiting [2023-08-10T02:42:30.818Z] bde34c3a00c8: Waiting [2023-08-10T02:42:30.818Z] 4872d77fe225: Waiting [2023-08-10T02:42:30.818Z] 5851b861e8e6: Waiting [2023-08-10T02:42:30.818Z] b352a97aabf1: Waiting [2023-08-10T02:42:30.818Z] 988bab9f4d93: Waiting [2023-08-10T02:42:30.818Z] 1469e6f7b9e6: Waiting [2023-08-10T02:42:30.818Z] eaf3925da568: Waiting [2023-08-10T02:42:30.818Z] e2be974225ed: Download complete [2023-08-10T02:42:30.818Z] 988bab9f4d93: Verifying Checksum [2023-08-10T02:42:30.818Z] 988bab9f4d93: Download complete [2023-08-10T02:42:30.818Z] 1469e6f7b9e6: Verifying Checksum [2023-08-10T02:42:30.818Z] 1469e6f7b9e6: Download complete [2023-08-10T02:42:31.076Z] eaf3925da568: Verifying Checksum [2023-08-10T02:42:31.076Z] eaf3925da568: Download complete [2023-08-10T02:42:31.076Z] 339a4e72a1f5: Verifying Checksum [2023-08-10T02:42:31.076Z] 339a4e72a1f5: Download complete [2023-08-10T02:42:31.076Z] bde34c3a00c8: Verifying Checksum [2023-08-10T02:42:31.076Z] bde34c3a00c8: Download complete [2023-08-10T02:42:31.076Z] b352a97aabf1: Verifying Checksum [2023-08-10T02:42:31.076Z] b352a97aabf1: Download complete [2023-08-10T02:42:31.076Z] 4872d77fe225: Verifying Checksum [2023-08-10T02:42:31.076Z] 4872d77fe225: Download complete [2023-08-10T02:42:31.076Z] 5851b861e8e6: Download complete [2023-08-10T02:42:31.076Z] b85a868b505f: Verifying Checksum [2023-08-10T02:42:31.076Z] b85a868b505f: Download complete [2023-08-10T02:42:31.335Z] bab4dde63d76: Verifying Checksum [2023-08-10T02:42:31.335Z] bab4dde63d76: Download complete [2023-08-10T02:42:32.273Z] b85a868b505f: Pull complete [2023-08-10T02:42:32.273Z] e2be974225ed: Pull complete [2023-08-10T02:42:32.839Z] 339a4e72a1f5: Pull complete [2023-08-10T02:42:32.839Z] 988bab9f4d93: Pull complete [2023-08-10T02:42:33.097Z] 1469e6f7b9e6: Pull complete [2023-08-10T02:42:33.097Z] eaf3925da568: Pull complete [2023-08-10T02:42:34.998Z] bab4dde63d76: Pull complete [2023-08-10T02:42:34.998Z] bde34c3a00c8: Pull complete [2023-08-10T02:42:34.998Z] b352a97aabf1: Pull complete [2023-08-10T02:42:35.258Z] 4872d77fe225: Pull complete [2023-08-10T02:42:35.258Z] 5851b861e8e6: Pull complete [2023-08-10T02:42:35.258Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-10T02:42:35.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T02:42:35.258Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:42:35.352Z] prd-ubuntu20.04-docker-8c-8g-3267 does not seem to be running inside a container [2023-08-10T02:42:35.384Z] $ 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-08-10T02:42:39.300Z] $ docker top 8edd28bbdbd719a0ff2902ab2feed26f5c976135d00414f693ebbd03ea60129d -eo pid,comm [2023-08-10T02:42:39.349Z] 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-08-10T02:42:39.349Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-10T02:42:39.388Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T02:42:39.388Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T02:42:39.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T02:42:39.508Z] $ docker exec 8edd28bbdbd719a0ff2902ab2feed26f5c976135d00414f693ebbd03ea60129d ssh-agent [2023-08-10T02:42:39.605Z] SSH_AUTH_SOCK=/tmp/ssh-0Ko25IrztWj5/agent.32 [2023-08-10T02:42:39.605Z] SSH_AGENT_PID=38 [2023-08-10T02:42:39.610Z] Running ssh-add (command line suppressed) [2023-08-10T02:42:39.706Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14356398038846229510.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14356398038846229510.key) [2023-08-10T02:42:39.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T02:42:40.003Z] + git tag --points-at HEAD [Pipeline] } [2023-08-10T02:42:40.022Z] $ docker exec --env ******** --env ******** 8edd28bbdbd719a0ff2902ab2feed26f5c976135d00414f693ebbd03ea60129d ssh-agent -k [2023-08-10T02:42:40.112Z] unset SSH_AUTH_SOCK; [2023-08-10T02:42:40.112Z] unset SSH_AGENT_PID; [2023-08-10T02:42:40.113Z] echo Agent pid 38 killed; [2023-08-10T02:42:40.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-10T02:42:40.146Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T02:42:40.146Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T02:42:40.256Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T02:42:40.262Z] $ docker exec 8edd28bbdbd719a0ff2902ab2feed26f5c976135d00414f693ebbd03ea60129d ssh-agent [2023-08-10T02:42:40.353Z] SSH_AUTH_SOCK=/tmp/ssh-ftKhdkGw1GpR/agent.70 [2023-08-10T02:42:40.354Z] SSH_AGENT_PID=77 [2023-08-10T02:42:40.357Z] Running ssh-add (command line suppressed) [2023-08-10T02:42:40.460Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11254521743646604304.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11254521743646604304.key) [2023-08-10T02:42:40.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T02:42:40.762Z] + git semver init [2023-08-10T02:42:41.022Z] 2023-08-10 02:42:40,932 [run_init] DEBUG init version:0.0.0 force:False [2023-08-10T02:42:41.022Z] 2023-08-10 02:42:40,933 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-08-10T02:42:41.022Z] 2023-08-10 02:42:40,933 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-08-10T02:42:41.022Z] 2023-08-10 02:42:40,934 [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-08-10T02:42:41.959Z] 2023-08-10 02:42:41,754 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-08-10T02:42:41.959Z] 2023-08-10 02:42:41,755 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-08-10T02:42:41.959Z] 2023-08-10 02:42:41,755 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-10T02:42:41.959Z] 2023-08-10 02:42:41,755 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-10T02:42:41.959Z] 3.1.0-dev.4 [Pipeline] } [2023-08-10T02:42:41.973Z] $ docker exec --env ******** --env ******** 8edd28bbdbd719a0ff2902ab2feed26f5c976135d00414f693ebbd03ea60129d ssh-agent -k [2023-08-10T02:42:42.079Z] unset SSH_AUTH_SOCK; [2023-08-10T02:42:42.080Z] unset SSH_AGENT_PID; [2023-08-10T02:42:42.080Z] echo Agent pid 77 killed; [2023-08-10T02:42:42.090Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T02:42:42.407Z] + git semver [Pipeline] } [2023-08-10T02:42:42.683Z] $ docker stop --time=1 8edd28bbdbd719a0ff2902ab2feed26f5c976135d00414f693ebbd03ea60129d [2023-08-10T02:42:43.970Z] $ docker rm -f --volumes 8edd28bbdbd719a0ff2902ab2feed26f5c976135d00414f693ebbd03ea60129d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-10T02:42:44.302Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-10T02:42:44.520Z] Stashed 1 file(s) [Pipeline] echo [2023-08-10T02:42:44.523Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.4 [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-08-10T02:42:44.663Z] provisioning config files... [2023-08-10T02:42:44.674Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16642174873920253100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:42:44.976Z] ---> docker-login.sh [2023-08-10T02:42:44.976Z] nexus3.edgexfoundry.org:10001 [2023-08-10T02:42:44.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:42:44.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:42:44.976Z] Configure a credential helper to remove this warning. See [2023-08-10T02:42:44.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:42:44.976Z] [2023-08-10T02:42:44.976Z] Login Succeeded [2023-08-10T02:42:44.976Z] nexus3.edgexfoundry.org:10002 [2023-08-10T02:42:44.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:42:44.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:42:44.976Z] Configure a credential helper to remove this warning. See [2023-08-10T02:42:44.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:42:44.976Z] [2023-08-10T02:42:44.976Z] Login Succeeded [2023-08-10T02:42:44.976Z] nexus3.edgexfoundry.org:10003 [2023-08-10T02:42:45.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:42:45.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:42:45.236Z] Configure a credential helper to remove this warning. See [2023-08-10T02:42:45.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:42:45.236Z] [2023-08-10T02:42:45.236Z] Login Succeeded [2023-08-10T02:42:45.236Z] nexus3.edgexfoundry.org:10004 [2023-08-10T02:42:45.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:42:45.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:42:45.236Z] Configure a credential helper to remove this warning. See [2023-08-10T02:42:45.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:42:45.236Z] [2023-08-10T02:42:45.236Z] Login Succeeded [2023-08-10T02:42:45.236Z] docker.io [2023-08-10T02:42:45.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:42:45.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:42:45.495Z] Configure a credential helper to remove this warning. See [2023-08-10T02:42:45.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:42:45.495Z] [2023-08-10T02:42:45.495Z] Login Succeeded [2023-08-10T02:42:45.495Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T02:42:45.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-10T02:42:45.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T02:42:45.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T02:42:45.597Z] ========================================================= [2023-08-10T02:42:45.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-10T02:42:45.597Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:42:45.915Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-10T02:42:45.915Z] Sending build context to Docker daemon 6.364MB [2023-08-10T02:42:45.915Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-10T02:42:45.915Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-10T02:42:45.915Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-10T02:42:45.915Z] 4db1b89c0bd1: Pulling fs layer [2023-08-10T02:42:45.915Z] 6911f1a30b25: Pulling fs layer [2023-08-10T02:42:45.915Z] e194b8c5c2a9: Pulling fs layer [2023-08-10T02:42:45.915Z] 6863d3e3a2b1: Pulling fs layer [2023-08-10T02:42:45.915Z] ec0bb842ea78: Pulling fs layer [2023-08-10T02:42:45.915Z] 40a00589a448: Pulling fs layer [2023-08-10T02:42:45.915Z] 6c08303d61cc: Pulling fs layer [2023-08-10T02:42:45.915Z] 798269fcf238: Pulling fs layer [2023-08-10T02:42:45.915Z] 40a00589a448: Waiting [2023-08-10T02:42:45.915Z] ec0bb842ea78: Waiting [2023-08-10T02:42:45.915Z] 6c08303d61cc: Waiting [2023-08-10T02:42:45.915Z] 798269fcf238: Waiting [2023-08-10T02:42:45.915Z] 6911f1a30b25: Download complete [2023-08-10T02:42:45.915Z] 6863d3e3a2b1: Verifying Checksum [2023-08-10T02:42:45.915Z] 6863d3e3a2b1: Download complete [2023-08-10T02:42:45.915Z] ec0bb842ea78: Verifying Checksum [2023-08-10T02:42:45.915Z] ec0bb842ea78: Download complete [2023-08-10T02:42:46.176Z] 4db1b89c0bd1: Verifying Checksum [2023-08-10T02:42:46.176Z] 4db1b89c0bd1: Download complete [2023-08-10T02:42:46.176Z] 40a00589a448: Verifying Checksum [2023-08-10T02:42:46.176Z] 40a00589a448: Download complete [2023-08-10T02:42:46.176Z] 4db1b89c0bd1: Pull complete [2023-08-10T02:42:46.439Z] 6911f1a30b25: Pull complete [2023-08-10T02:42:46.700Z] 798269fcf238: Verifying Checksum [2023-08-10T02:42:46.700Z] 798269fcf238: Download complete [2023-08-10T02:42:46.700Z] e194b8c5c2a9: Verifying Checksum [2023-08-10T02:42:46.700Z] e194b8c5c2a9: Download complete [2023-08-10T02:42:46.958Z] 6c08303d61cc: Verifying Checksum [2023-08-10T02:42:46.958Z] 6c08303d61cc: Download complete [2023-08-10T02:42:50.242Z] e194b8c5c2a9: Pull complete [2023-08-10T02:42:50.242Z] 6863d3e3a2b1: Pull complete [2023-08-10T02:42:50.242Z] ec0bb842ea78: Pull complete [2023-08-10T02:42:50.242Z] 40a00589a448: Pull complete [2023-08-10T02:42:52.145Z] 6c08303d61cc: Pull complete [2023-08-10T02:42:53.076Z] 798269fcf238: Pull complete [2023-08-10T02:42:53.076Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-10T02:42:53.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-10T02:42:53.076Z] ---> ec979cd7f677 [2023-08-10T02:42:53.076Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-08-10T02:42:59.622Z] Still waiting to schedule task [2023-08-10T02:42:59.622Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-10T02:43:01.197Z] ---> Running in 80d98d7bcd30 [2023-08-10T02:43:01.197Z] Removing intermediate container 80d98d7bcd30 [2023-08-10T02:43:01.197Z] ---> a187b877b3b4 [2023-08-10T02:43:01.197Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-10T02:43:01.197Z] ---> Running in 671c85e2c419 [2023-08-10T02:43:01.197Z] Removing intermediate container 671c85e2c419 [2023-08-10T02:43:01.197Z] ---> a8fea70f287c [2023-08-10T02:43:01.197Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-08-10T02:43:01.197Z] ---> Running in dbe9b3848337 [2023-08-10T02:43:01.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-10T02:43:01.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-10T02:43:01.197Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-08-10T02:43:01.197Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-08-10T02:43:01.197Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-08-10T02:43:01.197Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-08-10T02:43:01.197Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-08-10T02:43:01.197Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-08-10T02:43:01.197Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-08-10T02:43:01.197Z] (8/8) Installing openssh (9.1_p1-r4) [2023-08-10T02:43:01.197Z] Executing busybox-1.35.0-r29.trigger [2023-08-10T02:43:01.197Z] OK: 270 MiB in 61 packages [2023-08-10T02:43:01.772Z] Removing intermediate container dbe9b3848337 [2023-08-10T02:43:01.772Z] ---> 5ef28ab001c1 [2023-08-10T02:43:01.772Z] Step 6/10 : WORKDIR /device-modbus-go [2023-08-10T02:43:01.772Z] ---> Running in b6a2e919b977 [2023-08-10T02:43:01.772Z] Removing intermediate container b6a2e919b977 [2023-08-10T02:43:01.772Z] ---> 25f8fd9fbc6d [2023-08-10T02:43:01.772Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-10T02:43:01.772Z] ---> ba5c45e30f41 [2023-08-10T02:43:01.772Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-10T02:43:01.772Z] ---> Running in 83f05e9c9d79 [2023-08-10T02:43:58.058Z] Removing intermediate container 83f05e9c9d79 [2023-08-10T02:43:58.058Z] ---> 619fe8ab15a7 [2023-08-10T02:43:58.058Z] Step 9/10 : COPY . . [2023-08-10T02:43:58.058Z] ---> 11d340b28142 [2023-08-10T02:43:58.058Z] Step 10/10 : RUN ${MAKE} [2023-08-10T02:43:58.058Z] ---> Running in b36aaafabaa2 [2023-08-10T02:43:58.058Z] noop [2023-08-10T02:43:58.058Z] Removing intermediate container b36aaafabaa2 [2023-08-10T02:43:58.058Z] ---> 323d4a30d077 [2023-08-10T02:43:58.058Z] Successfully built 323d4a30d077 [2023-08-10T02:43:58.058Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:43:58.374Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-10T02:43:58.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:43:58.446Z] prd-ubuntu20.04-docker-8c-8g-3267 does not seem to be running inside a container [2023-08-10T02:43:58.479Z] $ 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-08-10T02:43:58.818Z] $ docker top 00e0271bbbdc439a2c271b7a9c969bb0bb1f2f442a9864bf2d683c78d789a9d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T02:43:59.157Z] + go version [2023-08-10T02:43:59.157Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-10T02:43:59.172Z] $ docker stop --time=1 00e0271bbbdc439a2c271b7a9c969bb0bb1f2f442a9864bf2d683c78d789a9d8 [2023-08-10T02:44:00.410Z] $ docker rm -f --volumes 00e0271bbbdc439a2c271b7a9c969bb0bb1f2f442a9864bf2d683c78d789a9d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:44:00.820Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-10T02:44:00.820Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:44:00.891Z] prd-ubuntu20.04-docker-8c-8g-3267 does not seem to be running inside a container [2023-08-10T02:44:00.923Z] $ 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-08-10T02:44:01.252Z] $ docker top 555e11c06c10084010b26da5384eadfedef0e960aa03a3bc0cf1b57e40e5b8b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T02:44:01.592Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-10T02:44:01.884Z] + make test [2023-08-10T02:44:01.884Z] go test ./... -coverprofile=coverage.out [2023-08-10T02:44:06.464Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-08-10T02:44:16.433Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-08-10T02:44:16.433Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.9% of statements [2023-08-10T02:44:21.690Z] go vet ./... [2023-08-10T02:44:24.968Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-10T02:44:24.968Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-10T02:44:24.968Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-10T02:44:24.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-10T02:44:24.998Z] $ docker stop --time=1 555e11c06c10084010b26da5384eadfedef0e960aa03a3bc0cf1b57e40e5b8b3 [2023-08-10T02:44:29.393Z] $ docker rm -f --volumes 555e11c06c10084010b26da5384eadfedef0e960aa03a3bc0cf1b57e40e5b8b3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-10T02:44:29.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-10T02:44:29.910Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-10T02:44:30.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-10T02:44:30.813Z] + ls -al . [2023-08-10T02:44:30.813Z] total 188 [2023-08-10T02:44:30.813Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 02:44 . [2023-08-10T02:44:30.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 02:42 .. [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 10 02:42 .dockerignore [2023-08-10T02:44:30.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 02:42 .git [2023-08-10T02:44:30.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 02:42 .github [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 10 02:42 .gitignore [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 10 02:42 .golangci.yml [2023-08-10T02:44:30.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 02:42 .semver [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 10032 Aug 10 02:42 Attribution.txt [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 14764 Aug 10 02:42 CHANGELOG.md [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 1365 Aug 10 02:42 Dockerfile [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 02:42 GOVERNANCE.md [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 10 02:42 Jenkinsfile [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 10 02:42 LICENSE [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 1705 Aug 10 02:42 Makefile [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 10 02:42 OWNERS.md [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 4578 Aug 10 02:42 README.md [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 10 02:42 VERSION [2023-08-10T02:44:30.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 02:42 bin [2023-08-10T02:44:30.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 02:42 cmd [2023-08-10T02:44:30.813Z] -rw-r--r-- 1 jenkins jenkins 24334 Aug 10 02:44 coverage.out [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 3405 Aug 10 02:42 go.mod [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 31664 Aug 10 02:42 go.sum [2023-08-10T02:44:30.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 02:42 internal [2023-08-10T02:44:30.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 02:42 simulator [2023-08-10T02:44:30.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 02:42 snap [2023-08-10T02:44:30.813Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 10 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:44:31.195Z] + 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=1035885eab2253e2bed58002dbe5aaa8ab8aecd1 --label arch=amd64 --label version=3.1.0-dev.4 . [2023-08-10T02:44:31.195Z] Sending build context to Docker daemon 6.389MB [2023-08-10T02:44:31.195Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-08-10T02:44:31.195Z] Step 2/22 : FROM ${BASE} AS builder [2023-08-10T02:44:31.195Z] ---> 323d4a30d077 [2023-08-10T02:44:31.195Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-08-10T02:44:31.195Z] ---> Running in 56ce7a628bd5 [2023-08-10T02:44:31.461Z] Removing intermediate container 56ce7a628bd5 [2023-08-10T02:44:31.461Z] ---> a9a18dcc31bd [2023-08-10T02:44:31.461Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-10T02:44:31.461Z] ---> Running in 9062d706754e [2023-08-10T02:44:31.461Z] Removing intermediate container 9062d706754e [2023-08-10T02:44:31.461Z] ---> 5a54fa99c938 [2023-08-10T02:44:31.461Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-08-10T02:44:31.461Z] ---> Running in 979ae2cd548b [2023-08-10T02:44:31.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-10T02:44:31.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-10T02:44:32.243Z] OK: 270 MiB in 61 packages [2023-08-10T02:44:32.503Z] Removing intermediate container 979ae2cd548b [2023-08-10T02:44:32.503Z] ---> 256434e315b1 [2023-08-10T02:44:32.503Z] Step 6/22 : WORKDIR /device-modbus-go [2023-08-10T02:44:32.503Z] ---> Running in 55158d65e0e3 [2023-08-10T02:44:32.503Z] Removing intermediate container 55158d65e0e3 [2023-08-10T02:44:32.503Z] ---> 06330a1a0eec [2023-08-10T02:44:32.503Z] Step 7/22 : COPY go.mod vendor* ./ [2023-08-10T02:44:32.711Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3268 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-08-10T02:44:32.725Z] Running in /w/workspace/device-modbus-go/117 [Pipeline] { [Pipeline] checkout [2023-08-10T02:44:32.753Z] Selected Git installation does not exist. Using Default [2023-08-10T02:44:32.753Z] The recommended git tool is: NONE [2023-08-10T02:44:32.762Z] ---> d6270bb5f012 [2023-08-10T02:44:32.762Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-10T02:44:32.762Z] ---> Running in f0ef386fa552 [2023-08-10T02:44:33.328Z] Removing intermediate container f0ef386fa552 [2023-08-10T02:44:33.328Z] ---> e3b0b2235ad1 [2023-08-10T02:44:33.328Z] Step 9/22 : COPY . . [2023-08-10T02:44:33.893Z] ---> a45723ef8e89 [2023-08-10T02:44:33.893Z] Step 10/22 : RUN ${MAKE} [2023-08-10T02:44:33.893Z] ---> Running in 91b3f0b0c53c [2023-08-10T02:44:33.893Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-08-10T02:44:37.734Z] using credential edgex-jenkins-ssh [2023-08-10T02:44:37.750Z] Cloning the remote Git repository [2023-08-10T02:44:37.794Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-08-10T02:44:37.887Z] > git init /w/workspace/device-modbus-go/117 # timeout=10 [2023-08-10T02:44:38.022Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-08-10T02:44:38.023Z] > git --version # timeout=10 [2023-08-10T02:44:38.042Z] > git --version # 'git version 2.25.1' [2023-08-10T02:44:38.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-10T02:44:38.183Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-10T02:44:39.953Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-08-10T02:44:39.974Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-10T02:44:40.757Z] Avoid second fetch [2023-08-10T02:44:40.758Z] Checking out Revision 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 (main) [2023-08-10T02:44:41.280Z] Commit message: "Merge pull request #492 from mglmc/modbus-int32RAW-float64type" [2023-08-10T02:44:40.774Z] > git config core.sparsecheckout # timeout=10 [2023-08-10T02:44:40.841Z] > git checkout -f 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-10T02:44:42.192Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-10T02:44:42.192Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-10T02:44:42.192Z] Dload Upload Total Spent Left Speed [2023-08-10T02:44:42.192Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-08-10T02:44:42.812Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-10T02:44:43.129Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-10T02:44:43.129Z] + sudo tee /etc/docker/daemon.new [2023-08-10T02:44:43.129Z] { [2023-08-10T02:44:43.129Z] "registry-mirrors": [ [2023-08-10T02:44:43.129Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-10T02:44:43.129Z] ], [2023-08-10T02:44:43.129Z] "bip": "10.250.0.254/24", [2023-08-10T02:44:43.129Z] "hosts": [ [2023-08-10T02:44:43.129Z] "tcp://0.0.0.0:5555", [2023-08-10T02:44:43.129Z] "unix:///var/run/docker.sock" [2023-08-10T02:44:43.129Z] ], [2023-08-10T02:44:43.129Z] "mtu": 1458, [2023-08-10T02:44:43.129Z] "selinux-enabled": true, [2023-08-10T02:44:43.129Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-10T02:44:43.129Z] } [Pipeline] sh [2023-08-10T02:44:43.457Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-10T02:44:43.800Z] + sudo service docker restart [2023-08-10T02:45:00.440Z] Removing intermediate container 91b3f0b0c53c [2023-08-10T02:45:00.440Z] ---> 00105d3d06e2 [2023-08-10T02:45:00.440Z] Step 11/22 : FROM alpine:3.17 [2023-08-10T02:45:00.440Z] 3.17: Pulling from library/alpine [2023-08-10T02:45:00.440Z] 9398808236ff: Pulling fs layer [2023-08-10T02:45:00.440Z] 9398808236ff: Verifying Checksum [2023-08-10T02:45:00.440Z] 9398808236ff: Download complete [2023-08-10T02:45:00.440Z] 9398808236ff: Pull complete [2023-08-10T02:45:00.440Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-10T02:45:00.440Z] Status: Downloaded newer image for alpine:3.17 [2023-08-10T02:45:00.440Z] ---> 1e0b8b5322fc [2023-08-10T02:45:00.440Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-08-10T02:45:00.440Z] ---> Running in b8a0f9f89f14 [2023-08-10T02:45:00.440Z] Removing intermediate container b8a0f9f89f14 [2023-08-10T02:45:00.440Z] ---> 6a12889701f5 [2023-08-10T02:45:00.440Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-08-10T02:45:00.440Z] ---> Running in 1f037d0f8443 [2023-08-10T02:45:00.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-10T02:45:00.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-10T02:45:00.440Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-10T02:45:00.440Z] Executing busybox-1.35.0-r29.trigger [2023-08-10T02:45:00.440Z] OK: 7 MiB in 16 packages [2023-08-10T02:45:00.440Z] Removing intermediate container 1f037d0f8443 [2023-08-10T02:45:00.440Z] ---> 852405a71e5f [2023-08-10T02:45:00.440Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-08-10T02:45:00.440Z] ---> 755c17949050 [2023-08-10T02:45:00.440Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-08-10T02:45:00.440Z] ---> fdca4208fbc0 [2023-08-10T02:45:00.440Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-08-10T02:45:00.440Z] ---> 7e0cca4f7c51 [2023-08-10T02:45:00.440Z] Step 17/22 : EXPOSE 59901 [2023-08-10T02:45:00.440Z] ---> Running in baf7230c110d [2023-08-10T02:45:00.440Z] Removing intermediate container baf7230c110d [2023-08-10T02:45:00.440Z] ---> a23e51fe6dad [2023-08-10T02:45:00.440Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-08-10T02:45:00.440Z] ---> Running in 1722a0c4e0a0 [2023-08-10T02:45:00.440Z] Removing intermediate container 1722a0c4e0a0 [2023-08-10T02:45:00.440Z] ---> 13b16a253d69 [2023-08-10T02:45:00.440Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-10T02:45:00.440Z] ---> Running in db46e20978f0 [2023-08-10T02:45:00.440Z] Removing intermediate container db46e20978f0 [2023-08-10T02:45:00.440Z] ---> 6e512748221b [2023-08-10T02:45:00.440Z] Step 20/22 : LABEL arch=amd64 [2023-08-10T02:45:00.440Z] ---> Running in 864a61236e6f [2023-08-10T02:45:00.440Z] Removing intermediate container 864a61236e6f [2023-08-10T02:45:00.440Z] ---> 863ec65d3922 [2023-08-10T02:45:00.440Z] Step 21/22 : LABEL git_sha=1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [2023-08-10T02:45:00.440Z] ---> Running in aa3fcd76bf57 [2023-08-10T02:45:00.700Z] Removing intermediate container aa3fcd76bf57 [2023-08-10T02:45:00.700Z] ---> c693ba2e2585 [2023-08-10T02:45:00.700Z] Step 22/22 : LABEL version=3.1.0-dev.4 [2023-08-10T02:45:00.700Z] ---> Running in 54b8ea9dd6eb [2023-08-10T02:45:00.700Z] Removing intermediate container 54b8ea9dd6eb [2023-08-10T02:45:00.700Z] ---> b563c29a2249 [2023-08-10T02:45:00.700Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-10T02:45:00.700Z] Successfully built b563c29a2249 [2023-08-10T02:45:00.700Z] 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-08-10T02:45:00.819Z] provisioning config files... [2023-08-10T02:45:00.827Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14298149872509143106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:45:01.127Z] ---> docker-login.sh [2023-08-10T02:45:01.127Z] nexus3.edgexfoundry.org:10001 [2023-08-10T02:45:01.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:45:01.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:45:01.127Z] Configure a credential helper to remove this warning. See [2023-08-10T02:45:01.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:45:01.127Z] [2023-08-10T02:45:01.127Z] Login Succeeded [2023-08-10T02:45:01.127Z] nexus3.edgexfoundry.org:10002 [2023-08-10T02:45:01.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:45:01.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:45:01.127Z] Configure a credential helper to remove this warning. See [2023-08-10T02:45:01.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:45:01.127Z] [2023-08-10T02:45:01.127Z] Login Succeeded [2023-08-10T02:45:01.127Z] nexus3.edgexfoundry.org:10003 [2023-08-10T02:45:01.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:45:01.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:45:01.390Z] Configure a credential helper to remove this warning. See [2023-08-10T02:45:01.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:45:01.390Z] [2023-08-10T02:45:01.390Z] Login Succeeded [2023-08-10T02:45:01.390Z] nexus3.edgexfoundry.org:10004 [2023-08-10T02:45:01.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:45:01.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:45:01.390Z] Configure a credential helper to remove this warning. See [2023-08-10T02:45:01.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:45:01.390Z] [2023-08-10T02:45:01.390Z] Login Succeeded [2023-08-10T02:45:01.390Z] docker.io [2023-08-10T02:45:01.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:45:01.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:45:01.912Z] Configure a credential helper to remove this warning. See [2023-08-10T02:45:01.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:45:01.912Z] [2023-08-10T02:45:01.912Z] Login Succeeded [2023-08-10T02:45:01.912Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T02:45:01.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-10T02:45:01.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T02:45:01.968Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-08-10T02:45:01.968Z] 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [2023-08-10T02:45:01.968Z] latest [2023-08-10T02:45:01.968Z] 3.1.0-dev.4 [2023-08-10T02:45:01.968Z] 1035885eab2253e2bed58002dbe5aaa8ab8aecd1-3.1.0-dev.4 [2023-08-10T02:45:01.968Z] main [2023-08-10T02:45:01.968Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T02:45:02.041Z] provisioning config files... [2023-08-10T02:45:02.067Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/117@tmp/config17361172912719045110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:45:02.277Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:02.416Z] ---> docker-login.sh [2023-08-10T02:45:02.416Z] nexus3.edgexfoundry.org:10001 [2023-08-10T02:45:02.588Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [2023-08-10T02:45:02.588Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-10T02:45:02.588Z] ae38d4f15e4b: Preparing [2023-08-10T02:45:02.588Z] b7d9c95838fd: Preparing [2023-08-10T02:45:02.588Z] 94c409d7f8d3: Preparing [2023-08-10T02:45:02.588Z] 44a7c1dc285f: Preparing [2023-08-10T02:45:02.588Z] 36b50b131297: Preparing [2023-08-10T02:45:02.588Z] 36b50b131297: Layer already exists [2023-08-10T02:45:02.588Z] 44a7c1dc285f: Pushed [2023-08-10T02:45:02.588Z] ae38d4f15e4b: Pushed [2023-08-10T02:45:02.588Z] b7d9c95838fd: Pushed [2023-08-10T02:45:02.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:45:02.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:45:02.959Z] Configure a credential helper to remove this warning. See [2023-08-10T02:45:02.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:45:02.959Z] [2023-08-10T02:45:02.959Z] Login Succeeded [2023-08-10T02:45:02.959Z] nexus3.edgexfoundry.org:10002 [2023-08-10T02:45:03.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:45:03.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:45:03.497Z] Configure a credential helper to remove this warning. See [2023-08-10T02:45:03.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:45:03.497Z] [2023-08-10T02:45:03.497Z] Login Succeeded [2023-08-10T02:45:03.497Z] nexus3.edgexfoundry.org:10003 [2023-08-10T02:45:03.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:45:03.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:45:03.776Z] Configure a credential helper to remove this warning. See [2023-08-10T02:45:03.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:45:03.776Z] [2023-08-10T02:45:03.776Z] Login Succeeded [2023-08-10T02:45:03.776Z] nexus3.edgexfoundry.org:10004 [2023-08-10T02:45:04.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:45:04.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:45:04.045Z] Configure a credential helper to remove this warning. See [2023-08-10T02:45:04.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:45:04.045Z] [2023-08-10T02:45:04.045Z] Login Succeeded [2023-08-10T02:45:04.045Z] docker.io [2023-08-10T02:45:04.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:45:04.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:45:04.900Z] Configure a credential helper to remove this warning. See [2023-08-10T02:45:04.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:45:04.900Z] [2023-08-10T02:45:04.900Z] Login Succeeded [2023-08-10T02:45:04.900Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T02:45:04.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-10T02:45:05.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T02:45:05.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T02:45:05.199Z] ========================================================= [2023-08-10T02:45:05.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-10T02:45:05.199Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:05.552Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-10T02:45:05.877Z] 94c409d7f8d3: Pushed [2023-08-10T02:45:05.877Z] 1035885eab2253e2bed58002dbe5aaa8ab8aecd1: digest: sha256:ffd92a17b7d595d1e553564f9aa91ab5c81d597a7face5fe8e06a752b679837e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:06.190Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:06.496Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-08-10T02:45:06.496Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-10T02:45:06.496Z] ae38d4f15e4b: Preparing [2023-08-10T02:45:06.496Z] b7d9c95838fd: Preparing [2023-08-10T02:45:06.496Z] 94c409d7f8d3: Preparing [2023-08-10T02:45:06.496Z] 44a7c1dc285f: Preparing [2023-08-10T02:45:06.496Z] 36b50b131297: Preparing [2023-08-10T02:45:06.496Z] 36b50b131297: Layer already exists [2023-08-10T02:45:06.496Z] 94c409d7f8d3: Layer already exists [2023-08-10T02:45:06.496Z] ae38d4f15e4b: Layer already exists [2023-08-10T02:45:06.496Z] b7d9c95838fd: Layer already exists [2023-08-10T02:45:06.496Z] 44a7c1dc285f: Layer already exists [2023-08-10T02:45:06.496Z] latest: digest: sha256:ffd92a17b7d595d1e553564f9aa91ab5c81d597a7face5fe8e06a752b679837e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:06.817Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:07.122Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.4 [2023-08-10T02:45:07.122Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-10T02:45:07.122Z] ae38d4f15e4b: Preparing [2023-08-10T02:45:07.122Z] b7d9c95838fd: Preparing [2023-08-10T02:45:07.122Z] 94c409d7f8d3: Preparing [2023-08-10T02:45:07.122Z] 44a7c1dc285f: Preparing [2023-08-10T02:45:07.122Z] 36b50b131297: Preparing [2023-08-10T02:45:07.122Z] 44a7c1dc285f: Layer already exists [2023-08-10T02:45:07.122Z] 36b50b131297: Layer already exists [2023-08-10T02:45:07.122Z] ae38d4f15e4b: Layer already exists [2023-08-10T02:45:07.122Z] 94c409d7f8d3: Layer already exists [2023-08-10T02:45:07.122Z] b7d9c95838fd: Layer already exists [2023-08-10T02:45:07.122Z] 3.1.0-dev.4: digest: sha256:ffd92a17b7d595d1e553564f9aa91ab5c81d597a7face5fe8e06a752b679837e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:07.435Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1035885eab2253e2bed58002dbe5aaa8ab8aecd1-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:07.503Z] Sending build context to Docker daemon 3.299MB [2023-08-10T02:45:07.503Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-10T02:45:07.503Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-10T02:45:07.503Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-10T02:45:07.503Z] edb6bdbacee9: Pulling fs layer [2023-08-10T02:45:07.503Z] 5f9638ab2659: Pulling fs layer [2023-08-10T02:45:07.503Z] 8d51d6327a98: Pulling fs layer [2023-08-10T02:45:07.503Z] 8b374f2dd631: Pulling fs layer [2023-08-10T02:45:07.503Z] ec14aa9079de: Pulling fs layer [2023-08-10T02:45:07.503Z] 2f466654f4bb: Pulling fs layer [2023-08-10T02:45:07.503Z] 554e91adad29: Pulling fs layer [2023-08-10T02:45:07.503Z] 8b374f2dd631: Waiting [2023-08-10T02:45:07.503Z] ec14aa9079de: Waiting [2023-08-10T02:45:07.503Z] 554e91adad29: Waiting [2023-08-10T02:45:07.503Z] 5f9638ab2659: Verifying Checksum [2023-08-10T02:45:07.503Z] 5f9638ab2659: Download complete [2023-08-10T02:45:07.503Z] 8b374f2dd631: Verifying Checksum [2023-08-10T02:45:07.503Z] 8b374f2dd631: Download complete [2023-08-10T02:45:07.503Z] ec14aa9079de: Verifying Checksum [2023-08-10T02:45:07.503Z] ec14aa9079de: Download complete [2023-08-10T02:45:07.503Z] edb6bdbacee9: Verifying Checksum [2023-08-10T02:45:07.503Z] edb6bdbacee9: Download complete [2023-08-10T02:45:07.743Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1035885eab2253e2bed58002dbe5aaa8ab8aecd1-3.1.0-dev.4 [2023-08-10T02:45:07.743Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-10T02:45:07.743Z] ae38d4f15e4b: Preparing [2023-08-10T02:45:07.743Z] b7d9c95838fd: Preparing [2023-08-10T02:45:07.743Z] 94c409d7f8d3: Preparing [2023-08-10T02:45:07.743Z] 44a7c1dc285f: Preparing [2023-08-10T02:45:07.743Z] 36b50b131297: Preparing [2023-08-10T02:45:07.743Z] b7d9c95838fd: Layer already exists [2023-08-10T02:45:07.743Z] 44a7c1dc285f: Layer already exists [2023-08-10T02:45:07.743Z] 36b50b131297: Layer already exists [2023-08-10T02:45:07.743Z] 94c409d7f8d3: Layer already exists [2023-08-10T02:45:07.743Z] ae38d4f15e4b: Layer already exists [2023-08-10T02:45:07.743Z] 1035885eab2253e2bed58002dbe5aaa8ab8aecd1-3.1.0-dev.4: digest: sha256:ffd92a17b7d595d1e553564f9aa91ab5c81d597a7face5fe8e06a752b679837e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:08.065Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:08.378Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-08-10T02:45:08.378Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-08-10T02:45:08.378Z] ae38d4f15e4b: Preparing [2023-08-10T02:45:08.378Z] b7d9c95838fd: Preparing [2023-08-10T02:45:08.378Z] 94c409d7f8d3: Preparing [2023-08-10T02:45:08.378Z] 44a7c1dc285f: Preparing [2023-08-10T02:45:08.378Z] 36b50b131297: Preparing [2023-08-10T02:45:08.378Z] 36b50b131297: Layer already exists [2023-08-10T02:45:08.378Z] 44a7c1dc285f: Layer already exists [2023-08-10T02:45:08.378Z] ae38d4f15e4b: Layer already exists [2023-08-10T02:45:08.378Z] b7d9c95838fd: Layer already exists [2023-08-10T02:45:08.378Z] 94c409d7f8d3: Layer already exists [2023-08-10T02:45:08.378Z] main: digest: sha256:ffd92a17b7d595d1e553564f9aa91ab5c81d597a7face5fe8e06a752b679837e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-10T02:45:08.418Z] ===================================================== [Pipeline] echo [2023-08-10T02:45:08.425Z] taggedImages: [2023-08-10T02:45:08.425Z] - nexus3.edgexfoundry.org:10004/device-modbus:1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [2023-08-10T02:45:08.425Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-08-10T02:45:08.425Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.4 [2023-08-10T02:45:08.425Z] - nexus3.edgexfoundry.org:10004/device-modbus:1035885eab2253e2bed58002dbe5aaa8ab8aecd1-3.1.0-dev.4 [2023-08-10T02:45:08.425Z] - 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] } [2023-08-10T02:45:08.478Z] edb6bdbacee9: Pull complete [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:08.748Z] 554e91adad29: Verifying Checksum [2023-08-10T02:45:08.748Z] 554e91adad29: Download complete [2023-08-10T02:45:08.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T02:45:08.813Z] [2023-08-10T02:45:08.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:45:09.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T02:45:09.108Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-10T02:45:09.108Z] 5eb5b503b376: Pulling fs layer [2023-08-10T02:45:09.108Z] 5c69ac0246d0: Pulling fs layer [2023-08-10T02:45:09.108Z] ec43610c2a17: Pulling fs layer [2023-08-10T02:45:09.108Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-10T02:45:09.108Z] 33b1e0a273af: Pulling fs layer [2023-08-10T02:45:09.108Z] 5d3b04190fa2: Pulling fs layer [2023-08-10T02:45:09.108Z] 2f39f015ded8: Pulling fs layer [2023-08-10T02:45:09.108Z] 33b1e0a273af: Waiting [2023-08-10T02:45:09.108Z] 5d3b04190fa2: Waiting [2023-08-10T02:45:09.108Z] 2f39f015ded8: Waiting [2023-08-10T02:45:09.108Z] 3a2ae6a8a46f: Waiting [2023-08-10T02:45:09.108Z] 5c69ac0246d0: Verifying Checksum [2023-08-10T02:45:09.108Z] 5c69ac0246d0: Download complete [2023-08-10T02:45:09.108Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-10T02:45:09.108Z] 3a2ae6a8a46f: Download complete [2023-08-10T02:45:09.108Z] 33b1e0a273af: Verifying Checksum [2023-08-10T02:45:09.108Z] 33b1e0a273af: Download complete [2023-08-10T02:45:09.108Z] ec43610c2a17: Verifying Checksum [2023-08-10T02:45:09.108Z] ec43610c2a17: Download complete [2023-08-10T02:45:09.336Z] 5f9638ab2659: Pull complete [2023-08-10T02:45:09.366Z] 5d3b04190fa2: Verifying Checksum [2023-08-10T02:45:09.366Z] 5d3b04190fa2: Download complete [2023-08-10T02:45:09.366Z] 5eb5b503b376: Verifying Checksum [2023-08-10T02:45:09.366Z] 5eb5b503b376: Download complete [2023-08-10T02:45:09.921Z] 8d51d6327a98: Verifying Checksum [2023-08-10T02:45:09.921Z] 8d51d6327a98: Download complete [2023-08-10T02:45:09.930Z] 2f39f015ded8: Download complete [2023-08-10T02:45:10.190Z] 2f466654f4bb: Verifying Checksum [2023-08-10T02:45:10.190Z] 2f466654f4bb: Download complete [2023-08-10T02:45:10.496Z] 5eb5b503b376: Pull complete [2023-08-10T02:45:10.754Z] 5c69ac0246d0: Pull complete [2023-08-10T02:45:11.324Z] ec43610c2a17: Pull complete [2023-08-10T02:45:11.324Z] 3a2ae6a8a46f: Pull complete [2023-08-10T02:45:11.324Z] 33b1e0a273af: Pull complete [2023-08-10T02:45:11.581Z] 5d3b04190fa2: Pull complete [2023-08-10T02:45:15.768Z] 2f39f015ded8: Pull complete [2023-08-10T02:45:15.768Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-10T02:45:15.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T02:45:15.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:45:15.853Z] prd-ubuntu20.04-docker-8c-8g-3267 does not seem to be running inside a container [2023-08-10T02:45:15.888Z] $ 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-08-10T02:45:22.201Z] $ docker top c1e0a0db8181d43f30b4b5c3931b4ead85dd81a3dc8587a78b4dc361dfb2ea29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:45:22.503Z] 8d51d6327a98: Pull complete [2023-08-10T02:45:22.503Z] 8b374f2dd631: Pull complete [2023-08-10T02:45:22.503Z] ec14aa9079de: Pull complete [2023-08-10T02:45:22.608Z] ---> job-cost.sh [2023-08-10T02:45:22.608Z] lf-activate-venv: SKIPPING [2023-08-10T02:45:22.608Z] INFO: No Stack... [2023-08-10T02:45:22.868Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-10T02:45:23.128Z] INFO: Archiving Costs [Pipeline] sh [2023-08-10T02:45:23.418Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv+ [2023-08-10T02:45:23.418Z] cut -d, -f6 [Pipeline] lock [2023-08-10T02:45:23.432Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-117-stack-cost] [2023-08-10T02:45:23.438Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-117-stack-cost] did not exist. Created. [2023-08-10T02:45:23.438Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-10T02:45:23.740Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-10T02:45:23.774Z] Stashed 1 file(s) [Pipeline] } [2023-08-10T02:45:23.783Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-117-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-10T02:45:23.811Z] $ docker stop --time=1 c1e0a0db8181d43f30b4b5c3931b4ead85dd81a3dc8587a78b4dc361dfb2ea29 [2023-08-10T02:45:24.961Z] $ docker rm -f --volumes c1e0a0db8181d43f30b4b5c3931b4ead85dd81a3dc8587a78b4dc361dfb2ea29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-10T02:45:27.966Z] 2f466654f4bb: Pull complete [2023-08-10T02:45:30.592Z] 554e91adad29: Pull complete [2023-08-10T02:45:30.592Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-10T02:45:30.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-10T02:45:30.592Z] ---> 1e15ea492957 [2023-08-10T02:45:30.592Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-08-10T02:45:32.000Z] ---> Running in c71ec9946afe [2023-08-10T02:45:32.276Z] Removing intermediate container c71ec9946afe [2023-08-10T02:45:32.276Z] ---> 1a65119b10b5 [2023-08-10T02:45:32.276Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-10T02:45:32.276Z] ---> Running in dba6a4a405ec [2023-08-10T02:45:32.544Z] Removing intermediate container dba6a4a405ec [2023-08-10T02:45:32.544Z] ---> b972d1b1e0ff [2023-08-10T02:45:32.544Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-08-10T02:45:32.811Z] ---> Running in a8c82833f010 [2023-08-10T02:45:33.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-10T02:45:34.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-10T02:45:35.307Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-08-10T02:45:35.307Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-08-10T02:45:35.307Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-08-10T02:45:35.577Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-08-10T02:45:35.577Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-08-10T02:45:35.577Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-08-10T02:45:35.577Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-08-10T02:45:35.577Z] (8/8) Installing openssh (9.1_p1-r4) [2023-08-10T02:45:35.577Z] Executing busybox-1.35.0-r29.trigger [2023-08-10T02:45:35.577Z] OK: 270 MiB in 61 packages [2023-08-10T02:45:36.541Z] Removing intermediate container a8c82833f010 [2023-08-10T02:45:36.541Z] ---> e3ac2dddf5a8 [2023-08-10T02:45:36.541Z] Step 6/10 : WORKDIR /device-modbus-go [2023-08-10T02:45:36.541Z] ---> Running in 7615fcbf3c5f [2023-08-10T02:45:36.809Z] Removing intermediate container 7615fcbf3c5f [2023-08-10T02:45:36.809Z] ---> 6d934a42b5d5 [2023-08-10T02:45:36.809Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-10T02:45:37.392Z] ---> aebb4e706aba [2023-08-10T02:45:37.392Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-10T02:45:37.392Z] ---> Running in 7e3b23a7db3f [2023-08-10T02:46:33.802Z] Removing intermediate container 7e3b23a7db3f [2023-08-10T02:46:33.802Z] ---> dd07b7020851 [2023-08-10T02:46:33.802Z] Step 9/10 : COPY . . [2023-08-10T02:46:34.762Z] ---> 8f3524489c48 [2023-08-10T02:46:34.762Z] Step 10/10 : RUN ${MAKE} [2023-08-10T02:46:34.762Z] ---> Running in 0351b0d8995b [2023-08-10T02:46:35.724Z] noop [2023-08-10T02:46:36.303Z] Removing intermediate container 0351b0d8995b [2023-08-10T02:46:36.303Z] ---> 7a29a8fffecc [2023-08-10T02:46:36.303Z] Successfully built 7a29a8fffecc [2023-08-10T02:46:36.303Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:46:36.648Z] + docker inspect -f . ci-base-image-arm64 [2023-08-10T02:46:36.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:46:36.853Z] prd-ubuntu20.04-docker-arm64-4c-16g-3268 does not seem to be running inside a container [2023-08-10T02:46:36.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/117 -v /w/workspace/device-modbus-go/117:/w/workspace/device-modbus-go/117:rw,z -v /w/workspace/device-modbus-go/117@tmp:/w/workspace/device-modbus-go/117@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-08-10T02:46:38.041Z] $ docker top 858a7c4f0a0fb0a09775aa20de239dedb0d12d173cee8f29892ddf3ac20180f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T02:46:38.860Z] + go version [2023-08-10T02:46:38.860Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-10T02:46:38.882Z] $ docker stop --time=1 858a7c4f0a0fb0a09775aa20de239dedb0d12d173cee8f29892ddf3ac20180f2 [2023-08-10T02:46:41.502Z] $ docker rm -f --volumes 858a7c4f0a0fb0a09775aa20de239dedb0d12d173cee8f29892ddf3ac20180f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:46:42.038Z] + docker inspect -f . ci-base-image-arm64 [2023-08-10T02:46:42.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:46:42.207Z] prd-ubuntu20.04-docker-arm64-4c-16g-3268 does not seem to be running inside a container [2023-08-10T02:46:42.275Z] $ 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/117 -v /w/workspace/device-modbus-go/117:/w/workspace/device-modbus-go/117:rw,z -v /w/workspace/device-modbus-go/117@tmp:/w/workspace/device-modbus-go/117@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-08-10T02:46:43.384Z] $ docker top a3de1528f35a4f28370aa91ebfe5e69ec18529ff0a49bbfaa2eeae83ff0ef57d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T02:46:43.928Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/117 [Pipeline] fileExists [Pipeline] sh [2023-08-10T02:46:44.258Z] + make test [2023-08-10T02:46:44.258Z] go test ./... -coverprofile=coverage.out [2023-08-10T02:47:16.515Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-08-10T02:48:53.149Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-08-10T02:48:53.149Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.078s coverage: 47.9% of statements [2023-08-10T02:48:53.418Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-10T02:48:53.418Z] go vet ./... [2023-08-10T02:49:32.292Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-10T02:49:32.292Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-10T02:49:32.292Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-10T02:49:32.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-10T02:49:32.330Z] $ docker stop --time=1 a3de1528f35a4f28370aa91ebfe5e69ec18529ff0a49bbfaa2eeae83ff0ef57d [2023-08-10T02:49:35.619Z] $ docker rm -f --volumes a3de1528f35a4f28370aa91ebfe5e69ec18529ff0a49bbfaa2eeae83ff0ef57d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-10T02:49:36.803Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-10T02:49:36.826Z] Warning: overwriting stash ‘coverage-report’ [2023-08-10T02:49:37.374Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-10T02:49:37.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-10T02:49:38.098Z] + ls -al . [2023-08-10T02:49:38.099Z] total 184 [2023-08-10T02:49:38.099Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 10 02:46 . [2023-08-10T02:49:38.099Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 02:44 .. [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 10 02:44 .dockerignore [2023-08-10T02:49:38.099Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 02:44 .git [2023-08-10T02:49:38.099Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 02:44 .github [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 331 Aug 10 02:44 .gitignore [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 10 02:44 .golangci.yml [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 10032 Aug 10 02:44 Attribution.txt [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 14764 Aug 10 02:44 CHANGELOG.md [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 1365 Aug 10 02:44 Dockerfile [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 02:44 GOVERNANCE.md [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 10 02:44 Jenkinsfile [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 10 02:44 LICENSE [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 1705 Aug 10 02:44 Makefile [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 622 Aug 10 02:44 OWNERS.md [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 4578 Aug 10 02:44 README.md [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 10 02:42 VERSION [2023-08-10T02:49:38.099Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 02:44 bin [2023-08-10T02:49:38.099Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 02:44 cmd [2023-08-10T02:49:38.099Z] -rw-r--r-- 1 jenkins jenkins 24334 Aug 10 02:48 coverage.out [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 3405 Aug 10 02:44 go.mod [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 31664 Aug 10 02:44 go.sum [2023-08-10T02:49:38.099Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 10 02:44 internal [2023-08-10T02:49:38.099Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 02:44 simulator [2023-08-10T02:49:38.099Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 02:44 snap [2023-08-10T02:49:38.099Z] -rw-rw-r-- 1 jenkins jenkins 229 Aug 10 02:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:49:38.442Z] + 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=1035885eab2253e2bed58002dbe5aaa8ab8aecd1 --label arch=arm64 --label version=3.1.0-dev.4 . [2023-08-10T02:49:38.712Z] Sending build context to Docker daemon 3.324MB [2023-08-10T02:49:38.712Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-08-10T02:49:38.712Z] Step 2/22 : FROM ${BASE} AS builder [2023-08-10T02:49:38.712Z] ---> 7a29a8fffecc [2023-08-10T02:49:38.712Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-08-10T02:49:38.712Z] ---> Running in aea0fd0d6ca2 [2023-08-10T02:49:38.979Z] Removing intermediate container aea0fd0d6ca2 [2023-08-10T02:49:38.979Z] ---> a5a96c486312 [2023-08-10T02:49:38.979Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-10T02:49:39.248Z] ---> Running in 7ae4cafc8cf2 [2023-08-10T02:49:39.516Z] Removing intermediate container 7ae4cafc8cf2 [2023-08-10T02:49:39.516Z] ---> ab6fb8f57831 [2023-08-10T02:49:39.516Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-08-10T02:49:39.516Z] ---> Running in 47bae63b1ab7 [2023-08-10T02:49:40.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-10T02:49:41.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-10T02:49:42.016Z] OK: 270 MiB in 61 packages [2023-08-10T02:49:42.976Z] Removing intermediate container 47bae63b1ab7 [2023-08-10T02:49:42.976Z] ---> 4872a88728e8 [2023-08-10T02:49:42.976Z] Step 6/22 : WORKDIR /device-modbus-go [2023-08-10T02:49:42.976Z] ---> Running in e3c4aa46ca3a [2023-08-10T02:49:43.563Z] Removing intermediate container e3c4aa46ca3a [2023-08-10T02:49:43.563Z] ---> bdfcdd5ca302 [2023-08-10T02:49:43.563Z] Step 7/22 : COPY go.mod vendor* ./ [2023-08-10T02:49:43.842Z] ---> d278de055a3a [2023-08-10T02:49:43.842Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-10T02:49:44.124Z] ---> Running in 9a1ddd79dc95 [2023-08-10T02:49:46.702Z] Removing intermediate container 9a1ddd79dc95 [2023-08-10T02:49:46.702Z] ---> 87c60f216c2b [2023-08-10T02:49:46.702Z] Step 9/22 : COPY . . [2023-08-10T02:49:50.110Z] ---> 3cd39555f7ab [2023-08-10T02:49:50.110Z] Step 10/22 : RUN ${MAKE} [2023-08-10T02:49:50.110Z] ---> Running in 3adc1b74522e [2023-08-10T02:49:50.693Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-08-10T02:51:57.385Z] Removing intermediate container 3adc1b74522e [2023-08-10T02:51:57.385Z] ---> 15ef5a244a46 [2023-08-10T02:51:57.385Z] Step 11/22 : FROM alpine:3.17 [2023-08-10T02:51:57.385Z] 3.17: Pulling from library/alpine [2023-08-10T02:51:57.385Z] 4060ece20d7a: Pulling fs layer [2023-08-10T02:51:57.385Z] 4060ece20d7a: Verifying Checksum [2023-08-10T02:51:57.385Z] 4060ece20d7a: Download complete [2023-08-10T02:51:57.385Z] 4060ece20d7a: Pull complete [2023-08-10T02:51:57.385Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-10T02:51:57.385Z] Status: Downloaded newer image for alpine:3.17 [2023-08-10T02:51:57.385Z] ---> 8650cd65339b [2023-08-10T02:51:57.385Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-08-10T02:51:57.385Z] ---> Running in 06a09a5f4e23 [2023-08-10T02:51:57.385Z] Removing intermediate container 06a09a5f4e23 [2023-08-10T02:51:57.385Z] ---> 61164a4a5f45 [2023-08-10T02:51:57.385Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-08-10T02:51:57.385Z] ---> Running in 9a84dac10459 [2023-08-10T02:51:57.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-10T02:51:58.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-10T02:51:59.193Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-10T02:51:59.193Z] Executing busybox-1.35.0-r29.trigger [2023-08-10T02:51:59.193Z] OK: 8 MiB in 16 packages [2023-08-10T02:52:00.150Z] Removing intermediate container 9a84dac10459 [2023-08-10T02:52:00.150Z] ---> 553014ec1707 [2023-08-10T02:52:00.150Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-08-10T02:52:02.091Z] ---> 5978e008ee6d [2023-08-10T02:52:02.091Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-08-10T02:52:02.672Z] ---> 1a0f9a187fa2 [2023-08-10T02:52:02.672Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-08-10T02:52:03.252Z] ---> 6412dc2b914e [2023-08-10T02:52:03.252Z] Step 17/22 : EXPOSE 59901 [2023-08-10T02:52:03.252Z] ---> Running in 19545f753213 [2023-08-10T02:52:03.518Z] Removing intermediate container 19545f753213 [2023-08-10T02:52:03.518Z] ---> b1936aad1d27 [2023-08-10T02:52:03.518Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-08-10T02:52:03.518Z] ---> Running in b604c1a2e6c5 [2023-08-10T02:52:03.784Z] Removing intermediate container b604c1a2e6c5 [2023-08-10T02:52:03.784Z] ---> d1b77431acad [2023-08-10T02:52:03.784Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-10T02:52:03.784Z] ---> Running in 086aebef836a [2023-08-10T02:52:04.052Z] Removing intermediate container 086aebef836a [2023-08-10T02:52:04.052Z] ---> 5c21c2a1a31c [2023-08-10T02:52:04.052Z] Step 20/22 : LABEL arch=arm64 [2023-08-10T02:52:04.319Z] ---> Running in 277b419ff04c [2023-08-10T02:52:04.585Z] Removing intermediate container 277b419ff04c [2023-08-10T02:52:04.586Z] ---> 0ba39470f236 [2023-08-10T02:52:04.586Z] Step 21/22 : LABEL git_sha=1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [2023-08-10T02:52:04.586Z] ---> Running in b528bce4cced [2023-08-10T02:52:04.853Z] Removing intermediate container b528bce4cced [2023-08-10T02:52:04.853Z] ---> cb4b716e7d0c [2023-08-10T02:52:04.853Z] Step 22/22 : LABEL version=3.1.0-dev.4 [2023-08-10T02:52:04.853Z] ---> Running in 7c0f25fc712a [2023-08-10T02:52:05.118Z] Removing intermediate container 7c0f25fc712a [2023-08-10T02:52:05.118Z] ---> 2c3a67b7d3e4 [2023-08-10T02:52:05.118Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-10T02:52:05.118Z] Successfully built 2c3a67b7d3e4 [2023-08-10T02:52:05.118Z] 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-08-10T02:52:05.247Z] provisioning config files... [2023-08-10T02:52:05.259Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/117@tmp/config13038087953049205762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:52:05.585Z] ---> docker-login.sh [2023-08-10T02:52:05.585Z] nexus3.edgexfoundry.org:10001 [2023-08-10T02:52:05.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:52:05.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:52:05.852Z] Configure a credential helper to remove this warning. See [2023-08-10T02:52:05.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:52:05.852Z] [2023-08-10T02:52:05.852Z] Login Succeeded [2023-08-10T02:52:05.852Z] nexus3.edgexfoundry.org:10002 [2023-08-10T02:52:06.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:52:06.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:52:06.118Z] Configure a credential helper to remove this warning. See [2023-08-10T02:52:06.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:52:06.118Z] [2023-08-10T02:52:06.118Z] Login Succeeded [2023-08-10T02:52:06.118Z] nexus3.edgexfoundry.org:10003 [2023-08-10T02:52:06.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:52:06.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:52:06.650Z] Configure a credential helper to remove this warning. See [2023-08-10T02:52:06.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:52:06.650Z] [2023-08-10T02:52:06.650Z] Login Succeeded [2023-08-10T02:52:06.650Z] nexus3.edgexfoundry.org:10004 [2023-08-10T02:52:06.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:52:06.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:52:06.918Z] Configure a credential helper to remove this warning. See [2023-08-10T02:52:06.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:52:06.918Z] [2023-08-10T02:52:06.918Z] Login Succeeded [2023-08-10T02:52:06.918Z] docker.io [2023-08-10T02:52:07.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T02:52:07.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T02:52:07.448Z] Configure a credential helper to remove this warning. See [2023-08-10T02:52:07.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T02:52:07.448Z] [2023-08-10T02:52:07.448Z] Login Succeeded [2023-08-10T02:52:07.448Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T02:52:07.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-10T02:52:07.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T02:52:07.502Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-08-10T02:52:07.502Z] 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [2023-08-10T02:52:07.502Z] latest [2023-08-10T02:52:07.502Z] 3.1.0-dev.4 [2023-08-10T02:52:07.502Z] 1035885eab2253e2bed58002dbe5aaa8ab8aecd1-3.1.0-dev.4 [2023-08-10T02:52:07.502Z] main [2023-08-10T02:52:07.502Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:07.832Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:08.235Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [2023-08-10T02:52:08.236Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-10T02:52:08.236Z] 55c7efda9ed2: Preparing [2023-08-10T02:52:08.236Z] 945750ce2b0e: Preparing [2023-08-10T02:52:08.236Z] 3a53286b4d60: Preparing [2023-08-10T02:52:08.236Z] 213e9cbe5b02: Preparing [2023-08-10T02:52:08.236Z] d2d9d24a8c2a: Preparing [2023-08-10T02:52:08.236Z] d2d9d24a8c2a: Layer already exists [2023-08-10T02:52:08.525Z] 55c7efda9ed2: Pushed [2023-08-10T02:52:08.525Z] 213e9cbe5b02: Pushed [2023-08-10T02:52:08.525Z] 945750ce2b0e: Pushed [2023-08-10T02:52:13.900Z] 3a53286b4d60: Pushed [2023-08-10T02:52:13.900Z] 1035885eab2253e2bed58002dbe5aaa8ab8aecd1: digest: sha256:f2e86fe7c97a12f64dc8bfd2540a871c0a1e0debd3a34369631b06933e26281f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:14.253Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:14.592Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-08-10T02:52:14.592Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-10T02:52:14.592Z] 55c7efda9ed2: Preparing [2023-08-10T02:52:14.592Z] 945750ce2b0e: Preparing [2023-08-10T02:52:14.592Z] 3a53286b4d60: Preparing [2023-08-10T02:52:14.592Z] 213e9cbe5b02: Preparing [2023-08-10T02:52:14.592Z] d2d9d24a8c2a: Preparing [2023-08-10T02:52:14.592Z] 213e9cbe5b02: Layer already exists [2023-08-10T02:52:14.592Z] 945750ce2b0e: Layer already exists [2023-08-10T02:52:14.592Z] 3a53286b4d60: Layer already exists [2023-08-10T02:52:14.592Z] 55c7efda9ed2: Layer already exists [2023-08-10T02:52:14.592Z] d2d9d24a8c2a: Layer already exists [2023-08-10T02:52:14.592Z] latest: digest: sha256:f2e86fe7c97a12f64dc8bfd2540a871c0a1e0debd3a34369631b06933e26281f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:14.932Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:15.275Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.4 [2023-08-10T02:52:15.275Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-10T02:52:15.275Z] 55c7efda9ed2: Preparing [2023-08-10T02:52:15.275Z] 945750ce2b0e: Preparing [2023-08-10T02:52:15.275Z] 3a53286b4d60: Preparing [2023-08-10T02:52:15.275Z] 213e9cbe5b02: Preparing [2023-08-10T02:52:15.275Z] d2d9d24a8c2a: Preparing [2023-08-10T02:52:15.275Z] d2d9d24a8c2a: Layer already exists [2023-08-10T02:52:15.275Z] 55c7efda9ed2: Layer already exists [2023-08-10T02:52:15.275Z] 213e9cbe5b02: Layer already exists [2023-08-10T02:52:15.275Z] 3a53286b4d60: Layer already exists [2023-08-10T02:52:15.275Z] 945750ce2b0e: Layer already exists [2023-08-10T02:52:15.275Z] 3.1.0-dev.4: digest: sha256:f2e86fe7c97a12f64dc8bfd2540a871c0a1e0debd3a34369631b06933e26281f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:15.631Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1035885eab2253e2bed58002dbe5aaa8ab8aecd1-3.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:15.986Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1035885eab2253e2bed58002dbe5aaa8ab8aecd1-3.1.0-dev.4 [2023-08-10T02:52:15.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-10T02:52:15.986Z] 55c7efda9ed2: Preparing [2023-08-10T02:52:15.986Z] 945750ce2b0e: Preparing [2023-08-10T02:52:15.986Z] 3a53286b4d60: Preparing [2023-08-10T02:52:15.986Z] 213e9cbe5b02: Preparing [2023-08-10T02:52:15.986Z] d2d9d24a8c2a: Preparing [2023-08-10T02:52:15.986Z] 945750ce2b0e: Layer already exists [2023-08-10T02:52:15.986Z] 55c7efda9ed2: Layer already exists [2023-08-10T02:52:15.986Z] d2d9d24a8c2a: Layer already exists [2023-08-10T02:52:15.986Z] 3a53286b4d60: Layer already exists [2023-08-10T02:52:15.986Z] 213e9cbe5b02: Layer already exists [2023-08-10T02:52:15.986Z] 1035885eab2253e2bed58002dbe5aaa8ab8aecd1-3.1.0-dev.4: digest: sha256:f2e86fe7c97a12f64dc8bfd2540a871c0a1e0debd3a34369631b06933e26281f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:16.340Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:16.690Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-08-10T02:52:16.690Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-08-10T02:52:16.690Z] 55c7efda9ed2: Preparing [2023-08-10T02:52:16.690Z] 945750ce2b0e: Preparing [2023-08-10T02:52:16.690Z] 3a53286b4d60: Preparing [2023-08-10T02:52:16.690Z] 213e9cbe5b02: Preparing [2023-08-10T02:52:16.690Z] d2d9d24a8c2a: Preparing [2023-08-10T02:52:16.690Z] 945750ce2b0e: Layer already exists [2023-08-10T02:52:16.690Z] 55c7efda9ed2: Layer already exists [2023-08-10T02:52:16.690Z] 3a53286b4d60: Layer already exists [2023-08-10T02:52:16.690Z] d2d9d24a8c2a: Layer already exists [2023-08-10T02:52:16.690Z] 213e9cbe5b02: Layer already exists [2023-08-10T02:52:16.690Z] main: digest: sha256:f2e86fe7c97a12f64dc8bfd2540a871c0a1e0debd3a34369631b06933e26281f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-10T02:52:17.003Z] ===================================================== [Pipeline] echo [2023-08-10T02:52:17.012Z] taggedImages: [2023-08-10T02:52:17.012Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [2023-08-10T02:52:17.012Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-08-10T02:52:17.012Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.4 [2023-08-10T02:52:17.012Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1035885eab2253e2bed58002dbe5aaa8ab8aecd1-3.1.0-dev.4 [2023-08-10T02:52:17.012Z] - 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-08-10T02:52:17.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T02:52:17.362Z] [2023-08-10T02:52:17.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:17.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T02:52:17.688Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-10T02:52:17.688Z] 8998bd30e6a1: Pulling fs layer [2023-08-10T02:52:17.688Z] 04944245beec: Pulling fs layer [2023-08-10T02:52:17.688Z] 699f458cf7ca: Pulling fs layer [2023-08-10T02:52:17.688Z] 765212b225bb: Pulling fs layer [2023-08-10T02:52:17.688Z] f23df028b6ca: Pulling fs layer [2023-08-10T02:52:17.688Z] d65c8cfc05b1: Pulling fs layer [2023-08-10T02:52:17.688Z] 2437ff75d9bd: Pulling fs layer [2023-08-10T02:52:17.688Z] 765212b225bb: Waiting [2023-08-10T02:52:17.688Z] f23df028b6ca: Waiting [2023-08-10T02:52:17.688Z] d65c8cfc05b1: Waiting [2023-08-10T02:52:17.688Z] 2437ff75d9bd: Waiting [2023-08-10T02:52:17.956Z] 04944245beec: Verifying Checksum [2023-08-10T02:52:17.956Z] 04944245beec: Download complete [2023-08-10T02:52:17.956Z] 765212b225bb: Verifying Checksum [2023-08-10T02:52:17.956Z] 765212b225bb: Download complete [2023-08-10T02:52:17.956Z] f23df028b6ca: Verifying Checksum [2023-08-10T02:52:17.956Z] f23df028b6ca: Download complete [2023-08-10T02:52:17.956Z] d65c8cfc05b1: Verifying Checksum [2023-08-10T02:52:17.956Z] d65c8cfc05b1: Download complete [2023-08-10T02:52:17.956Z] 699f458cf7ca: Verifying Checksum [2023-08-10T02:52:17.956Z] 699f458cf7ca: Download complete [2023-08-10T02:52:18.539Z] 8998bd30e6a1: Download complete [2023-08-10T02:52:20.483Z] 2437ff75d9bd: Verifying Checksum [2023-08-10T02:52:20.483Z] 2437ff75d9bd: Download complete [2023-08-10T02:52:22.424Z] 8998bd30e6a1: Pull complete [2023-08-10T02:52:22.691Z] 04944245beec: Pull complete [2023-08-10T02:52:24.098Z] 699f458cf7ca: Pull complete [2023-08-10T02:52:24.098Z] 765212b225bb: Pull complete [2023-08-10T02:52:25.057Z] f23df028b6ca: Pull complete [2023-08-10T02:52:25.057Z] d65c8cfc05b1: Pull complete [2023-08-10T02:52:40.044Z] 2437ff75d9bd: Pull complete [2023-08-10T02:52:40.044Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-10T02:52:40.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T02:52:40.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:52:40.225Z] prd-ubuntu20.04-docker-arm64-4c-16g-3268 does not seem to be running inside a container [2023-08-10T02:52:40.290Z] $ 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/117 -v /w/workspace/device-modbus-go/117:/w/workspace/device-modbus-go/117:rw,z -v /w/workspace/device-modbus-go/117@tmp:/w/workspace/device-modbus-go/117@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-08-10T02:52:42.688Z] $ docker top 2c0ae7fb71f625e9a8b7e6aaf5007a3aea3bb7c9c3a97ea5da632a763076437d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:52:43.208Z] ---> job-cost.sh [2023-08-10T02:52:43.473Z] lf-activate-venv: SKIPPING [2023-08-10T02:52:43.473Z] INFO: No Stack... [2023-08-10T02:52:43.739Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-10T02:52:44.692Z] INFO: Archiving Costs [Pipeline] sh [2023-08-10T02:52:45.008Z] + cat /w/workspace/device-modbus-go/117/archives/cost.csv [2023-08-10T02:52:45.008Z] + cut -d, -f6 [Pipeline] lock [2023-08-10T02:52:45.329Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-117-stack-cost] [2023-08-10T02:52:45.335Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-117-stack-cost] did not exist. Created. [2023-08-10T02:52:45.335Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-117-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-10T02:52:45.669Z] /w/workspace/device-modbus-go/117@tmp/durable-f22fd9d1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-10T02:52:45.997Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-10T02:52:46.284Z] Warning: overwriting stash ‘stack-cost’ [2023-08-10T02:52:46.336Z] Stashed 1 file(s) [Pipeline] } [2023-08-10T02:52:46.342Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-117-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-10T02:52:46.360Z] $ docker stop --time=1 2c0ae7fb71f625e9a8b7e6aaf5007a3aea3bb7c9c3a97ea5da632a763076437d [2023-08-10T02:52:47.840Z] $ docker rm -f --volumes 2c0ae7fb71f625e9a8b7e6aaf5007a3aea3bb7c9c3a97ea5da632a763076437d [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-08-10T02:52:48.263Z] provisioning config files... [2023-08-10T02:52:48.270Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7580442154041547179tmp [Pipeline] { [Pipeline] sh [2023-08-10T02:52:48.561Z] + set +x [2023-08-10T02:52:48.562Z] + curl -s https://codecov.io/bash [2023-08-10T02:52:48.562Z] + bash -s -- [2023-08-10T02:52:48.562Z] [2023-08-10T02:52:48.562Z] _____ _ [2023-08-10T02:52:48.562Z] / ____| | | [2023-08-10T02:52:48.562Z] | | ___ __| | ___ ___ _____ __ [2023-08-10T02:52:48.562Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-10T02:52:48.562Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-10T02:52:48.562Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-10T02:52:48.562Z] Bash-1.0.6 [2023-08-10T02:52:48.562Z] [2023-08-10T02:52:48.562Z] [2023-08-10T02:52:48.562Z] ==> git version 2.25.1 found [2023-08-10T02:52:48.562Z] ==> 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-08-10T02:52:48.562Z] Release-Date: 2020-01-08 [2023-08-10T02:52:48.562Z] 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-08-10T02:52:48.562Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-10T02:52:48.562Z] ==> Jenkins CI detected. [2023-08-10T02:52:48.562Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-08-10T02:52:48.562Z] project root: . [2023-08-10T02:52:48.562Z] --> token set from env [2023-08-10T02:52:48.562Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-10T02:52:48.562Z] ==> Running gcov in . (disable via -X gcov) [2023-08-10T02:52:48.562Z] ==> Python coveragepy not found [2023-08-10T02:52:48.562Z] ==> Searching for coverage reports in: [2023-08-10T02:52:48.562Z] + . [2023-08-10T02:52:48.562Z] -> Found 1 reports [2023-08-10T02:52:48.562Z] ==> Detecting git/mercurial file structure [2023-08-10T02:52:48.562Z] ==> Reading reports [2023-08-10T02:52:48.820Z] + ./coverage.out bytes=24334 [2023-08-10T02:52:48.820Z] ==> Appending adjustments [2023-08-10T02:52:48.820Z] https://docs.codecov.io/docs/fixing-reports [2023-08-10T02:52:48.820Z] + Found adjustments [2023-08-10T02:52:48.820Z] ==> Gzipping contents [2023-08-10T02:52:48.820Z] 4.0K /tmp/codecov.2dQ70V.gz [2023-08-10T02:52:48.820Z] ==> Uploading reports [2023-08-10T02:52:48.820Z] url: https://codecov.io [2023-08-10T02:52:48.820Z] query: branch=main&commit=1035885eab2253e2bed58002dbe5aaa8ab8aecd1&build=117&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F117%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-10T02:52:48.820Z] -> Pinging Codecov [2023-08-10T02:52:48.820Z] 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=1035885eab2253e2bed58002dbe5aaa8ab8aecd1&build=117&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F117%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-10T02:52:49.079Z] -> Uploading to [2023-08-10T02:52:49.079Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-10/55DBCA73C666E3227836607328DD7E49/1035885eab2253e2bed58002dbe5aaa8ab8aecd1/5299c989-5619-4e02-955e-44a7de11d454.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230810%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230810T025248Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75ba90a7d066ebc664226b74914ad6472152baad66365d6835c92c6d0e4c9308 [2023-08-10T02:52:49.079Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-10T02:52:49.079Z] Dload Upload Total Spent Left Speed [2023-08-10T02:52:49.079Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 19291 --:--:-- --:--:-- --:--:-- 19198 100 3974 0 0 100 3974 0 19198 --:--:-- --:--:-- --:--:-- 19198 [2023-08-10T02:52:49.079Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [Pipeline] } [2023-08-10T02:52:49.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-10T02:52:49.308Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-10T02:52:49.319Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:49.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-10T02:52:49.609Z] [2023-08-10T02:52:49.609Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:52:49.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-10T02:52:49.903Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-10T02:52:49.903Z] df9b9388f04a: Pulling fs layer [2023-08-10T02:52:49.903Z] 52dc419b0ee2: Pulling fs layer [2023-08-10T02:52:49.903Z] 25bc292e5bac: Pulling fs layer [2023-08-10T02:52:49.903Z] 114826534d7a: Pulling fs layer [2023-08-10T02:52:49.903Z] 4657fd5d0bcf: Pulling fs layer [2023-08-10T02:52:49.903Z] 6ad1cebc031e: Pulling fs layer [2023-08-10T02:52:49.903Z] 8a3aa393b2d8: Pulling fs layer [2023-08-10T02:52:49.903Z] 114826534d7a: Waiting [2023-08-10T02:52:49.903Z] 4657fd5d0bcf: Waiting [2023-08-10T02:52:49.903Z] 6ad1cebc031e: Waiting [2023-08-10T02:52:49.903Z] 8a3aa393b2d8: Waiting [2023-08-10T02:52:49.903Z] 25bc292e5bac: Verifying Checksum [2023-08-10T02:52:49.903Z] 25bc292e5bac: Download complete [2023-08-10T02:52:49.903Z] 52dc419b0ee2: Verifying Checksum [2023-08-10T02:52:49.903Z] 52dc419b0ee2: Download complete [2023-08-10T02:52:49.903Z] 4657fd5d0bcf: Download complete [2023-08-10T02:52:49.903Z] df9b9388f04a: Verifying Checksum [2023-08-10T02:52:50.160Z] 6ad1cebc031e: Verifying Checksum [2023-08-10T02:52:50.160Z] 6ad1cebc031e: Download complete [2023-08-10T02:52:50.160Z] df9b9388f04a: Pull complete [2023-08-10T02:52:50.160Z] 52dc419b0ee2: Pull complete [2023-08-10T02:52:50.160Z] 25bc292e5bac: Pull complete [2023-08-10T02:52:50.729Z] 114826534d7a: Verifying Checksum [2023-08-10T02:52:50.729Z] 114826534d7a: Download complete [2023-08-10T02:52:50.987Z] 8a3aa393b2d8: Verifying Checksum [2023-08-10T02:52:50.987Z] 8a3aa393b2d8: Download complete [2023-08-10T02:52:54.266Z] 114826534d7a: Pull complete [2023-08-10T02:52:54.266Z] 4657fd5d0bcf: Pull complete [2023-08-10T02:52:54.524Z] 6ad1cebc031e: Pull complete [2023-08-10T02:52:57.813Z] 8a3aa393b2d8: Pull complete [2023-08-10T02:52:57.813Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-10T02:52:57.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-10T02:52:57.813Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:52:57.885Z] prd-ubuntu20.04-docker-8c-8g-3267 does not seem to be running inside a container [2023-08-10T02:52:57.917Z] $ 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-08-10T02:53:03.408Z] $ docker top 218d432e82e947aaf00760aed6606c03cbdc1f524c1484afbeb672e2ff36fd23 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-10T02:53:03.473Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-08-10T02:53:03.752Z] + set -o pipefail [2023-08-10T02:53:03.752Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-08-10T02:53:07.942Z] [2023-08-10T02:53:07.942Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-08-10T02:53:07.942Z] [2023-08-10T02:53:07.942Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/0cd0e1c9-c307-43d4-b021-c32d2e70856a [2023-08-10T02:53:07.942Z] [2023-08-10T02:53:07.942Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-08-10T02:53:07.942Z] [2023-08-10T02:53:07.942Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-10T02:53:07.942Z] [2023-08-10T02:53:08.202Z] [2023-08-10T02:53:08.202Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-10T02:53:08.202Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-10T02:53:08.202Z] More details here: https://snyk.co/ue1NS [2023-08-10T02:53:08.202Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-10T02:53:08.202Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-10T02:53:08.215Z] $ docker stop --time=1 218d432e82e947aaf00760aed6606c03cbdc1f524c1484afbeb672e2ff36fd23 [2023-08-10T02:53:12.648Z] $ docker rm -f --volumes 218d432e82e947aaf00760aed6606c03cbdc1f524c1484afbeb672e2ff36fd23 [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-08-10T02:53:13.359Z] + git log --format=format:%s -1 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 [Pipeline] sh [2023-08-10T02:53:13.655Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T02:53:13.655Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:53:13.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T02:53:13.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:53:14.036Z] prd-ubuntu20.04-docker-8c-8g-3267 does not seem to be running inside a container [2023-08-10T02:53:14.069Z] $ 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-08-10T02:53:14.521Z] $ docker top ec6e6b95468f811e00566edb78938dddf5d5a13a7bec1bfd5738206bead39a4c -eo pid,comm [2023-08-10T02:53:14.560Z] 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-08-10T02:53:14.560Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-10T02:53:14.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T02:53:14.598Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T02:53:14.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T02:53:14.710Z] $ docker exec ec6e6b95468f811e00566edb78938dddf5d5a13a7bec1bfd5738206bead39a4c ssh-agent [2023-08-10T02:53:14.822Z] SSH_AUTH_SOCK=/tmp/ssh-cvIdhbsOK6W4/agent.33 [2023-08-10T02:53:14.822Z] SSH_AGENT_PID=39 [2023-08-10T02:53:14.827Z] Running ssh-add (command line suppressed) [2023-08-10T02:53:14.936Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3957186649956047308.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3957186649956047308.key) [2023-08-10T02:53:14.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T02:53:15.233Z] + git semver tag [2023-08-10T02:53:15.492Z] 2023-08-10 02:53:15,413 [run_tag] DEBUG tag force:False [2023-08-10T02:53:15.492Z] 2023-08-10 02:53:15,413 [check_head_tag] DEBUG check head tag [2023-08-10T02:53:15.492Z] 2023-08-10 02:53:15,414 [execute] INFO git cat-file --batch-check [2023-08-10T02:53:15.492Z] 2023-08-10 02:53:15,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-08-10T02:53:15.492Z] 2023-08-10 02:53:15,419 [execute] INFO git cat-file --batch [2023-08-10T02:53:15.492Z] 2023-08-10 02:53:15,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-08-10T02:53:15.492Z] 2023-08-10 02:53:15,429 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-10T02:53:15.493Z] 2023-08-10 02:53:15,429 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 [2023-08-10T02:53:15.493Z] 2023-08-10 02:53:15,429 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.4', '-m', 'v3.1.0-dev.4'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-10T02:53:15.493Z] 2023-08-10 02:53:15,435 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-10T02:53:15.493Z] 3.1.0-dev.4 [Pipeline] } [2023-08-10T02:53:15.504Z] $ docker exec --env ******** --env ******** ec6e6b95468f811e00566edb78938dddf5d5a13a7bec1bfd5738206bead39a4c ssh-agent -k [2023-08-10T02:53:15.600Z] unset SSH_AUTH_SOCK; [2023-08-10T02:53:15.601Z] unset SSH_AGENT_PID; [2023-08-10T02:53:15.602Z] echo Agent pid 39 killed; [2023-08-10T02:53:15.611Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T02:53:15.911Z] + git semver [Pipeline] } [2023-08-10T02:53:16.185Z] $ docker stop --time=1 ec6e6b95468f811e00566edb78938dddf5d5a13a7bec1bfd5738206bead39a4c [2023-08-10T02:53:17.470Z] $ docker rm -f --volumes ec6e6b95468f811e00566edb78938dddf5d5a13a7bec1bfd5738206bead39a4c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:53:17.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-10T02:53:17.868Z] [2023-08-10T02:53:17.868Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:53:18.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-10T02:53:18.169Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-10T02:53:18.169Z] ab5ef0e58194: Pulling fs layer [2023-08-10T02:53:18.169Z] 9712f1f96733: Pulling fs layer [2023-08-10T02:53:18.169Z] 63f879dbbcfc: Pulling fs layer [2023-08-10T02:53:18.169Z] 0d9ebad4ef96: Pulling fs layer [2023-08-10T02:53:18.169Z] e9a5061849ea: Pulling fs layer [2023-08-10T02:53:18.169Z] d747dcd14b5f: Pulling fs layer [2023-08-10T02:53:18.169Z] 2de7ff778b66: Pulling fs layer [2023-08-10T02:53:18.169Z] 0d9ebad4ef96: Waiting [2023-08-10T02:53:18.169Z] d747dcd14b5f: Waiting [2023-08-10T02:53:18.169Z] e9a5061849ea: Waiting [2023-08-10T02:53:18.169Z] 2de7ff778b66: Waiting [2023-08-10T02:53:18.169Z] 9712f1f96733: Verifying Checksum [2023-08-10T02:53:18.169Z] 9712f1f96733: Download complete [2023-08-10T02:53:18.429Z] 63f879dbbcfc: Verifying Checksum [2023-08-10T02:53:18.429Z] 63f879dbbcfc: Download complete [2023-08-10T02:53:18.688Z] 0d9ebad4ef96: Verifying Checksum [2023-08-10T02:53:18.688Z] 0d9ebad4ef96: Download complete [2023-08-10T02:53:18.688Z] e9a5061849ea: Verifying Checksum [2023-08-10T02:53:18.688Z] e9a5061849ea: Download complete [2023-08-10T02:53:18.688Z] ab5ef0e58194: Verifying Checksum [2023-08-10T02:53:18.688Z] ab5ef0e58194: Download complete [2023-08-10T02:53:18.688Z] d747dcd14b5f: Download complete [2023-08-10T02:53:18.945Z] 2de7ff778b66: Verifying Checksum [2023-08-10T02:53:18.945Z] 2de7ff778b66: Download complete [2023-08-10T02:53:21.471Z] ab5ef0e58194: Pull complete [2023-08-10T02:53:21.471Z] 9712f1f96733: Pull complete [2023-08-10T02:53:22.412Z] 63f879dbbcfc: Pull complete [2023-08-10T02:53:26.600Z] 0d9ebad4ef96: Pull complete [2023-08-10T02:53:26.600Z] e9a5061849ea: Pull complete [2023-08-10T02:53:26.858Z] d747dcd14b5f: Pull complete [2023-08-10T02:53:27.794Z] 2de7ff778b66: Pull complete [2023-08-10T02:53:27.794Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-10T02:53:28.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-10T02:53:28.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:53:28.139Z] prd-ubuntu20.04-docker-8c-8g-3267 does not seem to be running inside a container [2023-08-10T02:53:28.174Z] $ 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-08-10T02:53:36.565Z] $ docker top 3f1a7db849e234f2cda393c10a162852df9058e9921c067e371abdc6ac2e3518 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-10T02:53:36.637Z] provisioning config files... [2023-08-10T02:53:36.643Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5998201773973674280tmp [2023-08-10T02:53:36.654Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7496698524408078136tmp [2023-08-10T02:53:36.662Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config874932673231469865tmp [Pipeline] { [Pipeline] echo [2023-08-10T02:53:36.679Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:53:36.964Z] ---> sigul-configuration.sh [2023-08-10T02:53:36.964Z] gpg: directory `/root/.gnupg' created [2023-08-10T02:53:36.964Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-10T02:53:36.964Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-10T02:53:36.964Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-10T02:53:36.964Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-10T02:53:36.964Z] gpg: CAST5 encrypted data [2023-08-10T02:53:36.964Z] gpg: encrypted with 1 passphrase [2023-08-10T02:53:36.964Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-10T02:53:37.252Z] + mkdir /home/jenkins [2023-08-10T02:53:37.252Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-10T02:53:37.539Z] + 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-08-10T02:53:37.549Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:53:37.832Z] ---> sigul-install.sh [2023-08-10T02:53:37.832Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-10T02:53:38.117Z] + git tag --list [2023-08-10T02:53:38.117Z] 0.7.1 [2023-08-10T02:53:38.117Z] v1.0.0 [2023-08-10T02:53:38.117Z] v1.1.0 [2023-08-10T02:53:38.117Z] v1.1.1 [2023-08-10T02:53:38.117Z] v1.2.2 [2023-08-10T02:53:38.117Z] v1.3.0 [2023-08-10T02:53:38.117Z] v1.3.1 [2023-08-10T02:53:38.117Z] v2.0.0 [2023-08-10T02:53:38.117Z] v2.1.0 [2023-08-10T02:53:38.117Z] v2.1.1 [2023-08-10T02:53:38.117Z] v2.2.0 [2023-08-10T02:53:38.117Z] v2.3.0 [2023-08-10T02:53:38.117Z] v3.0 [2023-08-10T02:53:38.117Z] v3.0.0 [2023-08-10T02:53:38.117Z] v3.1.0-dev.1 [2023-08-10T02:53:38.117Z] v3.1.0-dev.2 [2023-08-10T02:53:38.117Z] v3.1.0-dev.3 [2023-08-10T02:53:38.117Z] v3.1.0-dev.4 [Pipeline] sh [2023-08-10T02:53:38.402Z] + lftools sign git-tag v3.1.0-dev.4 [2023-08-10T02:53:38.971Z] Signing Git tag with Sigul... [2023-08-10T02:53:38.971Z] Signing v3.1.0-dev.4 [Pipeline] echo [2023-08-10T02:53:39.237Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:53:39.517Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-10T02:53:39.523Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-10T02:53:39.544Z] $ docker stop --time=1 3f1a7db849e234f2cda393c10a162852df9058e9921c067e371abdc6ac2e3518 [2023-08-10T02:53:40.800Z] $ docker rm -f --volumes 3f1a7db849e234f2cda393c10a162852df9058e9921c067e371abdc6ac2e3518 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-10T02:53:41.221Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T02:53:41.221Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:53:41.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T02:53:41.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:53:41.593Z] prd-ubuntu20.04-docker-8c-8g-3267 does not seem to be running inside a container [2023-08-10T02:53:41.623Z] $ 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-08-10T02:53:41.964Z] $ docker top c615aa7a0271c873a68a2cade3bce4259d945c4cf97f3f0916d4bc589bcd7b96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-10T02:53:42.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T02:53:42.050Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T02:53:42.154Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T02:53:42.159Z] $ docker exec c615aa7a0271c873a68a2cade3bce4259d945c4cf97f3f0916d4bc589bcd7b96 ssh-agent [2023-08-10T02:53:42.257Z] SSH_AUTH_SOCK=/tmp/ssh-rgyGKVHt8Kil/agent.31 [2023-08-10T02:53:42.257Z] SSH_AGENT_PID=37 [2023-08-10T02:53:42.262Z] Running ssh-add (command line suppressed) [2023-08-10T02:53:42.376Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1781708271497593280.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1781708271497593280.key) [2023-08-10T02:53:42.389Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T02:53:42.678Z] + git semver bump pre [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,840 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,840 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,840 [bump_version] DEBUG bumped version:3.1.0-dev.5 [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,840 [write_version] DEBUG write version:3.1.0-dev.5 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,840 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,840 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,842 [execute] INFO git cat-file --batch-check [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,847 [execute] INFO git cat-file --batch [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-10T02:53:42.938Z] 2023-08-10 02:53:42,851 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-10T02:53:42.938Z] 3.1.0-dev.5 [Pipeline] } [2023-08-10T02:53:42.948Z] $ docker exec --env ******** --env ******** c615aa7a0271c873a68a2cade3bce4259d945c4cf97f3f0916d4bc589bcd7b96 ssh-agent -k [2023-08-10T02:53:43.050Z] unset SSH_AUTH_SOCK; [2023-08-10T02:53:43.050Z] unset SSH_AGENT_PID; [2023-08-10T02:53:43.050Z] echo Agent pid 37 killed; [2023-08-10T02:53:43.056Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T02:53:43.355Z] + git semver [Pipeline] } [2023-08-10T02:53:43.633Z] $ docker stop --time=1 c615aa7a0271c873a68a2cade3bce4259d945c4cf97f3f0916d4bc589bcd7b96 [2023-08-10T02:53:44.878Z] $ docker rm -f --volumes c615aa7a0271c873a68a2cade3bce4259d945c4cf97f3f0916d4bc589bcd7b96 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-10T02:53:45.204Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T02:53:45.204Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:53:45.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T02:53:45.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:53:45.567Z] prd-ubuntu20.04-docker-8c-8g-3267 does not seem to be running inside a container [2023-08-10T02:53:45.599Z] $ 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-08-10T02:53:45.920Z] $ docker top 1eb7b1c0ce3d2ef91be6a0b2cdcea20713970a484598fdce9d75fc50de1fac03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-10T02:53:45.989Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T02:53:45.989Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T02:53:46.099Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T02:53:46.104Z] $ docker exec 1eb7b1c0ce3d2ef91be6a0b2cdcea20713970a484598fdce9d75fc50de1fac03 ssh-agent [2023-08-10T02:53:46.203Z] SSH_AUTH_SOCK=/tmp/ssh-jeXrbqHeNiF2/agent.32 [2023-08-10T02:53:46.203Z] SSH_AGENT_PID=38 [2023-08-10T02:53:46.209Z] Running ssh-add (command line suppressed) [2023-08-10T02:53:46.303Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13490934395791751559.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13490934395791751559.key) [2023-08-10T02:53:46.315Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T02:53:46.600Z] + git semver push [2023-08-10T02:53:46.861Z] 2023-08-10 02:53:46,769 [run_push] DEBUG push [2023-08-10T02:53:46.861Z] 2023-08-10 02:53:46,770 [execute] INFO git cat-file --batch-check [2023-08-10T02:53:46.861Z] 2023-08-10 02:53:46,770 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-10T02:53:46.861Z] 2023-08-10 02:53:46,775 [execute] INFO git rev-list bb39084218fdccbeb5d28ff90016ad7bb5456382 -- [2023-08-10T02:53:46.861Z] 2023-08-10 02:53:46,775 [execute] DEBUG Popen(['git', 'rev-list', 'bb39084218fdccbeb5d28ff90016ad7bb5456382', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-10T02:53:46.861Z] 2023-08-10 02:53:46,785 [execute] INFO git fetch -v origin [2023-08-10T02:53:46.861Z] 2023-08-10 02:53:46,785 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-10T02:53:47.428Z] 2023-08-10 02:53:47,244 [run_push] DEBUG no remote changes detected [2023-08-10T02:53:47.428Z] 2023-08-10 02:53:47,245 [execute] INFO git push origin semver [2023-08-10T02:53:47.428Z] 2023-08-10 02:53:47,245 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-10T02:53:48.365Z] 2023-08-10 02:53:48,007 [run_push] DEBUG push all version tags [2023-08-10T02:53:48.365Z] 2023-08-10 02:53:48,008 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-10T02:53:48.365Z] 2023-08-10 02:53:48,008 [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-08-10T02:53:48.945Z] 2023-08-10 02:53:48,706 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-08-10T02:53:48.945Z] 3.1.0-dev.5 [Pipeline] } [2023-08-10T02:53:48.958Z] $ docker exec --env ******** --env ******** 1eb7b1c0ce3d2ef91be6a0b2cdcea20713970a484598fdce9d75fc50de1fac03 ssh-agent -k [2023-08-10T02:53:49.059Z] unset SSH_AUTH_SOCK; [2023-08-10T02:53:49.060Z] unset SSH_AGENT_PID; [2023-08-10T02:53:49.060Z] echo Agent pid 38 killed; [2023-08-10T02:53:49.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T02:53:49.375Z] + git semver [Pipeline] } [2023-08-10T02:53:49.652Z] $ docker stop --time=1 1eb7b1c0ce3d2ef91be6a0b2cdcea20713970a484598fdce9d75fc50de1fac03 [2023-08-10T02:53:50.922Z] $ docker rm -f --volumes 1eb7b1c0ce3d2ef91be6a0b2cdcea20713970a484598fdce9d75fc50de1fac03 [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-08-10T02:53:51.458Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-08-10T02:53:51.458Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-10T02:53:51.458Z] total 16 [2023-08-10T02:53:51.458Z] drwxr-xr-x 3 root root 4096 Aug 10 02:45 . [2023-08-10T02:53:51.458Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 02:53 .. [2023-08-10T02:53:51.458Z] drwxr-xr-x 2 root root 4096 Aug 10 02:45 cost [2023-08-10T02:53:51.458Z] -rw-r--r-- 1 root root 88 Aug 10 02:45 cost.csv [2023-08-10T02:53:51.458Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-10T02:53:51.458Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-08-10T02:53:51.458Z] total 16 [2023-08-10T02:53:51.458Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 02:45 . [2023-08-10T02:53:51.458Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 10 02:53 .. [2023-08-10T02:53:51.458Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 02:45 cost [2023-08-10T02:53:51.458Z] -rw-r--r-- 1 jenkins jenkins 88 Aug 10 02:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:53:51.749Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:53:52.603Z] ---> package-listing.sh [2023-08-10T02:53:52.603Z] ++ facter osfamily [2023-08-10T02:53:52.603Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-10T02:53:52.862Z] + OS_FAMILY=debian [2023-08-10T02:53:52.862Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-08-10T02:53:52.862Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-10T02:53:52.862Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-10T02:53:52.862Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-10T02:53:52.862Z] + PACKAGES=/tmp/packages_start.txt [2023-08-10T02:53:52.862Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-08-10T02:53:52.862Z] + PACKAGES=/tmp/packages_end.txt [2023-08-10T02:53:52.862Z] + case "${OS_FAMILY}" in [2023-08-10T02:53:52.862Z] + dpkg -l [2023-08-10T02:53:52.862Z] + grep '^ii' [2023-08-10T02:53:52.862Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-10T02:53:52.862Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-10T02:53:52.862Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-10T02:53:52.862Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-08-10T02:53:52.862Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-08-10T02:53:52.862Z] + 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-08-10T02:53:52.874Z] 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-08-10T02:53:53.153Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T02:53:53.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T02:53:53.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T02:53:53.778Z] prd-ubuntu20.04-docker-8c-8g-3267 does not seem to be running inside a container [2023-08-10T02:53:53.810Z] $ 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-08-10T02:53:53.996Z] $ docker top 7ee8ba65418987a162d5b961dbb40cb30e82ea28077f6c0dfc44e8784f011f5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T02:53:54.333Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-10T02:53:54.687Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-10T02:53:55.002Z] + ls /var/log/sa-host [2023-08-10T02:53:55.002Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T02:53:55.170Z] provisioning config files... [2023-08-10T02:53:55.191Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5026337884382424334tmp [Pipeline] { [Pipeline] echo [2023-08-10T02:53:55.208Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:53:55.514Z] ---> create-netrc.sh [Pipeline] } [2023-08-10T02:53:55.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:53:55.878Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-10T02:53:55.888Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:53:56.174Z] ---> sudo-logs.sh [2023-08-10T02:53:56.174Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-10T02:53:56.205Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:53:56.491Z] ---> job-cost.sh [2023-08-10T02:53:56.491Z] lf-activate-venv: SKIPPING [2023-08-10T02:53:56.491Z] DEBUG: total: 0.2199999988079071 [2023-08-10T02:53:56.491Z] INFO: Retrieving Stack Cost... [2023-08-10T02:53:57.060Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-10T02:53:57.320Z] INFO: Archiving Costs [Pipeline] echo [2023-08-10T02:53:57.333Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T02:53:57.616Z] ---> logs-deploy.sh [2023-08-10T02:53:57.616Z] lf-activate-venv: SKIPPING [2023-08-10T02:53:57.616Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/117 [2023-08-10T02:53:57.616Z] INFO: archiving workspace using pattern(s): [2023-08-10T02:53:58.554Z] Archives upload complete. [2023-08-10T02:53:58.554Z] INFO: archiving logs to Nexus