Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dd473f237e8377f6c45c9162e361d1bd18095fab 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-ssh8759554803534957275.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1380823897433578850.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9621501292084380940.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17494715897831383699.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-ssh4513373019882239597.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-17054 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 dd473f237e8377f6c45c9162e361d1bd18095fab (main) Commit message: "Merge pull request #524 from ejlee3/napa-go-mod" > 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 dd473f237e8377f6c45c9162e361d1bd18095fab # timeout=10 > git rev-list --no-walk 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T18:45:52.997Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T18:45:53.049Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-08T18:45:53.062Z] ========================================================= [2023-11-08T18:45:53.062Z] EdgeX Global Pipelines Version Info [2023-11-08T18:45:53.062Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:45:53.789Z] ------------------- [2023-11-08T18:45:53.789Z] stable info: [2023-11-08T18:45:53.789Z] ------------------- [2023-11-08T18:45:53.789Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T18:45:53.789Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:45:53.789Z] Message: update stable to v1.0.257 [2023-11-08T18:45:54.368Z] ------------------- [2023-11-08T18:45:54.368Z] experimental info: [2023-11-08T18:45:54.368Z] ------------------- [2023-11-08T18:45:54.368Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T18:45:54.368Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:45:54.368Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T18:45:54.546Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-11-08T18:45:54.564Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-11-08T18:45:54.583Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T18:45:54.603Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T18:45:54.620Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T18:45:54.633Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-08T18:45:54.647Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-08T18:45:54.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-08T18:45:54.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-08T18:45:54.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T18:45:54.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T18:45:54.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-11-08T18:45:54.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T18:45:54.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T18:45:54.749Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T18:45:54.757Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T18:45:54.768Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T18:45:54.784Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T18:45:54.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T18:45:54.807Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T18:45:54.818Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-08T18:45:54.839Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-08T18:45:54.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-08T18:45:54.870Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-08T18:45:54.892Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-08T18:45:54.907Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T18:45:54.919Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-08T18:45:54.934Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-11-08T18:45:54.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-11-08T18:45:54.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-11-08T18:45:54.977Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd473f237e8377f6c45c9162e361d1bd18095fab [Pipeline] echo [2023-11-08T18:45:54.990Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd473f2 [Pipeline] echo [2023-11-08T18:45:54.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:45:55.035Z] provisioning config files... [2023-11-08T18:45:55.048Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2339273102599470577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:45:55.349Z] ---> docker-login.sh [2023-11-08T18:45:55.349Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:45:55.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:45:55.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:45:55.610Z] Configure a credential helper to remove this warning. See [2023-11-08T18:45:55.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:45:55.610Z] [2023-11-08T18:45:55.610Z] Login Succeeded [2023-11-08T18:45:55.610Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:45:55.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:45:55.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:45:55.871Z] Configure a credential helper to remove this warning. See [2023-11-08T18:45:55.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:45:55.871Z] [2023-11-08T18:45:55.871Z] Login Succeeded [2023-11-08T18:45:55.871Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:45:55.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:45:55.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:45:55.871Z] Configure a credential helper to remove this warning. See [2023-11-08T18:45:55.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:45:55.871Z] [2023-11-08T18:45:55.871Z] Login Succeeded [2023-11-08T18:45:55.871Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:45:55.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:45:55.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:45:55.871Z] Configure a credential helper to remove this warning. See [2023-11-08T18:45:55.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:45:55.871Z] [2023-11-08T18:45:55.871Z] Login Succeeded [2023-11-08T18:45:55.871Z] docker.io [2023-11-08T18:45:56.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:45:56.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:45:56.390Z] Configure a credential helper to remove this warning. See [2023-11-08T18:45:56.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:45:56.391Z] [2023-11-08T18:45:56.391Z] Login Succeeded [2023-11-08T18:45:56.391Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:45:56.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-08T18:45:56.748Z] + git rev-list -1 --merges dd473f237e8377f6c45c9162e361d1bd18095fab~1..dd473f237e8377f6c45c9162e361d1bd18095fab [Pipeline] echo [2023-11-08T18:45:56.788Z] -----------> git rev-list -1 --merges dd473f237e8377f6c45c9162e361d1bd18095fab~1..dd473f237e8377f6c45c9162e361d1bd18095fab dd473f237e8377f6c45c9162e361d1bd18095fab [2023-11-08T18:45:56.788Z] dd473f237e8377f6c45c9162e361d1bd18095fab [false] [Pipeline] sh [2023-11-08T18:45:57.078Z] + git log --format=format:%s -1 dd473f237e8377f6c45c9162e361d1bd18095fab [Pipeline] echo [2023-11-08T18:45:57.115Z] ========================================================= [2023-11-08T18:45:57.115Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T18:45:57.115Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T18:45:57.438Z] + git log --format=format:%s -1 dd473f237e8377f6c45c9162e361d1bd18095fab [Pipeline] echo [2023-11-08T18:45:57.448Z] [semverPrep] GIT_COMMIT: dd473f237e8377f6c45c9162e361d1bd18095fab, Commit Message: Merge pull request #524 from ejlee3/napa-go-mod [Pipeline] echo [2023-11-08T18:45:57.461Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-08T18:45:57.802Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T18:45:57.802Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T18:45:57.802Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T18:45:57.802Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T18:45:57.802Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T18:45:57.802Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T18:45:57.802Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:45:58.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:45:58.157Z] [2023-11-08T18:45:58.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:45:58.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:45:58.467Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T18:45:58.467Z] b85a868b505f: Pulling fs layer [2023-11-08T18:45:58.467Z] e2be974225ed: Pulling fs layer [2023-11-08T18:45:58.467Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T18:45:58.467Z] 988bab9f4d93: Pulling fs layer [2023-11-08T18:45:58.467Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T18:45:58.467Z] eaf3925da568: Pulling fs layer [2023-11-08T18:45:58.467Z] bab4dde63d76: Pulling fs layer [2023-11-08T18:45:58.467Z] bde34c3a00c8: Pulling fs layer [2023-11-08T18:45:58.467Z] b352a97aabf1: Pulling fs layer [2023-11-08T18:45:58.467Z] 1469e6f7b9e6: Waiting [2023-11-08T18:45:58.467Z] eaf3925da568: Waiting [2023-11-08T18:45:58.467Z] bde34c3a00c8: Waiting [2023-11-08T18:45:58.467Z] 988bab9f4d93: Waiting [2023-11-08T18:45:58.467Z] bab4dde63d76: Waiting [2023-11-08T18:45:58.467Z] b352a97aabf1: Waiting [2023-11-08T18:45:58.467Z] 4872d77fe225: Pulling fs layer [2023-11-08T18:45:58.467Z] 5851b861e8e6: Pulling fs layer [2023-11-08T18:45:58.467Z] 4872d77fe225: Waiting [2023-11-08T18:45:58.467Z] e2be974225ed: Download complete [2023-11-08T18:45:58.467Z] 988bab9f4d93: Download complete [2023-11-08T18:45:58.467Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T18:45:58.467Z] 339a4e72a1f5: Download complete [2023-11-08T18:45:58.467Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T18:45:58.467Z] 1469e6f7b9e6: Download complete [2023-11-08T18:45:58.467Z] eaf3925da568: Verifying Checksum [2023-11-08T18:45:58.467Z] eaf3925da568: Download complete [2023-11-08T18:45:58.726Z] bde34c3a00c8: Download complete [2023-11-08T18:45:58.726Z] b352a97aabf1: Download complete [2023-11-08T18:45:58.726Z] 4872d77fe225: Verifying Checksum [2023-11-08T18:45:58.726Z] 4872d77fe225: Download complete [2023-11-08T18:45:58.726Z] 5851b861e8e6: Download complete [2023-11-08T18:45:58.726Z] b85a868b505f: Verifying Checksum [2023-11-08T18:45:58.726Z] b85a868b505f: Download complete [2023-11-08T18:45:58.984Z] bab4dde63d76: Verifying Checksum [2023-11-08T18:45:58.985Z] bab4dde63d76: Download complete [2023-11-08T18:45:59.918Z] b85a868b505f: Pull complete [2023-11-08T18:45:59.918Z] e2be974225ed: Pull complete [2023-11-08T18:46:00.178Z] 339a4e72a1f5: Pull complete [2023-11-08T18:46:00.436Z] 988bab9f4d93: Pull complete [2023-11-08T18:46:00.696Z] 1469e6f7b9e6: Pull complete [2023-11-08T18:46:00.696Z] eaf3925da568: Pull complete [2023-11-08T18:46:02.077Z] bab4dde63d76: Pull complete [2023-11-08T18:46:02.337Z] bde34c3a00c8: Pull complete [2023-11-08T18:46:02.337Z] b352a97aabf1: Pull complete [2023-11-08T18:46:02.337Z] 4872d77fe225: Pull complete [2023-11-08T18:46:02.597Z] 5851b861e8e6: Pull complete [2023-11-08T18:46:02.597Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T18:46:02.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:46:02.597Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:46:02.692Z] prd-ubuntu20.04-docker-8c-8g-17054 does not seem to be running inside a container [2023-11-08T18:46:02.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T18:46:05.270Z] $ docker top e0a49d97395630bfbbc918d4cc81dab6a90858a93407c7473b2ec0a7303b0141 -eo pid,comm [2023-11-08T18:46:05.322Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-08T18:46:05.322Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T18:46:05.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:46:05.367Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:46:05.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:46:05.479Z] $ docker exec e0a49d97395630bfbbc918d4cc81dab6a90858a93407c7473b2ec0a7303b0141 ssh-agent [2023-11-08T18:46:05.576Z] SSH_AUTH_SOCK=/tmp/ssh-51ABjL90IXpJ/agent.32 [2023-11-08T18:46:05.576Z] SSH_AGENT_PID=38 [2023-11-08T18:46:05.582Z] Running ssh-add (command line suppressed) [2023-11-08T18:46:05.679Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1265383163630974444.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1265383163630974444.key) [2023-11-08T18:46:05.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:46:05.978Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T18:46:05.996Z] $ docker exec --env ******** --env ******** e0a49d97395630bfbbc918d4cc81dab6a90858a93407c7473b2ec0a7303b0141 ssh-agent -k [2023-11-08T18:46:06.086Z] unset SSH_AUTH_SOCK; [2023-11-08T18:46:06.087Z] unset SSH_AGENT_PID; [2023-11-08T18:46:06.087Z] echo Agent pid 38 killed; [2023-11-08T18:46:06.093Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T18:46:06.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:46:06.116Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:46:06.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:46:06.236Z] $ docker exec e0a49d97395630bfbbc918d4cc81dab6a90858a93407c7473b2ec0a7303b0141 ssh-agent [2023-11-08T18:46:06.342Z] SSH_AUTH_SOCK=/tmp/ssh-iJRe65A9OkTg/agent.71 [2023-11-08T18:46:06.342Z] SSH_AGENT_PID=77 [2023-11-08T18:46:06.346Z] Running ssh-add (command line suppressed) [2023-11-08T18:46:06.443Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14988239510563006658.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14988239510563006658.key) [2023-11-08T18:46:06.456Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:46:06.742Z] + git semver init [2023-11-08T18:46:07.001Z] 2023-11-08 18:46:06,894 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T18:46:07.001Z] 2023-11-08 18:46:06,894 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-11-08T18:46:07.001Z] 2023-11-08 18:46:06,895 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-11-08T18:46:07.001Z] 2023-11-08 18:46:06,895 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-08T18:46:07.938Z] 2023-11-08 18:46:07,774 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-11-08T18:46:07.938Z] 2023-11-08 18:46:07,775 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-11-08T18:46:07.938Z] 2023-11-08 18:46:07,775 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-08T18:46:07.938Z] 2023-11-08 18:46:07,775 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-08T18:46:07.938Z] 3.1.0-dev.23 [Pipeline] } [2023-11-08T18:46:07.951Z] $ docker exec --env ******** --env ******** e0a49d97395630bfbbc918d4cc81dab6a90858a93407c7473b2ec0a7303b0141 ssh-agent -k [2023-11-08T18:46:08.048Z] unset SSH_AUTH_SOCK; [2023-11-08T18:46:08.049Z] unset SSH_AGENT_PID; [2023-11-08T18:46:08.049Z] echo Agent pid 77 killed; [2023-11-08T18:46:08.056Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T18:46:08.369Z] + git semver [Pipeline] } [2023-11-08T18:46:08.644Z] $ docker stop --time=1 e0a49d97395630bfbbc918d4cc81dab6a90858a93407c7473b2ec0a7303b0141 [2023-11-08T18:46:09.918Z] $ docker rm -f --volumes e0a49d97395630bfbbc918d4cc81dab6a90858a93407c7473b2ec0a7303b0141 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:46:10.247Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T18:46:10.433Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T18:46:10.438Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.23 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:46:10.603Z] provisioning config files... [2023-11-08T18:46:10.611Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14272069841338504559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:46:10.909Z] ---> docker-login.sh [2023-11-08T18:46:10.909Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:46:10.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:46:10.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:46:10.909Z] Configure a credential helper to remove this warning. See [2023-11-08T18:46:10.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:46:10.909Z] [2023-11-08T18:46:10.909Z] Login Succeeded [2023-11-08T18:46:10.909Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:46:10.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:46:10.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:46:10.909Z] Configure a credential helper to remove this warning. See [2023-11-08T18:46:10.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:46:10.909Z] [2023-11-08T18:46:10.909Z] Login Succeeded [2023-11-08T18:46:10.909Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:46:11.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:46:11.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:46:11.168Z] Configure a credential helper to remove this warning. See [2023-11-08T18:46:11.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:46:11.168Z] [2023-11-08T18:46:11.168Z] Login Succeeded [2023-11-08T18:46:11.168Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:46:11.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:46:11.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:46:11.168Z] Configure a credential helper to remove this warning. See [2023-11-08T18:46:11.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:46:11.168Z] [2023-11-08T18:46:11.168Z] Login Succeeded [2023-11-08T18:46:11.168Z] docker.io [2023-11-08T18:46:11.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:46:11.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:46:11.428Z] Configure a credential helper to remove this warning. See [2023-11-08T18:46:11.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:46:11.428Z] [2023-11-08T18:46:11.428Z] Login Succeeded [2023-11-08T18:46:11.428Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:46:11.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T18:46:11.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:46:11.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:46:11.528Z] ========================================================= [2023-11-08T18:46:11.528Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-08T18:46:11.528Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:46:11.834Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T18:46:11.834Z] Sending build context to Docker daemon 6.568MB [2023-11-08T18:46:11.834Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:46:11.834Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-08T18:46:11.834Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-08T18:46:11.834Z] 7264a8db6415: Pulling fs layer [2023-11-08T18:46:11.834Z] c4d48a809fc2: Pulling fs layer [2023-11-08T18:46:11.834Z] 4f1c88b9dad5: Pulling fs layer [2023-11-08T18:46:11.834Z] ad3a456e5733: Pulling fs layer [2023-11-08T18:46:11.834Z] 33e27b845d1e: Pulling fs layer [2023-11-08T18:46:11.834Z] c68163c4e522: Pulling fs layer [2023-11-08T18:46:11.834Z] 50da416c3ac9: Pulling fs layer [2023-11-08T18:46:11.834Z] 23d2d4c4bb30: Pulling fs layer [2023-11-08T18:46:11.834Z] ad3a456e5733: Waiting [2023-11-08T18:46:11.834Z] 33e27b845d1e: Waiting [2023-11-08T18:46:11.834Z] c68163c4e522: Waiting [2023-11-08T18:46:11.834Z] 23d2d4c4bb30: Waiting [2023-11-08T18:46:11.834Z] c4d48a809fc2: Verifying Checksum [2023-11-08T18:46:11.834Z] c4d48a809fc2: Download complete [2023-11-08T18:46:11.834Z] ad3a456e5733: Verifying Checksum [2023-11-08T18:46:11.834Z] ad3a456e5733: Download complete [2023-11-08T18:46:11.834Z] 33e27b845d1e: Verifying Checksum [2023-11-08T18:46:11.834Z] 33e27b845d1e: Download complete [2023-11-08T18:46:12.095Z] 7264a8db6415: Download complete [2023-11-08T18:46:12.095Z] c68163c4e522: Verifying Checksum [2023-11-08T18:46:12.095Z] c68163c4e522: Download complete [2023-11-08T18:46:12.095Z] 7264a8db6415: Pull complete [2023-11-08T18:46:12.352Z] 23d2d4c4bb30: Verifying Checksum [2023-11-08T18:46:12.352Z] 23d2d4c4bb30: Download complete [2023-11-08T18:46:12.352Z] c4d48a809fc2: Pull complete [2023-11-08T18:46:12.352Z] 4f1c88b9dad5: Verifying Checksum [2023-11-08T18:46:12.352Z] 4f1c88b9dad5: Download complete [2023-11-08T18:46:12.611Z] 50da416c3ac9: Verifying Checksum [2023-11-08T18:46:12.611Z] 50da416c3ac9: Download complete [2023-11-08T18:46:15.210Z] 4f1c88b9dad5: Pull complete [2023-11-08T18:46:15.210Z] ad3a456e5733: Pull complete [2023-11-08T18:46:15.210Z] 33e27b845d1e: Pull complete [2023-11-08T18:46:15.210Z] c68163c4e522: Pull complete [2023-11-08T18:46:17.325Z] 50da416c3ac9: Pull complete [2023-11-08T18:46:17.892Z] 23d2d4c4bb30: Pull complete [2023-11-08T18:46:17.892Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-08T18:46:17.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-08T18:46:17.892Z] ---> 0786185ac409 [2023-11-08T18:46:17.892Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:46:22.092Z] ---> Running in 407605a9aab6 [2023-11-08T18:46:22.092Z] Removing intermediate container 407605a9aab6 [2023-11-08T18:46:22.092Z] ---> c10adafbb350 [2023-11-08T18:46:22.092Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:46:22.092Z] ---> Running in 73a954d388ad [2023-11-08T18:46:22.092Z] Removing intermediate container 73a954d388ad [2023-11-08T18:46:22.092Z] ---> ba392e937c35 [2023-11-08T18:46:22.092Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-11-08T18:46:22.092Z] ---> Running in 09bed4f9b5ee [2023-11-08T18:46:22.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:46:22.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:46:22.351Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T18:46:22.351Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-11-08T18:46:22.351Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T18:46:22.351Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T18:46:22.351Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-11-08T18:46:22.351Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-11-08T18:46:22.351Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-11-08T18:46:22.351Z] (8/8) Installing openssh (9.3_p2-r0) [2023-11-08T18:46:22.351Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:46:22.351Z] OK: 270 MiB in 60 packages [2023-11-08T18:46:23.288Z] Removing intermediate container 09bed4f9b5ee [2023-11-08T18:46:23.288Z] ---> 6c4332bb48a5 [2023-11-08T18:46:23.288Z] Step 6/10 : WORKDIR /device-modbus-go [2023-11-08T18:46:23.288Z] ---> Running in c816e216d1b3 [2023-11-08T18:46:23.288Z] Removing intermediate container c816e216d1b3 [2023-11-08T18:46:23.288Z] ---> ed735fe5c76f [2023-11-08T18:46:23.288Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-08T18:46:23.288Z] ---> 824beba61665 [2023-11-08T18:46:23.289Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:46:23.289Z] ---> Running in a10a121df5cf [2023-11-08T18:46:25.553Z] Still waiting to schedule task [2023-11-08T18:46:25.553Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17055’ [2023-11-08T18:47:02.007Z] Removing intermediate container a10a121df5cf [2023-11-08T18:47:02.007Z] ---> f1e38fd8f32d [2023-11-08T18:47:02.007Z] Step 9/10 : COPY . . [2023-11-08T18:47:02.007Z] ---> 89c7158c51d5 [2023-11-08T18:47:02.007Z] Step 10/10 : RUN ${MAKE} [2023-11-08T18:47:02.007Z] ---> Running in 2a67e61b6d23 [2023-11-08T18:47:02.007Z] noop [2023-11-08T18:47:02.007Z] Removing intermediate container 2a67e61b6d23 [2023-11-08T18:47:02.007Z] ---> c0abc654961c [2023-11-08T18:47:02.007Z] Successfully built c0abc654961c [2023-11-08T18:47:02.007Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:47:02.316Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T18:47:02.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:47:02.384Z] prd-ubuntu20.04-docker-8c-8g-17054 does not seem to be running inside a container [2023-11-08T18:47:02.412Z] $ 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 ******** ci-base-image-x86_64 cat [2023-11-08T18:47:02.751Z] $ docker top 1a9856ee8ae0674487538fc8e125b56051896c88c086de194a155a850ffc4146 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:47:03.089Z] + go version [2023-11-08T18:47:03.090Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-08T18:47:03.104Z] $ docker stop --time=1 1a9856ee8ae0674487538fc8e125b56051896c88c086de194a155a850ffc4146 [2023-11-08T18:47:04.419Z] $ docker rm -f --volumes 1a9856ee8ae0674487538fc8e125b56051896c88c086de194a155a850ffc4146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:47:04.822Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T18:47:04.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:47:04.895Z] prd-ubuntu20.04-docker-8c-8g-17054 does not seem to be running inside a container [2023-11-08T18:47:04.924Z] $ 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 ******** ci-base-image-x86_64 cat [2023-11-08T18:47:05.275Z] $ docker top 52bc705de411d734f7a8d159d75dcfbb17d164cbd841f0cc1c4f24a866b0ae91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:47:05.620Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-11-08T18:47:05.920Z] + make test [2023-11-08T18:47:05.920Z] go test ./... -coverprofile=coverage.out [2023-11-08T18:47:07.301Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-11-08T18:47:17.272Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-11-08T18:47:17.272Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.9% of statements [2023-11-08T18:47:22.535Z] go vet ./... [2023-11-08T18:47:25.814Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T18:47:25.814Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T18:47:25.814Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T18:47:25.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T18:47:25.844Z] $ docker stop --time=1 52bc705de411d734f7a8d159d75dcfbb17d164cbd841f0cc1c4f24a866b0ae91 [2023-11-08T18:47:29.509Z] $ docker rm -f --volumes 52bc705de411d734f7a8d159d75dcfbb17d164cbd841f0cc1c4f24a866b0ae91 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:47:29.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T18:47:30.009Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-08T18:47:30.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T18:47:30.716Z] + ls -al . [2023-11-08T18:47:30.716Z] total 188 [2023-11-08T18:47:30.716Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 18:47 . [2023-11-08T18:47:30.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:45 .. [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 18:45 .dockerignore [2023-11-08T18:47:30.716Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:47 .git [2023-11-08T18:47:30.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:45 .github [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 8 18:45 .gitignore [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:45 .golangci.yml [2023-11-08T18:47:30.716Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:46 .semver [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 11101 Nov 8 18:45 Attribution.txt [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 14764 Nov 8 18:45 CHANGELOG.md [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 1365 Nov 8 18:45 Dockerfile [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:45 GOVERNANCE.md [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 8 18:45 Jenkinsfile [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:45 LICENSE [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 1936 Nov 8 18:45 Makefile [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 18:45 OWNERS.md [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 8 18:45 README.md [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 18:46 VERSION [2023-11-08T18:47:30.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:45 bin [2023-11-08T18:47:30.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:45 cmd [2023-11-08T18:47:30.716Z] -rw-r--r-- 1 jenkins jenkins 24334 Nov 8 18:47 coverage.out [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 3895 Nov 8 18:45 go.mod [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 35342 Nov 8 18:45 go.sum [2023-11-08T18:47:30.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:45 internal [2023-11-08T18:47:30.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:45 simulator [2023-11-08T18:47:30.716Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:47:31.017Z] + 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=dd473f237e8377f6c45c9162e361d1bd18095fab --label arch=amd64 --label version=3.1.0-dev.23 . [2023-11-08T18:47:31.017Z] Sending build context to Docker daemon 6.594MB [2023-11-08T18:47:31.017Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:47:31.017Z] Step 2/22 : FROM ${BASE} AS builder [2023-11-08T18:47:31.017Z] ---> c0abc654961c [2023-11-08T18:47:31.017Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:47:31.586Z] ---> Running in 4db32554afe4 [2023-11-08T18:47:31.586Z] Removing intermediate container 4db32554afe4 [2023-11-08T18:47:31.586Z] ---> ce1972548214 [2023-11-08T18:47:31.586Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:47:31.586Z] ---> Running in 40b8d777c4c8 [2023-11-08T18:47:31.586Z] Removing intermediate container 40b8d777c4c8 [2023-11-08T18:47:31.586Z] ---> 439ca3306835 [2023-11-08T18:47:31.586Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-11-08T18:47:31.586Z] ---> Running in 980f8b02186a [2023-11-08T18:47:31.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:47:31.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:47:32.106Z] OK: 270 MiB in 60 packages [2023-11-08T18:47:32.366Z] Removing intermediate container 980f8b02186a [2023-11-08T18:47:32.366Z] ---> 15ab0166f97a [2023-11-08T18:47:32.366Z] Step 6/22 : WORKDIR /device-modbus-go [2023-11-08T18:47:32.366Z] ---> Running in 5448efc060e6 [2023-11-08T18:47:32.625Z] Removing intermediate container 5448efc060e6 [2023-11-08T18:47:32.625Z] ---> 2e24c57bcd9d [2023-11-08T18:47:32.625Z] Step 7/22 : COPY go.mod vendor* ./ [2023-11-08T18:47:32.625Z] ---> 3fd0495a7503 [2023-11-08T18:47:32.625Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:47:32.625Z] ---> Running in 51bcda88c551 [2023-11-08T18:47:33.193Z] Removing intermediate container 51bcda88c551 [2023-11-08T18:47:33.193Z] ---> c0c6b98219dc [2023-11-08T18:47:33.193Z] Step 9/22 : COPY . . [2023-11-08T18:47:34.132Z] ---> 1f2f7fcbbb25 [2023-11-08T18:47:34.132Z] Step 10/22 : RUN ${MAKE} [2023-11-08T18:47:34.132Z] ---> Running in 08cd7bb2f1bf [2023-11-08T18:47:34.132Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-11-08T18:47:56.302Z] Removing intermediate container 08cd7bb2f1bf [2023-11-08T18:47:56.302Z] ---> aab5cf618e03 [2023-11-08T18:47:56.302Z] Step 11/22 : FROM alpine:3.18 [2023-11-08T18:47:56.302Z] 3.18: Pulling from library/alpine [2023-11-08T18:47:56.302Z] 96526aa774ef: Pulling fs layer [2023-11-08T18:47:56.302Z] 96526aa774ef: Download complete [2023-11-08T18:47:56.302Z] 96526aa774ef: Pull complete [2023-11-08T18:47:56.302Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T18:47:56.302Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T18:47:56.302Z] ---> 8ca4688f4f35 [2023-11-08T18:47:56.302Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-11-08T18:47:56.302Z] ---> Running in 777beeb5be8d [2023-11-08T18:47:56.302Z] Removing intermediate container 777beeb5be8d [2023-11-08T18:47:56.302Z] ---> a9ece3e8633b [2023-11-08T18:47:56.302Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-11-08T18:47:56.302Z] ---> Running in 60293e78811f [2023-11-08T18:47:56.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:47:56.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:47:56.562Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T18:47:56.562Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:47:56.562Z] OK: 7 MiB in 16 packages [2023-11-08T18:47:56.823Z] Removing intermediate container 60293e78811f [2023-11-08T18:47:56.823Z] ---> a52ebe19ef8e [2023-11-08T18:47:56.823Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-11-08T18:47:58.204Z] ---> b631e7dc6b76 [2023-11-08T18:47:58.204Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-11-08T18:47:58.204Z] ---> f9b0c947ebb9 [2023-11-08T18:47:58.204Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-11-08T18:47:58.204Z] ---> 144caa2b472e [2023-11-08T18:47:58.204Z] Step 17/22 : EXPOSE 59901 [2023-11-08T18:47:58.204Z] ---> Running in d8b28e2d7349 [2023-11-08T18:47:58.463Z] Removing intermediate container d8b28e2d7349 [2023-11-08T18:47:58.463Z] ---> 210fe3e4632a [2023-11-08T18:47:58.463Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-11-08T18:47:58.463Z] ---> Running in 2909508d860a [2023-11-08T18:47:58.463Z] Removing intermediate container 2909508d860a [2023-11-08T18:47:58.463Z] ---> 397c0da29a2b [2023-11-08T18:47:58.463Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-08T18:47:58.463Z] ---> Running in d2a98d710942 [2023-11-08T18:47:58.463Z] Removing intermediate container d2a98d710942 [2023-11-08T18:47:58.463Z] ---> c852471134e3 [2023-11-08T18:47:58.463Z] Step 20/22 : LABEL arch=amd64 [2023-11-08T18:47:58.463Z] ---> Running in 1fe56bf69874 [2023-11-08T18:47:58.722Z] Removing intermediate container 1fe56bf69874 [2023-11-08T18:47:58.722Z] ---> eeb22cdbf819 [2023-11-08T18:47:58.722Z] Step 21/22 : LABEL git_sha=dd473f237e8377f6c45c9162e361d1bd18095fab [2023-11-08T18:47:58.722Z] ---> Running in 80d33a14cdcc [2023-11-08T18:47:58.722Z] Removing intermediate container 80d33a14cdcc [2023-11-08T18:47:58.722Z] ---> a757fe247e15 [2023-11-08T18:47:58.722Z] Step 22/22 : LABEL version=3.1.0-dev.23 [2023-11-08T18:47:58.722Z] ---> Running in 616933139b05 [2023-11-08T18:47:58.722Z] Removing intermediate container 616933139b05 [2023-11-08T18:47:58.722Z] ---> 3da79892931e [2023-11-08T18:47:58.722Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T18:47:58.722Z] Successfully built 3da79892931e [2023-11-08T18:47:58.722Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:47:58.802Z] provisioning config files... [2023-11-08T18:47:58.811Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3774799533161731367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:47:59.103Z] ---> docker-login.sh [2023-11-08T18:47:59.103Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:47:59.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:47:59.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:47:59.103Z] Configure a credential helper to remove this warning. See [2023-11-08T18:47:59.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:47:59.103Z] [2023-11-08T18:47:59.103Z] Login Succeeded [2023-11-08T18:47:59.103Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:47:59.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:47:59.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:47:59.103Z] Configure a credential helper to remove this warning. See [2023-11-08T18:47:59.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:47:59.103Z] [2023-11-08T18:47:59.103Z] Login Succeeded [2023-11-08T18:47:59.103Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:47:59.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:47:59.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:47:59.363Z] Configure a credential helper to remove this warning. See [2023-11-08T18:47:59.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:47:59.363Z] [2023-11-08T18:47:59.363Z] Login Succeeded [2023-11-08T18:47:59.363Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:47:59.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:47:59.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:47:59.363Z] Configure a credential helper to remove this warning. See [2023-11-08T18:47:59.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:47:59.363Z] [2023-11-08T18:47:59.363Z] Login Succeeded [2023-11-08T18:47:59.363Z] docker.io [2023-11-08T18:47:59.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:47:59.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:47:59.622Z] Configure a credential helper to remove this warning. See [2023-11-08T18:47:59.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:47:59.622Z] [2023-11-08T18:47:59.622Z] Login Succeeded [2023-11-08T18:47:59.622Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:47:59.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T18:47:59.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:47:59.669Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-11-08T18:47:59.669Z] dd473f237e8377f6c45c9162e361d1bd18095fab [2023-11-08T18:47:59.669Z] latest [2023-11-08T18:47:59.669Z] 3.1.0-dev.23 [2023-11-08T18:47:59.669Z] dd473f237e8377f6c45c9162e361d1bd18095fab-3.1.0-dev.23 [2023-11-08T18:47:59.669Z] main [2023-11-08T18:47:59.669Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:47:59.973Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:dd473f237e8377f6c45c9162e361d1bd18095fab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:00.275Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:dd473f237e8377f6c45c9162e361d1bd18095fab [2023-11-08T18:48:00.275Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-11-08T18:48:00.275Z] d11dd73967a7: Preparing [2023-11-08T18:48:00.275Z] 773451b2225e: Preparing [2023-11-08T18:48:00.275Z] 52e60e0c2ca8: Preparing [2023-11-08T18:48:00.275Z] 422e484ac3da: Preparing [2023-11-08T18:48:00.275Z] cc2447e1835a: Preparing [2023-11-08T18:48:00.275Z] cc2447e1835a: Layer already exists [2023-11-08T18:48:00.275Z] 773451b2225e: Pushed [2023-11-08T18:48:00.275Z] d11dd73967a7: Pushed [2023-11-08T18:48:00.275Z] 422e484ac3da: Pushed [2023-11-08T18:48:02.810Z] 52e60e0c2ca8: Pushed [2023-11-08T18:48:03.069Z] dd473f237e8377f6c45c9162e361d1bd18095fab: digest: sha256:8094fbb66f0728178ed043ed517acd3ba3a28a2ea75af1f49d9943bc261cf08e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:03.381Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:03.681Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-11-08T18:48:03.681Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-11-08T18:48:03.681Z] d11dd73967a7: Preparing [2023-11-08T18:48:03.681Z] 773451b2225e: Preparing [2023-11-08T18:48:03.681Z] 52e60e0c2ca8: Preparing [2023-11-08T18:48:03.681Z] 422e484ac3da: Preparing [2023-11-08T18:48:03.681Z] cc2447e1835a: Preparing [2023-11-08T18:48:03.681Z] d11dd73967a7: Layer already exists [2023-11-08T18:48:03.681Z] 773451b2225e: Layer already exists [2023-11-08T18:48:03.681Z] cc2447e1835a: Layer already exists [2023-11-08T18:48:03.681Z] 422e484ac3da: Layer already exists [2023-11-08T18:48:03.681Z] 52e60e0c2ca8: Layer already exists [2023-11-08T18:48:03.681Z] latest: digest: sha256:8094fbb66f0728178ed043ed517acd3ba3a28a2ea75af1f49d9943bc261cf08e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:03.987Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:04.293Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.23 [2023-11-08T18:48:04.294Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-11-08T18:48:04.294Z] d11dd73967a7: Preparing [2023-11-08T18:48:04.294Z] 773451b2225e: Preparing [2023-11-08T18:48:04.294Z] 52e60e0c2ca8: Preparing [2023-11-08T18:48:04.294Z] 422e484ac3da: Preparing [2023-11-08T18:48:04.294Z] cc2447e1835a: Preparing [2023-11-08T18:48:04.294Z] 422e484ac3da: Layer already exists [2023-11-08T18:48:04.294Z] d11dd73967a7: Layer already exists [2023-11-08T18:48:04.294Z] cc2447e1835a: Layer already exists [2023-11-08T18:48:04.294Z] 773451b2225e: Layer already exists [2023-11-08T18:48:04.294Z] 52e60e0c2ca8: Layer already exists [2023-11-08T18:48:04.294Z] 3.1.0-dev.23: digest: sha256:8094fbb66f0728178ed043ed517acd3ba3a28a2ea75af1f49d9943bc261cf08e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:04.603Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:dd473f237e8377f6c45c9162e361d1bd18095fab-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:04.906Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:dd473f237e8377f6c45c9162e361d1bd18095fab-3.1.0-dev.23 [2023-11-08T18:48:04.906Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-11-08T18:48:04.906Z] d11dd73967a7: Preparing [2023-11-08T18:48:04.906Z] 773451b2225e: Preparing [2023-11-08T18:48:04.906Z] 52e60e0c2ca8: Preparing [2023-11-08T18:48:04.906Z] 422e484ac3da: Preparing [2023-11-08T18:48:04.906Z] cc2447e1835a: Preparing [2023-11-08T18:48:04.906Z] 422e484ac3da: Layer already exists [2023-11-08T18:48:04.906Z] 773451b2225e: Layer already exists [2023-11-08T18:48:04.906Z] cc2447e1835a: Layer already exists [2023-11-08T18:48:04.906Z] 52e60e0c2ca8: Layer already exists [2023-11-08T18:48:04.906Z] d11dd73967a7: Layer already exists [2023-11-08T18:48:04.906Z] dd473f237e8377f6c45c9162e361d1bd18095fab-3.1.0-dev.23: digest: sha256:8094fbb66f0728178ed043ed517acd3ba3a28a2ea75af1f49d9943bc261cf08e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:05.214Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:05.519Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-11-08T18:48:05.520Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-11-08T18:48:05.520Z] d11dd73967a7: Preparing [2023-11-08T18:48:05.520Z] 773451b2225e: Preparing [2023-11-08T18:48:05.520Z] 52e60e0c2ca8: Preparing [2023-11-08T18:48:05.520Z] 422e484ac3da: Preparing [2023-11-08T18:48:05.520Z] cc2447e1835a: Preparing [2023-11-08T18:48:05.520Z] cc2447e1835a: Layer already exists [2023-11-08T18:48:05.520Z] d11dd73967a7: Layer already exists [2023-11-08T18:48:05.520Z] 773451b2225e: Layer already exists [2023-11-08T18:48:05.520Z] 422e484ac3da: Layer already exists [2023-11-08T18:48:05.520Z] 52e60e0c2ca8: Layer already exists [2023-11-08T18:48:05.520Z] main: digest: sha256:8094fbb66f0728178ed043ed517acd3ba3a28a2ea75af1f49d9943bc261cf08e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T18:48:05.558Z] ===================================================== [Pipeline] echo [2023-11-08T18:48:05.564Z] taggedImages: [2023-11-08T18:48:05.564Z] - nexus3.edgexfoundry.org:10004/device-modbus:dd473f237e8377f6c45c9162e361d1bd18095fab [2023-11-08T18:48:05.564Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-11-08T18:48:05.564Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.23 [2023-11-08T18:48:05.564Z] - nexus3.edgexfoundry.org:10004/device-modbus:dd473f237e8377f6c45c9162e361d1bd18095fab-3.1.0-dev.23 [2023-11-08T18:48:05.564Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:05.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:48:05.915Z] [2023-11-08T18:48:05.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:48:06.208Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:48:06.209Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T18:48:06.209Z] 5eb5b503b376: Pulling fs layer [2023-11-08T18:48:06.209Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T18:48:06.209Z] ec43610c2a17: Pulling fs layer [2023-11-08T18:48:06.209Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T18:48:06.209Z] 33b1e0a273af: Pulling fs layer [2023-11-08T18:48:06.209Z] 3a2ae6a8a46f: Waiting [2023-11-08T18:48:06.209Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T18:48:06.209Z] 2f39f015ded8: Pulling fs layer [2023-11-08T18:48:06.209Z] 5d3b04190fa2: Waiting [2023-11-08T18:48:06.209Z] 2f39f015ded8: Waiting [2023-11-08T18:48:06.209Z] 33b1e0a273af: Waiting [2023-11-08T18:48:06.209Z] 5c69ac0246d0: Verifying Checksum [2023-11-08T18:48:06.209Z] 5c69ac0246d0: Download complete [2023-11-08T18:48:06.209Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-08T18:48:06.209Z] 3a2ae6a8a46f: Download complete [2023-11-08T18:48:06.209Z] 33b1e0a273af: Verifying Checksum [2023-11-08T18:48:06.209Z] 33b1e0a273af: Download complete [2023-11-08T18:48:06.209Z] ec43610c2a17: Verifying Checksum [2023-11-08T18:48:06.209Z] ec43610c2a17: Download complete [2023-11-08T18:48:06.209Z] 5d3b04190fa2: Verifying Checksum [2023-11-08T18:48:06.209Z] 5d3b04190fa2: Download complete [2023-11-08T18:48:06.467Z] 5eb5b503b376: Verifying Checksum [2023-11-08T18:48:06.467Z] 5eb5b503b376: Download complete [2023-11-08T18:48:07.033Z] 2f39f015ded8: Download complete [2023-11-08T18:48:07.599Z] 5eb5b503b376: Pull complete [2023-11-08T18:48:07.600Z] 5c69ac0246d0: Pull complete [2023-11-08T18:48:08.168Z] ec43610c2a17: Pull complete [2023-11-08T18:48:08.168Z] 3a2ae6a8a46f: Pull complete [2023-11-08T18:48:08.427Z] 33b1e0a273af: Pull complete [2023-11-08T18:48:08.427Z] 5d3b04190fa2: Pull complete [2023-11-08T18:48:12.608Z] 2f39f015ded8: Pull complete [2023-11-08T18:48:12.608Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T18:48:12.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:48:12.608Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:48:12.687Z] prd-ubuntu20.04-docker-8c-8g-17054 does not seem to be running inside a container [2023-11-08T18:48:12.719Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T18:48:18.218Z] $ docker top 7d41ebe8767f619275d011fd9c4b46ef30cf3887d57c09e6d728accab31b1d0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:48:18.590Z] ---> job-cost.sh [2023-11-08T18:48:18.590Z] lf-activate-venv: SKIPPING [2023-11-08T18:48:18.590Z] INFO: No Stack... [2023-11-08T18:48:18.851Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T18:48:19.419Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T18:48:19.710Z] + + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-11-08T18:48:19.710Z] cut -d, -f6 [Pipeline] lock [2023-11-08T18:48:19.726Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-137-stack-cost] [2023-11-08T18:48:19.732Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-137-stack-cost] did not exist. Created. [2023-11-08T18:48:19.732Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T18:48:20.031Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-08T18:48:20.063Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T18:48:20.070Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-137-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T18:48:20.090Z] $ docker stop --time=1 7d41ebe8767f619275d011fd9c4b46ef30cf3887d57c09e6d728accab31b1d0a [2023-11-08T18:48:21.239Z] $ docker rm -f --volumes 7d41ebe8767f619275d011fd9c4b46ef30cf3887d57c09e6d728accab31b1d0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T18:49:38.948Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17056 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-11-08T18:49:38.963Z] Running in /w/workspace/device-modbus-go/137 [Pipeline] { [Pipeline] checkout [2023-11-08T18:49:38.999Z] Selected Git installation does not exist. Using Default [2023-11-08T18:49:38.999Z] The recommended git tool is: NONE [2023-11-08T18:49:46.741Z] using credential edgex-jenkins-ssh [2023-11-08T18:49:46.760Z] Cloning the remote Git repository [2023-11-08T18:49:46.815Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-11-08T18:49:46.913Z] > git init /w/workspace/device-modbus-go/137 # timeout=10 [2023-11-08T18:49:47.092Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-11-08T18:49:47.093Z] > git --version # timeout=10 [2023-11-08T18:49:47.113Z] > git --version # 'git version 2.25.1' [2023-11-08T18:49:47.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T18:49:47.280Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T18:49:49.463Z] Avoid second fetch [2023-11-08T18:49:49.464Z] Checking out Revision dd473f237e8377f6c45c9162e361d1bd18095fab (main) [2023-11-08T18:49:48.462Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-11-08T18:49:48.498Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T18:49:49.485Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T18:49:50.054Z] Commit message: "Merge pull request #524 from ejlee3/napa-go-mod" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T18:49:50.963Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T18:49:50.963Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T18:49:50.963Z] Dload Upload Total Spent Left Speed [2023-11-08T18:49:50.963Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 217k 0 --:--:-- --:--:-- --:--:-- 221k [2023-11-08T18:49:49.563Z] > git checkout -f dd473f237e8377f6c45c9162e361d1bd18095fab # timeout=10 [Pipeline] sh [2023-11-08T18:49:51.589Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T18:49:51.928Z] + sudo tee /etc/docker/daemon.new [2023-11-08T18:49:51.928Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T18:49:51.928Z] { [2023-11-08T18:49:51.928Z] "registry-mirrors": [ [2023-11-08T18:49:51.928Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T18:49:51.928Z] ], [2023-11-08T18:49:51.928Z] "bip": "10.250.0.254/24", [2023-11-08T18:49:51.928Z] "hosts": [ [2023-11-08T18:49:51.928Z] "tcp://0.0.0.0:5555", [2023-11-08T18:49:51.928Z] "unix:///var/run/docker.sock" [2023-11-08T18:49:51.928Z] ], [2023-11-08T18:49:51.928Z] "mtu": 1458, [2023-11-08T18:49:51.928Z] "selinux-enabled": true, [2023-11-08T18:49:51.928Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T18:49:51.928Z] } [Pipeline] sh [2023-11-08T18:49:52.261Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T18:49:52.597Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:50:10.900Z] provisioning config files... [2023-11-08T18:50:10.930Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/137@tmp/config7073530277533885955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:50:11.292Z] ---> docker-login.sh [2023-11-08T18:50:11.292Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:50:11.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:50:11.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:50:11.889Z] Configure a credential helper to remove this warning. See [2023-11-08T18:50:11.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:50:11.889Z] [2023-11-08T18:50:11.889Z] Login Succeeded [2023-11-08T18:50:11.889Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:50:12.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:50:12.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:50:12.444Z] Configure a credential helper to remove this warning. See [2023-11-08T18:50:12.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:50:12.444Z] [2023-11-08T18:50:12.444Z] Login Succeeded [2023-11-08T18:50:12.444Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:50:12.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:50:12.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:50:12.713Z] Configure a credential helper to remove this warning. See [2023-11-08T18:50:12.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:50:12.713Z] [2023-11-08T18:50:12.713Z] Login Succeeded [2023-11-08T18:50:12.713Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:50:12.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:50:13.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:50:13.254Z] Configure a credential helper to remove this warning. See [2023-11-08T18:50:13.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:50:13.254Z] [2023-11-08T18:50:13.254Z] Login Succeeded [2023-11-08T18:50:13.254Z] docker.io [2023-11-08T18:50:13.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:50:13.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:50:13.788Z] Configure a credential helper to remove this warning. See [2023-11-08T18:50:13.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:50:13.788Z] [2023-11-08T18:50:13.788Z] Login Succeeded [2023-11-08T18:50:13.788Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:50:13.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T18:50:14.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:50:14.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:50:14.148Z] ========================================================= [2023-11-08T18:50:14.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-08T18:50:14.148Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:50:14.525Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T18:50:14.796Z] Sending build context to Docker daemon 3.389MB [2023-11-08T18:50:14.796Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:50:14.796Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-08T18:50:15.078Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-08T18:50:15.078Z] 9fda8d8052c6: Pulling fs layer [2023-11-08T18:50:15.078Z] 5d54e960e981: Pulling fs layer [2023-11-08T18:50:15.078Z] c4a7e357bf2a: Pulling fs layer [2023-11-08T18:50:15.078Z] f0e02332f6b5: Pulling fs layer [2023-11-08T18:50:15.078Z] cefa15bbcfad: Pulling fs layer [2023-11-08T18:50:15.078Z] 17808c966233: Pulling fs layer [2023-11-08T18:50:15.078Z] cefa15bbcfad: Waiting [2023-11-08T18:50:15.078Z] f0e02332f6b5: Waiting [2023-11-08T18:50:15.078Z] f4c1fc716caa: Pulling fs layer [2023-11-08T18:50:15.078Z] 17808c966233: Waiting [2023-11-08T18:50:15.078Z] f4c1fc716caa: Waiting [2023-11-08T18:50:15.078Z] 5d54e960e981: Verifying Checksum [2023-11-08T18:50:15.078Z] 5d54e960e981: Download complete [2023-11-08T18:50:15.078Z] f0e02332f6b5: Verifying Checksum [2023-11-08T18:50:15.078Z] f0e02332f6b5: Download complete [2023-11-08T18:50:15.078Z] cefa15bbcfad: Verifying Checksum [2023-11-08T18:50:15.078Z] cefa15bbcfad: Download complete [2023-11-08T18:50:15.078Z] 9fda8d8052c6: Verifying Checksum [2023-11-08T18:50:15.078Z] 9fda8d8052c6: Download complete [2023-11-08T18:50:15.677Z] f4c1fc716caa: Verifying Checksum [2023-11-08T18:50:15.677Z] f4c1fc716caa: Download complete [2023-11-08T18:50:16.277Z] 9fda8d8052c6: Pull complete [2023-11-08T18:50:17.257Z] c4a7e357bf2a: Verifying Checksum [2023-11-08T18:50:17.257Z] c4a7e357bf2a: Download complete [2023-11-08T18:50:17.853Z] 17808c966233: Download complete [2023-11-08T18:50:19.272Z] 5d54e960e981: Pull complete [2023-11-08T18:50:34.302Z] c4a7e357bf2a: Pull complete [2023-11-08T18:50:34.302Z] f0e02332f6b5: Pull complete [2023-11-08T18:50:34.302Z] cefa15bbcfad: Pull complete [2023-11-08T18:50:41.249Z] 17808c966233: Pull complete [2023-11-08T18:50:43.215Z] f4c1fc716caa: Pull complete [2023-11-08T18:50:43.215Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-08T18:50:43.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-08T18:50:43.215Z] ---> ea914061e18c [2023-11-08T18:50:43.215Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:50:43.800Z] ---> Running in 5c80f98b92b6 [2023-11-08T18:50:44.068Z] Removing intermediate container 5c80f98b92b6 [2023-11-08T18:50:44.068Z] ---> 428ab19b69da [2023-11-08T18:50:44.068Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:50:44.068Z] ---> Running in 635fdd9e62a6 [2023-11-08T18:50:44.338Z] Removing intermediate container 635fdd9e62a6 [2023-11-08T18:50:44.338Z] ---> 90da63f8f292 [2023-11-08T18:50:44.338Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-11-08T18:50:44.338Z] ---> Running in 3e0c35611adc [2023-11-08T18:50:45.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:50:45.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T18:50:47.160Z] (1/8) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T18:50:47.160Z] (2/8) Installing libedit (20221030.3.1-r1) [2023-11-08T18:50:47.160Z] (3/8) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T18:50:47.160Z] (4/8) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T18:50:47.160Z] (5/8) Installing openssh-sftp-server (9.3_p2-r0) [2023-11-08T18:50:47.160Z] (6/8) Installing openssh-server-common (9.3_p2-r0) [2023-11-08T18:50:47.160Z] (7/8) Installing openssh-server (9.3_p2-r0) [2023-11-08T18:50:47.160Z] (8/8) Installing openssh (9.3_p2-r0) [2023-11-08T18:50:47.160Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:50:47.160Z] OK: 272 MiB in 60 packages [2023-11-08T18:50:49.106Z] Removing intermediate container 3e0c35611adc [2023-11-08T18:50:49.106Z] ---> b1010eff26f1 [2023-11-08T18:50:49.106Z] Step 6/10 : WORKDIR /device-modbus-go [2023-11-08T18:50:49.106Z] ---> Running in 9cee4aec594e [2023-11-08T18:50:50.078Z] Removing intermediate container 9cee4aec594e [2023-11-08T18:50:50.078Z] ---> abd2b0c2fb4f [2023-11-08T18:50:50.078Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-08T18:50:50.343Z] ---> 138a614b4ee0 [2023-11-08T18:50:50.343Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:50:50.343Z] ---> Running in ebc15e6e8063 [2023-11-08T18:52:11.992Z] Removing intermediate container ebc15e6e8063 [2023-11-08T18:52:11.992Z] ---> 7c5e7790880a [2023-11-08T18:52:11.992Z] Step 9/10 : COPY . . [2023-11-08T18:52:11.992Z] ---> 74c7e52b5544 [2023-11-08T18:52:11.992Z] Step 10/10 : RUN ${MAKE} [2023-11-08T18:52:11.992Z] ---> Running in 546a047cee3f [2023-11-08T18:52:11.992Z] noop [2023-11-08T18:52:11.992Z] Removing intermediate container 546a047cee3f [2023-11-08T18:52:11.992Z] ---> a673404ab7c1 [2023-11-08T18:52:11.992Z] Successfully built a673404ab7c1 [2023-11-08T18:52:11.992Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:52:12.343Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T18:52:12.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:52:12.558Z] prd-ubuntu20.04-docker-arm64-4c-16g-17056 does not seem to be running inside a container [2023-11-08T18:52:12.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/137 -v /w/workspace/device-modbus-go/137:/w/workspace/device-modbus-go/137:rw,z -v /w/workspace/device-modbus-go/137@tmp:/w/workspace/device-modbus-go/137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-08T18:52:14.317Z] $ docker top 89d5821f2d835611ccce0a7c7d3ad6d2632f7207219834ccb7ed8fe75d963724 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:52:15.138Z] + go version [2023-11-08T18:52:15.138Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-08T18:52:15.166Z] $ docker stop --time=1 89d5821f2d835611ccce0a7c7d3ad6d2632f7207219834ccb7ed8fe75d963724 [2023-11-08T18:52:16.830Z] $ docker rm -f --volumes 89d5821f2d835611ccce0a7c7d3ad6d2632f7207219834ccb7ed8fe75d963724 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:52:17.389Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T18:52:17.389Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:52:17.594Z] prd-ubuntu20.04-docker-arm64-4c-16g-17056 does not seem to be running inside a container [2023-11-08T18:52:17.669Z] $ 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/137 -v /w/workspace/device-modbus-go/137:/w/workspace/device-modbus-go/137:rw,z -v /w/workspace/device-modbus-go/137@tmp:/w/workspace/device-modbus-go/137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-08T18:52:18.941Z] $ docker top 221bd3b5b19df8dc41ee1469ad111f6962cae342118f23651d5cfdd81afae8ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:52:19.795Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/137 [Pipeline] fileExists [Pipeline] sh [2023-11-08T18:52:20.451Z] + make test [2023-11-08T18:52:20.451Z] go test ./... -coverprofile=coverage.out [2023-11-08T18:52:24.725Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-11-08T18:54:17.813Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-11-08T18:54:17.813Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.9% of statements [2023-11-08T18:54:17.813Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-08T18:54:17.813Z] go vet ./... [2023-11-08T18:54:39.925Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T18:54:39.925Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T18:54:39.925Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T18:54:40.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T18:54:40.557Z] $ docker stop --time=1 221bd3b5b19df8dc41ee1469ad111f6962cae342118f23651d5cfdd81afae8ac [2023-11-08T18:54:42.535Z] $ docker rm -f --volumes 221bd3b5b19df8dc41ee1469ad111f6962cae342118f23651d5cfdd81afae8ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:54:43.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T18:54:43.848Z] Warning: overwriting stash ‘coverage-report’ [2023-11-08T18:54:44.423Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T18:54:44.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T18:54:45.162Z] + ls -al . [2023-11-08T18:54:45.162Z] total 184 [2023-11-08T18:54:45.162Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:52 . [2023-11-08T18:54:45.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:49 .. [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 18:49 .dockerignore [2023-11-08T18:54:45.162Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:49 .git [2023-11-08T18:54:45.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:49 .github [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 266 Nov 8 18:49 .gitignore [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:49 .golangci.yml [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 11101 Nov 8 18:49 Attribution.txt [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 14764 Nov 8 18:49 CHANGELOG.md [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 1365 Nov 8 18:49 Dockerfile [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:49 GOVERNANCE.md [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 658 Nov 8 18:49 Jenkinsfile [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:49 LICENSE [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 1936 Nov 8 18:49 Makefile [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 18:49 OWNERS.md [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 4463 Nov 8 18:49 README.md [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 18:46 VERSION [2023-11-08T18:54:45.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:49 bin [2023-11-08T18:54:45.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:49 cmd [2023-11-08T18:54:45.162Z] -rw-r--r-- 1 jenkins jenkins 24334 Nov 8 18:54 coverage.out [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 3895 Nov 8 18:49 go.mod [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 35342 Nov 8 18:49 go.sum [2023-11-08T18:54:45.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:49 internal [2023-11-08T18:54:45.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:49 simulator [2023-11-08T18:54:45.162Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:54:45.524Z] + 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=dd473f237e8377f6c45c9162e361d1bd18095fab --label arch=arm64 --label version=3.1.0-dev.23 . [2023-11-08T18:54:45.806Z] Sending build context to Docker daemon 3.414MB [2023-11-08T18:54:46.089Z] Step 1/22 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:54:46.089Z] Step 2/22 : FROM ${BASE} AS builder [2023-11-08T18:54:46.089Z] ---> a673404ab7c1 [2023-11-08T18:54:46.089Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:54:46.089Z] ---> Running in c73556b68cba [2023-11-08T18:54:46.678Z] Removing intermediate container c73556b68cba [2023-11-08T18:54:46.678Z] ---> 1a9e42d51496 [2023-11-08T18:54:46.678Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:54:46.678Z] ---> Running in 53e3f7d46314 [2023-11-08T18:54:46.947Z] Removing intermediate container 53e3f7d46314 [2023-11-08T18:54:46.947Z] ---> b2a6d3d40a3d [2023-11-08T18:54:46.947Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-11-08T18:54:47.222Z] ---> Running in c9c6f15c8779 [2023-11-08T18:54:48.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:54:48.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T18:54:50.343Z] OK: 272 MiB in 60 packages [2023-11-08T18:54:51.333Z] Removing intermediate container c9c6f15c8779 [2023-11-08T18:54:51.333Z] ---> e55bdd899f28 [2023-11-08T18:54:51.333Z] Step 6/22 : WORKDIR /device-modbus-go [2023-11-08T18:54:51.605Z] ---> Running in ba1ceac0cc79 [2023-11-08T18:54:51.887Z] Removing intermediate container ba1ceac0cc79 [2023-11-08T18:54:51.887Z] ---> 3b1d9b30fb9c [2023-11-08T18:54:51.887Z] Step 7/22 : COPY go.mod vendor* ./ [2023-11-08T18:54:52.479Z] ---> f25ce8e2b129 [2023-11-08T18:54:52.479Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:54:52.479Z] ---> Running in 78f401d5e052 [2023-11-08T18:54:55.077Z] Removing intermediate container 78f401d5e052 [2023-11-08T18:54:55.077Z] ---> dd6092723f72 [2023-11-08T18:54:55.077Z] Step 9/22 : COPY . . [2023-11-08T18:54:56.064Z] ---> 74127b288454 [2023-11-08T18:54:56.064Z] Step 10/22 : RUN ${MAKE} [2023-11-08T18:54:56.064Z] ---> Running in 807674317b6b [2023-11-08T18:54:57.037Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-11-08T18:57:18.810Z] Removing intermediate container 807674317b6b [2023-11-08T18:57:18.810Z] ---> 0b69022603ab [2023-11-08T18:57:18.810Z] Step 11/22 : FROM alpine:3.18 [2023-11-08T18:57:18.810Z] 3.18: Pulling from library/alpine [2023-11-08T18:57:18.810Z] 579b34f0a95b: Pulling fs layer [2023-11-08T18:57:18.810Z] 579b34f0a95b: Verifying Checksum [2023-11-08T18:57:18.810Z] 579b34f0a95b: Download complete [2023-11-08T18:57:18.810Z] 579b34f0a95b: Pull complete [2023-11-08T18:57:18.810Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T18:57:18.810Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T18:57:18.810Z] ---> 3cc203321400 [2023-11-08T18:57:18.810Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-11-08T18:57:18.810Z] ---> Running in 4ff4dea0558a [2023-11-08T18:57:18.810Z] Removing intermediate container 4ff4dea0558a [2023-11-08T18:57:18.810Z] ---> 69705553cb26 [2023-11-08T18:57:18.810Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-11-08T18:57:18.810Z] ---> Running in 0c6b1486eab8 [2023-11-08T18:57:18.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:57:18.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T18:57:18.810Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T18:57:18.810Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:57:18.810Z] OK: 8 MiB in 16 packages [2023-11-08T18:57:18.810Z] Removing intermediate container 0c6b1486eab8 [2023-11-08T18:57:18.810Z] ---> f40d47ed0725 [2023-11-08T18:57:18.810Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-11-08T18:57:19.778Z] ---> 7a2e8f59c5bf [2023-11-08T18:57:19.778Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-11-08T18:57:20.368Z] ---> ad47c3155dbe [2023-11-08T18:57:20.368Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-11-08T18:57:20.957Z] ---> 830320522806 [2023-11-08T18:57:20.957Z] Step 17/22 : EXPOSE 59901 [2023-11-08T18:57:20.957Z] ---> Running in 68dff7cd148c [2023-11-08T18:57:21.233Z] Removing intermediate container 68dff7cd148c [2023-11-08T18:57:21.233Z] ---> 0cb24354cbf2 [2023-11-08T18:57:21.233Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-11-08T18:57:21.233Z] ---> Running in 5006cb0a8002 [2023-11-08T18:57:21.822Z] Removing intermediate container 5006cb0a8002 [2023-11-08T18:57:21.822Z] ---> dc8e12a20803 [2023-11-08T18:57:21.822Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-08T18:57:21.822Z] ---> Running in 7ff87f2582e4 [2023-11-08T18:57:22.095Z] Removing intermediate container 7ff87f2582e4 [2023-11-08T18:57:22.095Z] ---> b54cfac8d41a [2023-11-08T18:57:22.095Z] Step 20/22 : LABEL arch=arm64 [2023-11-08T18:57:22.369Z] ---> Running in 327c5e251af8 [2023-11-08T18:57:22.636Z] Removing intermediate container 327c5e251af8 [2023-11-08T18:57:22.636Z] ---> 5840c6b79061 [2023-11-08T18:57:22.636Z] Step 21/22 : LABEL git_sha=dd473f237e8377f6c45c9162e361d1bd18095fab [2023-11-08T18:57:22.636Z] ---> Running in 6c58d88e2b56 [2023-11-08T18:57:23.224Z] Removing intermediate container 6c58d88e2b56 [2023-11-08T18:57:23.224Z] ---> d90bbc6ab9a7 [2023-11-08T18:57:23.224Z] Step 22/22 : LABEL version=3.1.0-dev.23 [2023-11-08T18:57:23.224Z] ---> Running in 6ad72a67e9ff [2023-11-08T18:57:23.491Z] Removing intermediate container 6ad72a67e9ff [2023-11-08T18:57:23.491Z] ---> 1e80c54299cb [2023-11-08T18:57:23.491Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T18:57:23.491Z] Successfully built 1e80c54299cb [2023-11-08T18:57:23.491Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:57:23.623Z] provisioning config files... [2023-11-08T18:57:23.638Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/137@tmp/config17501498878925819735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:57:23.988Z] ---> docker-login.sh [2023-11-08T18:57:23.988Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:57:24.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:57:24.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:57:24.258Z] Configure a credential helper to remove this warning. See [2023-11-08T18:57:24.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:57:24.258Z] [2023-11-08T18:57:24.258Z] Login Succeeded [2023-11-08T18:57:24.258Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:57:24.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:57:24.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:57:24.945Z] Configure a credential helper to remove this warning. See [2023-11-08T18:57:24.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:57:24.945Z] [2023-11-08T18:57:24.945Z] Login Succeeded [2023-11-08T18:57:24.945Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:57:24.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:57:25.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:57:25.217Z] Configure a credential helper to remove this warning. See [2023-11-08T18:57:25.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:57:25.217Z] [2023-11-08T18:57:25.217Z] Login Succeeded [2023-11-08T18:57:25.217Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:57:25.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:57:25.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:57:25.487Z] Configure a credential helper to remove this warning. See [2023-11-08T18:57:25.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:57:25.487Z] [2023-11-08T18:57:25.487Z] Login Succeeded [2023-11-08T18:57:25.487Z] docker.io [2023-11-08T18:57:25.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:57:26.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:57:26.339Z] Configure a credential helper to remove this warning. See [2023-11-08T18:57:26.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:57:26.340Z] [2023-11-08T18:57:26.340Z] Login Succeeded [2023-11-08T18:57:26.340Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:57:26.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T18:57:26.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:57:26.421Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-11-08T18:57:26.421Z] dd473f237e8377f6c45c9162e361d1bd18095fab [2023-11-08T18:57:26.421Z] latest [2023-11-08T18:57:26.421Z] 3.1.0-dev.23 [2023-11-08T18:57:26.421Z] dd473f237e8377f6c45c9162e361d1bd18095fab-3.1.0-dev.23 [2023-11-08T18:57:26.421Z] main [2023-11-08T18:57:26.421Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:26.789Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd473f237e8377f6c45c9162e361d1bd18095fab [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:27.135Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd473f237e8377f6c45c9162e361d1bd18095fab [2023-11-08T18:57:27.135Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-11-08T18:57:27.135Z] e43c7d580804: Preparing [2023-11-08T18:57:27.135Z] 867228a6c940: Preparing [2023-11-08T18:57:27.135Z] 80a33904c45d: Preparing [2023-11-08T18:57:27.135Z] ea547e59637b: Preparing [2023-11-08T18:57:27.135Z] 5f4d9fc4d98d: Preparing [2023-11-08T18:57:27.135Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T18:57:27.403Z] ea547e59637b: Pushed [2023-11-08T18:57:27.403Z] e43c7d580804: Pushed [2023-11-08T18:57:27.403Z] 867228a6c940: Pushed [2023-11-08T18:57:34.060Z] 80a33904c45d: Pushed [2023-11-08T18:57:34.060Z] dd473f237e8377f6c45c9162e361d1bd18095fab: digest: sha256:e74f7dd4f7e16a57baa4e8e7d3cff7bb641b0d032c9ca9a568d8df8abdd00cfd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:34.431Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:34.819Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-11-08T18:57:34.819Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-11-08T18:57:34.819Z] e43c7d580804: Preparing [2023-11-08T18:57:34.819Z] 867228a6c940: Preparing [2023-11-08T18:57:34.819Z] 80a33904c45d: Preparing [2023-11-08T18:57:34.819Z] ea547e59637b: Preparing [2023-11-08T18:57:34.819Z] 5f4d9fc4d98d: Preparing [2023-11-08T18:57:34.819Z] e43c7d580804: Layer already exists [2023-11-08T18:57:34.819Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T18:57:34.819Z] 867228a6c940: Layer already exists [2023-11-08T18:57:34.819Z] ea547e59637b: Layer already exists [2023-11-08T18:57:34.819Z] 80a33904c45d: Layer already exists [2023-11-08T18:57:35.177Z] latest: digest: sha256:e74f7dd4f7e16a57baa4e8e7d3cff7bb641b0d032c9ca9a568d8df8abdd00cfd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:35.556Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:35.944Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.23 [2023-11-08T18:57:35.944Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-11-08T18:57:35.944Z] e43c7d580804: Preparing [2023-11-08T18:57:35.944Z] 867228a6c940: Preparing [2023-11-08T18:57:35.944Z] 80a33904c45d: Preparing [2023-11-08T18:57:35.944Z] ea547e59637b: Preparing [2023-11-08T18:57:35.944Z] 5f4d9fc4d98d: Preparing [2023-11-08T18:57:35.944Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T18:57:35.944Z] 80a33904c45d: Layer already exists [2023-11-08T18:57:35.944Z] e43c7d580804: Layer already exists [2023-11-08T18:57:35.944Z] 867228a6c940: Layer already exists [2023-11-08T18:57:35.944Z] ea547e59637b: Layer already exists [2023-11-08T18:57:36.224Z] 3.1.0-dev.23: digest: sha256:e74f7dd4f7e16a57baa4e8e7d3cff7bb641b0d032c9ca9a568d8df8abdd00cfd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:36.597Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd473f237e8377f6c45c9162e361d1bd18095fab-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:36.978Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd473f237e8377f6c45c9162e361d1bd18095fab-3.1.0-dev.23 [2023-11-08T18:57:36.979Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-11-08T18:57:36.979Z] e43c7d580804: Preparing [2023-11-08T18:57:36.979Z] 867228a6c940: Preparing [2023-11-08T18:57:36.979Z] 80a33904c45d: Preparing [2023-11-08T18:57:36.979Z] ea547e59637b: Preparing [2023-11-08T18:57:36.979Z] 5f4d9fc4d98d: Preparing [2023-11-08T18:57:36.979Z] e43c7d580804: Layer already exists [2023-11-08T18:57:36.979Z] ea547e59637b: Layer already exists [2023-11-08T18:57:36.979Z] 80a33904c45d: Layer already exists [2023-11-08T18:57:36.979Z] 867228a6c940: Layer already exists [2023-11-08T18:57:36.979Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T18:57:36.979Z] dd473f237e8377f6c45c9162e361d1bd18095fab-3.1.0-dev.23: digest: sha256:e74f7dd4f7e16a57baa4e8e7d3cff7bb641b0d032c9ca9a568d8df8abdd00cfd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:37.607Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:37.958Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-11-08T18:57:37.958Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-11-08T18:57:37.958Z] e43c7d580804: Preparing [2023-11-08T18:57:37.958Z] 867228a6c940: Preparing [2023-11-08T18:57:37.958Z] 80a33904c45d: Preparing [2023-11-08T18:57:37.958Z] ea547e59637b: Preparing [2023-11-08T18:57:37.958Z] 5f4d9fc4d98d: Preparing [2023-11-08T18:57:37.958Z] e43c7d580804: Layer already exists [2023-11-08T18:57:37.958Z] ea547e59637b: Layer already exists [2023-11-08T18:57:37.958Z] 80a33904c45d: Layer already exists [2023-11-08T18:57:37.958Z] 867228a6c940: Layer already exists [2023-11-08T18:57:37.958Z] 5f4d9fc4d98d: Layer already exists [2023-11-08T18:57:38.226Z] main: digest: sha256:e74f7dd4f7e16a57baa4e8e7d3cff7bb641b0d032c9ca9a568d8df8abdd00cfd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-08T18:57:38.279Z] ===================================================== [Pipeline] echo [2023-11-08T18:57:38.292Z] taggedImages: [2023-11-08T18:57:38.292Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd473f237e8377f6c45c9162e361d1bd18095fab [2023-11-08T18:57:38.292Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-11-08T18:57:38.292Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.23 [2023-11-08T18:57:38.292Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:dd473f237e8377f6c45c9162e361d1bd18095fab-3.1.0-dev.23 [2023-11-08T18:57:38.292Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:38.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T18:57:38.658Z] [2023-11-08T18:57:38.658Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:57:38.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T18:57:38.994Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T18:57:38.994Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T18:57:38.994Z] 04944245beec: Pulling fs layer [2023-11-08T18:57:38.994Z] 699f458cf7ca: Pulling fs layer [2023-11-08T18:57:38.994Z] 765212b225bb: Pulling fs layer [2023-11-08T18:57:38.994Z] f23df028b6ca: Pulling fs layer [2023-11-08T18:57:38.994Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T18:57:38.994Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T18:57:38.994Z] 765212b225bb: Waiting [2023-11-08T18:57:38.994Z] f23df028b6ca: Waiting [2023-11-08T18:57:38.994Z] d65c8cfc05b1: Waiting [2023-11-08T18:57:38.994Z] 2437ff75d9bd: Waiting [2023-11-08T18:57:39.274Z] 04944245beec: Verifying Checksum [2023-11-08T18:57:39.274Z] 04944245beec: Download complete [2023-11-08T18:57:39.274Z] 765212b225bb: Verifying Checksum [2023-11-08T18:57:39.274Z] 765212b225bb: Download complete [2023-11-08T18:57:39.274Z] f23df028b6ca: Download complete [2023-11-08T18:57:39.274Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T18:57:39.274Z] d65c8cfc05b1: Download complete [2023-11-08T18:57:39.547Z] 699f458cf7ca: Verifying Checksum [2023-11-08T18:57:39.547Z] 699f458cf7ca: Download complete [2023-11-08T18:57:39.816Z] 8998bd30e6a1: Verifying Checksum [2023-11-08T18:57:39.816Z] 8998bd30e6a1: Download complete [2023-11-08T18:57:42.404Z] 2437ff75d9bd: Download complete [2023-11-08T18:57:44.363Z] 8998bd30e6a1: Pull complete [2023-11-08T18:57:44.631Z] 04944245beec: Pull complete [2023-11-08T18:57:46.581Z] 699f458cf7ca: Pull complete [2023-11-08T18:57:46.581Z] 765212b225bb: Pull complete [2023-11-08T18:57:47.166Z] f23df028b6ca: Pull complete [2023-11-08T18:57:47.432Z] d65c8cfc05b1: Pull complete [2023-11-08T18:58:05.660Z] 2437ff75d9bd: Pull complete [2023-11-08T18:58:05.660Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T18:58:05.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T18:58:05.660Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:58:05.878Z] prd-ubuntu20.04-docker-arm64-4c-16g-17056 does not seem to be running inside a container [2023-11-08T18:58:05.962Z] $ 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/137 -v /w/workspace/device-modbus-go/137:/w/workspace/device-modbus-go/137:rw,z -v /w/workspace/device-modbus-go/137@tmp:/w/workspace/device-modbus-go/137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-08T18:58:09.016Z] $ docker top 666f56190b2a1d1470ac43ce661f9aab0a6a951a0f72e438f05a6e3a8bda6a76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:58:09.866Z] ---> job-cost.sh [2023-11-08T18:58:09.866Z] lf-activate-venv: SKIPPING [2023-11-08T18:58:09.866Z] INFO: No Stack... [2023-11-08T18:58:10.459Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T18:58:11.045Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T18:58:11.700Z] + cat /w/workspace/device-modbus-go/137/archives/cost.csv [2023-11-08T18:58:11.700Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T18:58:11.789Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-137-stack-cost] [2023-11-08T18:58:11.797Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-137-stack-cost] did not exist. Created. [2023-11-08T18:58:11.797Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T18:58:12.473Z] /w/workspace/device-modbus-go/137@tmp/durable-8d77ca08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T18:58:13.138Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T18:58:13.163Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T18:58:13.227Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T18:58:13.236Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-137-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T18:58:13.272Z] $ docker stop --time=1 666f56190b2a1d1470ac43ce661f9aab0a6a951a0f72e438f05a6e3a8bda6a76 [2023-11-08T18:58:14.825Z] $ docker rm -f --volumes 666f56190b2a1d1470ac43ce661f9aab0a6a951a0f72e438f05a6e3a8bda6a76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-08T18:58:15.224Z] provisioning config files... [2023-11-08T18:58:15.230Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5013154469605729328tmp [Pipeline] { [Pipeline] sh [2023-11-08T18:58:15.525Z] + set +x [2023-11-08T18:58:15.525Z] + curl -s https://codecov.io/bash [2023-11-08T18:58:15.525Z] + bash -s -- [2023-11-08T18:58:15.525Z] [2023-11-08T18:58:15.525Z] _____ _ [2023-11-08T18:58:15.525Z] / ____| | | [2023-11-08T18:58:15.525Z] | | ___ __| | ___ ___ _____ __ [2023-11-08T18:58:15.525Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-08T18:58:15.525Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-08T18:58:15.525Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-08T18:58:15.525Z] Bash-1.0.6 [2023-11-08T18:58:15.525Z] [2023-11-08T18:58:15.525Z] [2023-11-08T18:58:15.525Z] ==> git version 2.25.1 found [2023-11-08T18:58:15.525Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-08T18:58:15.525Z] Release-Date: 2020-01-08 [2023-11-08T18:58:15.525Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-08T18:58:15.525Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-08T18:58:15.525Z] ==> Jenkins CI detected. [2023-11-08T18:58:15.525Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-11-08T18:58:15.525Z] project root: . [2023-11-08T18:58:15.525Z] --> token set from env [2023-11-08T18:58:15.525Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-08T18:58:15.525Z] ==> Running gcov in . (disable via -X gcov) [2023-11-08T18:58:15.525Z] ==> Python coveragepy not found [2023-11-08T18:58:15.525Z] ==> Searching for coverage reports in: [2023-11-08T18:58:15.525Z] + . [2023-11-08T18:58:15.525Z] -> Found 1 reports [2023-11-08T18:58:15.525Z] ==> Detecting git/mercurial file structure [2023-11-08T18:58:15.525Z] ==> Reading reports [2023-11-08T18:58:15.525Z] + ./coverage.out bytes=24334 [2023-11-08T18:58:15.525Z] ==> Appending adjustments [2023-11-08T18:58:15.525Z] https://docs.codecov.io/docs/fixing-reports [2023-11-08T18:58:15.783Z] + Found adjustments [2023-11-08T18:58:15.783Z] ==> Gzipping contents [2023-11-08T18:58:15.783Z] 4.0K /tmp/codecov.U6JVM4.gz [2023-11-08T18:58:15.783Z] ==> Uploading reports [2023-11-08T18:58:15.783Z] url: https://codecov.io [2023-11-08T18:58:15.783Z] query: branch=main&commit=dd473f237e8377f6c45c9162e361d1bd18095fab&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-08T18:58:15.783Z] -> Pinging Codecov [2023-11-08T18:58:15.783Z] 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=dd473f237e8377f6c45c9162e361d1bd18095fab&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-08T18:58:16.044Z] -> Uploading to [2023-11-08T18:58:16.044Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-08/55DBCA73C666E3227836607328DD7E49/dd473f237e8377f6c45c9162e361d1bd18095fab/73b0d280-a862-470d-8308-af7751600339.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T185815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1280125edd89db2cd818c5224d2219ff2ef74c618aee86b85ddfe988af793701 [2023-11-08T18:58:16.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T18:58:16.044Z] Dload Upload Total Spent Left Speed [2023-11-08T18:58:16.305Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 15792 --:--:-- --:--:-- --:--:-- 15792 [2023-11-08T18:58:16.305Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/dd473f237e8377f6c45c9162e361d1bd18095fab [Pipeline] } [2023-11-08T18:58:16.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-08T18:58:16.542Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-08T18:58:16.557Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:58:16.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T18:58:16.859Z] [2023-11-08T18:58:16.859Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:58:17.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T18:58:17.159Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-08T18:58:17.159Z] df9b9388f04a: Pulling fs layer [2023-11-08T18:58:17.159Z] 52dc419b0ee2: Pulling fs layer [2023-11-08T18:58:17.159Z] 25bc292e5bac: Pulling fs layer [2023-11-08T18:58:17.159Z] 114826534d7a: Pulling fs layer [2023-11-08T18:58:17.159Z] 4657fd5d0bcf: Pulling fs layer [2023-11-08T18:58:17.159Z] 6ad1cebc031e: Pulling fs layer [2023-11-08T18:58:17.159Z] 8a3aa393b2d8: Pulling fs layer [2023-11-08T18:58:17.159Z] 4657fd5d0bcf: Waiting [2023-11-08T18:58:17.159Z] 114826534d7a: Waiting [2023-11-08T18:58:17.159Z] 6ad1cebc031e: Waiting [2023-11-08T18:58:17.159Z] 8a3aa393b2d8: Waiting [2023-11-08T18:58:17.159Z] 25bc292e5bac: Verifying Checksum [2023-11-08T18:58:17.159Z] 25bc292e5bac: Download complete [2023-11-08T18:58:17.159Z] 52dc419b0ee2: Verifying Checksum [2023-11-08T18:58:17.159Z] 52dc419b0ee2: Download complete [2023-11-08T18:58:17.159Z] 4657fd5d0bcf: Verifying Checksum [2023-11-08T18:58:17.159Z] 4657fd5d0bcf: Download complete [2023-11-08T18:58:17.159Z] df9b9388f04a: Download complete [2023-11-08T18:58:17.419Z] df9b9388f04a: Pull complete [2023-11-08T18:58:17.419Z] 6ad1cebc031e: Verifying Checksum [2023-11-08T18:58:17.419Z] 6ad1cebc031e: Download complete [2023-11-08T18:58:17.419Z] 52dc419b0ee2: Pull complete [2023-11-08T18:58:17.677Z] 25bc292e5bac: Pull complete [2023-11-08T18:58:17.935Z] 114826534d7a: Verifying Checksum [2023-11-08T18:58:17.935Z] 114826534d7a: Download complete [2023-11-08T18:58:18.194Z] 8a3aa393b2d8: Verifying Checksum [2023-11-08T18:58:18.194Z] 8a3aa393b2d8: Download complete [2023-11-08T18:58:21.476Z] 114826534d7a: Pull complete [2023-11-08T18:58:21.476Z] 4657fd5d0bcf: Pull complete [2023-11-08T18:58:21.476Z] 6ad1cebc031e: Pull complete [2023-11-08T18:58:24.006Z] 8a3aa393b2d8: Pull complete [2023-11-08T18:58:24.006Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-08T18:58:24.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-08T18:58:24.007Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:58:24.098Z] prd-ubuntu20.04-docker-8c-8g-17054 does not seem to be running inside a container [2023-11-08T18:58:24.127Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-08T18:58:31.775Z] $ docker top 6b2b4eea5b65988d3eb1c6e885a580d4a834d3385a4f746a3484ef67f63d4f02 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-08T18:58:31.837Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-11-08T18:58:32.114Z] + set -o pipefail [2023-11-08T18:58:32.114Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-11-08T18:58:38.682Z] [2023-11-08T18:58:38.682Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-11-08T18:58:38.682Z] [2023-11-08T18:58:38.682Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/3ab8346e-5a41-483e-9654-c03ac4996085 [2023-11-08T18:58:38.682Z] [2023-11-08T18:58:38.682Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-11-08T18:58:38.682Z] [2023-11-08T18:58:38.682Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-08T18:58:38.682Z] [2023-11-08T18:58:38.682Z] [2023-11-08T18:58:38.682Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-08T18:58:38.682Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-08T18:58:38.682Z] More details here: https://snyk.co/ue1NS [2023-11-08T18:58:38.682Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-11-08T18:58:38.682Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-11-08T18:58:38.703Z] $ docker stop --time=1 6b2b4eea5b65988d3eb1c6e885a580d4a834d3385a4f746a3484ef67f63d4f02 [2023-11-08T18:58:44.049Z] $ docker rm -f --volumes 6b2b4eea5b65988d3eb1c6e885a580d4a834d3385a4f746a3484ef67f63d4f02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T18:58:44.782Z] + git log --format=format:%s -1 dd473f237e8377f6c45c9162e361d1bd18095fab [Pipeline] sh [2023-11-08T18:58:45.077Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T18:58:45.077Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:58:45.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:58:45.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:58:45.443Z] prd-ubuntu20.04-docker-8c-8g-17054 does not seem to be running inside a container [2023-11-08T18:58:45.473Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T18:58:45.942Z] $ docker top 58ebad803b7a74e4fd74b70e25237fb456fa91ea37907f808ddec04b8b0ac317 -eo pid,comm [2023-11-08T18:58:45.990Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-08T18:58:45.990Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T18:58:46.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:58:46.029Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:58:46.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:58:46.153Z] $ docker exec 58ebad803b7a74e4fd74b70e25237fb456fa91ea37907f808ddec04b8b0ac317 ssh-agent [2023-11-08T18:58:46.260Z] SSH_AUTH_SOCK=/tmp/ssh-8YS2Z5etDu2Z/agent.32 [2023-11-08T18:58:46.260Z] SSH_AGENT_PID=38 [2023-11-08T18:58:46.264Z] Running ssh-add (command line suppressed) [2023-11-08T18:58:46.359Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18146330358582949479.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18146330358582949479.key) [2023-11-08T18:58:46.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:58:46.661Z] + git semver tag [2023-11-08T18:58:46.921Z] 2023-11-08 18:58:46,833 [run_tag] DEBUG tag force:False [2023-11-08T18:58:46.921Z] 2023-11-08 18:58:46,833 [check_head_tag] DEBUG check head tag [2023-11-08T18:58:46.921Z] 2023-11-08 18:58:46,834 [execute] INFO git cat-file --batch-check [2023-11-08T18:58:46.921Z] 2023-11-08 18:58:46,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-11-08T18:58:46.921Z] 2023-11-08 18:58:46,837 [execute] INFO git cat-file --batch [2023-11-08T18:58:46.921Z] 2023-11-08 18:58:46,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-11-08T18:58:46.921Z] 2023-11-08 18:58:46,851 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-08T18:58:46.921Z] 2023-11-08 18:58:46,851 [execute] INFO git tag -a v3.1.0-dev.23 -m v3.1.0-dev.23 [2023-11-08T18:58:46.921Z] 2023-11-08 18:58:46,851 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.23', '-m', 'v3.1.0-dev.23'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-08T18:58:46.921Z] 2023-11-08 18:58:46,856 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-08T18:58:46.921Z] 3.1.0-dev.23 [Pipeline] } [2023-11-08T18:58:46.932Z] $ docker exec --env ******** --env ******** 58ebad803b7a74e4fd74b70e25237fb456fa91ea37907f808ddec04b8b0ac317 ssh-agent -k [2023-11-08T18:58:47.023Z] unset SSH_AUTH_SOCK; [2023-11-08T18:58:47.024Z] unset SSH_AGENT_PID; [2023-11-08T18:58:47.024Z] echo Agent pid 38 killed; [2023-11-08T18:58:47.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T18:58:47.350Z] + git semver [Pipeline] } [2023-11-08T18:58:47.623Z] $ docker stop --time=1 58ebad803b7a74e4fd74b70e25237fb456fa91ea37907f808ddec04b8b0ac317 [2023-11-08T18:58:48.915Z] $ docker rm -f --volumes 58ebad803b7a74e4fd74b70e25237fb456fa91ea37907f808ddec04b8b0ac317 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:58:49.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T18:58:49.318Z] [2023-11-08T18:58:49.318Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:58:49.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T18:58:49.617Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-08T18:58:49.617Z] ab5ef0e58194: Pulling fs layer [2023-11-08T18:58:49.617Z] 9712f1f96733: Pulling fs layer [2023-11-08T18:58:49.617Z] 63f879dbbcfc: Pulling fs layer [2023-11-08T18:58:49.617Z] 0d9ebad4ef96: Pulling fs layer [2023-11-08T18:58:49.617Z] 0d9ebad4ef96: Waiting [2023-11-08T18:58:49.617Z] e9a5061849ea: Pulling fs layer [2023-11-08T18:58:49.617Z] d747dcd14b5f: Pulling fs layer [2023-11-08T18:58:49.617Z] 2de7ff778b66: Pulling fs layer [2023-11-08T18:58:49.617Z] e9a5061849ea: Waiting [2023-11-08T18:58:49.617Z] d747dcd14b5f: Waiting [2023-11-08T18:58:49.617Z] 9712f1f96733: Verifying Checksum [2023-11-08T18:58:49.617Z] 9712f1f96733: Download complete [2023-11-08T18:58:49.877Z] 63f879dbbcfc: Verifying Checksum [2023-11-08T18:58:49.877Z] 63f879dbbcfc: Download complete [2023-11-08T18:58:50.136Z] e9a5061849ea: Verifying Checksum [2023-11-08T18:58:50.136Z] e9a5061849ea: Download complete [2023-11-08T18:58:50.136Z] d747dcd14b5f: Verifying Checksum [2023-11-08T18:58:50.136Z] d747dcd14b5f: Download complete [2023-11-08T18:58:50.136Z] 0d9ebad4ef96: Download complete [2023-11-08T18:58:50.136Z] ab5ef0e58194: Verifying Checksum [2023-11-08T18:58:50.136Z] ab5ef0e58194: Download complete [2023-11-08T18:58:50.136Z] 2de7ff778b66: Verifying Checksum [2023-11-08T18:58:50.136Z] 2de7ff778b66: Download complete [2023-11-08T18:58:52.664Z] ab5ef0e58194: Pull complete [2023-11-08T18:58:52.923Z] 9712f1f96733: Pull complete [2023-11-08T18:58:53.858Z] 63f879dbbcfc: Pull complete [2023-11-08T18:58:57.205Z] 0d9ebad4ef96: Pull complete [2023-11-08T18:58:57.463Z] e9a5061849ea: Pull complete [2023-11-08T18:58:57.463Z] d747dcd14b5f: Pull complete [2023-11-08T18:58:59.998Z] 2de7ff778b66: Pull complete [2023-11-08T18:59:00.561Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-08T18:59:01.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-08T18:59:01.128Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:59:01.218Z] prd-ubuntu20.04-docker-8c-8g-17054 does not seem to be running inside a container [2023-11-08T18:59:01.250Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-08T18:59:15.688Z] $ docker top 9cde1bae789f86ab4b700d36b07dc11cdb64bd34a899638d18eb00cc1ccccaa1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:59:15.751Z] provisioning config files... [2023-11-08T18:59:15.757Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12618049702568064127tmp [2023-11-08T18:59:15.767Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14056728365740815801tmp [2023-11-08T18:59:15.776Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16796291093590167539tmp [Pipeline] { [Pipeline] echo [2023-11-08T18:59:15.791Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:16.073Z] ---> sigul-configuration.sh [2023-11-08T18:59:16.073Z] gpg: directory `/root/.gnupg' created [2023-11-08T18:59:16.073Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-08T18:59:16.073Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-08T18:59:16.073Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-08T18:59:16.073Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-08T18:59:16.073Z] gpg: CAST5 encrypted data [2023-11-08T18:59:16.073Z] gpg: encrypted with 1 passphrase [2023-11-08T18:59:16.073Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-08T18:59:16.358Z] + mkdir /home/jenkins [2023-11-08T18:59:16.358Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-08T18:59:16.653Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-11-08T18:59:16.663Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:16.948Z] ---> sigul-install.sh [2023-11-08T18:59:16.948Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-08T18:59:17.239Z] + git tag --list [2023-11-08T18:59:17.239Z] 0.7.1 [2023-11-08T18:59:17.239Z] v1.0.0 [2023-11-08T18:59:17.239Z] v1.1.0 [2023-11-08T18:59:17.239Z] v1.1.1 [2023-11-08T18:59:17.239Z] v1.2.2 [2023-11-08T18:59:17.239Z] v1.3.0 [2023-11-08T18:59:17.239Z] v1.3.1 [2023-11-08T18:59:17.239Z] v2.0.0 [2023-11-08T18:59:17.239Z] v2.1.0 [2023-11-08T18:59:17.239Z] v2.1.1 [2023-11-08T18:59:17.239Z] v2.2.0 [2023-11-08T18:59:17.239Z] v2.3.0 [2023-11-08T18:59:17.239Z] v3.0 [2023-11-08T18:59:17.239Z] v3.0.0 [2023-11-08T18:59:17.239Z] v3.1.0-dev.1 [2023-11-08T18:59:17.239Z] v3.1.0-dev.10 [2023-11-08T18:59:17.239Z] v3.1.0-dev.11 [2023-11-08T18:59:17.239Z] v3.1.0-dev.12 [2023-11-08T18:59:17.239Z] v3.1.0-dev.13 [2023-11-08T18:59:17.239Z] v3.1.0-dev.14 [2023-11-08T18:59:17.239Z] v3.1.0-dev.15 [2023-11-08T18:59:17.239Z] v3.1.0-dev.16 [2023-11-08T18:59:17.239Z] v3.1.0-dev.17 [2023-11-08T18:59:17.239Z] v3.1.0-dev.18 [2023-11-08T18:59:17.239Z] v3.1.0-dev.19 [2023-11-08T18:59:17.239Z] v3.1.0-dev.2 [2023-11-08T18:59:17.239Z] v3.1.0-dev.20 [2023-11-08T18:59:17.239Z] v3.1.0-dev.21 [2023-11-08T18:59:17.239Z] v3.1.0-dev.22 [2023-11-08T18:59:17.239Z] v3.1.0-dev.23 [2023-11-08T18:59:17.239Z] v3.1.0-dev.3 [2023-11-08T18:59:17.239Z] v3.1.0-dev.4 [2023-11-08T18:59:17.239Z] v3.1.0-dev.5 [2023-11-08T18:59:17.239Z] v3.1.0-dev.6 [2023-11-08T18:59:17.239Z] v3.1.0-dev.7 [2023-11-08T18:59:17.239Z] v3.1.0-dev.8 [2023-11-08T18:59:17.239Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-08T18:59:17.525Z] + lftools sign git-tag v3.1.0-dev.23 [2023-11-08T18:59:18.093Z] Signing Git tag with Sigul... [2023-11-08T18:59:18.093Z] Signing v3.1.0-dev.23 [Pipeline] echo [2023-11-08T18:59:18.361Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:18.643Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-08T18:59:18.650Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-08T18:59:18.675Z] $ docker stop --time=1 9cde1bae789f86ab4b700d36b07dc11cdb64bd34a899638d18eb00cc1ccccaa1 [2023-11-08T18:59:20.018Z] $ docker rm -f --volumes 9cde1bae789f86ab4b700d36b07dc11cdb64bd34a899638d18eb00cc1ccccaa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-08T18:59:20.461Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T18:59:20.461Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:59:20.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:59:20.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:59:20.834Z] prd-ubuntu20.04-docker-8c-8g-17054 does not seem to be running inside a container [2023-11-08T18:59:20.870Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T18:59:21.203Z] $ docker top c3f50014b4e5638a7f981f6d137da11de2b365094ca416cd40b21b651dea002e -eo pid,comm [2023-11-08T18:59:21.250Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-08T18:59:21.250Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T18:59:21.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:59:21.290Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:59:21.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:59:21.405Z] $ docker exec c3f50014b4e5638a7f981f6d137da11de2b365094ca416cd40b21b651dea002e ssh-agent [2023-11-08T18:59:21.510Z] SSH_AUTH_SOCK=/tmp/ssh-BQcf8SiuU5LG/agent.32 [2023-11-08T18:59:21.510Z] SSH_AGENT_PID=38 [2023-11-08T18:59:21.514Z] Running ssh-add (command line suppressed) [2023-11-08T18:59:21.612Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5335642429811817345.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5335642429811817345.key) [2023-11-08T18:59:21.623Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:59:22.259Z] + git semver bump pre [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,109 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,109 [bump_version] DEBUG bumping version:3.1.0-dev.23 on axis:pre with prefix:dev [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,109 [bump_version] DEBUG bumped version:3.1.0-dev.24 [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,109 [write_version] DEBUG write version:3.1.0-dev.24 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,109 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,109 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,111 [execute] INFO git cat-file --batch-check [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,111 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,116 [execute] INFO git cat-file --batch [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:59:22.260Z] 2023-11-08 18:59:22,121 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-08T18:59:22.260Z] 3.1.0-dev.24 [Pipeline] } [2023-11-08T18:59:22.272Z] $ docker exec --env ******** --env ******** c3f50014b4e5638a7f981f6d137da11de2b365094ca416cd40b21b651dea002e ssh-agent -k [2023-11-08T18:59:22.370Z] unset SSH_AUTH_SOCK; [2023-11-08T18:59:22.370Z] unset SSH_AGENT_PID; [2023-11-08T18:59:22.370Z] echo Agent pid 38 killed; [2023-11-08T18:59:22.377Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T18:59:22.684Z] + git semver [Pipeline] } [2023-11-08T18:59:22.957Z] $ docker stop --time=1 c3f50014b4e5638a7f981f6d137da11de2b365094ca416cd40b21b651dea002e [2023-11-08T18:59:24.241Z] $ docker rm -f --volumes c3f50014b4e5638a7f981f6d137da11de2b365094ca416cd40b21b651dea002e [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:59:24.589Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T18:59:24.589Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:59:24.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:59:24.885Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:59:24.965Z] prd-ubuntu20.04-docker-8c-8g-17054 does not seem to be running inside a container [2023-11-08T18:59:24.999Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-08T18:59:25.369Z] $ docker top 568d60f332bdcf6a6c77212575159696a34c311a87eeb44a3e2a8a1ef9abe11c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T18:59:25.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:59:25.475Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:59:25.573Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:59:25.576Z] $ docker exec 568d60f332bdcf6a6c77212575159696a34c311a87eeb44a3e2a8a1ef9abe11c ssh-agent [2023-11-08T18:59:25.680Z] SSH_AUTH_SOCK=/tmp/ssh-9dATUA7CV5jq/agent.32 [2023-11-08T18:59:25.680Z] SSH_AGENT_PID=38 [2023-11-08T18:59:25.684Z] Running ssh-add (command line suppressed) [2023-11-08T18:59:25.787Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10709067861614696691.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10709067861614696691.key) [2023-11-08T18:59:25.800Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:59:26.091Z] + git semver push [2023-11-08T18:59:26.351Z] 2023-11-08 18:59:26,312 [run_push] DEBUG push [2023-11-08T18:59:26.351Z] 2023-11-08 18:59:26,312 [execute] INFO git cat-file --batch-check [2023-11-08T18:59:26.351Z] 2023-11-08 18:59:26,313 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:59:26.351Z] 2023-11-08 18:59:26,317 [execute] INFO git rev-list c0caba6fa47bf7e0f9fea17d73a24204d9dd90e1 -- [2023-11-08T18:59:26.351Z] 2023-11-08 18:59:26,317 [execute] DEBUG Popen(['git', 'rev-list', 'c0caba6fa47bf7e0f9fea17d73a24204d9dd90e1', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-08T18:59:26.351Z] 2023-11-08 18:59:26,326 [execute] INFO git fetch -v origin [2023-11-08T18:59:26.351Z] 2023-11-08 18:59:26,326 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-11-08T18:59:26.917Z] 2023-11-08 18:59:26,868 [run_push] DEBUG no remote changes detected [2023-11-08T18:59:26.917Z] 2023-11-08 18:59:26,869 [execute] INFO git push origin semver [2023-11-08T18:59:26.917Z] 2023-11-08 18:59:26,869 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-11-08T18:59:27.856Z] 2023-11-08 18:59:27,679 [run_push] DEBUG push all version tags [2023-11-08T18:59:27.856Z] 2023-11-08 18:59:27,680 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-11-08T18:59:27.856Z] 2023-11-08 18:59:27,680 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-11-08T18:59:28.792Z] 2023-11-08 18:59:28,559 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-11-08T18:59:28.792Z] 3.1.0-dev.24 [Pipeline] } [2023-11-08T18:59:28.801Z] $ docker exec --env ******** --env ******** 568d60f332bdcf6a6c77212575159696a34c311a87eeb44a3e2a8a1ef9abe11c ssh-agent -k [2023-11-08T18:59:28.891Z] unset SSH_AUTH_SOCK; [2023-11-08T18:59:28.893Z] unset SSH_AGENT_PID; [2023-11-08T18:59:28.893Z] echo Agent pid 38 killed; [2023-11-08T18:59:28.902Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T18:59:29.215Z] + git semver [Pipeline] } [2023-11-08T18:59:29.488Z] $ docker stop --time=1 568d60f332bdcf6a6c77212575159696a34c311a87eeb44a3e2a8a1ef9abe11c [2023-11-08T18:59:30.801Z] $ docker rm -f --volumes 568d60f332bdcf6a6c77212575159696a34c311a87eeb44a3e2a8a1ef9abe11c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-08T18:59:31.488Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-11-08T18:59:31.488Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-11-08T18:59:31.488Z] total 16 [2023-11-08T18:59:31.488Z] drwxr-xr-x 3 root root 4096 Nov 8 18:48 . [2023-11-08T18:59:31.488Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:59 .. [2023-11-08T18:59:31.488Z] drwxr-xr-x 2 root root 4096 Nov 8 18:48 cost [2023-11-08T18:59:31.488Z] -rw-r--r-- 1 root root 88 Nov 8 18:48 cost.csv [2023-11-08T18:59:31.488Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-11-08T18:59:31.488Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-11-08T18:59:31.488Z] total 16 [2023-11-08T18:59:31.488Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:48 . [2023-11-08T18:59:31.488Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:59 .. [2023-11-08T18:59:31.488Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 18:48 cost [2023-11-08T18:59:31.488Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 8 18:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:31.795Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:32.658Z] ---> package-listing.sh [2023-11-08T18:59:32.658Z] ++ facter osfamily [2023-11-08T18:59:32.658Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T18:59:32.916Z] + OS_FAMILY=debian [2023-11-08T18:59:32.916Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-11-08T18:59:32.916Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T18:59:32.916Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T18:59:32.916Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T18:59:32.916Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T18:59:32.916Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-11-08T18:59:32.916Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T18:59:32.916Z] + case "${OS_FAMILY}" in [2023-11-08T18:59:32.916Z] + dpkg -l [2023-11-08T18:59:32.916Z] + grep '^ii' [2023-11-08T18:59:32.916Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T18:59:32.916Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T18:59:32.916Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T18:59:32.916Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-11-08T18:59:32.916Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-11-08T18:59:32.916Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-11-08T18:59:32.928Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-08T18:59:33.204Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:59:33.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:59:33.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:59:33.843Z] prd-ubuntu20.04-docker-8c-8g-17054 does not seem to be running inside a container [2023-11-08T18:59:33.879Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T18:59:34.524Z] $ docker top ef8c560e5e031631cbc552d15f7649e7aab276855264c509b0eb77ca9bc43a25 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:59:34.867Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T18:59:35.151Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T18:59:35.437Z] + ls /var/log/sa-host [2023-11-08T18:59:35.437Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:59:35.530Z] provisioning config files... [2023-11-08T18:59:35.538Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18436622717365943997tmp [Pipeline] { [Pipeline] echo [2023-11-08T18:59:35.550Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:35.829Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T18:59:35.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:36.176Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T18:59:36.183Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:36.468Z] ---> sudo-logs.sh [2023-11-08T18:59:36.469Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T18:59:36.494Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:36.779Z] ---> job-cost.sh [2023-11-08T18:59:36.779Z] lf-activate-venv: SKIPPING [2023-11-08T18:59:36.779Z] DEBUG: total: 0.2199999988079071 [2023-11-08T18:59:36.779Z] INFO: Retrieving Stack Cost... [2023-11-08T18:59:37.039Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T18:59:37.606Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T18:59:37.620Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:59:37.902Z] ---> logs-deploy.sh [2023-11-08T18:59:37.902Z] lf-activate-venv: SKIPPING [2023-11-08T18:59:37.902Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/137 [2023-11-08T18:59:37.902Z] INFO: archiving workspace using pattern(s): [2023-11-08T18:59:38.838Z] Archives upload complete. [2023-11-08T18:59:38.838Z] INFO: archiving logs to Nexus