Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b019029337577f55c3ddf5891f69e829d86b4f5 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-ssh11338892778165999569.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1743720236125380967.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13206876459590206357.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4711180709011221800.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-ssh18040681544711122203.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14804 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 8b019029337577f55c3ddf5891f69e829d86b4f5 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#475)" > 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 8b019029337577f55c3ddf5891f69e829d86b4f5 # timeout=10 > git rev-list --no-walk d01bb302454877eccf2a920557973b90075242ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-09T22:48:18.341Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-09T22:48:18.408Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-09T22:48:18.424Z] ========================================================= [2023-05-09T22:48:18.424Z] EdgeX Global Pipelines Version Info [2023-05-09T22:48:18.424Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:48:19.149Z] ------------------- [2023-05-09T22:48:19.149Z] stable info: [2023-05-09T22:48:19.149Z] ------------------- [2023-05-09T22:48:19.149Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-09T22:48:19.149Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T22:48:19.149Z] Message: update stable to v1.0.249 [2023-05-09T22:48:19.748Z] ------------------- [2023-05-09T22:48:19.748Z] experimental info: [2023-05-09T22:48:19.748Z] ------------------- [2023-05-09T22:48:19.748Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-09T22:48:19.748Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T22:48:19.748Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-09T22:48:19.944Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-09T22:48:19.957Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-09T22:48:19.968Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-09T22:48:19.982Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-09T22:48:20.000Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-09T22:48:20.017Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-09T22:48:20.036Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-09T22:48:20.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-09T22:48:20.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-09T22:48:20.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-09T22:48:20.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-09T22:48:20.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-09T22:48:20.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-09T22:48:20.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-09T22:48:20.112Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T22:48:20.121Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T22:48:20.139Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T22:48:20.155Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T22:48:20.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-09T22:48:20.181Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-09T22:48:20.196Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-09T22:48:20.211Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-09T22:48:20.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-09T22:48:20.239Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-09T22:48:20.251Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-09T22:48:20.263Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-09T22:48:20.278Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-09T22:48:20.298Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-09T22:48:20.310Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-09T22:48:20.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-09T22:48:20.336Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] echo [2023-05-09T22:48:20.348Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b01902 [Pipeline] echo [2023-05-09T22:48:20.361Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T22:48:20.412Z] provisioning config files... [2023-05-09T22:48:20.427Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13876230714960002565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:48:20.737Z] ---> docker-login.sh [2023-05-09T22:48:20.737Z] nexus3.edgexfoundry.org:10001 [2023-05-09T22:48:20.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:48:20.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:48:20.998Z] Configure a credential helper to remove this warning. See [2023-05-09T22:48:20.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:48:20.998Z] [2023-05-09T22:48:20.998Z] Login Succeeded [2023-05-09T22:48:20.998Z] nexus3.edgexfoundry.org:10002 [2023-05-09T22:48:20.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:48:20.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:48:20.998Z] Configure a credential helper to remove this warning. See [2023-05-09T22:48:20.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:48:20.998Z] [2023-05-09T22:48:20.998Z] Login Succeeded [2023-05-09T22:48:20.998Z] nexus3.edgexfoundry.org:10003 [2023-05-09T22:48:21.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:48:21.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:48:21.259Z] Configure a credential helper to remove this warning. See [2023-05-09T22:48:21.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:48:21.259Z] [2023-05-09T22:48:21.259Z] Login Succeeded [2023-05-09T22:48:21.259Z] nexus3.edgexfoundry.org:10004 [2023-05-09T22:48:21.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:48:21.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:48:21.259Z] Configure a credential helper to remove this warning. See [2023-05-09T22:48:21.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:48:21.259Z] [2023-05-09T22:48:21.259Z] Login Succeeded [2023-05-09T22:48:21.259Z] docker.io [2023-05-09T22:48:21.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:48:21.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:48:21.520Z] Configure a credential helper to remove this warning. See [2023-05-09T22:48:21.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:48:21.520Z] [2023-05-09T22:48:21.520Z] Login Succeeded [2023-05-09T22:48:21.520Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T22:48:21.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-09T22:48:21.896Z] + git rev-list -1 --merges 8b019029337577f55c3ddf5891f69e829d86b4f5~1..8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] echo [2023-05-09T22:48:21.949Z] -----------> git rev-list -1 --merges 8b019029337577f55c3ddf5891f69e829d86b4f5~1..8b019029337577f55c3ddf5891f69e829d86b4f5 8b019029337577f55c3ddf5891f69e829d86b4f5 [false] [Pipeline] sh [2023-05-09T22:48:22.238Z] + git log --format=format:%s -1 8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] echo [2023-05-09T22:48:22.252Z] ========================================================= [2023-05-09T22:48:22.252Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T22:48:22.252Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T22:48:22.598Z] + git log --format=format:%s -1 8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] echo [2023-05-09T22:48:22.609Z] [semverPrep] GIT_COMMIT: 8b019029337577f55c3ddf5891f69e829d86b4f5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#475) [Pipeline] echo [2023-05-09T22:48:22.618Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-09T22:48:22.988Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T22:48:22.989Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-09T22:48:22.989Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-09T22:48:22.989Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-09T22:48:22.989Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-09T22:48:22.989Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-09T22:48:22.989Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:48:23.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T22:48:23.351Z] [2023-05-09T22:48:23.351Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:48:23.650Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T22:48:23.650Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-09T22:48:23.650Z] b85a868b505f: Pulling fs layer [2023-05-09T22:48:23.650Z] e2be974225ed: Pulling fs layer [2023-05-09T22:48:23.650Z] 339a4e72a1f5: Pulling fs layer [2023-05-09T22:48:23.650Z] 988bab9f4d93: Pulling fs layer [2023-05-09T22:48:23.650Z] 1469e6f7b9e6: Pulling fs layer [2023-05-09T22:48:23.650Z] eaf3925da568: Pulling fs layer [2023-05-09T22:48:23.650Z] bab4dde63d76: Pulling fs layer [2023-05-09T22:48:23.650Z] bde34c3a00c8: Pulling fs layer [2023-05-09T22:48:23.650Z] b352a97aabf1: Pulling fs layer [2023-05-09T22:48:23.650Z] 4872d77fe225: Pulling fs layer [2023-05-09T22:48:23.650Z] 5851b861e8e6: Pulling fs layer [2023-05-09T22:48:23.650Z] 988bab9f4d93: Waiting [2023-05-09T22:48:23.650Z] 1469e6f7b9e6: Waiting [2023-05-09T22:48:23.650Z] b352a97aabf1: Waiting [2023-05-09T22:48:23.650Z] eaf3925da568: Waiting [2023-05-09T22:48:23.650Z] bab4dde63d76: Waiting [2023-05-09T22:48:23.650Z] 5851b861e8e6: Waiting [2023-05-09T22:48:23.650Z] bde34c3a00c8: Waiting [2023-05-09T22:48:23.650Z] 4872d77fe225: Waiting [2023-05-09T22:48:23.650Z] e2be974225ed: Download complete [2023-05-09T22:48:23.650Z] 988bab9f4d93: Verifying Checksum [2023-05-09T22:48:23.650Z] 988bab9f4d93: Download complete [2023-05-09T22:48:23.913Z] 1469e6f7b9e6: Verifying Checksum [2023-05-09T22:48:23.913Z] 1469e6f7b9e6: Download complete [2023-05-09T22:48:23.913Z] 339a4e72a1f5: Verifying Checksum [2023-05-09T22:48:23.913Z] 339a4e72a1f5: Download complete [2023-05-09T22:48:23.913Z] eaf3925da568: Verifying Checksum [2023-05-09T22:48:23.913Z] eaf3925da568: Download complete [2023-05-09T22:48:23.913Z] bde34c3a00c8: Download complete [2023-05-09T22:48:23.913Z] b352a97aabf1: Download complete [2023-05-09T22:48:23.913Z] 4872d77fe225: Verifying Checksum [2023-05-09T22:48:23.913Z] 4872d77fe225: Download complete [2023-05-09T22:48:23.913Z] 5851b861e8e6: Verifying Checksum [2023-05-09T22:48:23.913Z] 5851b861e8e6: Download complete [2023-05-09T22:48:23.913Z] b85a868b505f: Download complete [2023-05-09T22:48:24.171Z] bab4dde63d76: Verifying Checksum [2023-05-09T22:48:24.171Z] bab4dde63d76: Download complete [2023-05-09T22:48:25.109Z] b85a868b505f: Pull complete [2023-05-09T22:48:25.367Z] e2be974225ed: Pull complete [2023-05-09T22:48:25.625Z] 339a4e72a1f5: Pull complete [2023-05-09T22:48:25.883Z] 988bab9f4d93: Pull complete [2023-05-09T22:48:26.142Z] 1469e6f7b9e6: Pull complete [2023-05-09T22:48:26.142Z] eaf3925da568: Pull complete [2023-05-09T22:48:28.057Z] bab4dde63d76: Pull complete [2023-05-09T22:48:28.057Z] bde34c3a00c8: Pull complete [2023-05-09T22:48:28.317Z] b352a97aabf1: Pull complete [2023-05-09T22:48:28.317Z] 4872d77fe225: Pull complete [2023-05-09T22:48:28.317Z] 5851b861e8e6: Pull complete [2023-05-09T22:48:28.317Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-09T22:48:28.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T22:48:28.317Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:48:28.418Z] prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container [2023-05-09T22:48:28.430Z] $ 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-05-09T22:48:29.765Z] $ docker top b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 -eo pid,comm [2023-05-09T22:48:29.838Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-09T22:48:29.838Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T22:48:29.875Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T22:48:29.875Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T22:48:30.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T22:48:29.987Z] $ docker exec b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 ssh-agent [2023-05-09T22:48:30.127Z] SSH_AUTH_SOCK=/tmp/ssh-YSojsRgK5kPh/agent.32 [2023-05-09T22:48:30.127Z] SSH_AGENT_PID=38 [2023-05-09T22:48:30.134Z] Running ssh-add (command line suppressed) [2023-05-09T22:48:30.225Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4774944413506377148.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4774944413506377148.key) [2023-05-09T22:48:30.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T22:48:30.538Z] + git tag --points-at HEAD [Pipeline] } [2023-05-09T22:48:30.537Z] $ docker exec --env ******** --env ******** b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 ssh-agent -k [2023-05-09T22:48:30.643Z] unset SSH_AUTH_SOCK; [2023-05-09T22:48:30.644Z] unset SSH_AGENT_PID; [2023-05-09T22:48:30.644Z] echo Agent pid 38 killed; [2023-05-09T22:48:30.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-09T22:48:30.692Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T22:48:30.693Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T22:48:30.805Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T22:48:30.793Z] $ docker exec b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 ssh-agent [2023-05-09T22:48:30.934Z] SSH_AUTH_SOCK=/tmp/ssh-DroT9Dhyroie/agent.70 [2023-05-09T22:48:30.934Z] SSH_AGENT_PID=76 [2023-05-09T22:48:30.939Z] Running ssh-add (command line suppressed) [2023-05-09T22:48:31.022Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9985308113759464471.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9985308113759464471.key) [2023-05-09T22:48:31.053Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T22:48:31.343Z] + git semver init [2023-05-09T22:48:31.603Z] 2023-05-09 22:48:31,510 [run_init] DEBUG init version:0.0.0 force:False [2023-05-09T22:48:31.603Z] 2023-05-09 22:48:31,511 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-09T22:48:31.603Z] 2023-05-09 22:48:31,511 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-09T22:48:31.603Z] 2023-05-09 22:48:31,512 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-09T22:48:32.543Z] 2023-05-09 22:48:32,248 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-09T22:48:32.543Z] 2023-05-09 22:48:32,249 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-09T22:48:32.543Z] 2023-05-09 22:48:32,249 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-09T22:48:32.543Z] 2023-05-09 22:48:32,249 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-09T22:48:32.543Z] 3.0.0-dev.37 [Pipeline] } [2023-05-09T22:48:32.538Z] $ docker exec --env ******** --env ******** b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 ssh-agent -k [2023-05-09T22:48:32.644Z] unset SSH_AUTH_SOCK; [2023-05-09T22:48:32.644Z] unset SSH_AGENT_PID; [2023-05-09T22:48:32.644Z] echo Agent pid 76 killed; [2023-05-09T22:48:32.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T22:48:32.974Z] + git semver [Pipeline] } [2023-05-09T22:48:33.234Z] $ docker stop --time=1 b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 [2023-05-09T22:48:34.499Z] $ docker rm -f --volumes b8b23b380e2653a99a8e8159092c9e6ecc66c1a6e45f62f06b68af0053c0e5a5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T22:48:34.856Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-09T22:48:35.051Z] Stashed 1 file(s) [Pipeline] echo [2023-05-09T22:48:35.055Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.37 [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-05-09T22:48:35.179Z] provisioning config files... [2023-05-09T22:48:35.188Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14307966898773066310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:48:35.487Z] ---> docker-login.sh [2023-05-09T22:48:35.487Z] nexus3.edgexfoundry.org:10001 [2023-05-09T22:48:35.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:48:35.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:48:35.487Z] Configure a credential helper to remove this warning. See [2023-05-09T22:48:35.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:48:35.487Z] [2023-05-09T22:48:35.487Z] Login Succeeded [2023-05-09T22:48:35.487Z] nexus3.edgexfoundry.org:10002 [2023-05-09T22:48:35.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:48:35.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:48:35.487Z] Configure a credential helper to remove this warning. See [2023-05-09T22:48:35.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:48:35.487Z] [2023-05-09T22:48:35.487Z] Login Succeeded [2023-05-09T22:48:35.487Z] nexus3.edgexfoundry.org:10003 [2023-05-09T22:48:35.510Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14803 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-09T22:48:35.524Z] Running in /w/workspace/device-modbus-go/103 [Pipeline] { [Pipeline] checkout [2023-05-09T22:48:35.562Z] Selected Git installation does not exist. Using Default [2023-05-09T22:48:35.562Z] The recommended git tool is: NONE [2023-05-09T22:48:35.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:48:35.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:48:35.746Z] Configure a credential helper to remove this warning. See [2023-05-09T22:48:35.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:48:35.746Z] [2023-05-09T22:48:35.746Z] Login Succeeded [2023-05-09T22:48:35.746Z] nexus3.edgexfoundry.org:10004 [2023-05-09T22:48:35.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:48:35.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:48:35.746Z] Configure a credential helper to remove this warning. See [2023-05-09T22:48:35.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:48:35.746Z] [2023-05-09T22:48:35.746Z] Login Succeeded [2023-05-09T22:48:35.746Z] docker.io [2023-05-09T22:48:36.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:48:36.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:48:36.006Z] Configure a credential helper to remove this warning. See [2023-05-09T22:48:36.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:48:36.006Z] [2023-05-09T22:48:36.006Z] Login Succeeded [2023-05-09T22:48:36.006Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T22:48:36.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T22:48:36.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T22:48:36.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T22:48:36.110Z] ========================================================= [2023-05-09T22:48:36.110Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-09T22:48:36.110Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:48:36.428Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-09T22:48:36.428Z] Sending build context to Docker daemon 6.488MB [2023-05-09T22:48:36.428Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T22:48:36.428Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-09T22:48:36.428Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-09T22:48:36.428Z] f56be85fc22e: Pulling fs layer [2023-05-09T22:48:36.428Z] 85791d961cd3: Pulling fs layer [2023-05-09T22:48:36.428Z] d694b5ae8c79: Pulling fs layer [2023-05-09T22:48:36.428Z] 9f32a84ed3da: Pulling fs layer [2023-05-09T22:48:36.428Z] 4d19c01a9841: Pulling fs layer [2023-05-09T22:48:36.428Z] 9f32a84ed3da: Waiting [2023-05-09T22:48:36.428Z] 9325e15d5711: Pulling fs layer [2023-05-09T22:48:36.428Z] 556b6ee489ea: Pulling fs layer [2023-05-09T22:48:36.428Z] c5a4b2cf53e6: Pulling fs layer [2023-05-09T22:48:36.428Z] 4d19c01a9841: Waiting [2023-05-09T22:48:36.428Z] 556b6ee489ea: Waiting [2023-05-09T22:48:36.428Z] c5a4b2cf53e6: Waiting [2023-05-09T22:48:36.428Z] 9325e15d5711: Waiting [2023-05-09T22:48:36.428Z] 85791d961cd3: Download complete [2023-05-09T22:48:36.428Z] 9f32a84ed3da: Verifying Checksum [2023-05-09T22:48:36.428Z] 9f32a84ed3da: Download complete [2023-05-09T22:48:36.428Z] 4d19c01a9841: Verifying Checksum [2023-05-09T22:48:36.428Z] 4d19c01a9841: Download complete [2023-05-09T22:48:36.688Z] f56be85fc22e: Verifying Checksum [2023-05-09T22:48:36.688Z] f56be85fc22e: Download complete [2023-05-09T22:48:36.688Z] 9325e15d5711: Verifying Checksum [2023-05-09T22:48:36.688Z] 9325e15d5711: Download complete [2023-05-09T22:48:36.688Z] f56be85fc22e: Pull complete [2023-05-09T22:48:36.948Z] 85791d961cd3: Pull complete [2023-05-09T22:48:37.211Z] c5a4b2cf53e6: Verifying Checksum [2023-05-09T22:48:37.211Z] c5a4b2cf53e6: Download complete [2023-05-09T22:48:37.211Z] d694b5ae8c79: Verifying Checksum [2023-05-09T22:48:37.211Z] d694b5ae8c79: Download complete [2023-05-09T22:48:37.470Z] 556b6ee489ea: Verifying Checksum [2023-05-09T22:48:37.470Z] 556b6ee489ea: Download complete [2023-05-09T22:48:40.759Z] d694b5ae8c79: Pull complete [2023-05-09T22:48:40.759Z] 9f32a84ed3da: Pull complete [2023-05-09T22:48:40.759Z] 4d19c01a9841: Pull complete [2023-05-09T22:48:40.759Z] 9325e15d5711: Pull complete [2023-05-09T22:48:41.872Z] using credential edgex-jenkins-ssh [2023-05-09T22:48:41.894Z] Cloning the remote Git repository [2023-05-09T22:48:42.660Z] 556b6ee489ea: Pull complete [2023-05-09T22:48:41.947Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-09T22:48:42.066Z] > git init /w/workspace/device-modbus-go/103 # timeout=10 [2023-05-09T22:48:42.255Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-09T22:48:42.257Z] > git --version # timeout=10 [2023-05-09T22:48:42.281Z] > git --version # 'git version 2.25.1' [2023-05-09T22:48:42.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T22:48:42.463Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T22:48:44.038Z] c5a4b2cf53e6: Pull complete [2023-05-09T22:48:44.038Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-09T22:48:44.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-09T22:48:44.038Z] ---> c4be618373d6 [2023-05-09T22:48:44.038Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-09T22:48:43.699Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-09T22:48:43.733Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T22:48:44.838Z] Avoid second fetch [2023-05-09T22:48:44.839Z] Checking out Revision 8b019029337577f55c3ddf5891f69e829d86b4f5 (main) [2023-05-09T22:48:45.415Z] ---> Running in a8d742e76d1e [2023-05-09T22:48:45.538Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#475)" [2023-05-09T22:48:45.673Z] Removing intermediate container a8d742e76d1e [2023-05-09T22:48:45.673Z] ---> b25e75b9d519 [2023-05-09T22:48:45.674Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T22:48:45.674Z] ---> Running in 7e97ae120103 [2023-05-09T22:48:45.674Z] Removing intermediate container 7e97ae120103 [2023-05-09T22:48:45.674Z] ---> 14ba6ed8e3d5 [2023-05-09T22:48:45.674Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-09T22:48:45.674Z] ---> Running in 59290463f7fa [2023-05-09T22:48:44.854Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T22:48:44.937Z] > git checkout -f 8b019029337577f55c3ddf5891f69e829d86b4f5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T22:48:46.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T22:48:46.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T22:48:46.394Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-09T22:48:46.394Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T22:48:46.394Z] Dload Upload Total Spent Left Speed [2023-05-09T22:48:46.394Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [2023-05-09T22:48:46.502Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-09T22:48:46.502Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-09T22:48:46.502Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-09T22:48:46.502Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-09T22:48:46.502Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-09T22:48:46.502Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-09T22:48:46.502Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-09T22:48:46.502Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-09T22:48:46.502Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T22:48:46.502Z] OK: 270 MiB in 61 packages [Pipeline] sh [2023-05-09T22:48:47.070Z] Removing intermediate container 59290463f7fa [2023-05-09T22:48:47.070Z] ---> c97e2450af4c [2023-05-09T22:48:47.070Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-09T22:48:47.070Z] ---> Running in c139228ac047 [2023-05-09T22:48:47.070Z] Removing intermediate container c139228ac047 [2023-05-09T22:48:47.070Z] ---> ddf4abccc649 [2023-05-09T22:48:47.070Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-09T22:48:47.199Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-09T22:48:47.329Z] ---> b636cda129ea [2023-05-09T22:48:47.329Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T22:48:47.329Z] ---> Running in f644a8924686 [2023-05-09T22:48:47.559Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ sudo tee [2023-05-09T22:48:47.559Z] /etc/docker/daemon.new [2023-05-09T22:48:47.559Z] { [2023-05-09T22:48:47.559Z] "registry-mirrors": [ [2023-05-09T22:48:47.559Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-09T22:48:47.559Z] ], [2023-05-09T22:48:47.559Z] "bip": "10.250.0.254/24", [2023-05-09T22:48:47.559Z] "hosts": [ [2023-05-09T22:48:47.559Z] "tcp://0.0.0.0:5555", [2023-05-09T22:48:47.559Z] "unix:///var/run/docker.sock" [2023-05-09T22:48:47.559Z] ], [2023-05-09T22:48:47.559Z] "mtu": 1458, [2023-05-09T22:48:47.559Z] "selinux-enabled": true, [2023-05-09T22:48:47.559Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-09T22:48:47.559Z] } [Pipeline] sh [2023-05-09T22:48:47.907Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-09T22:48:48.261Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T22:49:06.562Z] provisioning config files... [2023-05-09T22:49:06.590Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/103@tmp/config11339964380666733583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:49:06.955Z] ---> docker-login.sh [2023-05-09T22:49:06.956Z] nexus3.edgexfoundry.org:10001 [2023-05-09T22:49:07.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:49:07.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:49:07.547Z] Configure a credential helper to remove this warning. See [2023-05-09T22:49:07.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:49:07.547Z] [2023-05-09T22:49:07.547Z] Login Succeeded [2023-05-09T22:49:07.547Z] nexus3.edgexfoundry.org:10002 [2023-05-09T22:49:07.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:49:08.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:49:08.087Z] Configure a credential helper to remove this warning. See [2023-05-09T22:49:08.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:49:08.087Z] [2023-05-09T22:49:08.087Z] Login Succeeded [2023-05-09T22:49:08.087Z] nexus3.edgexfoundry.org:10003 [2023-05-09T22:49:08.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:49:08.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:49:08.356Z] Configure a credential helper to remove this warning. See [2023-05-09T22:49:08.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:49:08.356Z] [2023-05-09T22:49:08.356Z] Login Succeeded [2023-05-09T22:49:08.356Z] nexus3.edgexfoundry.org:10004 [2023-05-09T22:49:08.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:49:08.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:49:08.896Z] Configure a credential helper to remove this warning. See [2023-05-09T22:49:08.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:49:08.896Z] [2023-05-09T22:49:08.896Z] Login Succeeded [2023-05-09T22:49:08.896Z] docker.io [2023-05-09T22:49:09.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:49:09.265Z] Removing intermediate container f644a8924686 [2023-05-09T22:49:09.265Z] ---> 1344f491a819 [2023-05-09T22:49:09.265Z] Step 9/10 : COPY . . [2023-05-09T22:49:09.265Z] ---> b94fc6f724f5 [2023-05-09T22:49:09.265Z] Step 10/10 : RUN ${MAKE} [2023-05-09T22:49:09.265Z] ---> Running in 5179c2f03ae7 [2023-05-09T22:49:09.265Z] noop [2023-05-09T22:49:09.265Z] Removing intermediate container 5179c2f03ae7 [2023-05-09T22:49:09.265Z] ---> 18b7e0b9ef66 [2023-05-09T22:49:09.265Z] Successfully built 18b7e0b9ef66 [2023-05-09T22:49:09.265Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:49:09.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:49:09.436Z] Configure a credential helper to remove this warning. See [2023-05-09T22:49:09.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:49:09.436Z] [2023-05-09T22:49:09.436Z] Login Succeeded [2023-05-09T22:49:09.436Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T22:49:09.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-05-09T22:49:09.571Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T22:49:09.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:49:09.645Z] prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container [2023-05-09T22:49:09.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T22:49:10.064Z] $ docker top 3bcac68c87c274865345bff08c8c55af6df3a9f1b533a0da4c00554cc58e6b35 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] echo [2023-05-09T22:49:10.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T22:49:10.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T22:49:10.193Z] ========================================================= [2023-05-09T22:49:10.193Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-09T22:49:10.193Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:49:10.408Z] + go version [2023-05-09T22:49:10.408Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-09T22:49:10.419Z] $ docker stop --time=1 3bcac68c87c274865345bff08c8c55af6df3a9f1b533a0da4c00554cc58e6b35 [2023-05-09T22:49:10.558Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-09T22:49:10.828Z] Sending build context to Docker daemon 3.389MB [2023-05-09T22:49:10.828Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T22:49:10.828Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-09T22:49:11.116Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-09T22:49:11.116Z] c41833b44d91: Pulling fs layer [2023-05-09T22:49:11.116Z] ed15518f5707: Pulling fs layer [2023-05-09T22:49:11.116Z] feae8fd75edb: Pulling fs layer [2023-05-09T22:49:11.116Z] 242c74f7c9fa: Pulling fs layer [2023-05-09T22:49:11.116Z] 3cdef696dda3: Pulling fs layer [2023-05-09T22:49:11.116Z] 2ced38df9373: Pulling fs layer [2023-05-09T22:49:11.116Z] 58f1dce35555: Pulling fs layer [2023-05-09T22:49:11.116Z] 3cdef696dda3: Waiting [2023-05-09T22:49:11.116Z] 2ced38df9373: Waiting [2023-05-09T22:49:11.116Z] 58f1dce35555: Waiting [2023-05-09T22:49:11.116Z] 242c74f7c9fa: Waiting [2023-05-09T22:49:11.116Z] ed15518f5707: Verifying Checksum [2023-05-09T22:49:11.116Z] ed15518f5707: Download complete [2023-05-09T22:49:11.116Z] 242c74f7c9fa: Download complete [2023-05-09T22:49:11.116Z] 3cdef696dda3: Verifying Checksum [2023-05-09T22:49:11.116Z] 3cdef696dda3: Download complete [2023-05-09T22:49:11.116Z] c41833b44d91: Verifying Checksum [2023-05-09T22:49:11.116Z] c41833b44d91: Download complete [2023-05-09T22:49:11.707Z] $ docker rm -f --volumes 3bcac68c87c274865345bff08c8c55af6df3a9f1b533a0da4c00554cc58e6b35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:49:12.125Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T22:49:12.125Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:49:12.204Z] prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container [2023-05-09T22:49:12.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T22:49:12.547Z] c41833b44d91: Pull complete [2023-05-09T22:49:12.547Z] 58f1dce35555: Verifying Checksum [2023-05-09T22:49:12.547Z] 58f1dce35555: Download complete [2023-05-09T22:49:12.628Z] $ docker top 59d52b789bf393ccebb69d8feee2d447ddc273f634ac0e18f71f4b8a5bcbfd1b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T22:49:12.820Z] ed15518f5707: Pull complete [2023-05-09T22:49:12.974Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-09T22:49:13.270Z] + make test [2023-05-09T22:49:13.270Z] go test ./... -coverprofile=coverage.out [2023-05-09T22:49:13.793Z] feae8fd75edb: Verifying Checksum [2023-05-09T22:49:13.793Z] feae8fd75edb: Download complete [2023-05-09T22:49:13.793Z] 2ced38df9373: Verifying Checksum [2023-05-09T22:49:13.793Z] 2ced38df9373: Download complete [2023-05-09T22:49:18.543Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-09T22:49:26.178Z] feae8fd75edb: Pull complete [2023-05-09T22:49:26.178Z] 242c74f7c9fa: Pull complete [2023-05-09T22:49:26.178Z] 3cdef696dda3: Pull complete [2023-05-09T22:49:30.754Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-09T22:49:30.754Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.4% of statements [2023-05-09T22:49:34.431Z] 2ced38df9373: Pull complete [2023-05-09T22:49:36.022Z] go vet ./... [2023-05-09T22:49:36.396Z] 58f1dce35555: Pull complete [2023-05-09T22:49:36.396Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-09T22:49:36.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-09T22:49:36.396Z] ---> fadd8f120f05 [2023-05-09T22:49:36.396Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-09T22:49:37.829Z] ---> Running in e3855e22f010 [2023-05-09T22:49:38.100Z] Removing intermediate container e3855e22f010 [2023-05-09T22:49:38.100Z] ---> 06e5fa92f8b2 [2023-05-09T22:49:38.100Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T22:49:38.100Z] ---> Running in e0bd74f8f38d [2023-05-09T22:49:38.370Z] Removing intermediate container e0bd74f8f38d [2023-05-09T22:49:38.370Z] ---> cdb729de7992 [2023-05-09T22:49:38.370Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-09T22:49:38.641Z] ---> Running in 64449510ca22 [2023-05-09T22:49:39.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T22:49:40.219Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T22:49:40.219Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T22:49:40.219Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T22:49:40.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T22:49:40.247Z] $ docker stop --time=1 59d52b789bf393ccebb69d8feee2d447ddc273f634ac0e18f71f4b8a5bcbfd1b [2023-05-09T22:49:40.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T22:49:41.548Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-09T22:49:41.548Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-09T22:49:41.548Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-09T22:49:41.927Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-09T22:49:41.927Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-09T22:49:41.927Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-09T22:49:41.927Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-09T22:49:41.927Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-09T22:49:41.927Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T22:49:41.927Z] OK: 270 MiB in 61 packages [2023-05-09T22:49:42.499Z] $ docker rm -f --volumes 59d52b789bf393ccebb69d8feee2d447ddc273f634ac0e18f71f4b8a5bcbfd1b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T22:49:42.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T22:49:43.017Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-09T22:49:43.425Z] Removing intermediate container 64449510ca22 [2023-05-09T22:49:43.425Z] ---> 8553e47020b0 [2023-05-09T22:49:43.425Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-09T22:49:43.425Z] ---> Running in 806e3aaa2910 [2023-05-09T22:49:43.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T22:49:43.694Z] Removing intermediate container 806e3aaa2910 [2023-05-09T22:49:43.694Z] ---> f86e59505784 [2023-05-09T22:49:43.694Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-09T22:49:43.728Z] + ls -al . [2023-05-09T22:49:43.728Z] total 180 [2023-05-09T22:49:43.729Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:49 . [2023-05-09T22:49:43.729Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:48 .. [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 22:48 .dockerignore [2023-05-09T22:49:43.729Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:48 .git [2023-05-09T22:49:43.729Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 .github [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 331 May 9 22:48 .gitignore [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 22:48 .golangci.yml [2023-05-09T22:49:43.729Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:48 .semver [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 9 22:48 Attribution.txt [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 9 22:48 CHANGELOG.md [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 9 22:48 Dockerfile [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:48 GOVERNANCE.md [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 22:48 Jenkinsfile [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 22:48 LICENSE [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 9 22:48 Makefile [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 622 May 9 22:48 OWNERS.md [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 9 22:48 README.md [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 22:48 VERSION [2023-05-09T22:49:43.729Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:48 bin [2023-05-09T22:49:43.729Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 cmd [2023-05-09T22:49:43.729Z] -rw-r--r-- 1 jenkins jenkins 24160 May 9 22:49 coverage.out [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 9 22:48 go.mod [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 9 22:48 go.sum [2023-05-09T22:49:43.729Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 internal [2023-05-09T22:49:43.729Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:48 simulator [2023-05-09T22:49:43.729Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:48 snap [2023-05-09T22:49:43.729Z] -rw-rw-r-- 1 jenkins jenkins 229 May 9 22:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:49:44.032Z] + 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=8b019029337577f55c3ddf5891f69e829d86b4f5 --label arch=amd64 --label version=3.0.0-dev.37 . [2023-05-09T22:49:44.032Z] Sending build context to Docker daemon 6.513MB [2023-05-09T22:49:44.032Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T22:49:44.032Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-09T22:49:44.032Z] ---> 18b7e0b9ef66 [2023-05-09T22:49:44.032Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-09T22:49:44.287Z] ---> bd90b95770a4 [2023-05-09T22:49:44.287Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T22:49:44.287Z] ---> Running in 76b0ef376861 [2023-05-09T22:49:44.291Z] ---> Running in 3b177e49ab93 [2023-05-09T22:49:44.291Z] Removing intermediate container 3b177e49ab93 [2023-05-09T22:49:44.291Z] ---> 292e74c776dd [2023-05-09T22:49:44.291Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T22:49:44.291Z] ---> Running in c4b3f29f5806 [2023-05-09T22:49:44.291Z] Removing intermediate container c4b3f29f5806 [2023-05-09T22:49:44.291Z] ---> 1a588a1dcca3 [2023-05-09T22:49:44.291Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-09T22:49:44.291Z] ---> Running in fa490a05a890 [2023-05-09T22:49:44.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T22:49:44.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T22:49:45.067Z] OK: 270 MiB in 61 packages [2023-05-09T22:49:45.326Z] Removing intermediate container fa490a05a890 [2023-05-09T22:49:45.326Z] ---> 03a50b477750 [2023-05-09T22:49:45.326Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-09T22:49:45.326Z] ---> Running in ed56c7cc0221 [2023-05-09T22:49:45.326Z] Removing intermediate container ed56c7cc0221 [2023-05-09T22:49:45.326Z] ---> d5fabda8af2b [2023-05-09T22:49:45.326Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-09T22:49:45.586Z] ---> 6a0668efd357 [2023-05-09T22:49:45.586Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T22:49:45.586Z] ---> Running in 917dc11f6400 [2023-05-09T22:49:46.593Z] Removing intermediate container 917dc11f6400 [2023-05-09T22:49:46.593Z] ---> b76da673dc0f [2023-05-09T22:49:46.593Z] Step 9/22 : COPY . . [2023-05-09T22:49:46.890Z] ---> 13f86680f934 [2023-05-09T22:49:46.890Z] Step 10/22 : RUN ${MAKE} [2023-05-09T22:49:46.890Z] ---> Running in 321fcdfc00a2 [2023-05-09T22:49:47.174Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-09T22:50:09.157Z] Removing intermediate container 321fcdfc00a2 [2023-05-09T22:50:09.157Z] ---> 97d33b0c88c0 [2023-05-09T22:50:09.157Z] Step 11/22 : FROM alpine:3.17 [2023-05-09T22:50:09.157Z] 3.17: Pulling from library/alpine [2023-05-09T22:50:09.157Z] f56be85fc22e: Already exists [2023-05-09T22:50:09.157Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T22:50:09.157Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T22:50:09.157Z] ---> 9ed4aefc74f6 [2023-05-09T22:50:09.157Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-09T22:50:09.157Z] ---> Running in 1fddb8afae65 [2023-05-09T22:50:09.157Z] Removing intermediate container 1fddb8afae65 [2023-05-09T22:50:09.157Z] ---> 7c57bd0dfa46 [2023-05-09T22:50:09.157Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-09T22:50:09.157Z] ---> Running in 5b8a65e72123 [2023-05-09T22:50:09.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T22:50:09.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T22:50:09.157Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-09T22:50:09.157Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T22:50:09.157Z] OK: 7 MiB in 16 packages [2023-05-09T22:50:09.157Z] Removing intermediate container 5b8a65e72123 [2023-05-09T22:50:09.157Z] ---> 2b546bbf6955 [2023-05-09T22:50:09.157Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-09T22:50:09.157Z] ---> 947a1063aeb6 [2023-05-09T22:50:09.157Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-09T22:50:09.157Z] ---> 35accbf48c37 [2023-05-09T22:50:09.157Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-09T22:50:09.157Z] ---> 5fc97d524413 [2023-05-09T22:50:09.157Z] Step 17/22 : EXPOSE 59901 [2023-05-09T22:50:09.157Z] ---> Running in 430637e242b1 [2023-05-09T22:50:09.157Z] Removing intermediate container 430637e242b1 [2023-05-09T22:50:09.157Z] ---> 1d407460a808 [2023-05-09T22:50:09.157Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-09T22:50:09.157Z] ---> Running in 5b023ef6985a [2023-05-09T22:50:09.157Z] Removing intermediate container 5b023ef6985a [2023-05-09T22:50:09.157Z] ---> 3e1bb0887ce1 [2023-05-09T22:50:09.157Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-09T22:50:09.157Z] ---> Running in 51861a40fc8c [2023-05-09T22:50:09.157Z] Removing intermediate container 51861a40fc8c [2023-05-09T22:50:09.157Z] ---> 17832ac12d5a [2023-05-09T22:50:09.157Z] Step 20/22 : LABEL arch=amd64 [2023-05-09T22:50:09.157Z] ---> Running in 42f23b8f6286 [2023-05-09T22:50:09.157Z] Removing intermediate container 42f23b8f6286 [2023-05-09T22:50:09.157Z] ---> a5d42b5a1ec4 [2023-05-09T22:50:09.157Z] Step 21/22 : LABEL git_sha=8b019029337577f55c3ddf5891f69e829d86b4f5 [2023-05-09T22:50:09.157Z] ---> Running in 3c97d79b839f [2023-05-09T22:50:09.416Z] Removing intermediate container 3c97d79b839f [2023-05-09T22:50:09.416Z] ---> a70155e11875 [2023-05-09T22:50:09.416Z] Step 22/22 : LABEL version=3.0.0-dev.37 [2023-05-09T22:50:09.416Z] ---> Running in e6e215bc459e [2023-05-09T22:50:09.416Z] Removing intermediate container e6e215bc459e [2023-05-09T22:50:09.416Z] ---> 27236636234c [2023-05-09T22:50:09.416Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T22:50:09.416Z] Successfully built 27236636234c [2023-05-09T22:50:09.416Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T22:50:09.501Z] provisioning config files... [2023-05-09T22:50:09.508Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2709314202000068043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:50:09.807Z] ---> docker-login.sh [2023-05-09T22:50:09.807Z] nexus3.edgexfoundry.org:10001 [2023-05-09T22:50:09.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:50:09.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:50:09.807Z] Configure a credential helper to remove this warning. See [2023-05-09T22:50:09.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:50:09.807Z] [2023-05-09T22:50:09.807Z] Login Succeeded [2023-05-09T22:50:09.807Z] nexus3.edgexfoundry.org:10002 [2023-05-09T22:50:09.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:50:09.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:50:09.807Z] Configure a credential helper to remove this warning. See [2023-05-09T22:50:09.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:50:09.807Z] [2023-05-09T22:50:09.807Z] Login Succeeded [2023-05-09T22:50:09.807Z] nexus3.edgexfoundry.org:10003 [2023-05-09T22:50:10.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:50:10.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:50:10.066Z] Configure a credential helper to remove this warning. See [2023-05-09T22:50:10.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:50:10.066Z] [2023-05-09T22:50:10.066Z] Login Succeeded [2023-05-09T22:50:10.066Z] nexus3.edgexfoundry.org:10004 [2023-05-09T22:50:10.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:50:10.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:50:10.066Z] Configure a credential helper to remove this warning. See [2023-05-09T22:50:10.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:50:10.066Z] [2023-05-09T22:50:10.066Z] Login Succeeded [2023-05-09T22:50:10.066Z] docker.io [2023-05-09T22:50:10.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:50:10.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:50:10.327Z] Configure a credential helper to remove this warning. See [2023-05-09T22:50:10.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:50:10.327Z] [2023-05-09T22:50:10.327Z] Login Succeeded [2023-05-09T22:50:10.327Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T22:50:10.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-09T22:50:10.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T22:50:10.394Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-09T22:50:10.394Z] 8b019029337577f55c3ddf5891f69e829d86b4f5 [2023-05-09T22:50:10.394Z] latest [2023-05-09T22:50:10.394Z] 3.0.0-dev.37 [2023-05-09T22:50:10.394Z] 8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 [2023-05-09T22:50:10.394Z] main [2023-05-09T22:50:10.394Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:10.719Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:11.034Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5 [2023-05-09T22:50:11.034Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-09T22:50:11.034Z] 97be059de322: Preparing [2023-05-09T22:50:11.034Z] 6e0bb01af105: Preparing [2023-05-09T22:50:11.034Z] 12c554ba2a06: Preparing [2023-05-09T22:50:11.034Z] e8a9ccea52ff: Preparing [2023-05-09T22:50:11.034Z] f1417ff83b31: Preparing [2023-05-09T22:50:11.034Z] f1417ff83b31: Layer already exists [2023-05-09T22:50:11.034Z] e8a9ccea52ff: Pushed [2023-05-09T22:50:11.034Z] 97be059de322: Pushed [2023-05-09T22:50:11.034Z] 6e0bb01af105: Pushed [2023-05-09T22:50:14.324Z] 12c554ba2a06: Pushed [2023-05-09T22:50:14.324Z] 8b019029337577f55c3ddf5891f69e829d86b4f5: digest: sha256:3d80bc252bbff550473668755800ba8f1f679b509dfa003d38d4e47f3bef1614 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:14.632Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:14.936Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-09T22:50:14.936Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-09T22:50:14.936Z] 97be059de322: Preparing [2023-05-09T22:50:14.936Z] 6e0bb01af105: Preparing [2023-05-09T22:50:14.936Z] 12c554ba2a06: Preparing [2023-05-09T22:50:14.936Z] e8a9ccea52ff: Preparing [2023-05-09T22:50:14.936Z] f1417ff83b31: Preparing [2023-05-09T22:50:14.936Z] 12c554ba2a06: Layer already exists [2023-05-09T22:50:14.936Z] e8a9ccea52ff: Layer already exists [2023-05-09T22:50:14.936Z] 6e0bb01af105: Layer already exists [2023-05-09T22:50:14.936Z] 97be059de322: Layer already exists [2023-05-09T22:50:14.936Z] f1417ff83b31: Layer already exists [2023-05-09T22:50:14.936Z] latest: digest: sha256:3d80bc252bbff550473668755800ba8f1f679b509dfa003d38d4e47f3bef1614 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:15.249Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:15.559Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.37 [2023-05-09T22:50:15.559Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-09T22:50:15.559Z] 97be059de322: Preparing [2023-05-09T22:50:15.559Z] 6e0bb01af105: Preparing [2023-05-09T22:50:15.559Z] 12c554ba2a06: Preparing [2023-05-09T22:50:15.559Z] e8a9ccea52ff: Preparing [2023-05-09T22:50:15.559Z] f1417ff83b31: Preparing [2023-05-09T22:50:15.559Z] 12c554ba2a06: Layer already exists [2023-05-09T22:50:15.559Z] 97be059de322: Layer already exists [2023-05-09T22:50:15.559Z] e8a9ccea52ff: Layer already exists [2023-05-09T22:50:15.559Z] f1417ff83b31: Layer already exists [2023-05-09T22:50:15.559Z] 6e0bb01af105: Layer already exists [2023-05-09T22:50:15.559Z] 3.0.0-dev.37: digest: sha256:3d80bc252bbff550473668755800ba8f1f679b509dfa003d38d4e47f3bef1614 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:15.869Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:16.175Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 [2023-05-09T22:50:16.175Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-09T22:50:16.175Z] 97be059de322: Preparing [2023-05-09T22:50:16.175Z] 6e0bb01af105: Preparing [2023-05-09T22:50:16.175Z] 12c554ba2a06: Preparing [2023-05-09T22:50:16.175Z] e8a9ccea52ff: Preparing [2023-05-09T22:50:16.175Z] f1417ff83b31: Preparing [2023-05-09T22:50:16.175Z] 12c554ba2a06: Layer already exists [2023-05-09T22:50:16.175Z] 97be059de322: Layer already exists [2023-05-09T22:50:16.175Z] e8a9ccea52ff: Layer already exists [2023-05-09T22:50:16.175Z] f1417ff83b31: Layer already exists [2023-05-09T22:50:16.175Z] 6e0bb01af105: Layer already exists [2023-05-09T22:50:16.175Z] 8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37: digest: sha256:3d80bc252bbff550473668755800ba8f1f679b509dfa003d38d4e47f3bef1614 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:16.485Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:16.789Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-09T22:50:16.789Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-09T22:50:16.789Z] 97be059de322: Preparing [2023-05-09T22:50:16.789Z] 6e0bb01af105: Preparing [2023-05-09T22:50:16.789Z] 12c554ba2a06: Preparing [2023-05-09T22:50:16.789Z] e8a9ccea52ff: Preparing [2023-05-09T22:50:16.789Z] f1417ff83b31: Preparing [2023-05-09T22:50:16.789Z] 97be059de322: Layer already exists [2023-05-09T22:50:16.789Z] e8a9ccea52ff: Layer already exists [2023-05-09T22:50:16.789Z] 6e0bb01af105: Layer already exists [2023-05-09T22:50:16.789Z] 12c554ba2a06: Layer already exists [2023-05-09T22:50:16.789Z] f1417ff83b31: Layer already exists [2023-05-09T22:50:16.789Z] main: digest: sha256:3d80bc252bbff550473668755800ba8f1f679b509dfa003d38d4e47f3bef1614 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-09T22:50:16.829Z] ===================================================== [Pipeline] echo [2023-05-09T22:50:16.838Z] taggedImages: [2023-05-09T22:50:16.838Z] - nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5 [2023-05-09T22:50:16.838Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-09T22:50:16.838Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.37 [2023-05-09T22:50:16.838Z] - nexus3.edgexfoundry.org:10004/device-modbus:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 [2023-05-09T22:50:16.838Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:17.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T22:50:17.226Z] [2023-05-09T22:50:17.226Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:17.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T22:50:17.522Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-09T22:50:17.522Z] 5eb5b503b376: Pulling fs layer [2023-05-09T22:50:17.522Z] 5c69ac0246d0: Pulling fs layer [2023-05-09T22:50:17.522Z] ec43610c2a17: Pulling fs layer [2023-05-09T22:50:17.522Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-09T22:50:17.522Z] 33b1e0a273af: Pulling fs layer [2023-05-09T22:50:17.522Z] 5d3b04190fa2: Pulling fs layer [2023-05-09T22:50:17.522Z] 3a2ae6a8a46f: Waiting [2023-05-09T22:50:17.522Z] 33b1e0a273af: Waiting [2023-05-09T22:50:17.522Z] 2f39f015ded8: Pulling fs layer [2023-05-09T22:50:17.522Z] 5d3b04190fa2: Waiting [2023-05-09T22:50:17.522Z] 2f39f015ded8: Waiting [2023-05-09T22:50:17.522Z] 5c69ac0246d0: Verifying Checksum [2023-05-09T22:50:17.522Z] 5c69ac0246d0: Download complete [2023-05-09T22:50:17.522Z] 3a2ae6a8a46f: Download complete [2023-05-09T22:50:17.522Z] 33b1e0a273af: Verifying Checksum [2023-05-09T22:50:17.522Z] 33b1e0a273af: Download complete [2023-05-09T22:50:17.522Z] ec43610c2a17: Verifying Checksum [2023-05-09T22:50:17.522Z] ec43610c2a17: Download complete [2023-05-09T22:50:17.522Z] 5d3b04190fa2: Download complete [2023-05-09T22:50:17.781Z] 5eb5b503b376: Verifying Checksum [2023-05-09T22:50:17.781Z] 5eb5b503b376: Download complete [2023-05-09T22:50:18.349Z] 2f39f015ded8: Verifying Checksum [2023-05-09T22:50:18.349Z] 2f39f015ded8: Download complete [2023-05-09T22:50:18.920Z] 5eb5b503b376: Pull complete [2023-05-09T22:50:19.178Z] 5c69ac0246d0: Pull complete [2023-05-09T22:50:19.437Z] ec43610c2a17: Pull complete [2023-05-09T22:50:19.695Z] 3a2ae6a8a46f: Pull complete [2023-05-09T22:50:19.954Z] 33b1e0a273af: Pull complete [2023-05-09T22:50:19.954Z] 5d3b04190fa2: Pull complete [2023-05-09T22:50:24.140Z] 2f39f015ded8: Pull complete [2023-05-09T22:50:24.140Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-09T22:50:24.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T22:50:24.140Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:50:24.225Z] prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container [2023-05-09T22:50:24.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T22:50:26.252Z] $ docker top 323a515926c38e0009a614efe64088a0434b8f9cee5146e0c8f2a6c47c9789b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:50:26.640Z] ---> job-cost.sh [2023-05-09T22:50:26.640Z] lf-activate-venv: SKIPPING [2023-05-09T22:50:26.640Z] INFO: No Stack... [2023-05-09T22:50:26.899Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T22:50:27.158Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T22:50:27.450Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-09T22:50:27.450Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T22:50:27.463Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] [2023-05-09T22:50:27.469Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] did not exist. Created. [2023-05-09T22:50:27.469Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T22:50:27.773Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-09T22:50:27.805Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T22:50:27.811Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T22:50:27.830Z] $ docker stop --time=1 323a515926c38e0009a614efe64088a0434b8f9cee5146e0c8f2a6c47c9789b4 [2023-05-09T22:50:28.987Z] $ docker rm -f --volumes 323a515926c38e0009a614efe64088a0434b8f9cee5146e0c8f2a6c47c9789b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-09T22:50:52.220Z] Removing intermediate container 76b0ef376861 [2023-05-09T22:50:52.220Z] ---> fc1e1841e46a [2023-05-09T22:50:52.220Z] Step 9/10 : COPY . . [2023-05-09T22:50:52.220Z] ---> ca2ea19240c3 [2023-05-09T22:50:52.220Z] Step 10/10 : RUN ${MAKE} [2023-05-09T22:50:52.220Z] ---> Running in e6584eb8ffcb [2023-05-09T22:50:52.220Z] noop [2023-05-09T22:50:52.220Z] Removing intermediate container e6584eb8ffcb [2023-05-09T22:50:52.220Z] ---> b65c154662cb [2023-05-09T22:50:52.220Z] Successfully built b65c154662cb [2023-05-09T22:50:52.220Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:52.572Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T22:50:52.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:50:52.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-14803 does not seem to be running inside a container [2023-05-09T22:50:52.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/103 -v /w/workspace/device-modbus-go/103:/w/workspace/device-modbus-go/103:rw,z -v /w/workspace/device-modbus-go/103@tmp:/w/workspace/device-modbus-go/103@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 ******** ci-base-image-arm64 cat [2023-05-09T22:50:54.211Z] $ docker top a2b09025d63a0233cbe1bf6dffba767577090a7b13bce177d4d0d2332a7ef717 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T22:50:55.098Z] + go version [2023-05-09T22:50:55.098Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-09T22:50:55.111Z] $ docker stop --time=1 a2b09025d63a0233cbe1bf6dffba767577090a7b13bce177d4d0d2332a7ef717 [2023-05-09T22:50:56.800Z] $ docker rm -f --volumes a2b09025d63a0233cbe1bf6dffba767577090a7b13bce177d4d0d2332a7ef717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:50:57.379Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T22:50:57.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:50:57.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-14803 does not seem to be running inside a container [2023-05-09T22:50:57.641Z] $ 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/103 -v /w/workspace/device-modbus-go/103:/w/workspace/device-modbus-go/103:rw,z -v /w/workspace/device-modbus-go/103@tmp:/w/workspace/device-modbus-go/103@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 ******** ci-base-image-arm64 cat [2023-05-09T22:50:58.882Z] $ docker top 5e6f79941f72123944aee7087ce045099aa4d08f5048d9fccb1cb39a51fbf6ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T22:50:59.752Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/103 [Pipeline] fileExists [Pipeline] sh [2023-05-09T22:51:00.417Z] + make test [2023-05-09T22:51:00.417Z] go test ./... -coverprofile=coverage.out [2023-05-09T22:51:36.513Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-09T22:54:13.343Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-09T22:54:13.343Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.4% of statements [2023-05-09T22:54:13.343Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-09T22:54:13.343Z] go vet ./... [2023-05-09T22:54:40.071Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T22:54:40.071Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T22:54:40.071Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T22:54:40.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T22:54:40.101Z] $ docker stop --time=1 5e6f79941f72123944aee7087ce045099aa4d08f5048d9fccb1cb39a51fbf6ea [2023-05-09T22:54:42.093Z] $ docker rm -f --volumes 5e6f79941f72123944aee7087ce045099aa4d08f5048d9fccb1cb39a51fbf6ea [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T22:54:43.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T22:54:43.414Z] Warning: overwriting stash ‘coverage-report’ [2023-05-09T22:54:44.002Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T22:54:44.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T22:54:44.741Z] + ls -al . [2023-05-09T22:54:44.742Z] total 176 [2023-05-09T22:54:44.742Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 22:51 . [2023-05-09T22:54:44.742Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:48 .. [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 22:48 .dockerignore [2023-05-09T22:54:44.742Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:48 .git [2023-05-09T22:54:44.742Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 .github [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 331 May 9 22:48 .gitignore [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 22:48 .golangci.yml [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 9 22:48 Attribution.txt [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 9 22:48 CHANGELOG.md [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 9 22:48 Dockerfile [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:48 GOVERNANCE.md [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 22:48 Jenkinsfile [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 22:48 LICENSE [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 9 22:48 Makefile [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 622 May 9 22:48 OWNERS.md [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 9 22:48 README.md [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 22:48 VERSION [2023-05-09T22:54:44.742Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:48 bin [2023-05-09T22:54:44.742Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 cmd [2023-05-09T22:54:44.742Z] -rw-r--r-- 1 jenkins jenkins 24160 May 9 22:54 coverage.out [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 9 22:48 go.mod [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 9 22:48 go.sum [2023-05-09T22:54:44.742Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:48 internal [2023-05-09T22:54:44.742Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:48 simulator [2023-05-09T22:54:44.742Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:48 snap [2023-05-09T22:54:44.742Z] -rw-rw-r-- 1 jenkins jenkins 229 May 9 22:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:54:45.099Z] + 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=8b019029337577f55c3ddf5891f69e829d86b4f5 --label arch=arm64 --label version=3.0.0-dev.37 . [2023-05-09T22:54:45.373Z] Sending build context to Docker daemon 3.415MB [2023-05-09T22:54:45.373Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T22:54:45.373Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-09T22:54:45.373Z] ---> b65c154662cb [2023-05-09T22:54:45.373Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-09T22:54:45.645Z] ---> Running in 5f904b2113ad [2023-05-09T22:54:45.918Z] Removing intermediate container 5f904b2113ad [2023-05-09T22:54:45.918Z] ---> cd091c802f15 [2023-05-09T22:54:45.918Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T22:54:45.918Z] ---> Running in e9eca0141fa0 [2023-05-09T22:54:46.512Z] Removing intermediate container e9eca0141fa0 [2023-05-09T22:54:46.512Z] ---> cc95fe210768 [2023-05-09T22:54:46.512Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-09T22:54:46.512Z] ---> Running in c505d9b1e07c [2023-05-09T22:54:47.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T22:54:48.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T22:54:49.620Z] OK: 270 MiB in 61 packages [2023-05-09T22:54:50.600Z] Removing intermediate container c505d9b1e07c [2023-05-09T22:54:50.600Z] ---> 4e781f1cd738 [2023-05-09T22:54:50.600Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-09T22:54:50.600Z] ---> Running in 07274a54db17 [2023-05-09T22:54:50.955Z] Removing intermediate container 07274a54db17 [2023-05-09T22:54:50.955Z] ---> 53382465c110 [2023-05-09T22:54:50.955Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-09T22:54:51.566Z] ---> 5d58cb6a7051 [2023-05-09T22:54:51.566Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T22:54:51.566Z] ---> Running in 6d512c832c0e [2023-05-09T22:54:54.950Z] Removing intermediate container 6d512c832c0e [2023-05-09T22:54:54.950Z] ---> 02cee6928e73 [2023-05-09T22:54:54.950Z] Step 9/22 : COPY . . [2023-05-09T22:54:55.539Z] ---> cc345a660440 [2023-05-09T22:54:55.539Z] Step 10/22 : RUN ${MAKE} [2023-05-09T22:54:55.539Z] ---> Running in 7e76f8a659dd [2023-05-09T22:54:56.505Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.37" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-09T22:57:33.310Z] Removing intermediate container 7e76f8a659dd [2023-05-09T22:57:33.311Z] ---> 714b9787646d [2023-05-09T22:57:33.311Z] Step 11/22 : FROM alpine:3.17 [2023-05-09T22:57:33.311Z] 3.17: Pulling from library/alpine [2023-05-09T22:57:33.311Z] c41833b44d91: Already exists [2023-05-09T22:57:33.311Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T22:57:33.311Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T22:57:33.311Z] ---> 51e60588ff2c [2023-05-09T22:57:33.311Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-09T22:57:33.311Z] ---> Running in f8bf5d29d981 [2023-05-09T22:57:33.311Z] Removing intermediate container f8bf5d29d981 [2023-05-09T22:57:33.311Z] ---> 0680020a9f0b [2023-05-09T22:57:33.311Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-09T22:57:33.311Z] ---> Running in 95c34b3aed0d [2023-05-09T22:57:33.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T22:57:33.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T22:57:33.311Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-09T22:57:33.311Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T22:57:33.311Z] OK: 8 MiB in 16 packages [2023-05-09T22:57:33.311Z] Removing intermediate container 95c34b3aed0d [2023-05-09T22:57:33.311Z] ---> 2c9005ddc5ea [2023-05-09T22:57:33.311Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-09T22:57:33.311Z] ---> 20438f914645 [2023-05-09T22:57:33.311Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-09T22:57:33.311Z] ---> 53b2eaca7eb9 [2023-05-09T22:57:33.311Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-09T22:57:33.311Z] ---> 061ce22bbf30 [2023-05-09T22:57:33.311Z] Step 17/22 : EXPOSE 59901 [2023-05-09T22:57:33.311Z] ---> Running in c9ffb8b2a85b [2023-05-09T22:57:33.311Z] Removing intermediate container c9ffb8b2a85b [2023-05-09T22:57:33.311Z] ---> 4069f2e3eb34 [2023-05-09T22:57:33.311Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-09T22:57:33.311Z] ---> Running in eb377b60e46a [2023-05-09T22:57:33.582Z] Removing intermediate container eb377b60e46a [2023-05-09T22:57:33.582Z] ---> 1458cd7ce608 [2023-05-09T22:57:33.582Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-09T22:57:33.853Z] ---> Running in ae57a631a6d1 [2023-05-09T22:57:34.123Z] Removing intermediate container ae57a631a6d1 [2023-05-09T22:57:34.123Z] ---> cc0fbd029268 [2023-05-09T22:57:34.123Z] Step 20/22 : LABEL arch=arm64 [2023-05-09T22:57:34.123Z] ---> Running in bcec9ff3527c [2023-05-09T22:57:34.397Z] Removing intermediate container bcec9ff3527c [2023-05-09T22:57:34.397Z] ---> 9cdc49fed286 [2023-05-09T22:57:34.397Z] Step 21/22 : LABEL git_sha=8b019029337577f55c3ddf5891f69e829d86b4f5 [2023-05-09T22:57:34.673Z] ---> Running in f6cad7077a35 [2023-05-09T22:57:34.944Z] Removing intermediate container f6cad7077a35 [2023-05-09T22:57:34.944Z] ---> 3c72e2496f37 [2023-05-09T22:57:34.944Z] Step 22/22 : LABEL version=3.0.0-dev.37 [2023-05-09T22:57:34.944Z] ---> Running in 948535c8a75f [2023-05-09T22:57:35.212Z] Removing intermediate container 948535c8a75f [2023-05-09T22:57:35.212Z] ---> 2731d8d9d4c6 [2023-05-09T22:57:35.212Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T22:57:35.212Z] Successfully built 2731d8d9d4c6 [2023-05-09T22:57:35.212Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T22:57:35.330Z] provisioning config files... [2023-05-09T22:57:35.348Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/103@tmp/config9751581281189943948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:57:35.697Z] ---> docker-login.sh [2023-05-09T22:57:35.698Z] nexus3.edgexfoundry.org:10001 [2023-05-09T22:57:35.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:57:35.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:57:35.965Z] Configure a credential helper to remove this warning. See [2023-05-09T22:57:35.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:57:35.965Z] [2023-05-09T22:57:35.965Z] Login Succeeded [2023-05-09T22:57:35.965Z] nexus3.edgexfoundry.org:10002 [2023-05-09T22:57:36.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:57:36.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:57:36.236Z] Configure a credential helper to remove this warning. See [2023-05-09T22:57:36.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:57:36.236Z] [2023-05-09T22:57:36.236Z] Login Succeeded [2023-05-09T22:57:36.236Z] nexus3.edgexfoundry.org:10003 [2023-05-09T22:57:36.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:57:36.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:57:36.777Z] Configure a credential helper to remove this warning. See [2023-05-09T22:57:36.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:57:36.777Z] [2023-05-09T22:57:36.777Z] Login Succeeded [2023-05-09T22:57:36.777Z] nexus3.edgexfoundry.org:10004 [2023-05-09T22:57:37.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:57:37.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:57:37.046Z] Configure a credential helper to remove this warning. See [2023-05-09T22:57:37.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:57:37.046Z] [2023-05-09T22:57:37.046Z] Login Succeeded [2023-05-09T22:57:37.046Z] docker.io [2023-05-09T22:57:37.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T22:57:37.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T22:57:37.584Z] Configure a credential helper to remove this warning. See [2023-05-09T22:57:37.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T22:57:37.584Z] [2023-05-09T22:57:37.584Z] Login Succeeded [2023-05-09T22:57:37.584Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T22:57:37.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-09T22:57:37.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T22:57:37.641Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-09T22:57:37.641Z] 8b019029337577f55c3ddf5891f69e829d86b4f5 [2023-05-09T22:57:37.641Z] latest [2023-05-09T22:57:37.641Z] 3.0.0-dev.37 [2023-05-09T22:57:37.641Z] 8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 [2023-05-09T22:57:37.641Z] main [2023-05-09T22:57:37.641Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:37.985Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:38.356Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5 [2023-05-09T22:57:38.356Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-09T22:57:38.356Z] 94a3dfd0b944: Preparing [2023-05-09T22:57:38.356Z] c235bc3763ef: Preparing [2023-05-09T22:57:38.356Z] 44835793cee7: Preparing [2023-05-09T22:57:38.356Z] 8ea6b08412ef: Preparing [2023-05-09T22:57:38.356Z] 26cbea5cba74: Preparing [2023-05-09T22:57:38.356Z] 26cbea5cba74: Layer already exists [2023-05-09T22:57:38.628Z] 94a3dfd0b944: Pushed [2023-05-09T22:57:38.628Z] 8ea6b08412ef: Pushed [2023-05-09T22:57:38.628Z] c235bc3763ef: Pushed [2023-05-09T22:57:43.979Z] 44835793cee7: Pushed [2023-05-09T22:57:43.979Z] 8b019029337577f55c3ddf5891f69e829d86b4f5: digest: sha256:777613ef303b529d3d3383cbb2452dfafa8fd32b17acc2f9844c38739c8181f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:44.330Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:44.738Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-09T22:57:44.738Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-09T22:57:44.738Z] 94a3dfd0b944: Preparing [2023-05-09T22:57:44.738Z] c235bc3763ef: Preparing [2023-05-09T22:57:44.738Z] 44835793cee7: Preparing [2023-05-09T22:57:44.738Z] 8ea6b08412ef: Preparing [2023-05-09T22:57:44.738Z] 26cbea5cba74: Preparing [2023-05-09T22:57:44.738Z] 26cbea5cba74: Layer already exists [2023-05-09T22:57:44.738Z] 44835793cee7: Layer already exists [2023-05-09T22:57:44.738Z] 8ea6b08412ef: Layer already exists [2023-05-09T22:57:44.738Z] c235bc3763ef: Layer already exists [2023-05-09T22:57:44.738Z] 94a3dfd0b944: Layer already exists [2023-05-09T22:57:45.012Z] latest: digest: sha256:777613ef303b529d3d3383cbb2452dfafa8fd32b17acc2f9844c38739c8181f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:45.374Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:45.728Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.37 [2023-05-09T22:57:45.728Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-09T22:57:45.728Z] 94a3dfd0b944: Preparing [2023-05-09T22:57:45.728Z] c235bc3763ef: Preparing [2023-05-09T22:57:45.728Z] 44835793cee7: Preparing [2023-05-09T22:57:45.728Z] 8ea6b08412ef: Preparing [2023-05-09T22:57:45.728Z] 26cbea5cba74: Preparing [2023-05-09T22:57:45.728Z] 94a3dfd0b944: Layer already exists [2023-05-09T22:57:45.728Z] 44835793cee7: Layer already exists [2023-05-09T22:57:45.728Z] 26cbea5cba74: Layer already exists [2023-05-09T22:57:45.728Z] c235bc3763ef: Layer already exists [2023-05-09T22:57:45.728Z] 8ea6b08412ef: Layer already exists [2023-05-09T22:57:45.728Z] 3.0.0-dev.37: digest: sha256:777613ef303b529d3d3383cbb2452dfafa8fd32b17acc2f9844c38739c8181f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:46.098Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:46.439Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 [2023-05-09T22:57:46.439Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-09T22:57:46.439Z] 94a3dfd0b944: Preparing [2023-05-09T22:57:46.439Z] c235bc3763ef: Preparing [2023-05-09T22:57:46.439Z] 44835793cee7: Preparing [2023-05-09T22:57:46.439Z] 8ea6b08412ef: Preparing [2023-05-09T22:57:46.439Z] 26cbea5cba74: Preparing [2023-05-09T22:57:46.439Z] c235bc3763ef: Layer already exists [2023-05-09T22:57:46.439Z] 26cbea5cba74: Layer already exists [2023-05-09T22:57:46.439Z] 94a3dfd0b944: Layer already exists [2023-05-09T22:57:46.439Z] 8ea6b08412ef: Layer already exists [2023-05-09T22:57:46.439Z] 44835793cee7: Layer already exists [2023-05-09T22:57:46.439Z] 8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37: digest: sha256:777613ef303b529d3d3383cbb2452dfafa8fd32b17acc2f9844c38739c8181f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:46.789Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:47.134Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-09T22:57:47.134Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-09T22:57:47.134Z] 94a3dfd0b944: Preparing [2023-05-09T22:57:47.134Z] c235bc3763ef: Preparing [2023-05-09T22:57:47.134Z] 44835793cee7: Preparing [2023-05-09T22:57:47.134Z] 8ea6b08412ef: Preparing [2023-05-09T22:57:47.134Z] 26cbea5cba74: Preparing [2023-05-09T22:57:47.134Z] 94a3dfd0b944: Layer already exists [2023-05-09T22:57:47.134Z] 44835793cee7: Layer already exists [2023-05-09T22:57:47.134Z] c235bc3763ef: Layer already exists [2023-05-09T22:57:47.134Z] 8ea6b08412ef: Layer already exists [2023-05-09T22:57:47.134Z] 26cbea5cba74: Layer already exists [2023-05-09T22:57:47.134Z] main: digest: sha256:777613ef303b529d3d3383cbb2452dfafa8fd32b17acc2f9844c38739c8181f9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-09T22:57:47.195Z] ===================================================== [Pipeline] echo [2023-05-09T22:57:47.207Z] taggedImages: [2023-05-09T22:57:47.207Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5 [2023-05-09T22:57:47.207Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-09T22:57:47.207Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.37 [2023-05-09T22:57:47.207Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:8b019029337577f55c3ddf5891f69e829d86b4f5-3.0.0-dev.37 [2023-05-09T22:57:47.207Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:47.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T22:57:47.590Z] [2023-05-09T22:57:47.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:57:47.932Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T22:57:47.932Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-09T22:57:47.932Z] 8998bd30e6a1: Pulling fs layer [2023-05-09T22:57:47.932Z] 04944245beec: Pulling fs layer [2023-05-09T22:57:47.932Z] 699f458cf7ca: Pulling fs layer [2023-05-09T22:57:47.932Z] 765212b225bb: Pulling fs layer [2023-05-09T22:57:47.932Z] f23df028b6ca: Pulling fs layer [2023-05-09T22:57:47.932Z] d65c8cfc05b1: Pulling fs layer [2023-05-09T22:57:47.932Z] 2437ff75d9bd: Pulling fs layer [2023-05-09T22:57:47.932Z] 765212b225bb: Waiting [2023-05-09T22:57:47.932Z] f23df028b6ca: Waiting [2023-05-09T22:57:47.932Z] d65c8cfc05b1: Waiting [2023-05-09T22:57:47.932Z] 2437ff75d9bd: Waiting [2023-05-09T22:57:48.201Z] 04944245beec: Verifying Checksum [2023-05-09T22:57:48.201Z] 04944245beec: Download complete [2023-05-09T22:57:48.201Z] 765212b225bb: Verifying Checksum [2023-05-09T22:57:48.201Z] 765212b225bb: Download complete [2023-05-09T22:57:48.201Z] f23df028b6ca: Verifying Checksum [2023-05-09T22:57:48.201Z] f23df028b6ca: Download complete [2023-05-09T22:57:48.201Z] d65c8cfc05b1: Verifying Checksum [2023-05-09T22:57:48.201Z] d65c8cfc05b1: Download complete [2023-05-09T22:57:48.482Z] 699f458cf7ca: Verifying Checksum [2023-05-09T22:57:48.482Z] 699f458cf7ca: Download complete [2023-05-09T22:57:48.749Z] 8998bd30e6a1: Verifying Checksum [2023-05-09T22:57:48.749Z] 8998bd30e6a1: Download complete [2023-05-09T22:57:50.701Z] 2437ff75d9bd: Verifying Checksum [2023-05-09T22:57:50.701Z] 2437ff75d9bd: Download complete [2023-05-09T22:57:54.044Z] 8998bd30e6a1: Pull complete [2023-05-09T22:57:54.311Z] 04944245beec: Pull complete [2023-05-09T22:57:55.272Z] 699f458cf7ca: Pull complete [2023-05-09T22:57:55.539Z] 765212b225bb: Pull complete [2023-05-09T22:57:56.498Z] f23df028b6ca: Pull complete [2023-05-09T22:57:56.498Z] d65c8cfc05b1: Pull complete [2023-05-09T22:58:08.824Z] 2437ff75d9bd: Pull complete [2023-05-09T22:58:08.824Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-09T22:58:08.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T22:58:08.824Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:58:09.031Z] prd-ubuntu20.04-docker-arm64-4c-16g-14803 does not seem to be running inside a container [2023-05-09T22:58:09.096Z] $ 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/103 -v /w/workspace/device-modbus-go/103:/w/workspace/device-modbus-go/103:rw,z -v /w/workspace/device-modbus-go/103@tmp:/w/workspace/device-modbus-go/103@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:arm64 cat [2023-05-09T22:58:11.871Z] $ docker top 5d957a318384c3430729dfd95c000c062055395208d6d2342f776f098cfa7ea0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:58:12.762Z] ---> job-cost.sh [2023-05-09T22:58:12.762Z] lf-activate-venv: SKIPPING [2023-05-09T22:58:12.762Z] INFO: No Stack... [2023-05-09T22:58:13.347Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-09T22:58:14.311Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T22:58:14.956Z] + cut -d, -f6 [2023-05-09T22:58:14.956Z] + cat /w/workspace/device-modbus-go/103/archives/cost.csv [Pipeline] lock [2023-05-09T22:58:15.030Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] [2023-05-09T22:58:15.035Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] did not exist. Created. [2023-05-09T22:58:15.035Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T22:58:15.706Z] /w/workspace/device-modbus-go/103@tmp/durable-6b91727e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-09T22:58:16.363Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-09T22:58:16.386Z] Warning: overwriting stash ‘stack-cost’ [2023-05-09T22:58:16.441Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T22:58:16.453Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-103-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T22:58:16.463Z] $ docker stop --time=1 5d957a318384c3430729dfd95c000c062055395208d6d2342f776f098cfa7ea0 [2023-05-09T22:58:18.009Z] $ docker rm -f --volumes 5d957a318384c3430729dfd95c000c062055395208d6d2342f776f098cfa7ea0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-09T22:58:18.429Z] provisioning config files... [2023-05-09T22:58:18.437Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9576702782784390544tmp [Pipeline] { [Pipeline] sh [2023-05-09T22:58:18.744Z] + set +x [2023-05-09T22:58:18.745Z] + curl -s https://codecov.io/bash [2023-05-09T22:58:18.745Z] + bash -s -- [2023-05-09T22:58:18.745Z] [2023-05-09T22:58:18.745Z] _____ _ [2023-05-09T22:58:18.745Z] / ____| | | [2023-05-09T22:58:18.745Z] | | ___ __| | ___ ___ _____ __ [2023-05-09T22:58:18.745Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-09T22:58:18.745Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-09T22:58:18.745Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-09T22:58:18.745Z] Bash-1.0.6 [2023-05-09T22:58:18.745Z] [2023-05-09T22:58:18.745Z] [2023-05-09T22:58:18.745Z] ==> git version 2.25.1 found [2023-05-09T22:58:18.745Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-09T22:58:18.745Z] Release-Date: 2020-01-08 [2023-05-09T22:58:18.745Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-09T22:58:18.745Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-09T22:58:18.745Z] ==> Jenkins CI detected. [2023-05-09T22:58:18.745Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-09T22:58:18.745Z] project root: . [2023-05-09T22:58:18.745Z] --> token set from env [2023-05-09T22:58:18.745Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-09T22:58:18.745Z] ==> Running gcov in . (disable via -X gcov) [2023-05-09T22:58:18.745Z] ==> Python coveragepy not found [2023-05-09T22:58:18.745Z] ==> Searching for coverage reports in: [2023-05-09T22:58:18.745Z] + . [2023-05-09T22:58:18.745Z] -> Found 1 reports [2023-05-09T22:58:18.745Z] ==> Detecting git/mercurial file structure [2023-05-09T22:58:18.745Z] ==> Reading reports [2023-05-09T22:58:18.745Z] + ./coverage.out bytes=24160 [2023-05-09T22:58:18.745Z] ==> Appending adjustments [2023-05-09T22:58:18.745Z] https://docs.codecov.io/docs/fixing-reports [2023-05-09T22:58:19.005Z] + Found adjustments [2023-05-09T22:58:19.005Z] ==> Gzipping contents [2023-05-09T22:58:19.005Z] 4.0K /tmp/codecov.ANG24M.gz [2023-05-09T22:58:19.005Z] ==> Uploading reports [2023-05-09T22:58:19.005Z] url: https://codecov.io [2023-05-09T22:58:19.005Z] query: branch=main&commit=8b019029337577f55c3ddf5891f69e829d86b4f5&build=103&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F103%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-09T22:58:19.005Z] -> Pinging Codecov [2023-05-09T22:58:19.005Z] 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=8b019029337577f55c3ddf5891f69e829d86b4f5&build=103&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F103%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-09T22:58:19.265Z] -> Uploading to [2023-05-09T22:58:19.266Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-09/55DBCA73C666E3227836607328DD7E49/8b019029337577f55c3ddf5891f69e829d86b4f5/410319b6-8e03-4a9f-a32a-42f14d010d3e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T225818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7ec1a3be66fa8bb91c5abf47f72697dead485f363bf7c8913b1ceddbc745f82 [2023-05-09T22:58:19.266Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T22:58:19.266Z] Dload Upload Total Spent Left Speed [2023-05-09T22:58:19.266Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 20020 --:--:-- --:--:-- --:--:-- 20020 [2023-05-09T22:58:19.266Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] } [2023-05-09T22:58:19.273Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-09T22:58:19.401Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-09T22:58:19.413Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:58:19.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-09T22:58:19.711Z] [2023-05-09T22:58:19.711Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:58:20.012Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-09T22:58:20.012Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-09T22:58:20.012Z] df9b9388f04a: Pulling fs layer [2023-05-09T22:58:20.012Z] 52dc419b0ee2: Pulling fs layer [2023-05-09T22:58:20.012Z] 25bc292e5bac: Pulling fs layer [2023-05-09T22:58:20.012Z] 114826534d7a: Pulling fs layer [2023-05-09T22:58:20.012Z] 4657fd5d0bcf: Pulling fs layer [2023-05-09T22:58:20.012Z] 6ad1cebc031e: Pulling fs layer [2023-05-09T22:58:20.012Z] 8a3aa393b2d8: Pulling fs layer [2023-05-09T22:58:20.012Z] 114826534d7a: Waiting [2023-05-09T22:58:20.012Z] 6ad1cebc031e: Waiting [2023-05-09T22:58:20.012Z] 8a3aa393b2d8: Waiting [2023-05-09T22:58:20.012Z] 4657fd5d0bcf: Waiting [2023-05-09T22:58:20.012Z] 25bc292e5bac: Download complete [2023-05-09T22:58:20.012Z] 52dc419b0ee2: Verifying Checksum [2023-05-09T22:58:20.012Z] 52dc419b0ee2: Download complete [2023-05-09T22:58:20.012Z] 4657fd5d0bcf: Download complete [2023-05-09T22:58:20.012Z] df9b9388f04a: Verifying Checksum [2023-05-09T22:58:20.012Z] df9b9388f04a: Download complete [2023-05-09T22:58:20.270Z] 6ad1cebc031e: Verifying Checksum [2023-05-09T22:58:20.270Z] 6ad1cebc031e: Download complete [2023-05-09T22:58:20.270Z] df9b9388f04a: Pull complete [2023-05-09T22:58:20.528Z] 52dc419b0ee2: Pull complete [2023-05-09T22:58:20.528Z] 25bc292e5bac: Pull complete [2023-05-09T22:58:20.789Z] 114826534d7a: Verifying Checksum [2023-05-09T22:58:20.789Z] 114826534d7a: Download complete [2023-05-09T22:58:20.789Z] 8a3aa393b2d8: Verifying Checksum [2023-05-09T22:58:20.789Z] 8a3aa393b2d8: Download complete [2023-05-09T22:58:24.974Z] 114826534d7a: Pull complete [2023-05-09T22:58:24.974Z] 4657fd5d0bcf: Pull complete [2023-05-09T22:58:24.974Z] 6ad1cebc031e: Pull complete [2023-05-09T22:58:28.146Z] 8a3aa393b2d8: Pull complete [2023-05-09T22:58:28.146Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-09T22:58:28.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-09T22:58:28.146Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:58:29.048Z] prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container [2023-05-09T22:58:29.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-09T22:58:31.070Z] $ docker top 84151b7e0cd3142a5667f7f6ad6e8b1871f901d58ece00267a821de8bdf3c426 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-09T22:58:31.135Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-09T22:58:31.416Z] + set -o pipefail [2023-05-09T22:58:31.416Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-09T22:58:43.663Z] [2023-05-09T22:58:43.663Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-09T22:58:43.663Z] [2023-05-09T22:58:43.663Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/18256459-73fa-4830-9d66-ae5326ad8b13 [2023-05-09T22:58:43.663Z] [2023-05-09T22:58:43.663Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-09T22:58:43.663Z] [2023-05-09T22:58:43.663Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-09T22:58:43.663Z] [2023-05-09T22:58:43.922Z] [2023-05-09T22:58:43.922Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-09T22:58:43.922Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-09T22:58:43.922Z] More details here: https://snyk.co/ue1NS [2023-05-09T22:58:43.922Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-09T22:58:43.923Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-09T22:58:43.938Z] $ docker stop --time=1 84151b7e0cd3142a5667f7f6ad6e8b1871f901d58ece00267a821de8bdf3c426 [2023-05-09T22:58:47.721Z] $ docker rm -f --volumes 84151b7e0cd3142a5667f7f6ad6e8b1871f901d58ece00267a821de8bdf3c426 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T22:58:48.446Z] + git log --format=format:%s -1 8b019029337577f55c3ddf5891f69e829d86b4f5 [Pipeline] sh [2023-05-09T22:58:48.739Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T22:58:48.739Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:58:49.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T22:58:49.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:58:49.116Z] prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container [2023-05-09T22:58:49.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-09T22:58:49.593Z] $ docker top 887821347b76c216af916d6a07fe93fdbd0afc8a77b1cf37f588a072adfccdba -eo pid,comm [2023-05-09T22:58:49.641Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-09T22:58:49.641Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T22:58:49.683Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T22:58:49.683Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T22:58:49.795Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T22:58:49.802Z] $ docker exec 887821347b76c216af916d6a07fe93fdbd0afc8a77b1cf37f588a072adfccdba ssh-agent [2023-05-09T22:58:49.932Z] SSH_AUTH_SOCK=/tmp/ssh-gvSwQ88uagvO/agent.32 [2023-05-09T22:58:49.932Z] SSH_AGENT_PID=38 [2023-05-09T22:58:49.937Z] Running ssh-add (command line suppressed) [2023-05-09T22:58:50.044Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16481458232604105397.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16481458232604105397.key) [2023-05-09T22:58:50.054Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T22:58:50.342Z] + git semver tag [2023-05-09T22:58:50.602Z] 2023-05-09 22:58:50,539 [run_tag] DEBUG tag force:False [2023-05-09T22:58:50.602Z] 2023-05-09 22:58:50,539 [check_head_tag] DEBUG check head tag [2023-05-09T22:58:50.602Z] 2023-05-09 22:58:50,541 [execute] INFO git cat-file --batch-check [2023-05-09T22:58:50.602Z] 2023-05-09 22:58:50,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-09T22:58:50.602Z] 2023-05-09 22:58:50,545 [execute] INFO git cat-file --batch [2023-05-09T22:58:50.602Z] 2023-05-09 22:58:50,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-09T22:58:50.602Z] 2023-05-09 22:58:50,571 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-09T22:58:50.602Z] 2023-05-09 22:58:50,571 [execute] INFO git tag -a v3.0.0-dev.37 -m v3.0.0-dev.37 [2023-05-09T22:58:50.602Z] 2023-05-09 22:58:50,571 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.37', '-m', 'v3.0.0-dev.37'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-09T22:58:50.602Z] 2023-05-09 22:58:50,577 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-09T22:58:50.602Z] 3.0.0-dev.37 [Pipeline] } [2023-05-09T22:58:50.616Z] $ docker exec --env ******** --env ******** 887821347b76c216af916d6a07fe93fdbd0afc8a77b1cf37f588a072adfccdba ssh-agent -k [2023-05-09T22:58:50.722Z] unset SSH_AUTH_SOCK; [2023-05-09T22:58:50.723Z] unset SSH_AGENT_PID; [2023-05-09T22:58:50.723Z] echo Agent pid 38 killed; [2023-05-09T22:58:50.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T22:58:51.033Z] + git semver [Pipeline] } [2023-05-09T22:58:51.307Z] $ docker stop --time=1 887821347b76c216af916d6a07fe93fdbd0afc8a77b1cf37f588a072adfccdba [2023-05-09T22:58:52.627Z] $ docker rm -f --volumes 887821347b76c216af916d6a07fe93fdbd0afc8a77b1cf37f588a072adfccdba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:58:52.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-09T22:58:52.994Z] [2023-05-09T22:58:52.994Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:58:53.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-09T22:58:53.292Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-09T22:58:53.292Z] ab5ef0e58194: Pulling fs layer [2023-05-09T22:58:53.292Z] 9712f1f96733: Pulling fs layer [2023-05-09T22:58:53.292Z] 63f879dbbcfc: Pulling fs layer [2023-05-09T22:58:53.292Z] 0d9ebad4ef96: Pulling fs layer [2023-05-09T22:58:53.292Z] e9a5061849ea: Pulling fs layer [2023-05-09T22:58:53.292Z] d747dcd14b5f: Pulling fs layer [2023-05-09T22:58:53.292Z] 2de7ff778b66: Pulling fs layer [2023-05-09T22:58:53.292Z] e9a5061849ea: Waiting [2023-05-09T22:58:53.292Z] d747dcd14b5f: Waiting [2023-05-09T22:58:53.292Z] 0d9ebad4ef96: Waiting [2023-05-09T22:58:53.292Z] 2de7ff778b66: Waiting [2023-05-09T22:58:53.292Z] 9712f1f96733: Verifying Checksum [2023-05-09T22:58:53.292Z] 9712f1f96733: Download complete [2023-05-09T22:58:53.552Z] 63f879dbbcfc: Verifying Checksum [2023-05-09T22:58:53.552Z] 63f879dbbcfc: Download complete [2023-05-09T22:58:53.813Z] e9a5061849ea: Verifying Checksum [2023-05-09T22:58:53.813Z] e9a5061849ea: Download complete [2023-05-09T22:58:53.813Z] 0d9ebad4ef96: Verifying Checksum [2023-05-09T22:58:53.813Z] 0d9ebad4ef96: Download complete [2023-05-09T22:58:53.813Z] d747dcd14b5f: Verifying Checksum [2023-05-09T22:58:53.813Z] d747dcd14b5f: Download complete [2023-05-09T22:58:53.813Z] ab5ef0e58194: Verifying Checksum [2023-05-09T22:58:53.813Z] ab5ef0e58194: Download complete [2023-05-09T22:58:53.813Z] 2de7ff778b66: Verifying Checksum [2023-05-09T22:58:53.813Z] 2de7ff778b66: Download complete [2023-05-09T22:58:57.097Z] ab5ef0e58194: Pull complete [2023-05-09T22:58:57.097Z] 9712f1f96733: Pull complete [2023-05-09T22:58:57.358Z] 63f879dbbcfc: Pull complete [2023-05-09T22:59:01.546Z] 0d9ebad4ef96: Pull complete [2023-05-09T22:59:01.808Z] e9a5061849ea: Pull complete [2023-05-09T22:59:02.068Z] d747dcd14b5f: Pull complete [2023-05-09T22:59:03.448Z] 2de7ff778b66: Pull complete [2023-05-09T22:59:03.448Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-09T22:59:03.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-09T22:59:03.448Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:59:03.541Z] prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container [2023-05-09T22:59:03.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-09T22:59:05.624Z] $ docker top 036ff2595c701dfad2d2a8cdc192cbc15ec2c240b9dd3da86dcd94b73039587d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-09T22:59:05.701Z] provisioning config files... [2023-05-09T22:59:05.708Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8433607045115753544tmp [2023-05-09T22:59:05.718Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18203190717084678782tmp [2023-05-09T22:59:05.728Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9833740207397408513tmp [Pipeline] { [Pipeline] echo [2023-05-09T22:59:05.742Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:59:06.022Z] ---> sigul-configuration.sh [2023-05-09T22:59:06.022Z] gpg: directory `/root/.gnupg' created [2023-05-09T22:59:06.022Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-09T22:59:06.022Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-09T22:59:06.022Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-09T22:59:06.022Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-09T22:59:06.022Z] gpg: CAST5 encrypted data [2023-05-09T22:59:06.022Z] gpg: encrypted with 1 passphrase [2023-05-09T22:59:06.022Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-09T22:59:06.306Z] + mkdir /home/jenkins [2023-05-09T22:59:06.306Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-09T22:59:06.594Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-05-09T22:59:06.603Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:59:06.888Z] ---> sigul-install.sh [2023-05-09T22:59:06.888Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-09T22:59:07.176Z] + git tag --list [2023-05-09T22:59:07.176Z] 0.7.1 [2023-05-09T22:59:07.176Z] v1.0.0 [2023-05-09T22:59:07.176Z] v1.1.0 [2023-05-09T22:59:07.176Z] v1.1.1 [2023-05-09T22:59:07.176Z] v1.2.2 [2023-05-09T22:59:07.176Z] v1.3.0 [2023-05-09T22:59:07.176Z] v1.3.1 [2023-05-09T22:59:07.176Z] v2.0.0 [2023-05-09T22:59:07.176Z] v2.1.0 [2023-05-09T22:59:07.176Z] v2.1.1 [2023-05-09T22:59:07.176Z] v2.1.1-dev.1 [2023-05-09T22:59:07.176Z] v2.1.1-dev.2 [2023-05-09T22:59:07.176Z] v2.1.1-dev.3 [2023-05-09T22:59:07.176Z] v2.2.0 [2023-05-09T22:59:07.176Z] v2.2.1-dev.1 [2023-05-09T22:59:07.176Z] v2.2.1-dev.2 [2023-05-09T22:59:07.176Z] v2.2.1-dev.3 [2023-05-09T22:59:07.176Z] v2.2.1-dev.4 [2023-05-09T22:59:07.176Z] v2.2.1-dev.5 [2023-05-09T22:59:07.176Z] v2.2.1-dev.6 [2023-05-09T22:59:07.176Z] v2.2.1-dev.7 [2023-05-09T22:59:07.176Z] v2.3.0 [2023-05-09T22:59:07.176Z] v2.3.0-dev.10 [2023-05-09T22:59:07.176Z] v2.3.0-dev.11 [2023-05-09T22:59:07.176Z] v2.3.0-dev.12 [2023-05-09T22:59:07.176Z] v2.3.0-dev.13 [2023-05-09T22:59:07.176Z] v2.3.0-dev.14 [2023-05-09T22:59:07.176Z] v2.3.0-dev.15 [2023-05-09T22:59:07.176Z] v2.3.0-dev.16 [2023-05-09T22:59:07.176Z] v2.3.0-dev.17 [2023-05-09T22:59:07.176Z] v2.3.0-dev.18 [2023-05-09T22:59:07.176Z] v2.3.0-dev.19 [2023-05-09T22:59:07.176Z] v2.3.0-dev.20 [2023-05-09T22:59:07.176Z] v2.3.0-dev.21 [2023-05-09T22:59:07.176Z] v2.3.0-dev.22 [2023-05-09T22:59:07.176Z] v2.3.0-dev.23 [2023-05-09T22:59:07.176Z] v2.3.0-dev.24 [2023-05-09T22:59:07.176Z] v2.3.0-dev.25 [2023-05-09T22:59:07.176Z] v2.3.0-dev.7 [2023-05-09T22:59:07.176Z] v2.3.0-dev.8 [2023-05-09T22:59:07.176Z] v2.3.0-dev.9 [2023-05-09T22:59:07.176Z] v3.0.0-dev.1 [2023-05-09T22:59:07.176Z] v3.0.0-dev.10 [2023-05-09T22:59:07.176Z] v3.0.0-dev.11 [2023-05-09T22:59:07.176Z] v3.0.0-dev.12 [2023-05-09T22:59:07.176Z] v3.0.0-dev.13 [2023-05-09T22:59:07.176Z] v3.0.0-dev.14 [2023-05-09T22:59:07.176Z] v3.0.0-dev.15 [2023-05-09T22:59:07.176Z] v3.0.0-dev.16 [2023-05-09T22:59:07.176Z] v3.0.0-dev.17 [2023-05-09T22:59:07.176Z] v3.0.0-dev.18 [2023-05-09T22:59:07.176Z] v3.0.0-dev.19 [2023-05-09T22:59:07.176Z] v3.0.0-dev.2 [2023-05-09T22:59:07.176Z] v3.0.0-dev.20 [2023-05-09T22:59:07.176Z] v3.0.0-dev.21 [2023-05-09T22:59:07.176Z] v3.0.0-dev.22 [2023-05-09T22:59:07.176Z] v3.0.0-dev.23 [2023-05-09T22:59:07.176Z] v3.0.0-dev.24 [2023-05-09T22:59:07.176Z] v3.0.0-dev.25 [2023-05-09T22:59:07.176Z] v3.0.0-dev.26 [2023-05-09T22:59:07.176Z] v3.0.0-dev.27 [2023-05-09T22:59:07.176Z] v3.0.0-dev.28 [2023-05-09T22:59:07.176Z] v3.0.0-dev.29 [2023-05-09T22:59:07.176Z] v3.0.0-dev.3 [2023-05-09T22:59:07.176Z] v3.0.0-dev.30 [2023-05-09T22:59:07.176Z] v3.0.0-dev.31 [2023-05-09T22:59:07.176Z] v3.0.0-dev.32 [2023-05-09T22:59:07.176Z] v3.0.0-dev.33 [2023-05-09T22:59:07.176Z] v3.0.0-dev.34 [2023-05-09T22:59:07.176Z] v3.0.0-dev.35 [2023-05-09T22:59:07.176Z] v3.0.0-dev.36 [2023-05-09T22:59:07.176Z] v3.0.0-dev.37 [2023-05-09T22:59:07.176Z] v3.0.0-dev.4 [2023-05-09T22:59:07.176Z] v3.0.0-dev.5 [2023-05-09T22:59:07.176Z] v3.0.0-dev.6 [2023-05-09T22:59:07.176Z] v3.0.0-dev.7 [2023-05-09T22:59:07.176Z] v3.0.0-dev.8 [2023-05-09T22:59:07.176Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-09T22:59:07.467Z] + lftools sign git-tag v3.0.0-dev.37 [2023-05-09T22:59:08.036Z] Signing Git tag with Sigul... [2023-05-09T22:59:08.036Z] Signing v3.0.0-dev.37 [Pipeline] echo [2023-05-09T22:59:08.304Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:59:08.589Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-09T22:59:08.597Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-09T22:59:08.622Z] $ docker stop --time=1 036ff2595c701dfad2d2a8cdc192cbc15ec2c240b9dd3da86dcd94b73039587d [2023-05-09T22:59:09.908Z] $ docker rm -f --volumes 036ff2595c701dfad2d2a8cdc192cbc15ec2c240b9dd3da86dcd94b73039587d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-09T22:59:10.324Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T22:59:10.324Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:59:10.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T22:59:10.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:59:10.705Z] prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container [2023-05-09T22:59:10.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-09T22:59:11.091Z] $ docker top 01263243bf0b38e6a91b2ca475fa65e12bb430e86bce603aeaa9f515e866a93b -eo pid,comm [2023-05-09T22:59:11.142Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-09T22:59:11.142Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T22:59:11.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T22:59:11.180Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T22:59:11.296Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T22:59:11.302Z] $ docker exec 01263243bf0b38e6a91b2ca475fa65e12bb430e86bce603aeaa9f515e866a93b ssh-agent [2023-05-09T22:59:11.408Z] SSH_AUTH_SOCK=/tmp/ssh-jMYev3Qo3axI/agent.32 [2023-05-09T22:59:11.408Z] SSH_AGENT_PID=38 [2023-05-09T22:59:11.414Z] Running ssh-add (command line suppressed) [2023-05-09T22:59:11.515Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3144997432988610205.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3144997432988610205.key) [2023-05-09T22:59:11.527Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T22:59:11.815Z] + git semver bump pre [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,009 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,010 [bump_version] DEBUG bumping version:3.0.0-dev.37 on axis:pre with prefix:dev [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,010 [bump_version] DEBUG bumped version:3.0.0-dev.38 [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,010 [write_version] DEBUG write version:3.0.0-dev.38 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,010 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,010 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,012 [execute] INFO git cat-file --batch-check [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,018 [execute] INFO git cat-file --batch [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T22:59:12.075Z] 2023-05-09 22:59:12,025 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-09T22:59:12.075Z] 3.0.0-dev.38 [Pipeline] } [2023-05-09T22:59:12.091Z] $ docker exec --env ******** --env ******** 01263243bf0b38e6a91b2ca475fa65e12bb430e86bce603aeaa9f515e866a93b ssh-agent -k [2023-05-09T22:59:12.189Z] unset SSH_AUTH_SOCK; [2023-05-09T22:59:12.189Z] unset SSH_AGENT_PID; [2023-05-09T22:59:12.189Z] echo Agent pid 38 killed; [2023-05-09T22:59:12.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T22:59:12.492Z] + git semver [Pipeline] } [2023-05-09T22:59:12.767Z] $ docker stop --time=1 01263243bf0b38e6a91b2ca475fa65e12bb430e86bce603aeaa9f515e866a93b [2023-05-09T22:59:14.042Z] $ docker rm -f --volumes 01263243bf0b38e6a91b2ca475fa65e12bb430e86bce603aeaa9f515e866a93b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T22:59:14.373Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T22:59:14.373Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:59:14.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T22:59:14.665Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:59:14.733Z] prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container [2023-05-09T22:59:14.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-09T22:59:15.103Z] $ docker top b63ba312424126a4ea407065506887fca58e5550fb54a4b1b268662c1b1a91c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T22:59:15.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T22:59:15.189Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T22:59:15.305Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T22:59:15.311Z] $ docker exec b63ba312424126a4ea407065506887fca58e5550fb54a4b1b268662c1b1a91c4 ssh-agent [2023-05-09T22:59:15.422Z] SSH_AUTH_SOCK=/tmp/ssh-c7R507ahWYRh/agent.31 [2023-05-09T22:59:15.422Z] SSH_AGENT_PID=37 [2023-05-09T22:59:15.426Z] Running ssh-add (command line suppressed) [2023-05-09T22:59:15.547Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3439675883645363023.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3439675883645363023.key) [2023-05-09T22:59:15.557Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T22:59:15.847Z] + git semver push [2023-05-09T22:59:16.107Z] 2023-05-09 22:59:16,033 [run_push] DEBUG push [2023-05-09T22:59:16.107Z] 2023-05-09 22:59:16,034 [execute] INFO git cat-file --batch-check [2023-05-09T22:59:16.107Z] 2023-05-09 22:59:16,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T22:59:16.107Z] 2023-05-09 22:59:16,038 [execute] INFO git rev-list 9999a876683840c0fa80f2e96689722106988558 -- [2023-05-09T22:59:16.107Z] 2023-05-09 22:59:16,039 [execute] DEBUG Popen(['git', 'rev-list', '9999a876683840c0fa80f2e96689722106988558', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-09T22:59:16.107Z] 2023-05-09 22:59:16,047 [execute] INFO git fetch -v origin [2023-05-09T22:59:16.107Z] 2023-05-09 22:59:16,047 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-09T22:59:16.676Z] 2023-05-09 22:59:16,514 [run_push] DEBUG no remote changes detected [2023-05-09T22:59:16.676Z] 2023-05-09 22:59:16,515 [execute] INFO git push origin semver [2023-05-09T22:59:16.676Z] 2023-05-09 22:59:16,515 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-09T22:59:17.616Z] 2023-05-09 22:59:17,301 [run_push] DEBUG push all version tags [2023-05-09T22:59:17.616Z] 2023-05-09 22:59:17,301 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-09T22:59:17.616Z] 2023-05-09 22:59:17,302 [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-05-09T22:59:18.184Z] 2023-05-09 22:59:18,033 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-09T22:59:18.184Z] 3.0.0-dev.38 [Pipeline] } [2023-05-09T22:59:18.197Z] $ docker exec --env ******** --env ******** b63ba312424126a4ea407065506887fca58e5550fb54a4b1b268662c1b1a91c4 ssh-agent -k [2023-05-09T22:59:18.295Z] unset SSH_AUTH_SOCK; [2023-05-09T22:59:18.295Z] unset SSH_AGENT_PID; [2023-05-09T22:59:18.295Z] echo Agent pid 37 killed; [2023-05-09T22:59:18.302Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T22:59:18.605Z] + git semver [Pipeline] } [2023-05-09T22:59:18.882Z] $ docker stop --time=1 b63ba312424126a4ea407065506887fca58e5550fb54a4b1b268662c1b1a91c4 [2023-05-09T22:59:20.186Z] $ docker rm -f --volumes b63ba312424126a4ea407065506887fca58e5550fb54a4b1b268662c1b1a91c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-09T22:59:20.754Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-09T22:59:20.754Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-09T22:59:20.754Z] total 16 [2023-05-09T22:59:20.754Z] drwxr-xr-x 3 root root 4096 May 9 22:50 . [2023-05-09T22:59:20.754Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:59 .. [2023-05-09T22:59:20.754Z] drwxr-xr-x 2 root root 4096 May 9 22:50 cost [2023-05-09T22:59:20.754Z] -rw-r--r-- 1 root root 88 May 9 22:50 cost.csv [2023-05-09T22:59:20.754Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-09T22:59:20.754Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-09T22:59:20.754Z] total 16 [2023-05-09T22:59:20.754Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:50 . [2023-05-09T22:59:20.754Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:59 .. [2023-05-09T22:59:20.754Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:50 cost [2023-05-09T22:59:20.754Z] -rw-r--r-- 1 jenkins jenkins 88 May 9 22:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:59:21.051Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:59:21.911Z] ---> package-listing.sh [2023-05-09T22:59:21.911Z] ++ facter osfamily [2023-05-09T22:59:21.911Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-09T22:59:22.173Z] + OS_FAMILY=debian [2023-05-09T22:59:22.173Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-09T22:59:22.173Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-09T22:59:22.173Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-09T22:59:22.173Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-09T22:59:22.173Z] + PACKAGES=/tmp/packages_start.txt [2023-05-09T22:59:22.173Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-09T22:59:22.173Z] + PACKAGES=/tmp/packages_end.txt [2023-05-09T22:59:22.173Z] + case "${OS_FAMILY}" in [2023-05-09T22:59:22.173Z] + dpkg -l [2023-05-09T22:59:22.173Z] + grep '^ii' [2023-05-09T22:59:22.173Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-09T22:59:22.173Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-09T22:59:22.173Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-09T22:59:22.173Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-09T22:59:22.173Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-09T22:59:22.173Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-05-09T22:59:22.183Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-09T22:59:22.462Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T22:59:23.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T22:59:23.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T22:59:23.104Z] prd-ubuntu20.04-docker-8c-8g-14804 does not seem to be running inside a container [2023-05-09T22:59:23.143Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T22:59:23.354Z] $ docker top 800413698a934acd1673a046edeb6fec2cfda0e933224b90f6442c6a29111375 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T22:59:23.702Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-09T22:59:23.991Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-09T22:59:24.277Z] + ls /var/log/sa-host [2023-05-09T22:59:24.277Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T22:59:24.347Z] provisioning config files... [2023-05-09T22:59:24.354Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15862581367509533319tmp [Pipeline] { [Pipeline] echo [2023-05-09T22:59:24.365Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:59:24.662Z] ---> create-netrc.sh [Pipeline] } [2023-05-09T22:59:24.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:59:25.105Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-09T22:59:25.129Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:59:25.479Z] ---> sudo-logs.sh [2023-05-09T22:59:25.479Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-09T22:59:25.529Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:59:25.813Z] ---> job-cost.sh [2023-05-09T22:59:25.813Z] lf-activate-venv: SKIPPING [2023-05-09T22:59:25.813Z] DEBUG: total: 0.2199999988079071 [2023-05-09T22:59:25.813Z] INFO: Retrieving Stack Cost... [2023-05-09T22:59:26.383Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T22:59:26.643Z] INFO: Archiving Costs [Pipeline] echo [2023-05-09T22:59:26.655Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T22:59:26.940Z] ---> logs-deploy.sh [2023-05-09T22:59:26.941Z] lf-activate-venv: SKIPPING [2023-05-09T22:59:26.941Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/103 [2023-05-09T22:59:26.941Z] INFO: archiving workspace using pattern(s): [2023-05-09T22:59:27.878Z] Archives upload complete. [2023-05-09T22:59:27.878Z] INFO: archiving logs to Nexus