Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5189b6b75de2ff976af34f9037f44b6050849efe 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-ssh467342091667039082.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8307807885987498467.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7518572292170329635.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4565143402204968884.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-ssh13033078606867353452.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15119 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 5189b6b75de2ff976af34f9037f44b6050849efe (main) Commit message: "docs: Add main branch Warning (#478)" > 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 5189b6b75de2ff976af34f9037f44b6050849efe # timeout=10 > git rev-list --no-walk a3185666607ac015ce8e2ed96cee91149733c6fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-10T23:13:49.460Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T23:13:49.512Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T23:13:49.530Z] ========================================================= [2023-05-10T23:13:49.530Z] EdgeX Global Pipelines Version Info [2023-05-10T23:13:49.530Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:13:50.371Z] ------------------- [2023-05-10T23:13:50.371Z] stable info: [2023-05-10T23:13:50.371Z] ------------------- [2023-05-10T23:13:50.371Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T23:13:50.371Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T23:13:50.371Z] Message: update stable to v1.0.249 [2023-05-10T23:13:50.942Z] ------------------- [2023-05-10T23:13:50.942Z] experimental info: [2023-05-10T23:13:50.942Z] ------------------- [2023-05-10T23:13:50.942Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T23:13:50.942Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T23:13:50.942Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T23:13:51.125Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-10T23:13:51.137Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-10T23:13:51.148Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T23:13:51.160Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T23:13:51.170Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T23:13:51.185Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-10T23:13:51.201Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-10T23:13:51.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-10T23:13:51.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-10T23:13:51.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T23:13:51.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T23:13:51.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-10T23:13:51.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T23:13:51.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T23:13:51.314Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T23:13:51.326Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T23:13:51.337Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T23:13:51.351Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T23:13:51.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T23:13:51.380Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T23:13:51.397Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-10T23:13:51.416Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-10T23:13:51.434Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-10T23:13:51.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-10T23:13:51.468Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-10T23:13:51.487Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T23:13:51.507Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-10T23:13:51.523Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-10T23:13:51.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-10T23:13:51.549Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-10T23:13:51.565Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5189b6b75de2ff976af34f9037f44b6050849efe [Pipeline] echo [2023-05-10T23:13:51.580Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5189b6b [Pipeline] echo [2023-05-10T23:13:51.593Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:13:51.638Z] provisioning config files... [2023-05-10T23:13:51.652Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8177614395187726936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:13:51.963Z] ---> docker-login.sh [2023-05-10T23:13:51.963Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:13:52.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:52.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:52.223Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:52.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:52.223Z] [2023-05-10T23:13:52.223Z] Login Succeeded [2023-05-10T23:13:52.223Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:13:52.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:52.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:52.223Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:52.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:52.223Z] [2023-05-10T23:13:52.223Z] Login Succeeded [2023-05-10T23:13:52.223Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:13:52.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:52.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:52.484Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:52.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:52.484Z] [2023-05-10T23:13:52.484Z] Login Succeeded [2023-05-10T23:13:52.484Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:13:52.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:52.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:52.484Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:52.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:52.484Z] [2023-05-10T23:13:52.484Z] Login Succeeded [2023-05-10T23:13:52.484Z] docker.io [2023-05-10T23:13:52.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:13:52.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:13:52.744Z] Configure a credential helper to remove this warning. See [2023-05-10T23:13:52.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:13:52.744Z] [2023-05-10T23:13:52.744Z] Login Succeeded [2023-05-10T23:13:52.744Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:13:52.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-10T23:13:53.131Z] + git rev-list -1 --merges 5189b6b75de2ff976af34f9037f44b6050849efe~1..5189b6b75de2ff976af34f9037f44b6050849efe [Pipeline] echo [2023-05-10T23:13:53.187Z] -----------> git rev-list -1 --merges 5189b6b75de2ff976af34f9037f44b6050849efe~1..5189b6b75de2ff976af34f9037f44b6050849efe 5189b6b75de2ff976af34f9037f44b6050849efe [false] [Pipeline] sh [2023-05-10T23:13:53.477Z] + git log --format=format:%s -1 5189b6b75de2ff976af34f9037f44b6050849efe [Pipeline] echo [2023-05-10T23:13:53.511Z] ========================================================= [2023-05-10T23:13:53.511Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T23:13:53.511Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T23:13:53.852Z] + git log --format=format:%s -1 5189b6b75de2ff976af34f9037f44b6050849efe [Pipeline] echo [2023-05-10T23:13:53.864Z] [semverPrep] GIT_COMMIT: 5189b6b75de2ff976af34f9037f44b6050849efe, Commit Message: docs: Add main branch Warning (#478) [Pipeline] echo [2023-05-10T23:13:53.872Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-10T23:13:54.211Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:13:54.211Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T23:13:54.211Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T23:13:54.211Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T23:13:54.211Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-05-10T23:13:54.211Z] -a /etc/ssh/ssh_known_hosts [2023-05-10T23:13:54.211Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:13:54.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:13:54.555Z] [2023-05-10T23:13:54.555Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:13:54.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:13:54.856Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T23:13:54.856Z] b85a868b505f: Pulling fs layer [2023-05-10T23:13:54.856Z] e2be974225ed: Pulling fs layer [2023-05-10T23:13:54.856Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T23:13:54.856Z] 988bab9f4d93: Pulling fs layer [2023-05-10T23:13:54.856Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T23:13:54.856Z] eaf3925da568: Pulling fs layer [2023-05-10T23:13:54.856Z] bab4dde63d76: Pulling fs layer [2023-05-10T23:13:54.856Z] bde34c3a00c8: Pulling fs layer [2023-05-10T23:13:54.856Z] b352a97aabf1: Pulling fs layer [2023-05-10T23:13:54.856Z] 4872d77fe225: Pulling fs layer [2023-05-10T23:13:54.856Z] 5851b861e8e6: Pulling fs layer [2023-05-10T23:13:54.856Z] 1469e6f7b9e6: Waiting [2023-05-10T23:13:54.856Z] bde34c3a00c8: Waiting [2023-05-10T23:13:54.856Z] 4872d77fe225: Waiting [2023-05-10T23:13:54.856Z] eaf3925da568: Waiting [2023-05-10T23:13:54.856Z] 5851b861e8e6: Waiting [2023-05-10T23:13:54.856Z] 988bab9f4d93: Waiting [2023-05-10T23:13:54.856Z] bab4dde63d76: Waiting [2023-05-10T23:13:54.856Z] b352a97aabf1: Waiting [2023-05-10T23:13:54.856Z] e2be974225ed: Download complete [2023-05-10T23:13:54.856Z] 988bab9f4d93: Download complete [2023-05-10T23:13:54.856Z] 1469e6f7b9e6: Verifying Checksum [2023-05-10T23:13:54.856Z] 1469e6f7b9e6: Download complete [2023-05-10T23:13:54.856Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T23:13:54.856Z] 339a4e72a1f5: Download complete [2023-05-10T23:13:54.856Z] eaf3925da568: Download complete [2023-05-10T23:13:55.117Z] bde34c3a00c8: Verifying Checksum [2023-05-10T23:13:55.117Z] bde34c3a00c8: Download complete [2023-05-10T23:13:55.117Z] b352a97aabf1: Verifying Checksum [2023-05-10T23:13:55.117Z] b352a97aabf1: Download complete [2023-05-10T23:13:55.117Z] 4872d77fe225: Download complete [2023-05-10T23:13:55.117Z] 5851b861e8e6: Download complete [2023-05-10T23:13:55.117Z] b85a868b505f: Verifying Checksum [2023-05-10T23:13:55.117Z] b85a868b505f: Download complete [2023-05-10T23:13:55.378Z] bab4dde63d76: Download complete [2023-05-10T23:13:56.321Z] b85a868b505f: Pull complete [2023-05-10T23:13:56.581Z] e2be974225ed: Pull complete [2023-05-10T23:13:56.841Z] 339a4e72a1f5: Pull complete [2023-05-10T23:13:56.841Z] 988bab9f4d93: Pull complete [2023-05-10T23:13:57.110Z] 1469e6f7b9e6: Pull complete [2023-05-10T23:13:57.389Z] eaf3925da568: Pull complete [2023-05-10T23:13:59.302Z] bab4dde63d76: Pull complete [2023-05-10T23:13:59.302Z] bde34c3a00c8: Pull complete [2023-05-10T23:13:59.302Z] b352a97aabf1: Pull complete [2023-05-10T23:13:59.302Z] 4872d77fe225: Pull complete [2023-05-10T23:13:59.302Z] 5851b861e8e6: Pull complete [2023-05-10T23:13:59.302Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T23:13:59.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:13:59.302Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:13:59.417Z] prd-ubuntu20.04-docker-8c-8g-15119 does not seem to be running inside a container [2023-05-10T23:13:59.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T23:14:01.469Z] $ docker top 8edcb3b0d4ad1d3ca9e184f92183ed25159b500335b1a210bccded55ba93f9be -eo pid,comm [2023-05-10T23:14:01.524Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-10T23:14:01.524Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:14:01.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:14:01.554Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:14:01.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:14:01.735Z] $ docker exec 8edcb3b0d4ad1d3ca9e184f92183ed25159b500335b1a210bccded55ba93f9be ssh-agent [2023-05-10T23:14:01.843Z] SSH_AUTH_SOCK=/tmp/ssh-yT4W99TtZW8D/agent.32 [2023-05-10T23:14:01.843Z] SSH_AGENT_PID=38 [2023-05-10T23:14:01.865Z] Running ssh-add (command line suppressed) [2023-05-10T23:14:01.992Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2391313571366958914.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2391313571366958914.key) [2023-05-10T23:14:02.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:14:02.299Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T23:14:02.313Z] $ docker exec --env ******** --env ******** 8edcb3b0d4ad1d3ca9e184f92183ed25159b500335b1a210bccded55ba93f9be ssh-agent -k [2023-05-10T23:14:02.414Z] unset SSH_AUTH_SOCK; [2023-05-10T23:14:02.415Z] unset SSH_AGENT_PID; [2023-05-10T23:14:02.415Z] echo Agent pid 38 killed; [2023-05-10T23:14:02.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T23:14:02.450Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:14:02.450Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:14:02.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:14:02.565Z] $ docker exec 8edcb3b0d4ad1d3ca9e184f92183ed25159b500335b1a210bccded55ba93f9be ssh-agent [2023-05-10T23:14:02.686Z] SSH_AUTH_SOCK=/tmp/ssh-o1n15DH9TBaw/agent.70 [2023-05-10T23:14:02.686Z] SSH_AGENT_PID=76 [2023-05-10T23:14:02.691Z] Running ssh-add (command line suppressed) [2023-05-10T23:14:02.808Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11313954170881317175.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11313954170881317175.key) [2023-05-10T23:14:02.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:14:03.222Z] + git semver init [2023-05-10T23:14:03.482Z] 2023-05-10 23:14:03,396 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T23:14:03.482Z] 2023-05-10 23:14:03,397 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-10T23:14:03.482Z] 2023-05-10 23:14:03,397 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-10T23:14:03.482Z] 2023-05-10 23:14:03,397 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:14:04.427Z] 2023-05-10 23:14:04,336 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-10T23:14:04.427Z] 2023-05-10 23:14:04,337 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-10T23:14:04.427Z] 2023-05-10 23:14:04,337 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T23:14:04.427Z] 2023-05-10 23:14:04,337 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T23:14:04.427Z] 3.0.0-dev.39 [Pipeline] } [2023-05-10T23:14:04.438Z] $ docker exec --env ******** --env ******** 8edcb3b0d4ad1d3ca9e184f92183ed25159b500335b1a210bccded55ba93f9be ssh-agent -k [2023-05-10T23:14:04.549Z] unset SSH_AUTH_SOCK; [2023-05-10T23:14:04.550Z] unset SSH_AGENT_PID; [2023-05-10T23:14:04.550Z] echo Agent pid 76 killed; [2023-05-10T23:14:04.560Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:14:04.868Z] + git semver [Pipeline] } [2023-05-10T23:14:05.138Z] $ docker stop --time=1 8edcb3b0d4ad1d3ca9e184f92183ed25159b500335b1a210bccded55ba93f9be [2023-05-10T23:14:06.429Z] $ docker rm -f --volumes 8edcb3b0d4ad1d3ca9e184f92183ed25159b500335b1a210bccded55ba93f9be [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:14:06.769Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T23:14:06.978Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T23:14:06.980Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.39 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:14:07.115Z] provisioning config files... [2023-05-10T23:14:07.124Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3052042248792037781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:14:07.419Z] ---> docker-login.sh [2023-05-10T23:14:07.419Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:14:07.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:14:07.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:14:07.419Z] Configure a credential helper to remove this warning. See [2023-05-10T23:14:07.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:14:07.419Z] [2023-05-10T23:14:07.419Z] Login Succeeded [2023-05-10T23:14:07.419Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:14:07.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:14:07.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:14:07.419Z] Configure a credential helper to remove this warning. See [2023-05-10T23:14:07.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:14:07.420Z] [2023-05-10T23:14:07.420Z] Login Succeeded [2023-05-10T23:14:07.420Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:14:07.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:14:07.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:14:07.680Z] Configure a credential helper to remove this warning. See [2023-05-10T23:14:07.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:14:07.680Z] [2023-05-10T23:14:07.680Z] Login Succeeded [2023-05-10T23:14:07.680Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:14:07.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:14:07.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:14:07.680Z] Configure a credential helper to remove this warning. See [2023-05-10T23:14:07.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:14:07.680Z] [2023-05-10T23:14:07.680Z] Login Succeeded [2023-05-10T23:14:07.680Z] docker.io [2023-05-10T23:14:07.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:14:07.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:14:07.940Z] Configure a credential helper to remove this warning. See [2023-05-10T23:14:07.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:14:07.940Z] [2023-05-10T23:14:07.940Z] Login Succeeded [2023-05-10T23:14:07.940Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:14:07.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T23:14:08.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:14:08.016Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:14:08.025Z] ========================================================= [2023-05-10T23:14:08.025Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-10T23:14:08.025Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:14:08.337Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T23:14:08.337Z] Sending build context to Docker daemon 6.51MB [2023-05-10T23:14:08.337Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:14:08.337Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-10T23:14:08.337Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-10T23:14:08.337Z] f56be85fc22e: Pulling fs layer [2023-05-10T23:14:08.337Z] 85791d961cd3: Pulling fs layer [2023-05-10T23:14:08.337Z] d694b5ae8c79: Pulling fs layer [2023-05-10T23:14:08.337Z] 9f32a84ed3da: Pulling fs layer [2023-05-10T23:14:08.337Z] 4d19c01a9841: Pulling fs layer [2023-05-10T23:14:08.337Z] 9325e15d5711: Pulling fs layer [2023-05-10T23:14:08.337Z] 556b6ee489ea: Pulling fs layer [2023-05-10T23:14:08.337Z] c5a4b2cf53e6: Pulling fs layer [2023-05-10T23:14:08.337Z] 9f32a84ed3da: Waiting [2023-05-10T23:14:08.337Z] 4d19c01a9841: Waiting [2023-05-10T23:14:08.337Z] 9325e15d5711: Waiting [2023-05-10T23:14:08.337Z] 556b6ee489ea: Waiting [2023-05-10T23:14:08.337Z] c5a4b2cf53e6: Waiting [2023-05-10T23:14:08.337Z] 85791d961cd3: Verifying Checksum [2023-05-10T23:14:08.337Z] 85791d961cd3: Download complete [2023-05-10T23:14:08.337Z] 9f32a84ed3da: Verifying Checksum [2023-05-10T23:14:08.337Z] 9f32a84ed3da: Download complete [2023-05-10T23:14:08.337Z] 4d19c01a9841: Download complete [2023-05-10T23:14:08.599Z] f56be85fc22e: Verifying Checksum [2023-05-10T23:14:08.599Z] f56be85fc22e: Download complete [2023-05-10T23:14:08.599Z] 9325e15d5711: Verifying Checksum [2023-05-10T23:14:08.599Z] 9325e15d5711: Download complete [2023-05-10T23:14:08.599Z] f56be85fc22e: Pull complete [2023-05-10T23:14:08.860Z] 85791d961cd3: Pull complete [2023-05-10T23:14:09.118Z] c5a4b2cf53e6: Verifying Checksum [2023-05-10T23:14:09.118Z] c5a4b2cf53e6: Download complete [2023-05-10T23:14:09.118Z] d694b5ae8c79: Verifying Checksum [2023-05-10T23:14:09.118Z] d694b5ae8c79: Download complete [2023-05-10T23:14:09.376Z] 556b6ee489ea: Verifying Checksum [2023-05-10T23:14:09.376Z] 556b6ee489ea: Download complete [2023-05-10T23:14:11.500Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15117 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-10T23:14:11.514Z] Running in /w/workspace/device-modbus-go/105 [Pipeline] { [Pipeline] checkout [2023-05-10T23:14:11.556Z] Selected Git installation does not exist. Using Default [2023-05-10T23:14:11.556Z] The recommended git tool is: NONE [2023-05-10T23:14:12.670Z] d694b5ae8c79: Pull complete [2023-05-10T23:14:12.670Z] 9f32a84ed3da: Pull complete [2023-05-10T23:14:12.670Z] 4d19c01a9841: Pull complete [2023-05-10T23:14:12.670Z] 9325e15d5711: Pull complete [2023-05-10T23:14:15.207Z] 556b6ee489ea: Pull complete [2023-05-10T23:14:16.150Z] c5a4b2cf53e6: Pull complete [2023-05-10T23:14:16.150Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-10T23:14:16.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-10T23:14:16.150Z] ---> c4be618373d6 [2023-05-10T23:14:16.150Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:14:18.919Z] using credential edgex-jenkins-ssh [2023-05-10T23:14:18.940Z] Cloning the remote Git repository [2023-05-10T23:14:19.008Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-10T23:14:19.458Z] ---> Running in 350de80abf01 [2023-05-10T23:14:19.458Z] Removing intermediate container 350de80abf01 [2023-05-10T23:14:19.458Z] ---> 6926272ed319 [2023-05-10T23:14:19.458Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:14:19.458Z] ---> Running in 43c2ffd90572 [2023-05-10T23:14:19.458Z] Removing intermediate container 43c2ffd90572 [2023-05-10T23:14:19.458Z] ---> fd0b9cd228de [2023-05-10T23:14:19.458Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-10T23:14:19.458Z] ---> Running in fc7aae392af5 [2023-05-10T23:14:19.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T23:14:19.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T23:14:19.716Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T23:14:19.716Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-10T23:14:19.716Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T23:14:19.716Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T23:14:19.716Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-10T23:14:19.716Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-10T23:14:19.716Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-10T23:14:19.975Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-10T23:14:19.975Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:14:19.975Z] OK: 270 MiB in 61 packages [2023-05-10T23:14:19.146Z] > git init /w/workspace/device-modbus-go/105 # timeout=10 [2023-05-10T23:14:19.339Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-10T23:14:19.341Z] > git --version # timeout=10 [2023-05-10T23:14:19.368Z] > git --version # 'git version 2.25.1' [2023-05-10T23:14:19.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T23:14:19.563Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T23:14:20.543Z] Removing intermediate container fc7aae392af5 [2023-05-10T23:14:20.543Z] ---> d760c512ef07 [2023-05-10T23:14:20.543Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-10T23:14:20.543Z] ---> Running in 9eab8ff3019d [2023-05-10T23:14:20.543Z] Removing intermediate container 9eab8ff3019d [2023-05-10T23:14:20.543Z] ---> c4f735f4968b [2023-05-10T23:14:20.543Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-10T23:14:20.543Z] ---> 5f6c9f3caf39 [2023-05-10T23:14:20.543Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:14:20.543Z] ---> Running in 143876208b22 [2023-05-10T23:14:21.798Z] Avoid second fetch [2023-05-10T23:14:21.799Z] Checking out Revision 5189b6b75de2ff976af34f9037f44b6050849efe (main) [2023-05-10T23:14:20.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-10T23:14:20.779Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T23:14:21.817Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T23:14:22.481Z] Commit message: "docs: Add main branch Warning (#478)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T23:14:21.897Z] > git checkout -f 5189b6b75de2ff976af34f9037f44b6050849efe # timeout=10 [2023-05-10T23:14:23.374Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T23:14:23.374Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T23:14:23.374Z] Dload Upload Total Spent Left Speed [2023-05-10T23:14:23.374Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-05-10T23:14:24.004Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T23:14:24.344Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-10T23:14:24.344Z] + sudo tee /etc/docker/daemon.new [2023-05-10T23:14:24.344Z] { [2023-05-10T23:14:24.344Z] "registry-mirrors": [ [2023-05-10T23:14:24.344Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T23:14:24.344Z] ], [2023-05-10T23:14:24.344Z] "bip": "10.250.0.254/24", [2023-05-10T23:14:24.344Z] "hosts": [ [2023-05-10T23:14:24.344Z] "tcp://0.0.0.0:5555", [2023-05-10T23:14:24.344Z] "unix:///var/run/docker.sock" [2023-05-10T23:14:24.344Z] ], [2023-05-10T23:14:24.344Z] "mtu": 1458, [2023-05-10T23:14:24.344Z] "selinux-enabled": true, [2023-05-10T23:14:24.344Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T23:14:24.344Z] } [Pipeline] sh [2023-05-10T23:14:24.683Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T23:14:25.025Z] + sudo service docker restart [2023-05-10T23:14:42.528Z] Removing intermediate container 143876208b22 [2023-05-10T23:14:42.528Z] ---> d5986478b7de [2023-05-10T23:14:42.528Z] Step 9/10 : COPY . . [2023-05-10T23:14:43.096Z] ---> 89747ea7ae3d [2023-05-10T23:14:43.096Z] Step 10/10 : RUN ${MAKE} [2023-05-10T23:14:43.096Z] ---> Running in 182d30545d3b [2023-05-10T23:14:43.356Z] noop [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:14:43.418Z] provisioning config files... [2023-05-10T23:14:43.455Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/105@tmp/config9216674301580023475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:14:43.615Z] Removing intermediate container 182d30545d3b [2023-05-10T23:14:43.615Z] ---> d3240c086b83 [2023-05-10T23:14:43.615Z] Successfully built d3240c086b83 [2023-05-10T23:14:43.615Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:14:43.853Z] ---> docker-login.sh [2023-05-10T23:14:43.853Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:14:43.925Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T23:14:43.925Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:14:43.996Z] prd-ubuntu20.04-docker-8c-8g-15119 does not seem to be running inside a container [2023-05-10T23:14:44.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T23:14:44.350Z] $ docker top d4931acb5168dd42a931312fc2d4771d822108bc6c71b827be2929a844023c65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:14:44.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:14:44.687Z] + go version [2023-05-10T23:14:44.687Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-10T23:14:44.702Z] $ docker stop --time=1 d4931acb5168dd42a931312fc2d4771d822108bc6c71b827be2929a844023c65 [2023-05-10T23:14:44.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:14:44.718Z] Configure a credential helper to remove this warning. See [2023-05-10T23:14:44.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:14:44.718Z] [2023-05-10T23:14:44.718Z] Login Succeeded [2023-05-10T23:14:44.718Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:14:44.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:14:44.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:14:44.992Z] Configure a credential helper to remove this warning. See [2023-05-10T23:14:44.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:14:44.992Z] [2023-05-10T23:14:44.992Z] Login Succeeded [2023-05-10T23:14:44.992Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:14:45.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:14:45.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:14:45.536Z] Configure a credential helper to remove this warning. See [2023-05-10T23:14:45.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:14:45.536Z] [2023-05-10T23:14:45.536Z] Login Succeeded [2023-05-10T23:14:45.536Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:14:45.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:14:45.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:14:45.813Z] Configure a credential helper to remove this warning. See [2023-05-10T23:14:45.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:14:45.813Z] [2023-05-10T23:14:45.813Z] Login Succeeded [2023-05-10T23:14:45.813Z] docker.io [2023-05-10T23:14:45.978Z] $ docker rm -f --volumes d4931acb5168dd42a931312fc2d4771d822108bc6c71b827be2929a844023c65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:14:46.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:14:46.350Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T23:14:46.350Z] . [2023-05-10T23:14:46.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:14:46.354Z] Configure a credential helper to remove this warning. See [2023-05-10T23:14:46.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:14:46.354Z] [2023-05-10T23:14:46.354Z] Login Succeeded [2023-05-10T23:14:46.354Z] ---> docker-login.sh ends [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:14:46.442Z] prd-ubuntu20.04-docker-8c-8g-15119 does not seem to be running inside a container [2023-05-10T23:14:46.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T23:14:46.813Z] $ docker top 80e3e6cc70d458d20d747218f58836274709148dfca391ab2049e88dc285941f -eo pid,comm [Pipeline] { [Pipeline] } [2023-05-10T23:14:46.861Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-05-10T23:14:47.142Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [Pipeline] echo [2023-05-10T23:14:47.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:14:47.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:14:47.261Z] ========================================================= [2023-05-10T23:14:47.261Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-10T23:14:47.261Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:14:47.443Z] + make test [2023-05-10T23:14:47.443Z] go test ./... -coverprofile=coverage.out [2023-05-10T23:14:47.635Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-10T23:14:47.919Z] Sending build context to Docker daemon 3.405MB [2023-05-10T23:14:48.203Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:14:48.203Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-10T23:14:48.479Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-10T23:14:48.479Z] c41833b44d91: Pulling fs layer [2023-05-10T23:14:48.479Z] ed15518f5707: Pulling fs layer [2023-05-10T23:14:48.479Z] feae8fd75edb: Pulling fs layer [2023-05-10T23:14:48.479Z] 242c74f7c9fa: Pulling fs layer [2023-05-10T23:14:48.479Z] 3cdef696dda3: Pulling fs layer [2023-05-10T23:14:48.479Z] 2ced38df9373: Pulling fs layer [2023-05-10T23:14:48.479Z] 58f1dce35555: Pulling fs layer [2023-05-10T23:14:48.479Z] 242c74f7c9fa: Waiting [2023-05-10T23:14:48.479Z] 3cdef696dda3: Waiting [2023-05-10T23:14:48.479Z] 2ced38df9373: Waiting [2023-05-10T23:14:48.479Z] 58f1dce35555: Waiting [2023-05-10T23:14:48.479Z] ed15518f5707: Download complete [2023-05-10T23:14:48.479Z] 242c74f7c9fa: Verifying Checksum [2023-05-10T23:14:48.479Z] 242c74f7c9fa: Download complete [2023-05-10T23:14:48.479Z] 3cdef696dda3: Verifying Checksum [2023-05-10T23:14:48.479Z] 3cdef696dda3: Download complete [2023-05-10T23:14:48.479Z] c41833b44d91: Verifying Checksum [2023-05-10T23:14:48.479Z] c41833b44d91: Download complete [2023-05-10T23:14:49.948Z] c41833b44d91: Pull complete [2023-05-10T23:14:50.224Z] 58f1dce35555: Verifying Checksum [2023-05-10T23:14:50.224Z] 58f1dce35555: Download complete [2023-05-10T23:14:50.496Z] ed15518f5707: Pull complete [2023-05-10T23:14:51.479Z] 2ced38df9373: Verifying Checksum [2023-05-10T23:14:51.479Z] 2ced38df9373: Download complete [2023-05-10T23:14:51.479Z] feae8fd75edb: Verifying Checksum [2023-05-10T23:14:51.479Z] feae8fd75edb: Download complete [2023-05-10T23:14:52.713Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-10T23:15:00.817Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-10T23:15:00.817Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.4% of statements [2023-05-10T23:15:01.591Z] feae8fd75edb: Pull complete [2023-05-10T23:15:01.864Z] 242c74f7c9fa: Pull complete [2023-05-10T23:15:02.223Z] 3cdef696dda3: Pull complete [2023-05-10T23:15:07.381Z] go vet ./... [2023-05-10T23:15:09.912Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T23:15:09.912Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T23:15:09.912Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T23:15:10.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T23:15:10.203Z] $ docker stop --time=1 80e3e6cc70d458d20d747218f58836274709148dfca391ab2049e88dc285941f [2023-05-10T23:15:10.525Z] 2ced38df9373: Pull complete [2023-05-10T23:15:12.868Z] $ docker rm -f --volumes 80e3e6cc70d458d20d747218f58836274709148dfca391ab2049e88dc285941f [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:15:13.145Z] 58f1dce35555: Pull complete [2023-05-10T23:15:13.145Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-10T23:15:13.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-10T23:15:13.145Z] ---> fadd8f120f05 [2023-05-10T23:15:13.145Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:15:13.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T23:15:13.359Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-10T23:15:13.852Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T23:15:14.133Z] + ls -al . [2023-05-10T23:15:14.133Z] total 184 [2023-05-10T23:15:14.133Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 23:14 . [2023-05-10T23:15:14.133Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:13 .. [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 23:13 .dockerignore [2023-05-10T23:15:14.133Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:14 .git [2023-05-10T23:15:14.133Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:13 .github [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 23:13 .gitignore [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 23:13 .golangci.yml [2023-05-10T23:15:14.133Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:14 .semver [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 10 23:13 Attribution.txt [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 10 23:13 CHANGELOG.md [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 10 23:13 Dockerfile [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:13 GOVERNANCE.md [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 23:13 Jenkinsfile [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 23:13 LICENSE [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 10 23:13 Makefile [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 23:13 OWNERS.md [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 10 23:13 README.md [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 23:14 VERSION [2023-05-10T23:15:14.133Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:13 bin [2023-05-10T23:15:14.133Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:13 cmd [2023-05-10T23:15:14.133Z] -rw-r--r-- 1 jenkins jenkins 24160 May 10 23:15 coverage.out [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 10 23:13 go.mod [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 10 23:13 go.sum [2023-05-10T23:15:14.133Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:13 internal [2023-05-10T23:15:14.133Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:13 simulator [2023-05-10T23:15:14.133Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:13 snap [2023-05-10T23:15:14.133Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 23:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:14.435Z] + 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=5189b6b75de2ff976af34f9037f44b6050849efe --label arch=amd64 --label version=3.0.0-dev.39 . [2023-05-10T23:15:14.436Z] Sending build context to Docker daemon 6.535MB [2023-05-10T23:15:14.436Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:15:14.436Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-10T23:15:14.436Z] ---> d3240c086b83 [2023-05-10T23:15:14.436Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:15:14.436Z] ---> Running in 795431c89cf7 [2023-05-10T23:15:14.693Z] Removing intermediate container 795431c89cf7 [2023-05-10T23:15:14.693Z] ---> 5a1a1b6d41a8 [2023-05-10T23:15:14.693Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:15:14.693Z] ---> Running in e6f051f2aaff [2023-05-10T23:15:14.693Z] Removing intermediate container e6f051f2aaff [2023-05-10T23:15:14.693Z] ---> 8d1bfd1a5527 [2023-05-10T23:15:14.693Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-10T23:15:14.693Z] ---> Running in 12b3c57c6dbb [2023-05-10T23:15:14.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T23:15:15.175Z] ---> Running in 054c50f39c6d [2023-05-10T23:15:15.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T23:15:15.210Z] OK: 270 MiB in 61 packages [2023-05-10T23:15:15.503Z] Removing intermediate container 12b3c57c6dbb [2023-05-10T23:15:15.503Z] ---> de6a87c1a1d3 [2023-05-10T23:15:15.503Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-10T23:15:15.503Z] ---> Running in 496787e692b7 [2023-05-10T23:15:15.771Z] Removing intermediate container 054c50f39c6d [2023-05-10T23:15:15.771Z] ---> e2910169ea17 [2023-05-10T23:15:15.771Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:15:15.771Z] ---> Running in b6ee2f9c4198 [2023-05-10T23:15:15.781Z] Removing intermediate container 496787e692b7 [2023-05-10T23:15:15.781Z] ---> 410aa52fcb02 [2023-05-10T23:15:15.781Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-10T23:15:15.781Z] ---> 98ae6f1d3cbf [2023-05-10T23:15:15.781Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:15:15.781Z] ---> Running in 391da6767bdd [2023-05-10T23:15:16.056Z] Removing intermediate container b6ee2f9c4198 [2023-05-10T23:15:16.056Z] ---> 48256d0e3acb [2023-05-10T23:15:16.056Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-10T23:15:16.056Z] ---> Running in 42cf644b54a5 [2023-05-10T23:15:16.392Z] Removing intermediate container 391da6767bdd [2023-05-10T23:15:16.392Z] ---> 7221dd0306e3 [2023-05-10T23:15:16.392Z] Step 9/22 : COPY . . [2023-05-10T23:15:16.670Z] ---> 6746f67a8047 [2023-05-10T23:15:16.670Z] Step 10/22 : RUN ${MAKE} [2023-05-10T23:15:16.670Z] ---> Running in 8e63e866c4bd [2023-05-10T23:15:16.937Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.39" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-10T23:15:17.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:15:18.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:15:19.494Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T23:15:19.494Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-10T23:15:19.494Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T23:15:19.494Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T23:15:19.494Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-10T23:15:19.494Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-10T23:15:19.494Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-10T23:15:19.494Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-10T23:15:19.494Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:15:19.494Z] OK: 270 MiB in 61 packages [2023-05-10T23:15:20.467Z] Removing intermediate container 42cf644b54a5 [2023-05-10T23:15:20.467Z] ---> 010a14c07838 [2023-05-10T23:15:20.467Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-10T23:15:20.737Z] ---> Running in 7fd67c4b6958 [2023-05-10T23:15:21.051Z] Removing intermediate container 7fd67c4b6958 [2023-05-10T23:15:21.051Z] ---> 09038dbafd4a [2023-05-10T23:15:21.051Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-10T23:15:23.659Z] ---> cd350fd5f772 [2023-05-10T23:15:23.659Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:15:23.931Z] ---> Running in b6815ad55258 [2023-05-10T23:15:35.091Z] Removing intermediate container 8e63e866c4bd [2023-05-10T23:15:35.091Z] ---> 8d179c3a58cc [2023-05-10T23:15:35.091Z] Step 11/22 : FROM alpine:3.17 [2023-05-10T23:15:35.091Z] 3.17: Pulling from library/alpine [2023-05-10T23:15:35.091Z] f56be85fc22e: Already exists [2023-05-10T23:15:35.091Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T23:15:35.091Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T23:15:35.091Z] ---> 9ed4aefc74f6 [2023-05-10T23:15:35.091Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-10T23:15:35.091Z] ---> Running in b7844119dc97 [2023-05-10T23:15:35.091Z] Removing intermediate container b7844119dc97 [2023-05-10T23:15:35.091Z] ---> dd18fbc46afd [2023-05-10T23:15:35.091Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-10T23:15:35.091Z] ---> Running in 124aefc245c0 [2023-05-10T23:15:35.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T23:15:35.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T23:15:35.612Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T23:15:35.612Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:15:35.612Z] OK: 7 MiB in 16 packages [2023-05-10T23:15:35.870Z] Removing intermediate container 124aefc245c0 [2023-05-10T23:15:35.870Z] ---> 975db0f76b46 [2023-05-10T23:15:35.870Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-10T23:15:36.437Z] ---> 2636f4b91be7 [2023-05-10T23:15:36.437Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-10T23:15:36.696Z] ---> 1510d135414a [2023-05-10T23:15:36.696Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-10T23:15:36.696Z] ---> 3407ab40c6e4 [2023-05-10T23:15:36.696Z] Step 17/22 : EXPOSE 59901 [2023-05-10T23:15:36.696Z] ---> Running in d19cb0c17aa0 [2023-05-10T23:15:36.696Z] Removing intermediate container d19cb0c17aa0 [2023-05-10T23:15:36.696Z] ---> 7475483e52b0 [2023-05-10T23:15:36.696Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-10T23:15:36.955Z] ---> Running in a81dd651c76c [2023-05-10T23:15:36.955Z] Removing intermediate container a81dd651c76c [2023-05-10T23:15:36.955Z] ---> 277b361758e6 [2023-05-10T23:15:36.955Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T23:15:36.955Z] ---> Running in 0e901e5641f4 [2023-05-10T23:15:36.955Z] Removing intermediate container 0e901e5641f4 [2023-05-10T23:15:36.955Z] ---> 916b350de395 [2023-05-10T23:15:36.955Z] Step 20/22 : LABEL arch=amd64 [2023-05-10T23:15:36.955Z] ---> Running in 7412df7d22d4 [2023-05-10T23:15:36.955Z] Removing intermediate container 7412df7d22d4 [2023-05-10T23:15:36.955Z] ---> 8ba629fdac69 [2023-05-10T23:15:36.955Z] Step 21/22 : LABEL git_sha=5189b6b75de2ff976af34f9037f44b6050849efe [2023-05-10T23:15:37.273Z] ---> Running in 70151d23a88e [2023-05-10T23:15:37.273Z] Removing intermediate container 70151d23a88e [2023-05-10T23:15:37.273Z] ---> 86cb207f02b2 [2023-05-10T23:15:37.273Z] Step 22/22 : LABEL version=3.0.0-dev.39 [2023-05-10T23:15:37.273Z] ---> Running in 0d49b7f3d5d7 [2023-05-10T23:15:37.273Z] Removing intermediate container 0d49b7f3d5d7 [2023-05-10T23:15:37.273Z] ---> 284152e8f18d [2023-05-10T23:15:37.273Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T23:15:37.273Z] Successfully built 284152e8f18d [2023-05-10T23:15:37.273Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:15:37.355Z] provisioning config files... [2023-05-10T23:15:37.552Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8880110382861993864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:15:37.862Z] ---> docker-login.sh [2023-05-10T23:15:37.862Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:15:37.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:15:37.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:15:37.862Z] Configure a credential helper to remove this warning. See [2023-05-10T23:15:37.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:15:37.862Z] [2023-05-10T23:15:37.862Z] Login Succeeded [2023-05-10T23:15:37.862Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:15:37.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:15:37.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:15:37.862Z] Configure a credential helper to remove this warning. See [2023-05-10T23:15:37.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:15:37.862Z] [2023-05-10T23:15:37.862Z] Login Succeeded [2023-05-10T23:15:37.862Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:15:37.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:15:38.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:15:38.121Z] Configure a credential helper to remove this warning. See [2023-05-10T23:15:38.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:15:38.121Z] [2023-05-10T23:15:38.121Z] Login Succeeded [2023-05-10T23:15:38.121Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:15:38.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:15:38.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:15:38.121Z] Configure a credential helper to remove this warning. See [2023-05-10T23:15:38.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:15:38.121Z] [2023-05-10T23:15:38.121Z] Login Succeeded [2023-05-10T23:15:38.121Z] docker.io [2023-05-10T23:15:38.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:15:38.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:15:38.381Z] Configure a credential helper to remove this warning. See [2023-05-10T23:15:38.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:15:38.381Z] [2023-05-10T23:15:38.381Z] Login Succeeded [2023-05-10T23:15:38.381Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:15:38.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:15:38.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:15:38.431Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-10T23:15:38.431Z] 5189b6b75de2ff976af34f9037f44b6050849efe [2023-05-10T23:15:38.431Z] latest [2023-05-10T23:15:38.431Z] 3.0.0-dev.39 [2023-05-10T23:15:38.431Z] 5189b6b75de2ff976af34f9037f44b6050849efe-3.0.0-dev.39 [2023-05-10T23:15:38.431Z] main [2023-05-10T23:15:38.431Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:38.765Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:5189b6b75de2ff976af34f9037f44b6050849efe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:39.075Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:5189b6b75de2ff976af34f9037f44b6050849efe [2023-05-10T23:15:39.076Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-10T23:15:39.076Z] 15bbc5877713: Preparing [2023-05-10T23:15:39.076Z] 21b64dd2ebf2: Preparing [2023-05-10T23:15:39.076Z] 11843f4e2bb9: Preparing [2023-05-10T23:15:39.076Z] e8a86e06de46: Preparing [2023-05-10T23:15:39.076Z] f1417ff83b31: Preparing [2023-05-10T23:15:39.076Z] f1417ff83b31: Layer already exists [2023-05-10T23:15:39.076Z] e8a86e06de46: Pushed [2023-05-10T23:15:39.076Z] 21b64dd2ebf2: Pushed [2023-05-10T23:15:39.076Z] 15bbc5877713: Pushed [2023-05-10T23:15:41.611Z] 11843f4e2bb9: Pushed [2023-05-10T23:15:41.611Z] 5189b6b75de2ff976af34f9037f44b6050849efe: digest: sha256:2ff2c7520d93b6c157110b5567376b459f4a7ea5f6aa030e8ae58e1f8f912740 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:41.925Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:42.235Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-10T23:15:42.235Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-10T23:15:42.235Z] 15bbc5877713: Preparing [2023-05-10T23:15:42.235Z] 21b64dd2ebf2: Preparing [2023-05-10T23:15:42.235Z] 11843f4e2bb9: Preparing [2023-05-10T23:15:42.235Z] e8a86e06de46: Preparing [2023-05-10T23:15:42.235Z] f1417ff83b31: Preparing [2023-05-10T23:15:42.235Z] e8a86e06de46: Layer already exists [2023-05-10T23:15:42.235Z] f1417ff83b31: Layer already exists [2023-05-10T23:15:42.235Z] 21b64dd2ebf2: Layer already exists [2023-05-10T23:15:42.235Z] 11843f4e2bb9: Layer already exists [2023-05-10T23:15:42.235Z] 15bbc5877713: Layer already exists [2023-05-10T23:15:42.235Z] latest: digest: sha256:2ff2c7520d93b6c157110b5567376b459f4a7ea5f6aa030e8ae58e1f8f912740 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:42.544Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:42.851Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.39 [2023-05-10T23:15:42.851Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-10T23:15:42.851Z] 15bbc5877713: Preparing [2023-05-10T23:15:42.851Z] 21b64dd2ebf2: Preparing [2023-05-10T23:15:42.851Z] 11843f4e2bb9: Preparing [2023-05-10T23:15:42.851Z] e8a86e06de46: Preparing [2023-05-10T23:15:42.851Z] f1417ff83b31: Preparing [2023-05-10T23:15:42.851Z] 15bbc5877713: Layer already exists [2023-05-10T23:15:42.851Z] 11843f4e2bb9: Layer already exists [2023-05-10T23:15:42.851Z] 21b64dd2ebf2: Layer already exists [2023-05-10T23:15:42.851Z] f1417ff83b31: Layer already exists [2023-05-10T23:15:42.851Z] e8a86e06de46: Layer already exists [2023-05-10T23:15:42.851Z] 3.0.0-dev.39: digest: sha256:2ff2c7520d93b6c157110b5567376b459f4a7ea5f6aa030e8ae58e1f8f912740 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:43.157Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:5189b6b75de2ff976af34f9037f44b6050849efe-3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:43.463Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:5189b6b75de2ff976af34f9037f44b6050849efe-3.0.0-dev.39 [2023-05-10T23:15:43.463Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-10T23:15:43.463Z] 15bbc5877713: Preparing [2023-05-10T23:15:43.463Z] 21b64dd2ebf2: Preparing [2023-05-10T23:15:43.463Z] 11843f4e2bb9: Preparing [2023-05-10T23:15:43.463Z] e8a86e06de46: Preparing [2023-05-10T23:15:43.463Z] f1417ff83b31: Preparing [2023-05-10T23:15:43.463Z] 11843f4e2bb9: Layer already exists [2023-05-10T23:15:43.463Z] 15bbc5877713: Layer already exists [2023-05-10T23:15:43.463Z] 21b64dd2ebf2: Layer already exists [2023-05-10T23:15:43.463Z] e8a86e06de46: Layer already exists [2023-05-10T23:15:43.463Z] f1417ff83b31: Layer already exists [2023-05-10T23:15:43.463Z] 5189b6b75de2ff976af34f9037f44b6050849efe-3.0.0-dev.39: digest: sha256:2ff2c7520d93b6c157110b5567376b459f4a7ea5f6aa030e8ae58e1f8f912740 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:43.772Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:44.077Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-10T23:15:44.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-10T23:15:44.077Z] 15bbc5877713: Preparing [2023-05-10T23:15:44.077Z] 21b64dd2ebf2: Preparing [2023-05-10T23:15:44.077Z] 11843f4e2bb9: Preparing [2023-05-10T23:15:44.077Z] e8a86e06de46: Preparing [2023-05-10T23:15:44.077Z] f1417ff83b31: Preparing [2023-05-10T23:15:44.077Z] 15bbc5877713: Layer already exists [2023-05-10T23:15:44.077Z] e8a86e06de46: Layer already exists [2023-05-10T23:15:44.077Z] f1417ff83b31: Layer already exists [2023-05-10T23:15:44.077Z] 21b64dd2ebf2: Layer already exists [2023-05-10T23:15:44.077Z] 11843f4e2bb9: Layer already exists [2023-05-10T23:15:44.077Z] main: digest: sha256:2ff2c7520d93b6c157110b5567376b459f4a7ea5f6aa030e8ae58e1f8f912740 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:15:44.114Z] ===================================================== [Pipeline] echo [2023-05-10T23:15:44.119Z] taggedImages: [2023-05-10T23:15:44.119Z] - nexus3.edgexfoundry.org:10004/device-modbus:5189b6b75de2ff976af34f9037f44b6050849efe [2023-05-10T23:15:44.119Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-10T23:15:44.119Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.39 [2023-05-10T23:15:44.119Z] - nexus3.edgexfoundry.org:10004/device-modbus:5189b6b75de2ff976af34f9037f44b6050849efe-3.0.0-dev.39 [2023-05-10T23:15:44.119Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:44.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:15:44.486Z] [2023-05-10T23:15:44.486Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:15:44.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:15:44.787Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T23:15:44.787Z] 5eb5b503b376: Pulling fs layer [2023-05-10T23:15:44.787Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T23:15:44.787Z] ec43610c2a17: Pulling fs layer [2023-05-10T23:15:44.787Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T23:15:44.787Z] 33b1e0a273af: Pulling fs layer [2023-05-10T23:15:44.787Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T23:15:44.787Z] 2f39f015ded8: Pulling fs layer [2023-05-10T23:15:44.787Z] 33b1e0a273af: Waiting [2023-05-10T23:15:44.787Z] 3a2ae6a8a46f: Waiting [2023-05-10T23:15:44.787Z] 5d3b04190fa2: Waiting [2023-05-10T23:15:44.787Z] 5c69ac0246d0: Download complete [2023-05-10T23:15:44.787Z] 33b1e0a273af: Verifying Checksum [2023-05-10T23:15:44.787Z] 33b1e0a273af: Download complete [2023-05-10T23:15:44.787Z] 5d3b04190fa2: Verifying Checksum [2023-05-10T23:15:44.787Z] 5d3b04190fa2: Download complete [2023-05-10T23:15:44.787Z] ec43610c2a17: Verifying Checksum [2023-05-10T23:15:44.787Z] ec43610c2a17: Download complete [2023-05-10T23:15:45.046Z] 5eb5b503b376: Verifying Checksum [2023-05-10T23:15:45.046Z] 5eb5b503b376: Download complete [2023-05-10T23:15:45.613Z] 2f39f015ded8: Verifying Checksum [2023-05-10T23:15:45.613Z] 2f39f015ded8: Download complete [2023-05-10T23:15:46.180Z] 5eb5b503b376: Pull complete [2023-05-10T23:15:46.438Z] 5c69ac0246d0: Pull complete [2023-05-10T23:15:46.697Z] ec43610c2a17: Pull complete [2023-05-10T23:15:46.697Z] 3a2ae6a8a46f: Pull complete [2023-05-10T23:15:46.956Z] 33b1e0a273af: Pull complete [2023-05-10T23:15:46.956Z] 5d3b04190fa2: Pull complete [2023-05-10T23:15:51.147Z] 2f39f015ded8: Pull complete [2023-05-10T23:15:51.147Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T23:15:51.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:15:51.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:15:51.225Z] prd-ubuntu20.04-docker-8c-8g-15119 does not seem to be running inside a container [2023-05-10T23:15:51.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T23:15:54.073Z] $ docker top f53a7ca02004ca4d92942aed71ad705553aa705cf9d10e9d2d95c58f855c8d3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:15:54.443Z] ---> job-cost.sh [2023-05-10T23:15:54.443Z] lf-activate-venv: SKIPPING [2023-05-10T23:15:54.443Z] INFO: No Stack... [2023-05-10T23:15:54.703Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T23:15:54.963Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T23:15:55.249Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-10T23:15:55.249Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T23:15:55.263Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-105-stack-cost] [2023-05-10T23:15:55.273Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-105-stack-cost] did not exist. Created. [2023-05-10T23:15:55.273Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T23:15:55.573Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T23:15:55.603Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T23:15:55.610Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T23:15:55.631Z] $ docker stop --time=1 f53a7ca02004ca4d92942aed71ad705553aa705cf9d10e9d2d95c58f855c8d3a [2023-05-10T23:15:56.781Z] $ docker rm -f --volumes f53a7ca02004ca4d92942aed71ad705553aa705cf9d10e9d2d95c58f855c8d3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T23:16:31.853Z] Removing intermediate container b6815ad55258 [2023-05-10T23:16:31.853Z] ---> 09990357d7d6 [2023-05-10T23:16:31.853Z] Step 9/10 : COPY . . [2023-05-10T23:16:31.853Z] ---> 8eea56f851b2 [2023-05-10T23:16:31.853Z] Step 10/10 : RUN ${MAKE} [2023-05-10T23:16:31.853Z] ---> Running in 8bf1c99c699f [2023-05-10T23:16:31.853Z] noop [2023-05-10T23:16:31.853Z] Removing intermediate container 8bf1c99c699f [2023-05-10T23:16:31.853Z] ---> c1dfa95c251b [2023-05-10T23:16:31.853Z] Successfully built c1dfa95c251b [2023-05-10T23:16:31.853Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:16:32.223Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T23:16:32.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:16:32.475Z] prd-ubuntu20.04-docker-arm64-4c-16g-15117 does not seem to be running inside a container [2023-05-10T23:16:32.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/105 -v /w/workspace/device-modbus-go/105:/w/workspace/device-modbus-go/105:rw,z -v /w/workspace/device-modbus-go/105@tmp:/w/workspace/device-modbus-go/105@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-05-10T23:16:33.895Z] $ docker top b596c43af8cbb4657a418def548fe6f4cf8d0f5cccb8a6e2ad5bad50fb3e1d9c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:16:34.797Z] + go version [2023-05-10T23:16:34.797Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-10T23:16:34.817Z] $ docker stop --time=1 b596c43af8cbb4657a418def548fe6f4cf8d0f5cccb8a6e2ad5bad50fb3e1d9c [2023-05-10T23:16:36.527Z] $ docker rm -f --volumes b596c43af8cbb4657a418def548fe6f4cf8d0f5cccb8a6e2ad5bad50fb3e1d9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:16:37.079Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T23:16:37.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:16:37.280Z] prd-ubuntu20.04-docker-arm64-4c-16g-15117 does not seem to be running inside a container [2023-05-10T23:16:37.360Z] $ 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/105 -v /w/workspace/device-modbus-go/105:/w/workspace/device-modbus-go/105:rw,z -v /w/workspace/device-modbus-go/105@tmp:/w/workspace/device-modbus-go/105@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-05-10T23:16:38.582Z] $ docker top f5acd6960571326fc0c05bd8811d102f1c1dd00916dfede1f54590b309d1c70d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:16:39.446Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/105 [Pipeline] fileExists [Pipeline] sh [2023-05-10T23:16:40.111Z] + make test [2023-05-10T23:16:40.111Z] go test ./... -coverprofile=coverage.out [2023-05-10T23:17:19.051Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-10T23:19:25.801Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-10T23:19:25.801Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 47.4% of statements [2023-05-10T23:19:25.801Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-10T23:19:25.801Z] go vet ./... [2023-05-10T23:19:52.541Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T23:19:52.541Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T23:19:52.541Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T23:19:52.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T23:19:52.569Z] $ docker stop --time=1 f5acd6960571326fc0c05bd8811d102f1c1dd00916dfede1f54590b309d1c70d [2023-05-10T23:19:54.388Z] $ docker rm -f --volumes f5acd6960571326fc0c05bd8811d102f1c1dd00916dfede1f54590b309d1c70d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:19:55.629Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T23:19:55.652Z] Warning: overwriting stash ‘coverage-report’ [2023-05-10T23:19:56.195Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T23:19:56.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T23:19:56.934Z] + ls -al . [2023-05-10T23:19:56.935Z] total 180 [2023-05-10T23:19:56.935Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 23:16 . [2023-05-10T23:19:56.935Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:14 .. [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 23:14 .dockerignore [2023-05-10T23:19:56.935Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:14 .git [2023-05-10T23:19:56.935Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:14 .github [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 331 May 10 23:14 .gitignore [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 23:14 .golangci.yml [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 10 23:14 Attribution.txt [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 10 23:14 CHANGELOG.md [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 10 23:14 Dockerfile [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:14 GOVERNANCE.md [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 23:14 Jenkinsfile [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 23:14 LICENSE [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 10 23:14 Makefile [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 622 May 10 23:14 OWNERS.md [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 10 23:14 README.md [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 23:14 VERSION [2023-05-10T23:19:56.935Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:14 bin [2023-05-10T23:19:56.935Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:14 cmd [2023-05-10T23:19:56.935Z] -rw-r--r-- 1 jenkins jenkins 24160 May 10 23:19 coverage.out [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 10 23:14 go.mod [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 10 23:14 go.sum [2023-05-10T23:19:56.935Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:14 internal [2023-05-10T23:19:56.935Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:14 simulator [2023-05-10T23:19:56.935Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:14 snap [2023-05-10T23:19:56.935Z] -rw-rw-r-- 1 jenkins jenkins 229 May 10 23:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:19:57.290Z] + 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=5189b6b75de2ff976af34f9037f44b6050849efe --label arch=arm64 --label version=3.0.0-dev.39 . [2023-05-10T23:19:57.565Z] Sending build context to Docker daemon 3.43MB [2023-05-10T23:19:57.565Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T23:19:57.565Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-10T23:19:57.565Z] ---> c1dfa95c251b [2023-05-10T23:19:57.565Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-10T23:19:57.834Z] ---> Running in f15a4c10949f [2023-05-10T23:19:58.313Z] Removing intermediate container f15a4c10949f [2023-05-10T23:19:58.313Z] ---> 72360da4903a [2023-05-10T23:19:58.313Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T23:19:58.313Z] ---> Running in 6d61c7b6e73c [2023-05-10T23:19:58.581Z] Removing intermediate container 6d61c7b6e73c [2023-05-10T23:19:58.581Z] ---> 0bcce3b04942 [2023-05-10T23:19:58.581Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-10T23:19:58.581Z] ---> Running in bb24a186a659 [2023-05-10T23:19:59.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:20:00.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:20:01.546Z] OK: 270 MiB in 61 packages [2023-05-10T23:20:04.907Z] Removing intermediate container bb24a186a659 [2023-05-10T23:20:04.907Z] ---> c4c27817fb1e [2023-05-10T23:20:04.907Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-10T23:20:04.907Z] ---> Running in b7ea4db6da14 [2023-05-10T23:20:04.907Z] Removing intermediate container b7ea4db6da14 [2023-05-10T23:20:04.907Z] ---> 4b4734289b21 [2023-05-10T23:20:04.907Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-10T23:20:05.499Z] ---> 5fa22286237d [2023-05-10T23:20:05.499Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T23:20:05.769Z] ---> Running in 2ac5270800c2 [2023-05-10T23:20:08.370Z] Removing intermediate container 2ac5270800c2 [2023-05-10T23:20:08.370Z] ---> 4cc839dce522 [2023-05-10T23:20:08.370Z] Step 9/22 : COPY . . [2023-05-10T23:20:09.355Z] ---> 616a98dad5fb [2023-05-10T23:20:09.355Z] Step 10/22 : RUN ${MAKE} [2023-05-10T23:20:09.355Z] ---> Running in 95d225b0857d [2023-05-10T23:20:10.325Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.39" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-10T23:22:32.071Z] Removing intermediate container 95d225b0857d [2023-05-10T23:22:32.071Z] ---> 982ea194ce22 [2023-05-10T23:22:32.071Z] Step 11/22 : FROM alpine:3.17 [2023-05-10T23:22:32.071Z] 3.17: Pulling from library/alpine [2023-05-10T23:22:32.071Z] c41833b44d91: Already exists [2023-05-10T23:22:32.071Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T23:22:32.071Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T23:22:32.071Z] ---> 51e60588ff2c [2023-05-10T23:22:32.071Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-10T23:22:32.071Z] ---> Running in 55332af54829 [2023-05-10T23:22:32.071Z] Removing intermediate container 55332af54829 [2023-05-10T23:22:32.071Z] ---> b82d8a4f3b66 [2023-05-10T23:22:32.071Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-10T23:22:32.071Z] ---> Running in 9a580ca81646 [2023-05-10T23:22:32.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T23:22:32.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T23:22:33.482Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T23:22:33.482Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T23:22:33.482Z] OK: 8 MiB in 16 packages [2023-05-10T23:22:34.068Z] Removing intermediate container 9a580ca81646 [2023-05-10T23:22:34.068Z] ---> 91746beb8494 [2023-05-10T23:22:34.068Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-10T23:22:35.483Z] ---> d379af2672ea [2023-05-10T23:22:35.483Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-10T23:22:36.076Z] ---> 163409cc41b8 [2023-05-10T23:22:36.076Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-10T23:22:36.665Z] ---> 0ae9e6420cf7 [2023-05-10T23:22:36.665Z] Step 17/22 : EXPOSE 59901 [2023-05-10T23:22:36.665Z] ---> Running in 3e92991bb6a2 [2023-05-10T23:22:36.934Z] Removing intermediate container 3e92991bb6a2 [2023-05-10T23:22:36.934Z] ---> 6a87529c3b2c [2023-05-10T23:22:36.934Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-10T23:22:37.208Z] ---> Running in 0a400e5248fb [2023-05-10T23:22:37.479Z] Removing intermediate container 0a400e5248fb [2023-05-10T23:22:37.479Z] ---> 014641638fbe [2023-05-10T23:22:37.479Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T23:22:37.479Z] ---> Running in 35dc4eec09b9 [2023-05-10T23:22:37.749Z] Removing intermediate container 35dc4eec09b9 [2023-05-10T23:22:37.749Z] ---> ade58dc0d7f4 [2023-05-10T23:22:37.749Z] Step 20/22 : LABEL arch=arm64 [2023-05-10T23:22:37.749Z] ---> Running in deb1cd73741a [2023-05-10T23:22:38.334Z] Removing intermediate container deb1cd73741a [2023-05-10T23:22:38.334Z] ---> 637c8c7b7d62 [2023-05-10T23:22:38.334Z] Step 21/22 : LABEL git_sha=5189b6b75de2ff976af34f9037f44b6050849efe [2023-05-10T23:22:38.334Z] ---> Running in 099556f3a57b [2023-05-10T23:22:38.602Z] Removing intermediate container 099556f3a57b [2023-05-10T23:22:38.602Z] ---> 62e081be007a [2023-05-10T23:22:38.602Z] Step 22/22 : LABEL version=3.0.0-dev.39 [2023-05-10T23:22:38.602Z] ---> Running in 42f18b6451a6 [2023-05-10T23:22:38.870Z] Removing intermediate container 42f18b6451a6 [2023-05-10T23:22:38.870Z] ---> ca3fcd0030cf [2023-05-10T23:22:38.870Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T23:22:38.870Z] Successfully built ca3fcd0030cf [2023-05-10T23:22:38.871Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:22:38.978Z] provisioning config files... [2023-05-10T23:22:38.994Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/105@tmp/config155655193252662066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:22:39.329Z] ---> docker-login.sh [2023-05-10T23:22:39.329Z] nexus3.edgexfoundry.org:10001 [2023-05-10T23:22:39.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:22:39.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:22:39.597Z] Configure a credential helper to remove this warning. See [2023-05-10T23:22:39.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:22:39.597Z] [2023-05-10T23:22:39.597Z] Login Succeeded [2023-05-10T23:22:39.597Z] nexus3.edgexfoundry.org:10002 [2023-05-10T23:22:39.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:22:39.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:22:39.865Z] Configure a credential helper to remove this warning. See [2023-05-10T23:22:39.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:22:39.865Z] [2023-05-10T23:22:39.865Z] Login Succeeded [2023-05-10T23:22:39.865Z] nexus3.edgexfoundry.org:10003 [2023-05-10T23:22:40.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:22:40.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:22:40.400Z] Configure a credential helper to remove this warning. See [2023-05-10T23:22:40.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:22:40.400Z] [2023-05-10T23:22:40.400Z] Login Succeeded [2023-05-10T23:22:40.400Z] nexus3.edgexfoundry.org:10004 [2023-05-10T23:22:40.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:22:40.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:22:40.739Z] Configure a credential helper to remove this warning. See [2023-05-10T23:22:40.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:22:40.739Z] [2023-05-10T23:22:40.739Z] Login Succeeded [2023-05-10T23:22:40.739Z] docker.io [2023-05-10T23:22:41.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T23:22:41.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T23:22:41.296Z] Configure a credential helper to remove this warning. See [2023-05-10T23:22:41.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T23:22:41.296Z] [2023-05-10T23:22:41.296Z] Login Succeeded [2023-05-10T23:22:41.296Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T23:22:41.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:22:41.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T23:22:41.359Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-10T23:22:41.359Z] 5189b6b75de2ff976af34f9037f44b6050849efe [2023-05-10T23:22:41.359Z] latest [2023-05-10T23:22:41.359Z] 3.0.0-dev.39 [2023-05-10T23:22:41.359Z] 5189b6b75de2ff976af34f9037f44b6050849efe-3.0.0-dev.39 [2023-05-10T23:22:41.359Z] main [2023-05-10T23:22:41.359Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:41.722Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:5189b6b75de2ff976af34f9037f44b6050849efe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:42.087Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:5189b6b75de2ff976af34f9037f44b6050849efe [2023-05-10T23:22:42.087Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-10T23:22:42.087Z] 62a2218313bc: Preparing [2023-05-10T23:22:42.087Z] 6104f620eb2b: Preparing [2023-05-10T23:22:42.087Z] 86c03425babb: Preparing [2023-05-10T23:22:42.087Z] bcc73786fcd7: Preparing [2023-05-10T23:22:42.087Z] 26cbea5cba74: Preparing [2023-05-10T23:22:42.360Z] 26cbea5cba74: Layer already exists [2023-05-10T23:22:42.360Z] 6104f620eb2b: Pushed [2023-05-10T23:22:42.360Z] 62a2218313bc: Pushed [2023-05-10T23:22:42.360Z] bcc73786fcd7: Pushed [2023-05-10T23:22:49.025Z] 86c03425babb: Pushed [2023-05-10T23:22:49.025Z] 5189b6b75de2ff976af34f9037f44b6050849efe: digest: sha256:54cec96b2772832ebf5afaf56364fd1176f23ad0515aee99a67416d0e07d2b00 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:49.371Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:49.713Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-10T23:22:49.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-10T23:22:49.713Z] 62a2218313bc: Preparing [2023-05-10T23:22:49.713Z] 6104f620eb2b: Preparing [2023-05-10T23:22:49.713Z] 86c03425babb: Preparing [2023-05-10T23:22:49.713Z] bcc73786fcd7: Preparing [2023-05-10T23:22:49.713Z] 26cbea5cba74: Preparing [2023-05-10T23:22:49.713Z] bcc73786fcd7: Layer already exists [2023-05-10T23:22:49.713Z] 6104f620eb2b: Layer already exists [2023-05-10T23:22:49.713Z] 62a2218313bc: Layer already exists [2023-05-10T23:22:49.713Z] 26cbea5cba74: Layer already exists [2023-05-10T23:22:49.713Z] 86c03425babb: Layer already exists [2023-05-10T23:22:49.713Z] latest: digest: sha256:54cec96b2772832ebf5afaf56364fd1176f23ad0515aee99a67416d0e07d2b00 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:50.067Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:50.409Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.39 [2023-05-10T23:22:50.409Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-10T23:22:50.409Z] 62a2218313bc: Preparing [2023-05-10T23:22:50.409Z] 6104f620eb2b: Preparing [2023-05-10T23:22:50.409Z] 86c03425babb: Preparing [2023-05-10T23:22:50.409Z] bcc73786fcd7: Preparing [2023-05-10T23:22:50.409Z] 26cbea5cba74: Preparing [2023-05-10T23:22:50.409Z] 26cbea5cba74: Layer already exists [2023-05-10T23:22:50.409Z] 86c03425babb: Layer already exists [2023-05-10T23:22:50.409Z] 62a2218313bc: Layer already exists [2023-05-10T23:22:50.409Z] bcc73786fcd7: Layer already exists [2023-05-10T23:22:50.409Z] 6104f620eb2b: Layer already exists [2023-05-10T23:22:50.409Z] 3.0.0-dev.39: digest: sha256:54cec96b2772832ebf5afaf56364fd1176f23ad0515aee99a67416d0e07d2b00 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:50.745Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:5189b6b75de2ff976af34f9037f44b6050849efe-3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:51.081Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:5189b6b75de2ff976af34f9037f44b6050849efe-3.0.0-dev.39 [2023-05-10T23:22:51.082Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-10T23:22:51.082Z] 62a2218313bc: Preparing [2023-05-10T23:22:51.082Z] 6104f620eb2b: Preparing [2023-05-10T23:22:51.082Z] 86c03425babb: Preparing [2023-05-10T23:22:51.082Z] bcc73786fcd7: Preparing [2023-05-10T23:22:51.082Z] 26cbea5cba74: Preparing [2023-05-10T23:22:51.082Z] 86c03425babb: Layer already exists [2023-05-10T23:22:51.082Z] 26cbea5cba74: Layer already exists [2023-05-10T23:22:51.082Z] 6104f620eb2b: Layer already exists [2023-05-10T23:22:51.082Z] bcc73786fcd7: Layer already exists [2023-05-10T23:22:51.082Z] 62a2218313bc: Layer already exists [2023-05-10T23:22:51.082Z] 5189b6b75de2ff976af34f9037f44b6050849efe-3.0.0-dev.39: digest: sha256:54cec96b2772832ebf5afaf56364fd1176f23ad0515aee99a67416d0e07d2b00 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:51.426Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:51.764Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-10T23:22:51.764Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-10T23:22:51.764Z] 62a2218313bc: Preparing [2023-05-10T23:22:51.764Z] 6104f620eb2b: Preparing [2023-05-10T23:22:51.764Z] 86c03425babb: Preparing [2023-05-10T23:22:51.764Z] bcc73786fcd7: Preparing [2023-05-10T23:22:51.764Z] 26cbea5cba74: Preparing [2023-05-10T23:22:51.764Z] bcc73786fcd7: Layer already exists [2023-05-10T23:22:51.764Z] 6104f620eb2b: Layer already exists [2023-05-10T23:22:51.764Z] 26cbea5cba74: Layer already exists [2023-05-10T23:22:51.764Z] 62a2218313bc: Layer already exists [2023-05-10T23:22:51.764Z] 86c03425babb: Layer already exists [2023-05-10T23:22:51.764Z] main: digest: sha256:54cec96b2772832ebf5afaf56364fd1176f23ad0515aee99a67416d0e07d2b00 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T23:22:51.817Z] ===================================================== [Pipeline] echo [2023-05-10T23:22:51.825Z] taggedImages: [2023-05-10T23:22:51.825Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:5189b6b75de2ff976af34f9037f44b6050849efe [2023-05-10T23:22:51.825Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-10T23:22:51.825Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.39 [2023-05-10T23:22:51.825Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:5189b6b75de2ff976af34f9037f44b6050849efe-3.0.0-dev.39 [2023-05-10T23:22:51.825Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:52.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:22:52.188Z] [2023-05-10T23:22:52.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:22:52.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:22:52.513Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T23:22:52.513Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T23:22:52.513Z] 04944245beec: Pulling fs layer [2023-05-10T23:22:52.513Z] 699f458cf7ca: Pulling fs layer [2023-05-10T23:22:52.513Z] 765212b225bb: Pulling fs layer [2023-05-10T23:22:52.513Z] f23df028b6ca: Pulling fs layer [2023-05-10T23:22:52.513Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T23:22:52.513Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T23:22:52.513Z] f23df028b6ca: Waiting [2023-05-10T23:22:52.513Z] d65c8cfc05b1: Waiting [2023-05-10T23:22:52.513Z] 2437ff75d9bd: Waiting [2023-05-10T23:22:52.513Z] 765212b225bb: Waiting [2023-05-10T23:22:52.782Z] 04944245beec: Verifying Checksum [2023-05-10T23:22:52.783Z] 04944245beec: Download complete [2023-05-10T23:22:52.783Z] 765212b225bb: Verifying Checksum [2023-05-10T23:22:52.783Z] 765212b225bb: Download complete [2023-05-10T23:22:52.783Z] f23df028b6ca: Verifying Checksum [2023-05-10T23:22:52.783Z] f23df028b6ca: Download complete [2023-05-10T23:22:52.783Z] d65c8cfc05b1: Download complete [2023-05-10T23:22:52.783Z] 699f458cf7ca: Verifying Checksum [2023-05-10T23:22:52.783Z] 699f458cf7ca: Download complete [2023-05-10T23:22:53.365Z] 8998bd30e6a1: Verifying Checksum [2023-05-10T23:22:53.365Z] 8998bd30e6a1: Download complete [2023-05-10T23:22:55.308Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T23:22:55.308Z] 2437ff75d9bd: Download complete [2023-05-10T23:22:57.257Z] 8998bd30e6a1: Pull complete [2023-05-10T23:22:57.523Z] 04944245beec: Pull complete [2023-05-10T23:22:58.929Z] 699f458cf7ca: Pull complete [2023-05-10T23:22:58.929Z] 765212b225bb: Pull complete [2023-05-10T23:22:59.888Z] f23df028b6ca: Pull complete [2023-05-10T23:22:59.889Z] d65c8cfc05b1: Pull complete [2023-05-10T23:23:14.885Z] 2437ff75d9bd: Pull complete [2023-05-10T23:23:14.885Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T23:23:14.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T23:23:14.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:15.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-15117 does not seem to be running inside a container [2023-05-10T23:23:15.145Z] $ 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/105 -v /w/workspace/device-modbus-go/105:/w/workspace/device-modbus-go/105:rw,z -v /w/workspace/device-modbus-go/105@tmp:/w/workspace/device-modbus-go/105@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-05-10T23:23:17.615Z] $ docker top 38e1865a19976b65b5e86a7cc373c1240cc377e93a0d546c15aa86e12bd0ce64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:23:18.138Z] ---> job-cost.sh [2023-05-10T23:23:18.402Z] lf-activate-venv: SKIPPING [2023-05-10T23:23:18.403Z] INFO: No Stack... [2023-05-10T23:23:18.981Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T23:23:19.938Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T23:23:20.256Z] + cut -d, -f6 [2023-05-10T23:23:20.256Z] + cat /w/workspace/device-modbus-go/105/archives/cost.csv [Pipeline] lock [2023-05-10T23:23:20.587Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-105-stack-cost] [2023-05-10T23:23:20.597Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-105-stack-cost] did not exist. Created. [2023-05-10T23:23:20.597Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T23:23:20.943Z] /w/workspace/device-modbus-go/105@tmp/durable-d8a9e80a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T23:23:21.268Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T23:23:21.282Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T23:23:21.333Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T23:23:21.344Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T23:23:21.360Z] $ docker stop --time=1 38e1865a19976b65b5e86a7cc373c1240cc377e93a0d546c15aa86e12bd0ce64 [2023-05-10T23:23:22.828Z] $ docker rm -f --volumes 38e1865a19976b65b5e86a7cc373c1240cc377e93a0d546c15aa86e12bd0ce64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-10T23:23:23.169Z] provisioning config files... [2023-05-10T23:23:23.177Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17690350099553730025tmp [Pipeline] { [Pipeline] sh [2023-05-10T23:23:23.463Z] + set +x [2023-05-10T23:23:23.463Z] + curl -s https://codecov.io/bash [2023-05-10T23:23:23.463Z] + bash -s -- [2023-05-10T23:23:23.463Z] [2023-05-10T23:23:23.463Z] _____ _ [2023-05-10T23:23:23.463Z] / ____| | | [2023-05-10T23:23:23.463Z] | | ___ __| | ___ ___ _____ __ [2023-05-10T23:23:23.463Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-10T23:23:23.463Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-10T23:23:23.463Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-10T23:23:23.463Z] Bash-1.0.6 [2023-05-10T23:23:23.463Z] [2023-05-10T23:23:23.463Z] [2023-05-10T23:23:23.463Z] ==> git version 2.25.1 found [2023-05-10T23:23:23.463Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-10T23:23:23.463Z] Release-Date: 2020-01-08 [2023-05-10T23:23:23.463Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-10T23:23:23.463Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-10T23:23:23.463Z] ==> Jenkins CI detected. [2023-05-10T23:23:23.463Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-10T23:23:23.463Z] project root: . [2023-05-10T23:23:23.463Z] --> token set from env [2023-05-10T23:23:23.463Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-10T23:23:23.463Z] ==> Running gcov in . (disable via -X gcov) [2023-05-10T23:23:23.463Z] ==> Python coveragepy not found [2023-05-10T23:23:23.463Z] ==> Searching for coverage reports in: [2023-05-10T23:23:23.463Z] + . [2023-05-10T23:23:23.463Z] -> Found 1 reports [2023-05-10T23:23:23.463Z] ==> Detecting git/mercurial file structure [2023-05-10T23:23:23.463Z] ==> Reading reports [2023-05-10T23:23:23.463Z] + ./coverage.out bytes=24160 [2023-05-10T23:23:23.463Z] ==> Appending adjustments [2023-05-10T23:23:23.463Z] https://docs.codecov.io/docs/fixing-reports [2023-05-10T23:23:23.723Z] + Found adjustments [2023-05-10T23:23:23.723Z] ==> Gzipping contents [2023-05-10T23:23:23.723Z] 4.0K /tmp/codecov.15GNOT.gz [2023-05-10T23:23:23.723Z] ==> Uploading reports [2023-05-10T23:23:23.723Z] url: https://codecov.io [2023-05-10T23:23:23.723Z] query: branch=main&commit=5189b6b75de2ff976af34f9037f44b6050849efe&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T23:23:23.723Z] -> Pinging Codecov [2023-05-10T23:23:23.724Z] 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=5189b6b75de2ff976af34f9037f44b6050849efe&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T23:23:23.724Z] -> Uploading to [2023-05-10T23:23:23.724Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-10/55DBCA73C666E3227836607328DD7E49/5189b6b75de2ff976af34f9037f44b6050849efe/d4106b86-2d8a-4370-b3ec-235bd7853182.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T232323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=483c6b74cc0fdc99aa5063660cb86c787263da93686e43fbdbe0a2a160e07079 [2023-05-10T23:23:23.724Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T23:23:23.724Z] Dload Upload Total Spent Left Speed [2023-05-10T23:23:23.983Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 19918 --:--:-- --:--:-- --:--:-- 19918 [2023-05-10T23:23:23.983Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/5189b6b75de2ff976af34f9037f44b6050849efe [Pipeline] } [2023-05-10T23:23:23.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-10T23:23:24.125Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-10T23:23:24.158Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:24.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T23:23:24.451Z] [2023-05-10T23:23:24.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:24.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T23:23:24.748Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-10T23:23:24.748Z] df9b9388f04a: Pulling fs layer [2023-05-10T23:23:24.748Z] 52dc419b0ee2: Pulling fs layer [2023-05-10T23:23:24.748Z] 25bc292e5bac: Pulling fs layer [2023-05-10T23:23:24.748Z] 114826534d7a: Pulling fs layer [2023-05-10T23:23:24.748Z] 4657fd5d0bcf: Pulling fs layer [2023-05-10T23:23:24.748Z] 6ad1cebc031e: Pulling fs layer [2023-05-10T23:23:24.748Z] 8a3aa393b2d8: Pulling fs layer [2023-05-10T23:23:24.748Z] 4657fd5d0bcf: Waiting [2023-05-10T23:23:24.748Z] 8a3aa393b2d8: Waiting [2023-05-10T23:23:24.748Z] 114826534d7a: Waiting [2023-05-10T23:23:24.748Z] 6ad1cebc031e: Waiting [2023-05-10T23:23:24.748Z] 25bc292e5bac: Verifying Checksum [2023-05-10T23:23:24.748Z] 25bc292e5bac: Download complete [2023-05-10T23:23:24.748Z] 52dc419b0ee2: Verifying Checksum [2023-05-10T23:23:24.748Z] 52dc419b0ee2: Download complete [2023-05-10T23:23:24.748Z] 4657fd5d0bcf: Verifying Checksum [2023-05-10T23:23:24.748Z] 4657fd5d0bcf: Download complete [2023-05-10T23:23:24.748Z] df9b9388f04a: Verifying Checksum [2023-05-10T23:23:24.748Z] df9b9388f04a: Download complete [2023-05-10T23:23:25.010Z] 6ad1cebc031e: Verifying Checksum [2023-05-10T23:23:25.010Z] 6ad1cebc031e: Download complete [2023-05-10T23:23:25.010Z] df9b9388f04a: Pull complete [2023-05-10T23:23:25.010Z] 52dc419b0ee2: Pull complete [2023-05-10T23:23:25.269Z] 25bc292e5bac: Pull complete [2023-05-10T23:23:25.528Z] 114826534d7a: Verifying Checksum [2023-05-10T23:23:25.528Z] 114826534d7a: Download complete [2023-05-10T23:23:25.786Z] 8a3aa393b2d8: Verifying Checksum [2023-05-10T23:23:25.786Z] 8a3aa393b2d8: Download complete [2023-05-10T23:23:29.065Z] 114826534d7a: Pull complete [2023-05-10T23:23:29.065Z] 4657fd5d0bcf: Pull complete [2023-05-10T23:23:29.065Z] 6ad1cebc031e: Pull complete [2023-05-10T23:23:31.593Z] 8a3aa393b2d8: Pull complete [2023-05-10T23:23:31.593Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-10T23:23:31.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T23:23:31.593Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:31.675Z] prd-ubuntu20.04-docker-8c-8g-15119 does not seem to be running inside a container [2023-05-10T23:23:31.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-10T23:23:34.554Z] $ docker top 80599ca97ea8f5eb9fb326b13c9820582fdd5c262d5e5703bce461efd161c2d7 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-10T23:23:34.611Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-10T23:23:34.889Z] + set -o pipefail [2023-05-10T23:23:34.889Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-10T23:23:39.080Z] [2023-05-10T23:23:39.080Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-10T23:23:39.080Z] [2023-05-10T23:23:39.080Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/492bd1a1-986d-4758-a2bd-25fec59d3534 [2023-05-10T23:23:39.080Z] [2023-05-10T23:23:39.080Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-10T23:23:39.080Z] [2023-05-10T23:23:39.080Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-10T23:23:39.080Z] [2023-05-10T23:23:39.080Z] [2023-05-10T23:23:39.080Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-10T23:23:39.080Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-10T23:23:39.080Z] More details here: https://snyk.co/ue1NS [2023-05-10T23:23:39.080Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-10T23:23:39.080Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-10T23:23:39.098Z] $ docker stop --time=1 80599ca97ea8f5eb9fb326b13c9820582fdd5c262d5e5703bce461efd161c2d7 [2023-05-10T23:23:41.804Z] $ docker rm -f --volumes 80599ca97ea8f5eb9fb326b13c9820582fdd5c262d5e5703bce461efd161c2d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T23:23:42.458Z] + git log --format=format:%s -1 5189b6b75de2ff976af34f9037f44b6050849efe [Pipeline] sh [2023-05-10T23:23:42.747Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:23:42.747Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:43.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:23:43.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:43.117Z] prd-ubuntu20.04-docker-8c-8g-15119 does not seem to be running inside a container [2023-05-10T23:23:43.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T23:23:43.582Z] $ docker top d9570ae409f905ffebb737a58c41017eb78410b917debefd846b98d854fc8153 -eo pid,comm [2023-05-10T23:23:43.623Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-10T23:23:43.623Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:23:43.661Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:23:43.661Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:23:43.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:23:43.778Z] $ docker exec d9570ae409f905ffebb737a58c41017eb78410b917debefd846b98d854fc8153 ssh-agent [2023-05-10T23:23:43.882Z] SSH_AUTH_SOCK=/tmp/ssh-VfNBjv53gjPx/agent.32 [2023-05-10T23:23:43.882Z] SSH_AGENT_PID=38 [2023-05-10T23:23:43.887Z] Running ssh-add (command line suppressed) [2023-05-10T23:23:43.991Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7349383090639823190.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7349383090639823190.key) [2023-05-10T23:23:43.999Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:23:44.290Z] + git semver tag [2023-05-10T23:23:44.549Z] 2023-05-10 23:23:44,462 [run_tag] DEBUG tag force:False [2023-05-10T23:23:44.549Z] 2023-05-10 23:23:44,462 [check_head_tag] DEBUG check head tag [2023-05-10T23:23:44.549Z] 2023-05-10 23:23:44,464 [execute] INFO git cat-file --batch-check [2023-05-10T23:23:44.549Z] 2023-05-10 23:23:44,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T23:23:44.549Z] 2023-05-10 23:23:44,467 [execute] INFO git cat-file --batch [2023-05-10T23:23:44.549Z] 2023-05-10 23:23:44,468 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T23:23:44.549Z] 2023-05-10 23:23:44,488 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T23:23:44.549Z] 2023-05-10 23:23:44,488 [execute] INFO git tag -a v3.0.0-dev.39 -m v3.0.0-dev.39 [2023-05-10T23:23:44.549Z] 2023-05-10 23:23:44,489 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.39', '-m', 'v3.0.0-dev.39'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:23:44.549Z] 2023-05-10 23:23:44,493 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T23:23:44.549Z] 3.0.0-dev.39 [Pipeline] } [2023-05-10T23:23:44.566Z] $ docker exec --env ******** --env ******** d9570ae409f905ffebb737a58c41017eb78410b917debefd846b98d854fc8153 ssh-agent -k [2023-05-10T23:23:44.659Z] unset SSH_AUTH_SOCK; [2023-05-10T23:23:44.659Z] unset SSH_AGENT_PID; [2023-05-10T23:23:44.659Z] echo Agent pid 38 killed; [2023-05-10T23:23:44.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:23:44.958Z] + git semver [Pipeline] } [2023-05-10T23:23:45.236Z] $ docker stop --time=1 d9570ae409f905ffebb737a58c41017eb78410b917debefd846b98d854fc8153 [2023-05-10T23:23:46.537Z] $ docker rm -f --volumes d9570ae409f905ffebb737a58c41017eb78410b917debefd846b98d854fc8153 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:46.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T23:23:46.916Z] [2023-05-10T23:23:46.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:23:47.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T23:23:47.210Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-10T23:23:47.210Z] ab5ef0e58194: Pulling fs layer [2023-05-10T23:23:47.210Z] 9712f1f96733: Pulling fs layer [2023-05-10T23:23:47.210Z] 63f879dbbcfc: Pulling fs layer [2023-05-10T23:23:47.210Z] 0d9ebad4ef96: Pulling fs layer [2023-05-10T23:23:47.210Z] e9a5061849ea: Pulling fs layer [2023-05-10T23:23:47.210Z] d747dcd14b5f: Pulling fs layer [2023-05-10T23:23:47.210Z] 2de7ff778b66: Pulling fs layer [2023-05-10T23:23:47.210Z] 0d9ebad4ef96: Waiting [2023-05-10T23:23:47.210Z] e9a5061849ea: Waiting [2023-05-10T23:23:47.210Z] 2de7ff778b66: Waiting [2023-05-10T23:23:47.210Z] 9712f1f96733: Verifying Checksum [2023-05-10T23:23:47.210Z] 9712f1f96733: Download complete [2023-05-10T23:23:47.469Z] 63f879dbbcfc: Verifying Checksum [2023-05-10T23:23:47.469Z] 63f879dbbcfc: Download complete [2023-05-10T23:23:47.469Z] e9a5061849ea: Verifying Checksum [2023-05-10T23:23:47.469Z] e9a5061849ea: Download complete [2023-05-10T23:23:47.727Z] d747dcd14b5f: Download complete [2023-05-10T23:23:47.727Z] 0d9ebad4ef96: Verifying Checksum [2023-05-10T23:23:47.727Z] 0d9ebad4ef96: Download complete [2023-05-10T23:23:47.727Z] ab5ef0e58194: Verifying Checksum [2023-05-10T23:23:47.727Z] ab5ef0e58194: Download complete [2023-05-10T23:23:47.727Z] 2de7ff778b66: Verifying Checksum [2023-05-10T23:23:47.727Z] 2de7ff778b66: Download complete [2023-05-10T23:23:50.263Z] ab5ef0e58194: Pull complete [2023-05-10T23:23:50.521Z] 9712f1f96733: Pull complete [2023-05-10T23:23:51.086Z] 63f879dbbcfc: Pull complete [2023-05-10T23:23:55.268Z] 0d9ebad4ef96: Pull complete [2023-05-10T23:23:55.268Z] e9a5061849ea: Pull complete [2023-05-10T23:23:55.268Z] d747dcd14b5f: Pull complete [2023-05-10T23:23:56.205Z] 2de7ff778b66: Pull complete [2023-05-10T23:23:56.205Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-10T23:23:56.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T23:23:56.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:23:56.289Z] prd-ubuntu20.04-docker-8c-8g-15119 does not seem to be running inside a container [2023-05-10T23:23:56.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-10T23:23:59.752Z] $ docker top fb0700d7486cd8527900a0b74e1f2c256f27fe96393829ba41e33b9c58757c71 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:23:59.815Z] provisioning config files... [2023-05-10T23:23:59.822Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12868398517301523587tmp [2023-05-10T23:23:59.834Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5168213279734001781tmp [2023-05-10T23:23:59.843Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6918720006110695489tmp [Pipeline] { [Pipeline] echo [2023-05-10T23:23:59.858Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:24:00.139Z] ---> sigul-configuration.sh [2023-05-10T23:24:00.139Z] gpg: directory `/root/.gnupg' created [2023-05-10T23:24:00.139Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-10T23:24:00.139Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-10T23:24:00.139Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-10T23:24:00.139Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-10T23:24:00.139Z] gpg: CAST5 encrypted data [2023-05-10T23:24:00.139Z] gpg: encrypted with 1 passphrase [2023-05-10T23:24:00.139Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-10T23:24:00.426Z] + mkdir /home/jenkins [2023-05-10T23:24:00.426Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-10T23:24:00.713Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-05-10T23:24:00.722Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:24:01.007Z] ---> sigul-install.sh [2023-05-10T23:24:01.007Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-10T23:24:01.290Z] + git tag --list [2023-05-10T23:24:01.290Z] 0.7.1 [2023-05-10T23:24:01.290Z] v1.0.0 [2023-05-10T23:24:01.290Z] v1.1.0 [2023-05-10T23:24:01.290Z] v1.1.1 [2023-05-10T23:24:01.290Z] v1.2.2 [2023-05-10T23:24:01.290Z] v1.3.0 [2023-05-10T23:24:01.290Z] v1.3.1 [2023-05-10T23:24:01.290Z] v2.0.0 [2023-05-10T23:24:01.290Z] v2.1.0 [2023-05-10T23:24:01.290Z] v2.1.1 [2023-05-10T23:24:01.290Z] v2.1.1-dev.1 [2023-05-10T23:24:01.290Z] v2.1.1-dev.2 [2023-05-10T23:24:01.290Z] v2.1.1-dev.3 [2023-05-10T23:24:01.290Z] v2.2.0 [2023-05-10T23:24:01.290Z] v2.2.1-dev.1 [2023-05-10T23:24:01.290Z] v2.2.1-dev.2 [2023-05-10T23:24:01.290Z] v2.2.1-dev.3 [2023-05-10T23:24:01.290Z] v2.2.1-dev.4 [2023-05-10T23:24:01.290Z] v2.2.1-dev.5 [2023-05-10T23:24:01.290Z] v2.2.1-dev.6 [2023-05-10T23:24:01.290Z] v2.2.1-dev.7 [2023-05-10T23:24:01.290Z] v2.3.0 [2023-05-10T23:24:01.290Z] v2.3.0-dev.10 [2023-05-10T23:24:01.290Z] v2.3.0-dev.11 [2023-05-10T23:24:01.290Z] v2.3.0-dev.12 [2023-05-10T23:24:01.290Z] v2.3.0-dev.13 [2023-05-10T23:24:01.290Z] v2.3.0-dev.14 [2023-05-10T23:24:01.290Z] v2.3.0-dev.15 [2023-05-10T23:24:01.290Z] v2.3.0-dev.16 [2023-05-10T23:24:01.290Z] v2.3.0-dev.17 [2023-05-10T23:24:01.290Z] v2.3.0-dev.18 [2023-05-10T23:24:01.290Z] v2.3.0-dev.19 [2023-05-10T23:24:01.290Z] v2.3.0-dev.20 [2023-05-10T23:24:01.290Z] v2.3.0-dev.21 [2023-05-10T23:24:01.290Z] v2.3.0-dev.22 [2023-05-10T23:24:01.290Z] v2.3.0-dev.23 [2023-05-10T23:24:01.290Z] v2.3.0-dev.24 [2023-05-10T23:24:01.290Z] v2.3.0-dev.25 [2023-05-10T23:24:01.290Z] v2.3.0-dev.7 [2023-05-10T23:24:01.290Z] v2.3.0-dev.8 [2023-05-10T23:24:01.290Z] v2.3.0-dev.9 [2023-05-10T23:24:01.290Z] v3.0.0-dev.1 [2023-05-10T23:24:01.290Z] v3.0.0-dev.10 [2023-05-10T23:24:01.290Z] v3.0.0-dev.11 [2023-05-10T23:24:01.290Z] v3.0.0-dev.12 [2023-05-10T23:24:01.290Z] v3.0.0-dev.13 [2023-05-10T23:24:01.290Z] v3.0.0-dev.14 [2023-05-10T23:24:01.290Z] v3.0.0-dev.15 [2023-05-10T23:24:01.290Z] v3.0.0-dev.16 [2023-05-10T23:24:01.290Z] v3.0.0-dev.17 [2023-05-10T23:24:01.290Z] v3.0.0-dev.18 [2023-05-10T23:24:01.290Z] v3.0.0-dev.19 [2023-05-10T23:24:01.290Z] v3.0.0-dev.2 [2023-05-10T23:24:01.290Z] v3.0.0-dev.20 [2023-05-10T23:24:01.290Z] v3.0.0-dev.21 [2023-05-10T23:24:01.290Z] v3.0.0-dev.22 [2023-05-10T23:24:01.290Z] v3.0.0-dev.23 [2023-05-10T23:24:01.290Z] v3.0.0-dev.24 [2023-05-10T23:24:01.290Z] v3.0.0-dev.25 [2023-05-10T23:24:01.290Z] v3.0.0-dev.26 [2023-05-10T23:24:01.290Z] v3.0.0-dev.27 [2023-05-10T23:24:01.290Z] v3.0.0-dev.28 [2023-05-10T23:24:01.290Z] v3.0.0-dev.29 [2023-05-10T23:24:01.290Z] v3.0.0-dev.3 [2023-05-10T23:24:01.290Z] v3.0.0-dev.30 [2023-05-10T23:24:01.290Z] v3.0.0-dev.31 [2023-05-10T23:24:01.290Z] v3.0.0-dev.32 [2023-05-10T23:24:01.290Z] v3.0.0-dev.33 [2023-05-10T23:24:01.290Z] v3.0.0-dev.34 [2023-05-10T23:24:01.290Z] v3.0.0-dev.35 [2023-05-10T23:24:01.290Z] v3.0.0-dev.36 [2023-05-10T23:24:01.290Z] v3.0.0-dev.37 [2023-05-10T23:24:01.290Z] v3.0.0-dev.38 [2023-05-10T23:24:01.290Z] v3.0.0-dev.39 [2023-05-10T23:24:01.290Z] v3.0.0-dev.4 [2023-05-10T23:24:01.290Z] v3.0.0-dev.5 [2023-05-10T23:24:01.290Z] v3.0.0-dev.6 [2023-05-10T23:24:01.290Z] v3.0.0-dev.7 [2023-05-10T23:24:01.290Z] v3.0.0-dev.8 [2023-05-10T23:24:01.290Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-10T23:24:01.583Z] + lftools sign git-tag v3.0.0-dev.39 [2023-05-10T23:24:02.153Z] Signing Git tag with Sigul... [2023-05-10T23:24:02.153Z] Signing v3.0.0-dev.39 [Pipeline] echo [2023-05-10T23:24:02.420Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:24:02.703Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-10T23:24:02.711Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-10T23:24:02.734Z] $ docker stop --time=1 fb0700d7486cd8527900a0b74e1f2c256f27fe96393829ba41e33b9c58757c71 [2023-05-10T23:24:04.049Z] $ docker rm -f --volumes fb0700d7486cd8527900a0b74e1f2c256f27fe96393829ba41e33b9c58757c71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-10T23:24:04.445Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:24:04.446Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:24:04.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:24:04.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:24:04.813Z] prd-ubuntu20.04-docker-8c-8g-15119 does not seem to be running inside a container [2023-05-10T23:24:04.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T23:24:05.200Z] $ docker top 0720fee1056c3aaaf16df819b19c7f667b65580c57b7abd44c25c54c9696bef0 -eo pid,comm [2023-05-10T23:24:05.248Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-10T23:24:05.248Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:24:05.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:24:05.289Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:24:05.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:24:05.415Z] $ docker exec 0720fee1056c3aaaf16df819b19c7f667b65580c57b7abd44c25c54c9696bef0 ssh-agent [2023-05-10T23:24:05.531Z] SSH_AUTH_SOCK=/tmp/ssh-3Ty9idlflC5v/agent.33 [2023-05-10T23:24:05.531Z] SSH_AGENT_PID=39 [2023-05-10T23:24:05.536Z] Running ssh-add (command line suppressed) [2023-05-10T23:24:05.640Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6973748963219366633.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6973748963219366633.key) [2023-05-10T23:24:05.646Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:24:05.932Z] + git semver bump pre [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,109 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,109 [bump_version] DEBUG bumping version:3.0.0-dev.39 on axis:pre with prefix:dev [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,109 [bump_version] DEBUG bumped version:3.0.0-dev.40 [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,109 [write_version] DEBUG write version:3.0.0-dev.40 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,109 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,110 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,111 [execute] INFO git cat-file --batch-check [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,112 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,117 [execute] INFO git cat-file --batch [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,117 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T23:24:06.190Z] 2023-05-10 23:24:06,122 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T23:24:06.190Z] 3.0.0-dev.40 [Pipeline] } [2023-05-10T23:24:06.205Z] $ docker exec --env ******** --env ******** 0720fee1056c3aaaf16df819b19c7f667b65580c57b7abd44c25c54c9696bef0 ssh-agent -k [2023-05-10T23:24:06.312Z] unset SSH_AUTH_SOCK; [2023-05-10T23:24:06.313Z] unset SSH_AGENT_PID; [2023-05-10T23:24:06.313Z] echo Agent pid 39 killed; [2023-05-10T23:24:06.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:24:06.628Z] + git semver [Pipeline] } [2023-05-10T23:24:06.906Z] $ docker stop --time=1 0720fee1056c3aaaf16df819b19c7f667b65580c57b7abd44c25c54c9696bef0 [2023-05-10T23:24:08.194Z] $ docker rm -f --volumes 0720fee1056c3aaaf16df819b19c7f667b65580c57b7abd44c25c54c9696bef0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T23:24:08.537Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T23:24:08.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:24:08.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T23:24:08.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:24:08.910Z] prd-ubuntu20.04-docker-8c-8g-15119 does not seem to be running inside a container [2023-05-10T23:24:08.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-10T23:24:09.280Z] $ docker top 7dfd6c46b1f8abf3330541f1432f6c45a72bba9b0e43a0e3f39da8b466f67a1b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T23:24:09.367Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T23:24:09.367Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T23:24:09.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T23:24:09.488Z] $ docker exec 7dfd6c46b1f8abf3330541f1432f6c45a72bba9b0e43a0e3f39da8b466f67a1b ssh-agent [2023-05-10T23:24:09.597Z] SSH_AUTH_SOCK=/tmp/ssh-RtlgNF6neLoN/agent.32 [2023-05-10T23:24:09.597Z] SSH_AGENT_PID=38 [2023-05-10T23:24:09.603Z] Running ssh-add (command line suppressed) [2023-05-10T23:24:09.713Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14530125605546339648.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14530125605546339648.key) [2023-05-10T23:24:09.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T23:24:10.006Z] + git semver push [2023-05-10T23:24:10.266Z] 2023-05-10 23:24:10,197 [run_push] DEBUG push [2023-05-10T23:24:10.266Z] 2023-05-10 23:24:10,198 [execute] INFO git cat-file --batch-check [2023-05-10T23:24:10.266Z] 2023-05-10 23:24:10,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T23:24:10.266Z] 2023-05-10 23:24:10,203 [execute] INFO git rev-list fb2e813804f1c536e724be30801daaad5640528b -- [2023-05-10T23:24:10.266Z] 2023-05-10 23:24:10,203 [execute] DEBUG Popen(['git', 'rev-list', 'fb2e813804f1c536e724be30801daaad5640528b', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:24:10.266Z] 2023-05-10 23:24:10,213 [execute] INFO git fetch -v origin [2023-05-10T23:24:10.266Z] 2023-05-10 23:24:10,213 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-10T23:24:10.835Z] 2023-05-10 23:24:10,742 [run_push] DEBUG no remote changes detected [2023-05-10T23:24:10.835Z] 2023-05-10 23:24:10,742 [execute] INFO git push origin semver [2023-05-10T23:24:10.835Z] 2023-05-10 23:24:10,743 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:24:11.774Z] 2023-05-10 23:24:11,683 [run_push] DEBUG push all version tags [2023-05-10T23:24:11.774Z] 2023-05-10 23:24:11,684 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-10T23:24:11.774Z] 2023-05-10 23:24:11,684 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-10T23:24:12.713Z] 2023-05-10 23:24:12,455 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-10T23:24:12.714Z] 3.0.0-dev.40 [Pipeline] } [2023-05-10T23:24:12.731Z] $ docker exec --env ******** --env ******** 7dfd6c46b1f8abf3330541f1432f6c45a72bba9b0e43a0e3f39da8b466f67a1b ssh-agent -k [2023-05-10T23:24:12.822Z] unset SSH_AUTH_SOCK; [2023-05-10T23:24:12.822Z] unset SSH_AGENT_PID; [2023-05-10T23:24:12.822Z] echo Agent pid 38 killed; [2023-05-10T23:24:12.829Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T23:24:13.134Z] + git semver [Pipeline] } [2023-05-10T23:24:13.415Z] $ docker stop --time=1 7dfd6c46b1f8abf3330541f1432f6c45a72bba9b0e43a0e3f39da8b466f67a1b [2023-05-10T23:24:14.732Z] $ docker rm -f --volumes 7dfd6c46b1f8abf3330541f1432f6c45a72bba9b0e43a0e3f39da8b466f67a1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-10T23:24:15.313Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-10T23:24:15.313Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-10T23:24:15.313Z] total 16 [2023-05-10T23:24:15.313Z] drwxr-xr-x 3 root root 4096 May 10 23:15 . [2023-05-10T23:24:15.313Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 23:24 .. [2023-05-10T23:24:15.313Z] drwxr-xr-x 2 root root 4096 May 10 23:15 cost [2023-05-10T23:24:15.313Z] -rw-r--r-- 1 root root 88 May 10 23:15 cost.csv [2023-05-10T23:24:15.313Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-10T23:24:15.313Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-10T23:24:15.313Z] total 16 [2023-05-10T23:24:15.313Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:15 . [2023-05-10T23:24:15.313Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 23:24 .. [2023-05-10T23:24:15.313Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 23:15 cost [2023-05-10T23:24:15.313Z] -rw-r--r-- 1 jenkins jenkins 88 May 10 23:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:24:15.605Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:24:16.467Z] ---> package-listing.sh [2023-05-10T23:24:16.467Z] ++ facter osfamily [2023-05-10T23:24:16.467Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T23:24:16.728Z] + OS_FAMILY=debian [2023-05-10T23:24:16.728Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-10T23:24:16.728Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T23:24:16.728Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T23:24:16.728Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T23:24:16.728Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T23:24:16.728Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-10T23:24:16.728Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T23:24:16.728Z] + case "${OS_FAMILY}" in [2023-05-10T23:24:16.728Z] + dpkg -l [2023-05-10T23:24:16.728Z] + grep '^ii' [2023-05-10T23:24:16.728Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T23:24:16.728Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T23:24:16.728Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T23:24:16.728Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-10T23:24:16.728Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-10T23:24:16.728Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-05-10T23:24:16.740Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-10T23:24:17.019Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T23:24:17.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T23:24:17.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T23:24:17.658Z] prd-ubuntu20.04-docker-8c-8g-15119 does not seem to be running inside a container [2023-05-10T23:24:17.706Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T23:24:17.912Z] $ docker top 12eb225dae1e35c4467c3ba9052ac25149bf20ef016cf72eb97bc4d75d2b523e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T23:24:18.339Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T23:24:18.750Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T23:24:19.038Z] + ls /var/log/sa-host [2023-05-10T23:24:19.038Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T23:24:19.106Z] provisioning config files... [2023-05-10T23:24:19.114Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4632871257844733342tmp [Pipeline] { [Pipeline] echo [2023-05-10T23:24:19.132Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:24:19.412Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T23:24:19.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:24:19.739Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T23:24:19.748Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:24:20.032Z] ---> sudo-logs.sh [2023-05-10T23:24:20.032Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T23:24:20.062Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:24:20.346Z] ---> job-cost.sh [2023-05-10T23:24:20.346Z] lf-activate-venv: SKIPPING [2023-05-10T23:24:20.346Z] DEBUG: total: 0.2199999988079071 [2023-05-10T23:24:20.346Z] INFO: Retrieving Stack Cost... [2023-05-10T23:24:20.914Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T23:24:21.173Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T23:24:21.185Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T23:24:21.471Z] ---> logs-deploy.sh [2023-05-10T23:24:21.471Z] lf-activate-venv: SKIPPING [2023-05-10T23:24:21.471Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/105 [2023-05-10T23:24:21.471Z] INFO: archiving workspace using pattern(s): [2023-05-10T23:24:22.412Z] Archives upload complete. [2023-05-10T23:24:22.412Z] INFO: archiving logs to Nexus