Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cd73112b4be420f4cc6f08fe0448cd2914f416aa 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-ssh10386368949215447852.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-ssh11815864765113827330.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-ssh15697667437718167785.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-ssh14928732928809118162.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-ssh2038562915018412251.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 ‘prd-centos7-blackbox-4c-2g-12073’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-12074’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-13840’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-13838’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13843 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 cd73112b4be420f4cc6f08fe0448cd2914f416aa (main) Commit message: "Merge pull request #471 from jumpingliu/ignore-go-mods" > 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 cd73112b4be420f4cc6f08fe0448cd2914f416aa # timeout=10 > git rev-list --no-walk 54464c102ac0d16f572eda0a03f8ee766b26f00f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-05T06:08:19.533Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-05T06:08:19.596Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-05T06:08:19.612Z] ========================================================= [2023-05-05T06:08:19.612Z] EdgeX Global Pipelines Version Info [2023-05-05T06:08:19.612Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:08:20.330Z] ------------------- [2023-05-05T06:08:20.330Z] stable info: [2023-05-05T06:08:20.330Z] ------------------- [2023-05-05T06:08:20.330Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-05T06:08:20.330Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T06:08:20.330Z] Message: update stable to v1.0.249 [2023-05-05T06:08:20.900Z] ------------------- [2023-05-05T06:08:20.900Z] experimental info: [2023-05-05T06:08:20.900Z] ------------------- [2023-05-05T06:08:20.900Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-05T06:08:20.900Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T06:08:20.900Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-05T06:08:21.081Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-05T06:08:21.096Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-05T06:08:21.109Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-05T06:08:21.123Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-05T06:08:21.133Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-05T06:08:21.145Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-05T06:08:21.159Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-05T06:08:21.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-05T06:08:21.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-05T06:08:21.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-05T06:08:21.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-05T06:08:21.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-05T06:08:21.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-05T06:08:21.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-05T06:08:21.254Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T06:08:21.268Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T06:08:21.282Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T06:08:21.302Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T06:08:21.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-05T06:08:21.331Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-05T06:08:21.341Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-05T06:08:21.352Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-05T06:08:21.402Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-05T06:08:21.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-05T06:08:21.430Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-05T06:08:21.442Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-05T06:08:21.457Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-05T06:08:21.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-05T06:08:21.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-05T06:08:21.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-05T06:08:21.510Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] echo [2023-05-05T06:08:21.524Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd73112 [Pipeline] echo [2023-05-05T06:08:21.536Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:08:21.574Z] provisioning config files... [2023-05-05T06:08:21.586Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10379976375435878878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:08:21.888Z] ---> docker-login.sh [2023-05-05T06:08:21.888Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:08:22.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:22.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:22.147Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:22.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:22.147Z] [2023-05-05T06:08:22.147Z] Login Succeeded [2023-05-05T06:08:22.147Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:08:22.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:22.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:22.147Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:22.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:22.147Z] [2023-05-05T06:08:22.147Z] Login Succeeded [2023-05-05T06:08:22.147Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:08:22.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:22.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:22.406Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:22.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:22.406Z] [2023-05-05T06:08:22.406Z] Login Succeeded [2023-05-05T06:08:22.406Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:08:22.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:22.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:22.406Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:22.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:22.406Z] [2023-05-05T06:08:22.406Z] Login Succeeded [2023-05-05T06:08:22.406Z] docker.io [2023-05-05T06:08:22.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:22.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:22.666Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:22.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:22.666Z] [2023-05-05T06:08:22.666Z] Login Succeeded [2023-05-05T06:08:22.666Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:08:22.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-05T06:08:23.051Z] + git rev-list -1 --merges cd73112b4be420f4cc6f08fe0448cd2914f416aa~1..cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] echo [2023-05-05T06:08:23.101Z] -----------> git rev-list -1 --merges cd73112b4be420f4cc6f08fe0448cd2914f416aa~1..cd73112b4be420f4cc6f08fe0448cd2914f416aa cd73112b4be420f4cc6f08fe0448cd2914f416aa [2023-05-05T06:08:23.101Z] cd73112b4be420f4cc6f08fe0448cd2914f416aa [false] [Pipeline] sh [2023-05-05T06:08:23.394Z] + git log --format=format:%s -1 cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] echo [2023-05-05T06:08:23.408Z] ========================================================= [2023-05-05T06:08:23.408Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-05T06:08:23.408Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:08:23.744Z] + git log --format=format:%s -1 cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] echo [2023-05-05T06:08:23.755Z] [semverPrep] GIT_COMMIT: cd73112b4be420f4cc6f08fe0448cd2914f416aa, Commit Message: Merge pull request #471 from jumpingliu/ignore-go-mods [Pipeline] echo [2023-05-05T06:08:23.762Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-05T06:08:24.100Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:08:24.101Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-05T06:08:24.101Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-05T06:08:24.101Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-05T06:08:24.101Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-05T06:08:24.101Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-05T06:08:24.101Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:08:24.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:08:24.456Z] [2023-05-05T06:08:24.456Z] 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-05T06:08:24.765Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:08:24.765Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-05T06:08:24.765Z] b85a868b505f: Pulling fs layer [2023-05-05T06:08:24.765Z] e2be974225ed: Pulling fs layer [2023-05-05T06:08:24.765Z] 339a4e72a1f5: Pulling fs layer [2023-05-05T06:08:24.765Z] 988bab9f4d93: Pulling fs layer [2023-05-05T06:08:24.765Z] 1469e6f7b9e6: Pulling fs layer [2023-05-05T06:08:24.765Z] eaf3925da568: Pulling fs layer [2023-05-05T06:08:24.765Z] bab4dde63d76: Pulling fs layer [2023-05-05T06:08:24.765Z] bde34c3a00c8: Pulling fs layer [2023-05-05T06:08:24.765Z] b352a97aabf1: Pulling fs layer [2023-05-05T06:08:24.765Z] 4872d77fe225: Pulling fs layer [2023-05-05T06:08:24.765Z] 5851b861e8e6: Pulling fs layer [2023-05-05T06:08:24.765Z] bab4dde63d76: Waiting [2023-05-05T06:08:24.765Z] bde34c3a00c8: Waiting [2023-05-05T06:08:24.765Z] b352a97aabf1: Waiting [2023-05-05T06:08:24.765Z] 5851b861e8e6: Waiting [2023-05-05T06:08:24.765Z] eaf3925da568: Waiting [2023-05-05T06:08:24.765Z] 988bab9f4d93: Waiting [2023-05-05T06:08:24.765Z] e2be974225ed: Verifying Checksum [2023-05-05T06:08:24.765Z] e2be974225ed: Download complete [2023-05-05T06:08:24.765Z] 988bab9f4d93: Download complete [2023-05-05T06:08:24.765Z] 339a4e72a1f5: Verifying Checksum [2023-05-05T06:08:24.765Z] 339a4e72a1f5: Download complete [2023-05-05T06:08:24.765Z] 1469e6f7b9e6: Verifying Checksum [2023-05-05T06:08:24.765Z] 1469e6f7b9e6: Download complete [2023-05-05T06:08:25.024Z] eaf3925da568: Verifying Checksum [2023-05-05T06:08:25.024Z] eaf3925da568: Download complete [2023-05-05T06:08:25.024Z] bde34c3a00c8: Download complete [2023-05-05T06:08:25.024Z] b352a97aabf1: Verifying Checksum [2023-05-05T06:08:25.024Z] b352a97aabf1: Download complete [2023-05-05T06:08:25.024Z] 4872d77fe225: Verifying Checksum [2023-05-05T06:08:25.024Z] 4872d77fe225: Download complete [2023-05-05T06:08:25.024Z] 5851b861e8e6: Download complete [2023-05-05T06:08:25.024Z] b85a868b505f: Verifying Checksum [2023-05-05T06:08:25.024Z] b85a868b505f: Download complete [2023-05-05T06:08:25.282Z] bab4dde63d76: Verifying Checksum [2023-05-05T06:08:25.282Z] bab4dde63d76: Download complete [2023-05-05T06:08:26.217Z] b85a868b505f: Pull complete [2023-05-05T06:08:26.217Z] e2be974225ed: Pull complete [2023-05-05T06:08:26.790Z] 339a4e72a1f5: Pull complete [2023-05-05T06:08:26.790Z] 988bab9f4d93: Pull complete [2023-05-05T06:08:27.051Z] 1469e6f7b9e6: Pull complete [2023-05-05T06:08:27.313Z] eaf3925da568: Pull complete [2023-05-05T06:08:29.214Z] bab4dde63d76: Pull complete [2023-05-05T06:08:29.214Z] bde34c3a00c8: Pull complete [2023-05-05T06:08:29.214Z] b352a97aabf1: Pull complete [2023-05-05T06:08:29.214Z] 4872d77fe225: Pull complete [2023-05-05T06:08:29.214Z] 5851b861e8e6: Pull complete [2023-05-05T06:08:29.214Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-05T06:08:29.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:08:29.214Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:08:29.306Z] prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container [2023-05-05T06:08:29.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:08:30.564Z] $ docker top 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 -eo pid,comm [2023-05-05T06:08:30.624Z] 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-05T06:08:30.624Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:08:30.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:08:30.672Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:08:30.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:08:30.775Z] $ docker exec 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 ssh-agent [2023-05-05T06:08:30.892Z] SSH_AUTH_SOCK=/tmp/ssh-H6WmwNTnYUCE/agent.32 [2023-05-05T06:08:30.892Z] SSH_AGENT_PID=38 [2023-05-05T06:08:30.899Z] Running ssh-add (command line suppressed) [2023-05-05T06:08:30.988Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_276182228289243492.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_276182228289243492.key) [2023-05-05T06:08:31.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:08:31.292Z] + git tag --points-at HEAD [Pipeline] } [2023-05-05T06:08:31.304Z] $ docker exec --env ******** --env ******** 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 ssh-agent -k [2023-05-05T06:08:31.413Z] unset SSH_AUTH_SOCK; [2023-05-05T06:08:31.413Z] unset SSH_AGENT_PID; [2023-05-05T06:08:31.413Z] echo Agent pid 38 killed; [2023-05-05T06:08:31.431Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-05T06:08:31.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:08:31.501Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:08:31.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:08:31.600Z] $ docker exec 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 ssh-agent [2023-05-05T06:08:31.720Z] SSH_AUTH_SOCK=/tmp/ssh-tG0rkVAD97uE/agent.70 [2023-05-05T06:08:31.720Z] SSH_AGENT_PID=76 [2023-05-05T06:08:31.726Z] Running ssh-add (command line suppressed) [2023-05-05T06:08:31.825Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_292511999352006631.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_292511999352006631.key) [2023-05-05T06:08:31.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:08:32.125Z] + git semver init [2023-05-05T06:08:32.384Z] 2023-05-05 06:08:32,285 [run_init] DEBUG init version:0.0.0 force:False [2023-05-05T06:08:32.384Z] 2023-05-05 06:08:32,285 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-05T06:08:32.384Z] 2023-05-05 06:08:32,286 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-05T06:08:32.384Z] 2023-05-05 06:08:32,286 [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-05T06:08:33.321Z] 2023-05-05 06:08:33,020 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-05T06:08:33.321Z] 2023-05-05 06:08:33,021 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-05T06:08:33.321Z] 2023-05-05 06:08:33,021 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:08:33.321Z] 2023-05-05 06:08:33,021 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:08:33.321Z] 3.0.0-dev.33 [Pipeline] } [2023-05-05T06:08:33.326Z] $ docker exec --env ******** --env ******** 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 ssh-agent -k [2023-05-05T06:08:33.423Z] unset SSH_AUTH_SOCK; [2023-05-05T06:08:33.423Z] unset SSH_AGENT_PID; [2023-05-05T06:08:33.423Z] echo Agent pid 76 killed; [2023-05-05T06:08:33.437Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:08:33.740Z] + git semver [Pipeline] } [2023-05-05T06:08:34.009Z] $ docker stop --time=1 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 [2023-05-05T06:08:35.261Z] $ docker rm -f --volumes 48779335e4ad6cc35299d96ce9e4ed29a19cddb1c72b02b12cdfdf0d739248a8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:08:35.609Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-05T06:08:35.792Z] Stashed 1 file(s) [Pipeline] echo [2023-05-05T06:08:35.794Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.33 [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-05T06:08:35.910Z] provisioning config files... [2023-05-05T06:08:35.920Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10216751282523678455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:08:36.217Z] ---> docker-login.sh [2023-05-05T06:08:36.217Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:08:36.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:36.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:36.217Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:36.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:36.217Z] [2023-05-05T06:08:36.217Z] Login Succeeded [2023-05-05T06:08:36.217Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:08:36.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:36.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:36.217Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:36.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:36.218Z] [2023-05-05T06:08:36.218Z] Login Succeeded [2023-05-05T06:08:36.218Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:08:36.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:36.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:36.477Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:36.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:36.477Z] [2023-05-05T06:08:36.477Z] Login Succeeded [2023-05-05T06:08:36.477Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:08:36.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:36.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:36.477Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:36.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:36.477Z] [2023-05-05T06:08:36.477Z] Login Succeeded [2023-05-05T06:08:36.477Z] docker.io [2023-05-05T06:08:36.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:36.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:36.737Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:36.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:36.737Z] [2023-05-05T06:08:36.737Z] Login Succeeded [2023-05-05T06:08:36.737Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:08:36.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T06:08:36.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:08:36.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:08:36.842Z] ========================================================= [2023-05-05T06:08:36.842Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-05T06:08:36.842Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:08:37.154Z] + 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-05T06:08:37.154Z] Sending build context to Docker daemon 6.461MB [2023-05-05T06:08:37.154Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:08:37.154Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-05T06:08:37.154Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-05T06:08:37.154Z] f56be85fc22e: Pulling fs layer [2023-05-05T06:08:37.154Z] 85791d961cd3: Pulling fs layer [2023-05-05T06:08:37.154Z] d694b5ae8c79: Pulling fs layer [2023-05-05T06:08:37.154Z] 9f32a84ed3da: Pulling fs layer [2023-05-05T06:08:37.154Z] 4d19c01a9841: Pulling fs layer [2023-05-05T06:08:37.154Z] 9325e15d5711: Pulling fs layer [2023-05-05T06:08:37.154Z] 556b6ee489ea: Pulling fs layer [2023-05-05T06:08:37.154Z] c5a4b2cf53e6: Pulling fs layer [2023-05-05T06:08:37.154Z] 9f32a84ed3da: Waiting [2023-05-05T06:08:37.154Z] 4d19c01a9841: Waiting [2023-05-05T06:08:37.154Z] 9325e15d5711: Waiting [2023-05-05T06:08:37.154Z] 556b6ee489ea: Waiting [2023-05-05T06:08:37.154Z] c5a4b2cf53e6: Waiting [2023-05-05T06:08:37.154Z] 85791d961cd3: Download complete [2023-05-05T06:08:37.154Z] 9f32a84ed3da: Verifying Checksum [2023-05-05T06:08:37.154Z] 9f32a84ed3da: Download complete [2023-05-05T06:08:37.154Z] 4d19c01a9841: Download complete [2023-05-05T06:08:37.154Z] f56be85fc22e: Download complete [2023-05-05T06:08:37.415Z] 9325e15d5711: Verifying Checksum [2023-05-05T06:08:37.415Z] 9325e15d5711: Download complete [2023-05-05T06:08:37.415Z] f56be85fc22e: Pull complete [2023-05-05T06:08:37.675Z] 85791d961cd3: Pull complete [2023-05-05T06:08:37.675Z] c5a4b2cf53e6: Verifying Checksum [2023-05-05T06:08:37.675Z] c5a4b2cf53e6: Download complete [2023-05-05T06:08:37.933Z] d694b5ae8c79: Verifying Checksum [2023-05-05T06:08:37.933Z] d694b5ae8c79: Download complete [2023-05-05T06:08:37.933Z] 556b6ee489ea: Verifying Checksum [2023-05-05T06:08:37.933Z] 556b6ee489ea: Download complete [2023-05-05T06:08:41.223Z] d694b5ae8c79: Pull complete [2023-05-05T06:08:41.223Z] 9f32a84ed3da: Pull complete [2023-05-05T06:08:41.223Z] 4d19c01a9841: Pull complete [2023-05-05T06:08:41.481Z] 9325e15d5711: Pull complete [2023-05-05T06:08:44.018Z] 556b6ee489ea: Pull complete [2023-05-05T06:08:44.585Z] c5a4b2cf53e6: Pull complete [2023-05-05T06:08:44.585Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-05T06:08:44.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-05T06:08:44.585Z] ---> c4be618373d6 [2023-05-05T06:08:44.585Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:08:46.498Z] ---> Running in e28ed063de3e [2023-05-05T06:08:46.498Z] Removing intermediate container e28ed063de3e [2023-05-05T06:08:46.498Z] ---> a1d9876fcf72 [2023-05-05T06:08:46.498Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:08:46.757Z] ---> Running in ee9540dec784 [2023-05-05T06:08:46.757Z] Removing intermediate container ee9540dec784 [2023-05-05T06:08:46.757Z] ---> 0ac813229ae4 [2023-05-05T06:08:46.757Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-05T06:08:47.015Z] ---> Running in acee17b9a494 [2023-05-05T06:08:47.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:08:47.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:08:47.534Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T06:08:47.534Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-05T06:08:47.534Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T06:08:47.534Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T06:08:47.534Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-05T06:08:47.534Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-05T06:08:47.534Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-05T06:08:47.534Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-05T06:08:47.534Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:08:47.534Z] OK: 270 MiB in 61 packages [2023-05-05T06:08:48.101Z] Removing intermediate container acee17b9a494 [2023-05-05T06:08:48.101Z] ---> 1ca1d21d6899 [2023-05-05T06:08:48.101Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-05T06:08:48.101Z] ---> Running in 0899a9661688 [2023-05-05T06:08:48.101Z] Removing intermediate container 0899a9661688 [2023-05-05T06:08:48.101Z] ---> 7c0acc1e7967 [2023-05-05T06:08:48.101Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-05T06:08:48.360Z] ---> 430b45e48acb [2023-05-05T06:08:48.360Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:08:48.360Z] ---> Running in 8d6f0f9042e2 [2023-05-05T06:08:50.875Z] Still waiting to schedule task [2023-05-05T06:08:50.875Z] ‘prd-centos7-blackbox-4c-2g-12073’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-05T06:08:50.875Z] ‘prd-centos7-blackbox-4c-2g-12074’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-05T06:08:50.875Z] ‘prd-centos7-builder-2c-1g-13836’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-05T06:08:50.875Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-13844’ is offline [2023-05-05T06:09:06.450Z] Removing intermediate container 8d6f0f9042e2 [2023-05-05T06:09:06.451Z] ---> 226dac768944 [2023-05-05T06:09:06.451Z] Step 9/10 : COPY . . [2023-05-05T06:09:06.451Z] ---> 3606a9c8e0ca [2023-05-05T06:09:06.451Z] Step 10/10 : RUN ${MAKE} [2023-05-05T06:09:06.451Z] ---> Running in 9cd6def0cb23 [2023-05-05T06:09:06.710Z] noop [2023-05-05T06:09:06.981Z] Removing intermediate container 9cd6def0cb23 [2023-05-05T06:09:06.981Z] ---> 8f7d90c281c4 [2023-05-05T06:09:06.981Z] Successfully built 8f7d90c281c4 [2023-05-05T06:09:06.981Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:09:07.285Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T06:09:07.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:09:07.354Z] prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container [2023-05-05T06:09:07.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T06:09:08.447Z] $ docker top 9949f7b200afd51540d24636564c3f264766315a4a1690e6388fa88a6f7ef383 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:09:08.789Z] + go version [2023-05-05T06:09:08.789Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-05T06:09:08.804Z] $ docker stop --time=1 9949f7b200afd51540d24636564c3f264766315a4a1690e6388fa88a6f7ef383 [2023-05-05T06:09:10.249Z] $ docker rm -f --volumes 9949f7b200afd51540d24636564c3f264766315a4a1690e6388fa88a6f7ef383 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:09:10.658Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T06:09:10.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:09:10.727Z] prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container [2023-05-05T06:09:10.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T06:09:11.210Z] $ docker top 0068e822b7d71f048d2257e812facfdb1b8ceedcb72d2e1f5aeeca5d5352536d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:09:11.549Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-05T06:09:11.844Z] + make test [2023-05-05T06:09:11.844Z] go test ./... -coverprofile=coverage.out [2023-05-05T06:09:17.106Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-05T06:09:27.092Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-05T06:09:27.092Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.4% of statements [2023-05-05T06:09:33.853Z] go vet ./... [2023-05-05T06:09:37.135Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T06:09:37.135Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T06:09:37.135Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T06:09:37.148Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T06:09:37.168Z] $ docker stop --time=1 0068e822b7d71f048d2257e812facfdb1b8ceedcb72d2e1f5aeeca5d5352536d [2023-05-05T06:09:38.936Z] $ docker rm -f --volumes 0068e822b7d71f048d2257e812facfdb1b8ceedcb72d2e1f5aeeca5d5352536d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:09:39.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T06:09:39.435Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-05T06:09:39.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T06:09:40.168Z] + ls -al . [2023-05-05T06:09:40.168Z] total 180 [2023-05-05T06:09:40.168Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:09 . [2023-05-05T06:09:40.168Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:08 .. [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 140 May 5 06:08 .dockerignore [2023-05-05T06:09:40.168Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:08 .git [2023-05-05T06:09:40.168Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:08 .github [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 331 May 5 06:08 .gitignore [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:08 .golangci.yml [2023-05-05T06:09:40.168Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:08 .semver [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 5 06:08 Attribution.txt [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 5 06:08 CHANGELOG.md [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 5 06:08 Dockerfile [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:08 GOVERNANCE.md [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 06:08 Jenkinsfile [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:08 LICENSE [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 5 06:08 Makefile [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 622 May 5 06:08 OWNERS.md [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 5 06:08 README.md [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:08 VERSION [2023-05-05T06:09:40.168Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:08 bin [2023-05-05T06:09:40.168Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:08 cmd [2023-05-05T06:09:40.168Z] -rw-r--r-- 1 jenkins jenkins 24160 May 5 06:09 coverage.out [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 5 06:08 go.mod [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 5 06:08 go.sum [2023-05-05T06:09:40.168Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:08 internal [2023-05-05T06:09:40.168Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:08 simulator [2023-05-05T06:09:40.168Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:08 snap [2023-05-05T06:09:40.168Z] -rw-rw-r-- 1 jenkins jenkins 229 May 5 06:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:09:40.530Z] + 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=cd73112b4be420f4cc6f08fe0448cd2914f416aa --label arch=amd64 --label version=3.0.0-dev.33 . [2023-05-05T06:09:40.530Z] Sending build context to Docker daemon 6.487MB [2023-05-05T06:09:40.530Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:09:40.530Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-05T06:09:40.530Z] ---> 8f7d90c281c4 [2023-05-05T06:09:40.530Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:09:40.530Z] ---> Running in 81f7d1adde1e [2023-05-05T06:09:40.530Z] Removing intermediate container 81f7d1adde1e [2023-05-05T06:09:40.530Z] ---> f0e9e1cf857b [2023-05-05T06:09:40.530Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:09:40.530Z] ---> Running in 2ee4872e166a [2023-05-05T06:09:40.800Z] Removing intermediate container 2ee4872e166a [2023-05-05T06:09:40.800Z] ---> e59dcf878156 [2023-05-05T06:09:40.800Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-05T06:09:40.800Z] ---> Running in 7fafc827e079 [2023-05-05T06:09:41.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:09:41.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:09:41.359Z] OK: 270 MiB in 61 packages [2023-05-05T06:09:41.636Z] Removing intermediate container 7fafc827e079 [2023-05-05T06:09:41.636Z] ---> 0c883a807ec8 [2023-05-05T06:09:41.636Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-05T06:09:41.636Z] ---> Running in d09266a8bf30 [2023-05-05T06:09:41.636Z] Removing intermediate container d09266a8bf30 [2023-05-05T06:09:41.636Z] ---> e2bcdc888db3 [2023-05-05T06:09:41.636Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-05T06:09:41.894Z] ---> c97a18d57a2a [2023-05-05T06:09:41.894Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:09:41.894Z] ---> Running in 28afc535651d [2023-05-05T06:09:42.461Z] Removing intermediate container 28afc535651d [2023-05-05T06:09:42.461Z] ---> 23ed0842d843 [2023-05-05T06:09:42.461Z] Step 9/22 : COPY . . [2023-05-05T06:09:42.720Z] ---> 6bd90d633b98 [2023-05-05T06:09:42.720Z] Step 10/22 : RUN ${MAKE} [2023-05-05T06:09:42.977Z] ---> Running in 09d56fa079c5 [2023-05-05T06:09:43.237Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.33" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-05T06:10:01.328Z] Removing intermediate container 09d56fa079c5 [2023-05-05T06:10:01.328Z] ---> ef0751df3696 [2023-05-05T06:10:01.328Z] Step 11/22 : FROM alpine:3.17 [2023-05-05T06:10:01.328Z] 3.17: Pulling from library/alpine [2023-05-05T06:10:01.328Z] f56be85fc22e: Already exists [2023-05-05T06:10:01.328Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T06:10:01.328Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T06:10:01.328Z] ---> 9ed4aefc74f6 [2023-05-05T06:10:01.328Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-05T06:10:01.328Z] ---> Running in 9c2bbdd17c7b [2023-05-05T06:10:01.328Z] Removing intermediate container 9c2bbdd17c7b [2023-05-05T06:10:01.328Z] ---> f472eb443e3d [2023-05-05T06:10:01.328Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-05T06:10:01.328Z] ---> Running in 8897c924c2be [2023-05-05T06:10:01.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:10:01.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:10:01.844Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T06:10:01.844Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:10:01.844Z] OK: 7 MiB in 16 packages [2023-05-05T06:10:02.102Z] Removing intermediate container 8897c924c2be [2023-05-05T06:10:02.102Z] ---> 88e27d4e6a13 [2023-05-05T06:10:02.102Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-05T06:10:02.668Z] ---> 3624868baa9d [2023-05-05T06:10:02.668Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-05T06:10:02.668Z] ---> d35347554e31 [2023-05-05T06:10:02.668Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-05T06:10:02.668Z] ---> 6c7c0279b484 [2023-05-05T06:10:02.668Z] Step 17/22 : EXPOSE 59901 [2023-05-05T06:10:02.927Z] ---> Running in aedce5b6d29a [2023-05-05T06:10:02.927Z] Removing intermediate container aedce5b6d29a [2023-05-05T06:10:02.927Z] ---> 9ae0c27de440 [2023-05-05T06:10:02.927Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-05T06:10:02.927Z] ---> Running in e246391b5d53 [2023-05-05T06:10:02.927Z] Removing intermediate container e246391b5d53 [2023-05-05T06:10:02.927Z] ---> 2287ff92d376 [2023-05-05T06:10:02.927Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-05T06:10:02.927Z] ---> Running in 88bed9eb06d2 [2023-05-05T06:10:03.187Z] Removing intermediate container 88bed9eb06d2 [2023-05-05T06:10:03.187Z] ---> 6a48a000ac7e [2023-05-05T06:10:03.187Z] Step 20/22 : LABEL arch=amd64 [2023-05-05T06:10:03.187Z] ---> Running in bc3ab7b104c5 [2023-05-05T06:10:03.187Z] Removing intermediate container bc3ab7b104c5 [2023-05-05T06:10:03.187Z] ---> 163cee469106 [2023-05-05T06:10:03.187Z] Step 21/22 : LABEL git_sha=cd73112b4be420f4cc6f08fe0448cd2914f416aa [2023-05-05T06:10:03.187Z] ---> Running in 283e05e8590f [2023-05-05T06:10:03.187Z] Removing intermediate container 283e05e8590f [2023-05-05T06:10:03.187Z] ---> fecd4526ea62 [2023-05-05T06:10:03.187Z] Step 22/22 : LABEL version=3.0.0-dev.33 [2023-05-05T06:10:03.187Z] ---> Running in 7cad16ea9196 [2023-05-05T06:10:03.444Z] Removing intermediate container 7cad16ea9196 [2023-05-05T06:10:03.444Z] ---> 7f97befb8df7 [2023-05-05T06:10:03.444Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T06:10:03.444Z] Successfully built 7f97befb8df7 [2023-05-05T06:10:03.444Z] 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-05T06:10:03.544Z] provisioning config files... [2023-05-05T06:10:03.551Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7319591927688118466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:10:03.844Z] ---> docker-login.sh [2023-05-05T06:10:03.844Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:10:03.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:10:03.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:10:03.844Z] Configure a credential helper to remove this warning. See [2023-05-05T06:10:03.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:10:03.844Z] [2023-05-05T06:10:03.844Z] Login Succeeded [2023-05-05T06:10:03.844Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:10:03.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:10:03.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:10:03.844Z] Configure a credential helper to remove this warning. See [2023-05-05T06:10:03.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:10:03.844Z] [2023-05-05T06:10:03.844Z] Login Succeeded [2023-05-05T06:10:03.844Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:10:04.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:10:04.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:10:04.104Z] Configure a credential helper to remove this warning. See [2023-05-05T06:10:04.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:10:04.104Z] [2023-05-05T06:10:04.104Z] Login Succeeded [2023-05-05T06:10:04.104Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:10:04.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:10:04.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:10:04.104Z] Configure a credential helper to remove this warning. See [2023-05-05T06:10:04.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:10:04.104Z] [2023-05-05T06:10:04.104Z] Login Succeeded [2023-05-05T06:10:04.104Z] docker.io [2023-05-05T06:10:04.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:10:04.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:10:04.363Z] Configure a credential helper to remove this warning. See [2023-05-05T06:10:04.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:10:04.363Z] [2023-05-05T06:10:04.363Z] Login Succeeded [2023-05-05T06:10:04.363Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:10:04.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:10:04.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:10:04.418Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-05T06:10:04.418Z] cd73112b4be420f4cc6f08fe0448cd2914f416aa [2023-05-05T06:10:04.418Z] latest [2023-05-05T06:10:04.418Z] 3.0.0-dev.33 [2023-05-05T06:10:04.418Z] cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 [2023-05-05T06:10:04.418Z] main [2023-05-05T06:10:04.418Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:04.742Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:05.087Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa [2023-05-05T06:10:05.087Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-05T06:10:05.087Z] 7133aff93a44: Preparing [2023-05-05T06:10:05.087Z] 752d887ab6bf: Preparing [2023-05-05T06:10:05.087Z] c2da0d3ff6de: Preparing [2023-05-05T06:10:05.087Z] e91118a29423: Preparing [2023-05-05T06:10:05.087Z] f1417ff83b31: Preparing [2023-05-05T06:10:05.087Z] f1417ff83b31: Layer already exists [2023-05-05T06:10:05.087Z] 7133aff93a44: Pushed [2023-05-05T06:10:05.087Z] e91118a29423: Pushed [2023-05-05T06:10:05.087Z] 752d887ab6bf: Pushed [2023-05-05T06:10:07.623Z] c2da0d3ff6de: Pushed [2023-05-05T06:10:07.623Z] cd73112b4be420f4cc6f08fe0448cd2914f416aa: digest: sha256:46c02c31f01e4cd9285ac350b5faf24b7cde603b04692405d95b509e88983b60 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:07.933Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:08.241Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-05T06:10:08.241Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-05T06:10:08.241Z] 7133aff93a44: Preparing [2023-05-05T06:10:08.241Z] 752d887ab6bf: Preparing [2023-05-05T06:10:08.241Z] c2da0d3ff6de: Preparing [2023-05-05T06:10:08.241Z] e91118a29423: Preparing [2023-05-05T06:10:08.241Z] f1417ff83b31: Preparing [2023-05-05T06:10:08.241Z] c2da0d3ff6de: Layer already exists [2023-05-05T06:10:08.241Z] f1417ff83b31: Layer already exists [2023-05-05T06:10:08.241Z] 7133aff93a44: Layer already exists [2023-05-05T06:10:08.241Z] e91118a29423: Layer already exists [2023-05-05T06:10:08.241Z] 752d887ab6bf: Layer already exists [2023-05-05T06:10:08.241Z] latest: digest: sha256:46c02c31f01e4cd9285ac350b5faf24b7cde603b04692405d95b509e88983b60 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:08.558Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:08.861Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.33 [2023-05-05T06:10:08.861Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-05T06:10:08.861Z] 7133aff93a44: Preparing [2023-05-05T06:10:08.861Z] 752d887ab6bf: Preparing [2023-05-05T06:10:08.861Z] c2da0d3ff6de: Preparing [2023-05-05T06:10:08.861Z] e91118a29423: Preparing [2023-05-05T06:10:08.861Z] f1417ff83b31: Preparing [2023-05-05T06:10:08.861Z] f1417ff83b31: Layer already exists [2023-05-05T06:10:08.861Z] c2da0d3ff6de: Layer already exists [2023-05-05T06:10:08.861Z] 7133aff93a44: Layer already exists [2023-05-05T06:10:08.861Z] e91118a29423: Layer already exists [2023-05-05T06:10:08.861Z] 752d887ab6bf: Layer already exists [2023-05-05T06:10:08.861Z] 3.0.0-dev.33: digest: sha256:46c02c31f01e4cd9285ac350b5faf24b7cde603b04692405d95b509e88983b60 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:09.178Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:09.492Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 [2023-05-05T06:10:09.492Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-05T06:10:09.492Z] 7133aff93a44: Preparing [2023-05-05T06:10:09.492Z] 752d887ab6bf: Preparing [2023-05-05T06:10:09.492Z] c2da0d3ff6de: Preparing [2023-05-05T06:10:09.492Z] e91118a29423: Preparing [2023-05-05T06:10:09.492Z] f1417ff83b31: Preparing [2023-05-05T06:10:09.492Z] f1417ff83b31: Layer already exists [2023-05-05T06:10:09.492Z] 7133aff93a44: Layer already exists [2023-05-05T06:10:09.492Z] e91118a29423: Layer already exists [2023-05-05T06:10:09.492Z] 752d887ab6bf: Layer already exists [2023-05-05T06:10:09.492Z] c2da0d3ff6de: Layer already exists [2023-05-05T06:10:09.492Z] cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33: digest: sha256:46c02c31f01e4cd9285ac350b5faf24b7cde603b04692405d95b509e88983b60 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:09.808Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:10.110Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-05T06:10:10.111Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-05T06:10:10.111Z] 7133aff93a44: Preparing [2023-05-05T06:10:10.111Z] 752d887ab6bf: Preparing [2023-05-05T06:10:10.111Z] c2da0d3ff6de: Preparing [2023-05-05T06:10:10.111Z] e91118a29423: Preparing [2023-05-05T06:10:10.111Z] f1417ff83b31: Preparing [2023-05-05T06:10:10.111Z] c2da0d3ff6de: Layer already exists [2023-05-05T06:10:10.111Z] e91118a29423: Layer already exists [2023-05-05T06:10:10.111Z] 752d887ab6bf: Layer already exists [2023-05-05T06:10:10.111Z] 7133aff93a44: Layer already exists [2023-05-05T06:10:10.111Z] f1417ff83b31: Layer already exists [2023-05-05T06:10:10.111Z] main: digest: sha256:46c02c31f01e4cd9285ac350b5faf24b7cde603b04692405d95b509e88983b60 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:10:10.147Z] ===================================================== [Pipeline] echo [2023-05-05T06:10:10.153Z] taggedImages: [2023-05-05T06:10:10.153Z] - nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa [2023-05-05T06:10:10.153Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-05T06:10:10.153Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.33 [2023-05-05T06:10:10.153Z] - nexus3.edgexfoundry.org:10004/device-modbus:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 [2023-05-05T06:10:10.153Z] - 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-05T06:10:10.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:10:10.507Z] [2023-05-05T06:10:10.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:10:10.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:10:10.807Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-05T06:10:10.807Z] 5eb5b503b376: Pulling fs layer [2023-05-05T06:10:10.807Z] 5c69ac0246d0: Pulling fs layer [2023-05-05T06:10:10.807Z] ec43610c2a17: Pulling fs layer [2023-05-05T06:10:10.807Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-05T06:10:10.807Z] 33b1e0a273af: Pulling fs layer [2023-05-05T06:10:10.807Z] 5d3b04190fa2: Pulling fs layer [2023-05-05T06:10:10.807Z] 2f39f015ded8: Pulling fs layer [2023-05-05T06:10:10.807Z] 3a2ae6a8a46f: Waiting [2023-05-05T06:10:10.807Z] 33b1e0a273af: Waiting [2023-05-05T06:10:10.807Z] 5d3b04190fa2: Waiting [2023-05-05T06:10:10.807Z] 2f39f015ded8: Waiting [2023-05-05T06:10:10.807Z] 5c69ac0246d0: Download complete [2023-05-05T06:10:10.807Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-05T06:10:10.807Z] 3a2ae6a8a46f: Download complete [2023-05-05T06:10:10.807Z] 33b1e0a273af: Verifying Checksum [2023-05-05T06:10:10.807Z] 33b1e0a273af: Download complete [2023-05-05T06:10:10.807Z] ec43610c2a17: Verifying Checksum [2023-05-05T06:10:10.807Z] ec43610c2a17: Download complete [2023-05-05T06:10:10.807Z] 5d3b04190fa2: Verifying Checksum [2023-05-05T06:10:10.807Z] 5d3b04190fa2: Download complete [2023-05-05T06:10:11.065Z] 5eb5b503b376: Download complete [2023-05-05T06:10:11.630Z] 2f39f015ded8: Download complete [2023-05-05T06:10:12.195Z] 5eb5b503b376: Pull complete [2023-05-05T06:10:12.195Z] 5c69ac0246d0: Pull complete [2023-05-05T06:10:12.761Z] ec43610c2a17: Pull complete [2023-05-05T06:10:12.761Z] 3a2ae6a8a46f: Pull complete [2023-05-05T06:10:13.019Z] 33b1e0a273af: Pull complete [2023-05-05T06:10:13.019Z] 5d3b04190fa2: Pull complete [2023-05-05T06:10:17.198Z] 2f39f015ded8: Pull complete [2023-05-05T06:10:17.198Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-05T06:10:17.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:10:17.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:10:17.285Z] prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container [2023-05-05T06:10:17.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T06:10:18.424Z] $ docker top eacc6e0326edab469886a893da2ad422f092d74b6d5ef7e21e7d3ce04d063991 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:10:18.788Z] ---> job-cost.sh [2023-05-05T06:10:18.788Z] lf-activate-venv: SKIPPING [2023-05-05T06:10:18.788Z] INFO: No Stack... [2023-05-05T06:10:19.358Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T06:10:19.617Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T06:10:19.907Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-05T06:10:19.907Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T06:10:19.921Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] [2023-05-05T06:10:19.931Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] did not exist. Created. [2023-05-05T06:10:19.932Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T06:10:20.235Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-05T06:10:20.261Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T06:10:20.267Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T06:10:20.287Z] $ docker stop --time=1 eacc6e0326edab469886a893da2ad422f092d74b6d5ef7e21e7d3ce04d063991 [2023-05-05T06:10:21.451Z] $ docker rm -f --volumes eacc6e0326edab469886a893da2ad422f092d74b6d5ef7e21e7d3ce04d063991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T06:11:37.944Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13848 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-05T06:11:37.957Z] Running in /w/workspace/device-modbus-go/99 [Pipeline] { [Pipeline] checkout [2023-05-05T06:11:37.997Z] Selected Git installation does not exist. Using Default [2023-05-05T06:11:37.997Z] The recommended git tool is: NONE [2023-05-05T06:11:45.617Z] using credential edgex-jenkins-ssh [2023-05-05T06:11:45.650Z] Cloning the remote Git repository [2023-05-05T06:11:45.753Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-05T06:11:45.905Z] > git init /w/workspace/device-modbus-go/99 # timeout=10 [2023-05-05T06:11:46.152Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-05T06:11:46.154Z] > git --version # timeout=10 [2023-05-05T06:11:46.181Z] > git --version # 'git version 2.25.1' [2023-05-05T06:11:46.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T06:11:46.418Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T06:11:47.775Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-05T06:11:47.806Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T06:11:49.108Z] Avoid second fetch [2023-05-05T06:11:49.109Z] Checking out Revision cd73112b4be420f4cc6f08fe0448cd2914f416aa (main) [2023-05-05T06:11:49.134Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T06:11:49.231Z] > git checkout -f cd73112b4be420f4cc6f08fe0448cd2914f416aa # timeout=10 [2023-05-05T06:11:49.982Z] Commit message: "Merge pull request #471 from jumpingliu/ignore-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:11:50.984Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-05T06:11:50.984Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T06:11:50.984Z] Dload Upload Total Spent Left Speed [2023-05-05T06:11:50.984Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh [2023-05-05T06:11:51.688Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-05T06:11:52.078Z] + sudo tee /etc/docker/daemon.new [2023-05-05T06:11:52.078Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-05T06:11:52.078Z] { [2023-05-05T06:11:52.078Z] "registry-mirrors": [ [2023-05-05T06:11:52.078Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-05T06:11:52.078Z] ], [2023-05-05T06:11:52.078Z] "bip": "10.250.0.254/24", [2023-05-05T06:11:52.078Z] "hosts": [ [2023-05-05T06:11:52.078Z] "tcp://0.0.0.0:5555", [2023-05-05T06:11:52.078Z] "unix:///var/run/docker.sock" [2023-05-05T06:11:52.078Z] ], [2023-05-05T06:11:52.078Z] "mtu": 1458, [2023-05-05T06:11:52.078Z] "selinux-enabled": true, [2023-05-05T06:11:52.078Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-05T06:11:52.078Z] } [Pipeline] sh [2023-05-05T06:11:52.461Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-05T06:11:52.830Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:12:11.244Z] provisioning config files... [2023-05-05T06:12:11.284Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/99@tmp/config1584236111167767611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:12:11.680Z] ---> docker-login.sh [2023-05-05T06:12:11.680Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:12:12.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:12:12.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:12:12.571Z] Configure a credential helper to remove this warning. See [2023-05-05T06:12:12.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:12:12.571Z] [2023-05-05T06:12:12.571Z] Login Succeeded [2023-05-05T06:12:12.571Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:12:12.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:12:12.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:12:12.847Z] Configure a credential helper to remove this warning. See [2023-05-05T06:12:12.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:12:12.847Z] [2023-05-05T06:12:12.847Z] Login Succeeded [2023-05-05T06:12:12.847Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:12:13.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:12:13.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:12:13.452Z] Configure a credential helper to remove this warning. See [2023-05-05T06:12:13.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:12:13.452Z] [2023-05-05T06:12:13.452Z] Login Succeeded [2023-05-05T06:12:13.452Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:12:13.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:12:14.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:12:14.004Z] Configure a credential helper to remove this warning. See [2023-05-05T06:12:14.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:12:14.004Z] [2023-05-05T06:12:14.004Z] Login Succeeded [2023-05-05T06:12:14.004Z] docker.io [2023-05-05T06:12:14.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:12:14.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:12:14.551Z] Configure a credential helper to remove this warning. See [2023-05-05T06:12:14.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:12:14.551Z] [2023-05-05T06:12:14.551Z] Login Succeeded [2023-05-05T06:12:14.552Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:12:14.571Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T06:12:14.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:12:14.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:12:14.996Z] ========================================================= [2023-05-05T06:12:14.996Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-05T06:12:14.996Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:12:15.374Z] + 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-05T06:12:15.648Z] Sending build context to Docker daemon 3.373MB [2023-05-05T06:12:15.648Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:12:15.648Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-05T06:12:15.926Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-05T06:12:15.926Z] c41833b44d91: Pulling fs layer [2023-05-05T06:12:15.926Z] ed15518f5707: Pulling fs layer [2023-05-05T06:12:15.926Z] feae8fd75edb: Pulling fs layer [2023-05-05T06:12:15.926Z] 242c74f7c9fa: Pulling fs layer [2023-05-05T06:12:15.926Z] 3cdef696dda3: Pulling fs layer [2023-05-05T06:12:15.926Z] 2ced38df9373: Pulling fs layer [2023-05-05T06:12:15.926Z] 58f1dce35555: Pulling fs layer [2023-05-05T06:12:15.926Z] 242c74f7c9fa: Waiting [2023-05-05T06:12:15.926Z] 3cdef696dda3: Waiting [2023-05-05T06:12:15.926Z] 58f1dce35555: Waiting [2023-05-05T06:12:15.926Z] 2ced38df9373: Waiting [2023-05-05T06:12:15.926Z] ed15518f5707: Download complete [2023-05-05T06:12:16.206Z] 242c74f7c9fa: Verifying Checksum [2023-05-05T06:12:16.206Z] 242c74f7c9fa: Download complete [2023-05-05T06:12:16.206Z] 3cdef696dda3: Verifying Checksum [2023-05-05T06:12:16.206Z] 3cdef696dda3: Download complete [2023-05-05T06:12:16.206Z] c41833b44d91: Verifying Checksum [2023-05-05T06:12:16.206Z] c41833b44d91: Download complete [2023-05-05T06:12:17.225Z] c41833b44d91: Pull complete [2023-05-05T06:12:17.832Z] 58f1dce35555: Verifying Checksum [2023-05-05T06:12:17.832Z] 58f1dce35555: Download complete [2023-05-05T06:12:17.832Z] ed15518f5707: Pull complete [2023-05-05T06:12:18.823Z] feae8fd75edb: Verifying Checksum [2023-05-05T06:12:18.823Z] feae8fd75edb: Download complete [2023-05-05T06:12:19.228Z] 2ced38df9373: Verifying Checksum [2023-05-05T06:12:19.228Z] 2ced38df9373: Download complete [2023-05-05T06:12:31.664Z] feae8fd75edb: Pull complete [2023-05-05T06:12:31.664Z] 242c74f7c9fa: Pull complete [2023-05-05T06:12:31.945Z] 3cdef696dda3: Pull complete [2023-05-05T06:12:40.390Z] 2ced38df9373: Pull complete [2023-05-05T06:12:43.792Z] 58f1dce35555: Pull complete [2023-05-05T06:12:43.792Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-05T06:12:43.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-05T06:12:43.792Z] ---> fadd8f120f05 [2023-05-05T06:12:43.792Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:12:44.956Z] ---> Running in df4f088f49ad [2023-05-05T06:12:45.232Z] Removing intermediate container df4f088f49ad [2023-05-05T06:12:45.232Z] ---> 154375c70494 [2023-05-05T06:12:45.232Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:12:45.504Z] ---> Running in 05707529385e [2023-05-05T06:12:45.776Z] Removing intermediate container 05707529385e [2023-05-05T06:12:45.776Z] ---> 532f51c0cf99 [2023-05-05T06:12:45.776Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-05T06:12:46.048Z] ---> Running in 9ed1af72827d [2023-05-05T06:12:47.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:12:48.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:12:49.520Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T06:12:49.520Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-05T06:12:49.797Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T06:12:49.797Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T06:12:49.797Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-05T06:12:49.797Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-05T06:12:49.797Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-05T06:12:49.797Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-05T06:12:49.797Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:12:49.797Z] OK: 270 MiB in 61 packages [2023-05-05T06:12:51.242Z] Removing intermediate container 9ed1af72827d [2023-05-05T06:12:51.242Z] ---> 640d6ef13268 [2023-05-05T06:12:51.242Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-05T06:12:51.525Z] ---> Running in 7a1b8eb30916 [2023-05-05T06:12:51.800Z] Removing intermediate container 7a1b8eb30916 [2023-05-05T06:12:51.800Z] ---> 9aabf2bbf356 [2023-05-05T06:12:51.800Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-05T06:12:52.404Z] ---> ec6ac2a79636 [2023-05-05T06:12:52.404Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:12:52.678Z] ---> Running in f32346f26e60 [2023-05-05T06:14:00.710Z] Removing intermediate container f32346f26e60 [2023-05-05T06:14:00.710Z] ---> 776cdd177ba9 [2023-05-05T06:14:00.710Z] Step 9/10 : COPY . . [2023-05-05T06:14:02.137Z] ---> 25afebcb2358 [2023-05-05T06:14:02.137Z] Step 10/10 : RUN ${MAKE} [2023-05-05T06:14:02.137Z] ---> Running in ce2d24c1a48e [2023-05-05T06:14:03.117Z] noop [2023-05-05T06:14:04.095Z] Removing intermediate container ce2d24c1a48e [2023-05-05T06:14:04.095Z] ---> 261884ba109a [2023-05-05T06:14:04.095Z] Successfully built 261884ba109a [2023-05-05T06:14:04.095Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:14:04.467Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T06:14:04.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:14:04.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-13848 does not seem to be running inside a container [2023-05-05T06:14:04.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/99 -v /w/workspace/device-modbus-go/99:/w/workspace/device-modbus-go/99:rw,z -v /w/workspace/device-modbus-go/99@tmp:/w/workspace/device-modbus-go/99@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-05T06:14:06.339Z] $ docker top b5fa8639c4a4afa2a0034f44292a3b1f0d51cc4f77a374b03518b742c864d82a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:14:07.258Z] + go version [2023-05-05T06:14:07.258Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-05T06:14:07.289Z] $ docker stop --time=1 b5fa8639c4a4afa2a0034f44292a3b1f0d51cc4f77a374b03518b742c864d82a [2023-05-05T06:14:09.263Z] $ docker rm -f --volumes b5fa8639c4a4afa2a0034f44292a3b1f0d51cc4f77a374b03518b742c864d82a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:14:09.926Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T06:14:09.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:14:10.158Z] prd-ubuntu20.04-docker-arm64-4c-16g-13848 does not seem to be running inside a container [2023-05-05T06:14:10.259Z] $ 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/99 -v /w/workspace/device-modbus-go/99:/w/workspace/device-modbus-go/99:rw,z -v /w/workspace/device-modbus-go/99@tmp:/w/workspace/device-modbus-go/99@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-05T06:14:11.804Z] $ docker top 806a506e991e5c244fe1f455c282c64fbc5bcd2ac9335d2b64897407a2069303 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:14:12.807Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/99 [Pipeline] fileExists [Pipeline] sh [2023-05-05T06:14:13.490Z] + make test [2023-05-05T06:14:13.490Z] go test ./... -coverprofile=coverage.out [2023-05-05T06:15:00.477Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-05T06:17:37.291Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-05T06:17:37.291Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.4% of statements [2023-05-05T06:17:37.291Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-05T06:17:37.291Z] go vet ./... [2023-05-05T06:18:16.258Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T06:18:16.258Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T06:18:16.258Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T06:18:16.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T06:18:16.295Z] $ docker stop --time=1 806a506e991e5c244fe1f455c282c64fbc5bcd2ac9335d2b64897407a2069303 [2023-05-05T06:18:18.301Z] $ docker rm -f --volumes 806a506e991e5c244fe1f455c282c64fbc5bcd2ac9335d2b64897407a2069303 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:18:19.648Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T06:18:19.675Z] Warning: overwriting stash ‘coverage-report’ [2023-05-05T06:18:20.354Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:18:20.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T06:18:21.114Z] + ls -al . [2023-05-05T06:18:21.114Z] total 176 [2023-05-05T06:18:21.114Z] drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:14 . [2023-05-05T06:18:21.114Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:11 .. [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 140 May 5 06:11 .dockerignore [2023-05-05T06:18:21.114Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:11 .git [2023-05-05T06:18:21.114Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:11 .github [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 331 May 5 06:11 .gitignore [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:11 .golangci.yml [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 5 06:11 Attribution.txt [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 5 06:11 CHANGELOG.md [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 5 06:11 Dockerfile [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:11 GOVERNANCE.md [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 06:11 Jenkinsfile [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:11 LICENSE [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 5 06:11 Makefile [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 622 May 5 06:11 OWNERS.md [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 5 06:11 README.md [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:08 VERSION [2023-05-05T06:18:21.114Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:11 bin [2023-05-05T06:18:21.114Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:11 cmd [2023-05-05T06:18:21.114Z] -rw-r--r-- 1 jenkins jenkins 24160 May 5 06:17 coverage.out [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 5 06:11 go.mod [2023-05-05T06:18:21.114Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 5 06:11 go.sum [2023-05-05T06:18:21.114Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:11 internal [2023-05-05T06:18:21.114Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:11 simulator [2023-05-05T06:18:21.115Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:11 snap [2023-05-05T06:18:21.115Z] -rw-rw-r-- 1 jenkins jenkins 229 May 5 06:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:18:21.472Z] + 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=cd73112b4be420f4cc6f08fe0448cd2914f416aa --label arch=arm64 --label version=3.0.0-dev.33 . [2023-05-05T06:18:21.744Z] Sending build context to Docker daemon 3.398MB [2023-05-05T06:18:21.744Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:18:21.744Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-05T06:18:21.744Z] ---> 261884ba109a [2023-05-05T06:18:21.744Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:18:22.022Z] ---> Running in d5907c1e8027 [2023-05-05T06:18:22.293Z] Removing intermediate container d5907c1e8027 [2023-05-05T06:18:22.293Z] ---> 8b3f2c824966 [2023-05-05T06:18:22.293Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:18:22.563Z] ---> Running in 26314f1f3039 [2023-05-05T06:18:22.834Z] Removing intermediate container 26314f1f3039 [2023-05-05T06:18:22.834Z] ---> 6223febcb0d7 [2023-05-05T06:18:22.834Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-05T06:18:22.834Z] ---> Running in 285754ebce0c [2023-05-05T06:18:24.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:18:25.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:18:26.663Z] OK: 270 MiB in 61 packages [2023-05-05T06:18:28.629Z] Removing intermediate container 285754ebce0c [2023-05-05T06:18:28.629Z] ---> 17a9e696a223 [2023-05-05T06:18:28.629Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-05T06:18:28.901Z] ---> Running in 5fb936fb60ef [2023-05-05T06:18:29.174Z] Removing intermediate container 5fb936fb60ef [2023-05-05T06:18:29.174Z] ---> 4850d97c0ffc [2023-05-05T06:18:29.174Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-05T06:18:29.781Z] ---> e64e7e62d68a [2023-05-05T06:18:29.781Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:18:30.056Z] ---> Running in 9a41c141e9c6 [2023-05-05T06:18:33.446Z] Removing intermediate container 9a41c141e9c6 [2023-05-05T06:18:33.446Z] ---> 6b6e577c76e3 [2023-05-05T06:18:33.446Z] Step 9/22 : COPY . . [2023-05-05T06:18:34.041Z] ---> cc6475a9861c [2023-05-05T06:18:34.041Z] Step 10/22 : RUN ${MAKE} [2023-05-05T06:18:34.041Z] ---> Running in d69861ed97e0 [2023-05-05T06:18:35.013Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.33" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-05T06:21:26.849Z] Removing intermediate container d69861ed97e0 [2023-05-05T06:21:26.849Z] ---> 64d284ba1198 [2023-05-05T06:21:26.849Z] Step 11/22 : FROM alpine:3.17 [2023-05-05T06:21:26.849Z] 3.17: Pulling from library/alpine [2023-05-05T06:21:26.849Z] c41833b44d91: Already exists [2023-05-05T06:21:26.849Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T06:21:26.849Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T06:21:26.849Z] ---> 51e60588ff2c [2023-05-05T06:21:26.849Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-05T06:21:26.849Z] ---> Running in ed9a0250b7bb [2023-05-05T06:21:26.849Z] Removing intermediate container ed9a0250b7bb [2023-05-05T06:21:26.849Z] ---> df16695c2e97 [2023-05-05T06:21:26.849Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-05T06:21:26.849Z] ---> Running in 5f86bcb34667 [2023-05-05T06:21:26.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:21:26.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:21:26.849Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T06:21:26.849Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:21:26.849Z] OK: 8 MiB in 16 packages [2023-05-05T06:21:26.849Z] Removing intermediate container 5f86bcb34667 [2023-05-05T06:21:26.849Z] ---> db2f0cfc716e [2023-05-05T06:21:26.849Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-05T06:21:26.849Z] ---> 328a57505bb0 [2023-05-05T06:21:26.849Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-05T06:21:26.849Z] ---> 73a9c2272e70 [2023-05-05T06:21:26.849Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-05T06:21:26.849Z] ---> 8de2227e568f [2023-05-05T06:21:26.849Z] Step 17/22 : EXPOSE 59901 [2023-05-05T06:21:26.849Z] ---> Running in 38e8496d2921 [2023-05-05T06:21:26.849Z] Removing intermediate container 38e8496d2921 [2023-05-05T06:21:26.849Z] ---> d15676eeacca [2023-05-05T06:21:26.849Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-05T06:21:26.849Z] ---> Running in f534b2dde2c1 [2023-05-05T06:21:26.849Z] Removing intermediate container f534b2dde2c1 [2023-05-05T06:21:26.849Z] ---> 03ef308be9d7 [2023-05-05T06:21:26.849Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-05T06:21:26.849Z] ---> Running in 5f6cc87cdef2 [2023-05-05T06:21:26.849Z] Removing intermediate container 5f6cc87cdef2 [2023-05-05T06:21:26.849Z] ---> 4bfb1f52c160 [2023-05-05T06:21:26.849Z] Step 20/22 : LABEL arch=arm64 [2023-05-05T06:21:26.849Z] ---> Running in 01018580f9db [2023-05-05T06:21:26.849Z] Removing intermediate container 01018580f9db [2023-05-05T06:21:26.849Z] ---> 88145fa674b6 [2023-05-05T06:21:26.849Z] Step 21/22 : LABEL git_sha=cd73112b4be420f4cc6f08fe0448cd2914f416aa [2023-05-05T06:21:26.849Z] ---> Running in cee7fbe04381 [2023-05-05T06:21:26.849Z] Removing intermediate container cee7fbe04381 [2023-05-05T06:21:26.849Z] ---> 7352afe10375 [2023-05-05T06:21:26.849Z] Step 22/22 : LABEL version=3.0.0-dev.33 [2023-05-05T06:21:26.849Z] ---> Running in c5836abeea82 [2023-05-05T06:21:26.849Z] Removing intermediate container c5836abeea82 [2023-05-05T06:21:26.849Z] ---> b5120a363506 [2023-05-05T06:21:26.849Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T06:21:26.849Z] Successfully built b5120a363506 [2023-05-05T06:21:26.849Z] 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-05T06:21:26.968Z] provisioning config files... [2023-05-05T06:21:26.984Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/99@tmp/config12325744134804519182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:21:27.333Z] ---> docker-login.sh [2023-05-05T06:21:27.333Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:21:27.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:21:27.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:21:27.603Z] Configure a credential helper to remove this warning. See [2023-05-05T06:21:27.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:21:27.603Z] [2023-05-05T06:21:27.603Z] Login Succeeded [2023-05-05T06:21:27.603Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:21:27.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:21:28.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:21:28.143Z] Configure a credential helper to remove this warning. See [2023-05-05T06:21:28.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:21:28.143Z] [2023-05-05T06:21:28.143Z] Login Succeeded [2023-05-05T06:21:28.143Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:21:28.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:21:28.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:21:28.414Z] Configure a credential helper to remove this warning. See [2023-05-05T06:21:28.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:21:28.414Z] [2023-05-05T06:21:28.414Z] Login Succeeded [2023-05-05T06:21:28.414Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:21:28.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:21:28.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:21:28.957Z] Configure a credential helper to remove this warning. See [2023-05-05T06:21:28.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:21:28.957Z] [2023-05-05T06:21:28.957Z] Login Succeeded [2023-05-05T06:21:28.957Z] docker.io [2023-05-05T06:21:29.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:21:29.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:21:29.496Z] Configure a credential helper to remove this warning. See [2023-05-05T06:21:29.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:21:29.496Z] [2023-05-05T06:21:29.496Z] Login Succeeded [2023-05-05T06:21:29.496Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:21:29.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:21:29.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:21:29.551Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-05T06:21:29.551Z] cd73112b4be420f4cc6f08fe0448cd2914f416aa [2023-05-05T06:21:29.551Z] latest [2023-05-05T06:21:29.551Z] 3.0.0-dev.33 [2023-05-05T06:21:29.551Z] cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 [2023-05-05T06:21:29.551Z] main [2023-05-05T06:21:29.551Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:21:29.896Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:21:30.261Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa [2023-05-05T06:21:30.262Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-05T06:21:30.262Z] 612e98bdda26: Preparing [2023-05-05T06:21:30.262Z] b5749ebbee6e: Preparing [2023-05-05T06:21:30.262Z] 28b9b2d0c357: Preparing [2023-05-05T06:21:30.262Z] 8809bb40d308: Preparing [2023-05-05T06:21:30.262Z] 26cbea5cba74: Preparing [2023-05-05T06:21:30.262Z] 26cbea5cba74: Layer already exists [2023-05-05T06:21:30.532Z] 612e98bdda26: Pushed [2023-05-05T06:21:30.532Z] b5749ebbee6e: Pushed [2023-05-05T06:21:30.532Z] 8809bb40d308: Pushed [2023-05-05T06:21:37.313Z] 28b9b2d0c357: Pushed [2023-05-05T06:21:37.314Z] cd73112b4be420f4cc6f08fe0448cd2914f416aa: digest: sha256:7f8548962e87c2f9c93293fd8f4ba1f0886f1c2b573028de3ba1a11fdf8e15d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:21:37.695Z] + 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-05T06:21:38.051Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-05T06:21:38.051Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-05T06:21:38.051Z] 612e98bdda26: Preparing [2023-05-05T06:21:38.051Z] b5749ebbee6e: Preparing [2023-05-05T06:21:38.051Z] 28b9b2d0c357: Preparing [2023-05-05T06:21:38.051Z] 8809bb40d308: Preparing [2023-05-05T06:21:38.051Z] 26cbea5cba74: Preparing [2023-05-05T06:21:38.051Z] 8809bb40d308: Layer already exists [2023-05-05T06:21:38.051Z] b5749ebbee6e: Layer already exists [2023-05-05T06:21:38.051Z] 26cbea5cba74: Layer already exists [2023-05-05T06:21:38.051Z] 612e98bdda26: Layer already exists [2023-05-05T06:21:38.051Z] 28b9b2d0c357: Layer already exists [2023-05-05T06:21:38.320Z] latest: digest: sha256:7f8548962e87c2f9c93293fd8f4ba1f0886f1c2b573028de3ba1a11fdf8e15d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:21:38.671Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:21:39.015Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.33 [2023-05-05T06:21:39.015Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-05T06:21:39.015Z] 612e98bdda26: Preparing [2023-05-05T06:21:39.015Z] b5749ebbee6e: Preparing [2023-05-05T06:21:39.015Z] 28b9b2d0c357: Preparing [2023-05-05T06:21:39.015Z] 8809bb40d308: Preparing [2023-05-05T06:21:39.015Z] 26cbea5cba74: Preparing [2023-05-05T06:21:39.015Z] 8809bb40d308: Layer already exists [2023-05-05T06:21:39.015Z] 28b9b2d0c357: Layer already exists [2023-05-05T06:21:39.015Z] 26cbea5cba74: Layer already exists [2023-05-05T06:21:39.015Z] b5749ebbee6e: Layer already exists [2023-05-05T06:21:39.015Z] 612e98bdda26: Layer already exists [2023-05-05T06:21:39.283Z] 3.0.0-dev.33: digest: sha256:7f8548962e87c2f9c93293fd8f4ba1f0886f1c2b573028de3ba1a11fdf8e15d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:21:39.638Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:21:39.985Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 [2023-05-05T06:21:39.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-05T06:21:39.986Z] 612e98bdda26: Preparing [2023-05-05T06:21:39.986Z] b5749ebbee6e: Preparing [2023-05-05T06:21:39.986Z] 28b9b2d0c357: Preparing [2023-05-05T06:21:39.986Z] 8809bb40d308: Preparing [2023-05-05T06:21:39.986Z] 26cbea5cba74: Preparing [2023-05-05T06:21:39.986Z] 8809bb40d308: Layer already exists [2023-05-05T06:21:39.986Z] 612e98bdda26: Layer already exists [2023-05-05T06:21:39.986Z] 28b9b2d0c357: Layer already exists [2023-05-05T06:21:39.986Z] b5749ebbee6e: Layer already exists [2023-05-05T06:21:39.986Z] 26cbea5cba74: Layer already exists [2023-05-05T06:21:40.254Z] cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33: digest: sha256:7f8548962e87c2f9c93293fd8f4ba1f0886f1c2b573028de3ba1a11fdf8e15d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:21:40.613Z] + 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-05T06:21:40.966Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-05T06:21:40.966Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-05T06:21:40.966Z] 612e98bdda26: Preparing [2023-05-05T06:21:40.966Z] b5749ebbee6e: Preparing [2023-05-05T06:21:40.966Z] 28b9b2d0c357: Preparing [2023-05-05T06:21:40.966Z] 8809bb40d308: Preparing [2023-05-05T06:21:40.966Z] 26cbea5cba74: Preparing [2023-05-05T06:21:40.966Z] 28b9b2d0c357: Layer already exists [2023-05-05T06:21:40.966Z] 26cbea5cba74: Layer already exists [2023-05-05T06:21:40.966Z] 612e98bdda26: Layer already exists [2023-05-05T06:21:40.966Z] 8809bb40d308: Layer already exists [2023-05-05T06:21:40.966Z] b5749ebbee6e: Layer already exists [2023-05-05T06:21:41.233Z] main: digest: sha256:7f8548962e87c2f9c93293fd8f4ba1f0886f1c2b573028de3ba1a11fdf8e15d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:21:41.278Z] ===================================================== [Pipeline] echo [2023-05-05T06:21:41.284Z] taggedImages: [2023-05-05T06:21:41.284Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa [2023-05-05T06:21:41.284Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-05T06:21:41.284Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.33 [2023-05-05T06:21:41.284Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:cd73112b4be420f4cc6f08fe0448cd2914f416aa-3.0.0-dev.33 [2023-05-05T06:21:41.284Z] - 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-05T06:21:41.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:21:41.651Z] [2023-05-05T06:21:41.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:21:41.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:21:41.988Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-05T06:21:41.988Z] 8998bd30e6a1: Pulling fs layer [2023-05-05T06:21:41.988Z] 04944245beec: Pulling fs layer [2023-05-05T06:21:41.988Z] 699f458cf7ca: Pulling fs layer [2023-05-05T06:21:41.988Z] 765212b225bb: Pulling fs layer [2023-05-05T06:21:41.988Z] f23df028b6ca: Pulling fs layer [2023-05-05T06:21:41.988Z] d65c8cfc05b1: Pulling fs layer [2023-05-05T06:21:41.988Z] 2437ff75d9bd: Pulling fs layer [2023-05-05T06:21:41.988Z] 765212b225bb: Waiting [2023-05-05T06:21:41.988Z] d65c8cfc05b1: Waiting [2023-05-05T06:21:41.988Z] f23df028b6ca: Waiting [2023-05-05T06:21:41.988Z] 2437ff75d9bd: Waiting [2023-05-05T06:21:42.263Z] 04944245beec: Verifying Checksum [2023-05-05T06:21:42.263Z] 04944245beec: Download complete [2023-05-05T06:21:42.263Z] 765212b225bb: Verifying Checksum [2023-05-05T06:21:42.263Z] 765212b225bb: Download complete [2023-05-05T06:21:42.263Z] f23df028b6ca: Verifying Checksum [2023-05-05T06:21:42.263Z] f23df028b6ca: Download complete [2023-05-05T06:21:42.263Z] d65c8cfc05b1: Verifying Checksum [2023-05-05T06:21:42.263Z] d65c8cfc05b1: Download complete [2023-05-05T06:21:42.532Z] 699f458cf7ca: Verifying Checksum [2023-05-05T06:21:42.532Z] 699f458cf7ca: Download complete [2023-05-05T06:21:42.804Z] 8998bd30e6a1: Verifying Checksum [2023-05-05T06:21:42.804Z] 8998bd30e6a1: Download complete [2023-05-05T06:21:45.391Z] 2437ff75d9bd: Verifying Checksum [2023-05-05T06:21:45.391Z] 2437ff75d9bd: Download complete [2023-05-05T06:21:48.741Z] 8998bd30e6a1: Pull complete [2023-05-05T06:21:49.327Z] 04944245beec: Pull complete [2023-05-05T06:21:50.745Z] 699f458cf7ca: Pull complete [2023-05-05T06:21:51.018Z] 765212b225bb: Pull complete [2023-05-05T06:21:51.605Z] f23df028b6ca: Pull complete [2023-05-05T06:21:51.874Z] d65c8cfc05b1: Pull complete [2023-05-05T06:22:06.898Z] 2437ff75d9bd: Pull complete [2023-05-05T06:22:06.898Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-05T06:22:06.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:22:06.898Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:22:07.119Z] prd-ubuntu20.04-docker-arm64-4c-16g-13848 does not seem to be running inside a container [2023-05-05T06:22:07.200Z] $ 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/99 -v /w/workspace/device-modbus-go/99:/w/workspace/device-modbus-go/99:rw,z -v /w/workspace/device-modbus-go/99@tmp:/w/workspace/device-modbus-go/99@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-05T06:22:10.203Z] $ docker top 1967049eef08c1eb0b17e63d2442ed206ef24d2749a63f786640675d0fe9e450 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:22:11.105Z] ---> job-cost.sh [2023-05-05T06:22:11.105Z] lf-activate-venv: SKIPPING [2023-05-05T06:22:11.105Z] INFO: No Stack... [2023-05-05T06:22:11.377Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-05T06:22:12.344Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T06:22:13.001Z] + cat /w/workspace/device-modbus-go/99/archives/cost.csv [2023-05-05T06:22:13.002Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T06:22:13.080Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] [2023-05-05T06:22:13.086Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] did not exist. Created. [2023-05-05T06:22:13.086Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T06:22:13.761Z] /w/workspace/device-modbus-go/99@tmp/durable-8e653852/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-05T06:22:14.433Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-05T06:22:14.463Z] Warning: overwriting stash ‘stack-cost’ [2023-05-05T06:22:14.521Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T06:22:14.530Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T06:22:14.551Z] $ docker stop --time=1 1967049eef08c1eb0b17e63d2442ed206ef24d2749a63f786640675d0fe9e450 [2023-05-05T06:22:16.091Z] $ docker rm -f --volumes 1967049eef08c1eb0b17e63d2442ed206ef24d2749a63f786640675d0fe9e450 [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-05T06:22:16.479Z] provisioning config files... [2023-05-05T06:22:16.487Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1296168263816981175tmp [Pipeline] { [Pipeline] sh [2023-05-05T06:22:16.781Z] + set +x [2023-05-05T06:22:16.781Z] + curl -s https://codecov.io/bash [2023-05-05T06:22:16.781Z] + bash -s -- [2023-05-05T06:22:16.781Z] [2023-05-05T06:22:16.781Z] _____ _ [2023-05-05T06:22:16.781Z] / ____| | | [2023-05-05T06:22:16.781Z] | | ___ __| | ___ ___ _____ __ [2023-05-05T06:22:16.781Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-05T06:22:16.781Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-05T06:22:16.781Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-05T06:22:16.781Z] Bash-1.0.6 [2023-05-05T06:22:16.781Z] [2023-05-05T06:22:16.781Z] [2023-05-05T06:22:16.781Z] ==> git version 2.25.1 found [2023-05-05T06:22:16.781Z] ==> 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-05T06:22:16.781Z] Release-Date: 2020-01-08 [2023-05-05T06:22:16.781Z] 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-05T06:22:16.781Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-05T06:22:16.781Z] ==> Jenkins CI detected. [2023-05-05T06:22:16.781Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-05T06:22:16.781Z] project root: . [2023-05-05T06:22:16.781Z] --> token set from env [2023-05-05T06:22:16.781Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-05T06:22:16.781Z] ==> Running gcov in . (disable via -X gcov) [2023-05-05T06:22:16.781Z] ==> Python coveragepy not found [2023-05-05T06:22:16.781Z] ==> Searching for coverage reports in: [2023-05-05T06:22:16.781Z] + . [2023-05-05T06:22:16.781Z] -> Found 1 reports [2023-05-05T06:22:16.781Z] ==> Detecting git/mercurial file structure [2023-05-05T06:22:16.781Z] ==> Reading reports [2023-05-05T06:22:16.781Z] + ./coverage.out bytes=24160 [2023-05-05T06:22:16.781Z] ==> Appending adjustments [2023-05-05T06:22:16.781Z] https://docs.codecov.io/docs/fixing-reports [2023-05-05T06:22:17.041Z] + Found adjustments [2023-05-05T06:22:17.041Z] ==> Gzipping contents [2023-05-05T06:22:17.041Z] 4.0K /tmp/codecov.0iZinX.gz [2023-05-05T06:22:17.041Z] ==> Uploading reports [2023-05-05T06:22:17.041Z] url: https://codecov.io [2023-05-05T06:22:17.041Z] query: branch=main&commit=cd73112b4be420f4cc6f08fe0448cd2914f416aa&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T06:22:17.041Z] -> Pinging Codecov [2023-05-05T06:22:17.041Z] 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=cd73112b4be420f4cc6f08fe0448cd2914f416aa&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T06:22:17.041Z] -> Uploading to [2023-05-05T06:22:17.041Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-05/55DBCA73C666E3227836607328DD7E49/cd73112b4be420f4cc6f08fe0448cd2914f416aa/f6b7f621-4d60-4a69-91c8-3024b50527e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T062216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2e74183733013203d9b85607bb84322d1707f9b78203eb60ec1f9c4b7d8f0fb [2023-05-05T06:22:17.041Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T06:22:17.041Z] Dload Upload Total Spent Left Speed [2023-05-05T06:22:17.302Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17836 --:--:-- --:--:-- --:--:-- 17836 [2023-05-05T06:22:17.302Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] } [2023-05-05T06:22:17.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-05T06:22:17.436Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-05T06:22:17.453Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:22:17.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:22:17.756Z] [2023-05-05T06:22:17.756Z] 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-05T06:22:18.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:22:18.057Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-05T06:22:18.057Z] df9b9388f04a: Pulling fs layer [2023-05-05T06:22:18.057Z] 52dc419b0ee2: Pulling fs layer [2023-05-05T06:22:18.057Z] 25bc292e5bac: Pulling fs layer [2023-05-05T06:22:18.057Z] 114826534d7a: Pulling fs layer [2023-05-05T06:22:18.057Z] 4657fd5d0bcf: Pulling fs layer [2023-05-05T06:22:18.058Z] 6ad1cebc031e: Pulling fs layer [2023-05-05T06:22:18.058Z] 8a3aa393b2d8: Pulling fs layer [2023-05-05T06:22:18.058Z] 6ad1cebc031e: Waiting [2023-05-05T06:22:18.058Z] 114826534d7a: Waiting [2023-05-05T06:22:18.058Z] 8a3aa393b2d8: Waiting [2023-05-05T06:22:18.058Z] 4657fd5d0bcf: Waiting [2023-05-05T06:22:18.058Z] 25bc292e5bac: Download complete [2023-05-05T06:22:18.058Z] 52dc419b0ee2: Download complete [2023-05-05T06:22:18.058Z] 4657fd5d0bcf: Verifying Checksum [2023-05-05T06:22:18.058Z] 4657fd5d0bcf: Download complete [2023-05-05T06:22:18.058Z] df9b9388f04a: Verifying Checksum [2023-05-05T06:22:18.058Z] df9b9388f04a: Download complete [2023-05-05T06:22:18.317Z] df9b9388f04a: Pull complete [2023-05-05T06:22:18.317Z] 6ad1cebc031e: Verifying Checksum [2023-05-05T06:22:18.317Z] 6ad1cebc031e: Download complete [2023-05-05T06:22:18.317Z] 52dc419b0ee2: Pull complete [2023-05-05T06:22:18.317Z] 25bc292e5bac: Pull complete [2023-05-05T06:22:18.884Z] 114826534d7a: Verifying Checksum [2023-05-05T06:22:18.885Z] 114826534d7a: Download complete [2023-05-05T06:22:18.885Z] 8a3aa393b2d8: Verifying Checksum [2023-05-05T06:22:18.885Z] 8a3aa393b2d8: Download complete [2023-05-05T06:22:22.166Z] 114826534d7a: Pull complete [2023-05-05T06:22:22.166Z] 4657fd5d0bcf: Pull complete [2023-05-05T06:22:22.166Z] 6ad1cebc031e: Pull complete [2023-05-05T06:22:24.698Z] 8a3aa393b2d8: Pull complete [2023-05-05T06:22:24.698Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-05T06:22:24.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:22:24.698Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:22:24.782Z] prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container [2023-05-05T06:22:24.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-05T06:22:26.294Z] $ docker top 760223b08242dc26bd3ddaf9fc120fd1c33a7e8904bcb2e58e2f54c7e7b81e9f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-05T06:22:26.345Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-05T06:22:26.622Z] + set -o pipefail [2023-05-05T06:22:26.622Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-05T06:22:30.818Z] [2023-05-05T06:22:30.818Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-05T06:22:30.818Z] [2023-05-05T06:22:30.818Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/0a58b40d-f93a-47ad-9a9f-d31aae95feee [2023-05-05T06:22:30.818Z] [2023-05-05T06:22:30.818Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-05T06:22:30.818Z] [2023-05-05T06:22:30.818Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-05T06:22:30.818Z] [2023-05-05T06:22:31.387Z] [2023-05-05T06:22:31.387Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-05T06:22:31.387Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-05T06:22:31.387Z] More details here: https://snyk.co/ue1NS [2023-05-05T06:22:31.387Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-05T06:22:31.387Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-05T06:22:31.409Z] $ docker stop --time=1 760223b08242dc26bd3ddaf9fc120fd1c33a7e8904bcb2e58e2f54c7e7b81e9f [2023-05-05T06:22:33.161Z] $ docker rm -f --volumes 760223b08242dc26bd3ddaf9fc120fd1c33a7e8904bcb2e58e2f54c7e7b81e9f [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-05T06:22:33.808Z] + git log --format=format:%s -1 cd73112b4be420f4cc6f08fe0448cd2914f416aa [Pipeline] sh [2023-05-05T06:22:34.098Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:22:34.098Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:22:34.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:22:34.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:22:34.477Z] prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container [2023-05-05T06:22:34.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:22:34.841Z] $ docker top c3f1c56e082ac64f8cf8c1f1666bc0250ebee5e37f104f150f12b96fc735549f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:22:34.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:22:34.925Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:22:35.049Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:22:35.060Z] $ docker exec c3f1c56e082ac64f8cf8c1f1666bc0250ebee5e37f104f150f12b96fc735549f ssh-agent [2023-05-05T06:22:35.163Z] SSH_AUTH_SOCK=/tmp/ssh-BLQyJSNKSbrv/agent.32 [2023-05-05T06:22:35.163Z] SSH_AGENT_PID=38 [2023-05-05T06:22:35.168Z] Running ssh-add (command line suppressed) [2023-05-05T06:22:35.283Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3421640628332631251.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3421640628332631251.key) [2023-05-05T06:22:35.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:22:35.575Z] + git semver tag [2023-05-05T06:22:35.836Z] 2023-05-05 06:22:35,769 [run_tag] DEBUG tag force:False [2023-05-05T06:22:35.836Z] 2023-05-05 06:22:35,770 [check_head_tag] DEBUG check head tag [2023-05-05T06:22:35.836Z] 2023-05-05 06:22:35,771 [execute] INFO git cat-file --batch-check [2023-05-05T06:22:35.836Z] 2023-05-05 06:22:35,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-05T06:22:35.836Z] 2023-05-05 06:22:35,775 [execute] INFO git cat-file --batch [2023-05-05T06:22:35.836Z] 2023-05-05 06:22:35,776 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-05T06:22:35.836Z] 2023-05-05 06:22:35,799 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:22:35.836Z] 2023-05-05 06:22:35,800 [execute] INFO git tag -a v3.0.0-dev.33 -m v3.0.0-dev.33 [2023-05-05T06:22:35.836Z] 2023-05-05 06:22:35,800 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.33', '-m', 'v3.0.0-dev.33'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:22:35.836Z] 2023-05-05 06:22:35,803 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:22:35.836Z] 3.0.0-dev.33 [Pipeline] } [2023-05-05T06:22:35.854Z] $ docker exec --env ******** --env ******** c3f1c56e082ac64f8cf8c1f1666bc0250ebee5e37f104f150f12b96fc735549f ssh-agent -k [2023-05-05T06:22:35.946Z] unset SSH_AUTH_SOCK; [2023-05-05T06:22:35.947Z] unset SSH_AGENT_PID; [2023-05-05T06:22:35.947Z] echo Agent pid 38 killed; [2023-05-05T06:22:35.946Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:22:36.249Z] + git semver [Pipeline] } [2023-05-05T06:22:36.530Z] $ docker stop --time=1 c3f1c56e082ac64f8cf8c1f1666bc0250ebee5e37f104f150f12b96fc735549f [2023-05-05T06:22:37.763Z] $ docker rm -f --volumes c3f1c56e082ac64f8cf8c1f1666bc0250ebee5e37f104f150f12b96fc735549f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:22:38.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:22:38.121Z] [2023-05-05T06:22:38.121Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:22:38.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:22:38.419Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-05T06:22:38.419Z] ab5ef0e58194: Pulling fs layer [2023-05-05T06:22:38.419Z] 9712f1f96733: Pulling fs layer [2023-05-05T06:22:38.419Z] 63f879dbbcfc: Pulling fs layer [2023-05-05T06:22:38.419Z] 0d9ebad4ef96: Pulling fs layer [2023-05-05T06:22:38.419Z] e9a5061849ea: Pulling fs layer [2023-05-05T06:22:38.419Z] d747dcd14b5f: Pulling fs layer [2023-05-05T06:22:38.419Z] 2de7ff778b66: Pulling fs layer [2023-05-05T06:22:38.419Z] e9a5061849ea: Waiting [2023-05-05T06:22:38.419Z] 0d9ebad4ef96: Waiting [2023-05-05T06:22:38.419Z] d747dcd14b5f: Waiting [2023-05-05T06:22:38.419Z] 9712f1f96733: Verifying Checksum [2023-05-05T06:22:38.419Z] 9712f1f96733: Download complete [2023-05-05T06:22:38.680Z] 63f879dbbcfc: Verifying Checksum [2023-05-05T06:22:38.680Z] 63f879dbbcfc: Download complete [2023-05-05T06:22:39.009Z] e9a5061849ea: Verifying Checksum [2023-05-05T06:22:39.009Z] e9a5061849ea: Download complete [2023-05-05T06:22:39.009Z] 0d9ebad4ef96: Verifying Checksum [2023-05-05T06:22:39.009Z] 0d9ebad4ef96: Download complete [2023-05-05T06:22:39.009Z] d747dcd14b5f: Verifying Checksum [2023-05-05T06:22:39.009Z] d747dcd14b5f: Download complete [2023-05-05T06:22:39.009Z] ab5ef0e58194: Verifying Checksum [2023-05-05T06:22:39.009Z] ab5ef0e58194: Download complete [2023-05-05T06:22:39.009Z] 2de7ff778b66: Verifying Checksum [2023-05-05T06:22:39.009Z] 2de7ff778b66: Download complete [2023-05-05T06:22:41.539Z] ab5ef0e58194: Pull complete [2023-05-05T06:22:41.539Z] 9712f1f96733: Pull complete [2023-05-05T06:22:41.798Z] 63f879dbbcfc: Pull complete [2023-05-05T06:22:45.982Z] 0d9ebad4ef96: Pull complete [2023-05-05T06:22:45.982Z] e9a5061849ea: Pull complete [2023-05-05T06:22:45.982Z] d747dcd14b5f: Pull complete [2023-05-05T06:22:46.551Z] 2de7ff778b66: Pull complete [2023-05-05T06:22:46.551Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-05T06:22:46.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:22:46.551Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:22:46.629Z] prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container [2023-05-05T06:22:46.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-05T06:22:48.288Z] $ docker top 6ebdb3d8def3b7445975788d739f229364917046928d82391d741c7894281485 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:22:48.355Z] provisioning config files... [2023-05-05T06:22:48.361Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11155906054203030244tmp [2023-05-05T06:22:48.369Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6449429726454091142tmp [2023-05-05T06:22:48.377Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10209990758603810555tmp [Pipeline] { [Pipeline] echo [2023-05-05T06:22:48.391Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:22:48.670Z] ---> sigul-configuration.sh [2023-05-05T06:22:48.670Z] gpg: directory `/root/.gnupg' created [2023-05-05T06:22:48.670Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-05T06:22:48.670Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-05T06:22:48.670Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-05T06:22:48.670Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-05T06:22:48.670Z] gpg: CAST5 encrypted data [2023-05-05T06:22:48.670Z] gpg: encrypted with 1 passphrase [2023-05-05T06:22:48.670Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-05T06:22:48.954Z] + mkdir /home/jenkins [2023-05-05T06:22:48.954Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-05T06:22:49.240Z] + 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-05T06:22:49.247Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:22:49.527Z] ---> sigul-install.sh [2023-05-05T06:22:49.527Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-05T06:22:49.804Z] + git tag --list [2023-05-05T06:22:49.805Z] 0.7.1 [2023-05-05T06:22:49.805Z] v1.0.0 [2023-05-05T06:22:49.805Z] v1.1.0 [2023-05-05T06:22:49.805Z] v1.1.1 [2023-05-05T06:22:49.805Z] v1.2.2 [2023-05-05T06:22:49.805Z] v1.3.0 [2023-05-05T06:22:49.805Z] v1.3.1 [2023-05-05T06:22:49.805Z] v2.0.0 [2023-05-05T06:22:49.805Z] v2.1.0 [2023-05-05T06:22:49.805Z] v2.1.1 [2023-05-05T06:22:49.805Z] v2.1.1-dev.1 [2023-05-05T06:22:49.805Z] v2.1.1-dev.2 [2023-05-05T06:22:49.805Z] v2.1.1-dev.3 [2023-05-05T06:22:49.805Z] v2.2.0 [2023-05-05T06:22:49.805Z] v2.2.1-dev.1 [2023-05-05T06:22:49.805Z] v2.2.1-dev.2 [2023-05-05T06:22:49.805Z] v2.2.1-dev.3 [2023-05-05T06:22:49.805Z] v2.2.1-dev.4 [2023-05-05T06:22:49.805Z] v2.2.1-dev.5 [2023-05-05T06:22:49.805Z] v2.2.1-dev.6 [2023-05-05T06:22:49.805Z] v2.2.1-dev.7 [2023-05-05T06:22:49.805Z] v2.3.0 [2023-05-05T06:22:49.805Z] v2.3.0-dev.10 [2023-05-05T06:22:49.805Z] v2.3.0-dev.11 [2023-05-05T06:22:49.805Z] v2.3.0-dev.12 [2023-05-05T06:22:49.805Z] v2.3.0-dev.13 [2023-05-05T06:22:49.805Z] v2.3.0-dev.14 [2023-05-05T06:22:49.805Z] v2.3.0-dev.15 [2023-05-05T06:22:49.805Z] v2.3.0-dev.16 [2023-05-05T06:22:49.805Z] v2.3.0-dev.17 [2023-05-05T06:22:49.805Z] v2.3.0-dev.18 [2023-05-05T06:22:49.805Z] v2.3.0-dev.19 [2023-05-05T06:22:49.805Z] v2.3.0-dev.20 [2023-05-05T06:22:49.805Z] v2.3.0-dev.21 [2023-05-05T06:22:49.805Z] v2.3.0-dev.22 [2023-05-05T06:22:49.805Z] v2.3.0-dev.23 [2023-05-05T06:22:49.805Z] v2.3.0-dev.24 [2023-05-05T06:22:49.805Z] v2.3.0-dev.25 [2023-05-05T06:22:49.805Z] v2.3.0-dev.7 [2023-05-05T06:22:49.805Z] v2.3.0-dev.8 [2023-05-05T06:22:49.805Z] v2.3.0-dev.9 [2023-05-05T06:22:49.805Z] v3.0.0-dev.1 [2023-05-05T06:22:49.805Z] v3.0.0-dev.10 [2023-05-05T06:22:49.805Z] v3.0.0-dev.11 [2023-05-05T06:22:49.805Z] v3.0.0-dev.12 [2023-05-05T06:22:49.805Z] v3.0.0-dev.13 [2023-05-05T06:22:49.805Z] v3.0.0-dev.14 [2023-05-05T06:22:49.805Z] v3.0.0-dev.15 [2023-05-05T06:22:49.805Z] v3.0.0-dev.16 [2023-05-05T06:22:49.805Z] v3.0.0-dev.17 [2023-05-05T06:22:49.805Z] v3.0.0-dev.18 [2023-05-05T06:22:49.805Z] v3.0.0-dev.19 [2023-05-05T06:22:49.805Z] v3.0.0-dev.2 [2023-05-05T06:22:49.805Z] v3.0.0-dev.20 [2023-05-05T06:22:49.805Z] v3.0.0-dev.21 [2023-05-05T06:22:49.805Z] v3.0.0-dev.22 [2023-05-05T06:22:49.805Z] v3.0.0-dev.23 [2023-05-05T06:22:49.805Z] v3.0.0-dev.24 [2023-05-05T06:22:49.805Z] v3.0.0-dev.25 [2023-05-05T06:22:49.805Z] v3.0.0-dev.26 [2023-05-05T06:22:49.805Z] v3.0.0-dev.27 [2023-05-05T06:22:49.805Z] v3.0.0-dev.28 [2023-05-05T06:22:49.805Z] v3.0.0-dev.29 [2023-05-05T06:22:49.805Z] v3.0.0-dev.3 [2023-05-05T06:22:49.805Z] v3.0.0-dev.30 [2023-05-05T06:22:49.805Z] v3.0.0-dev.31 [2023-05-05T06:22:49.805Z] v3.0.0-dev.32 [2023-05-05T06:22:49.805Z] v3.0.0-dev.33 [2023-05-05T06:22:49.805Z] v3.0.0-dev.4 [2023-05-05T06:22:49.805Z] v3.0.0-dev.5 [2023-05-05T06:22:49.805Z] v3.0.0-dev.6 [2023-05-05T06:22:49.805Z] v3.0.0-dev.7 [2023-05-05T06:22:49.805Z] v3.0.0-dev.8 [2023-05-05T06:22:49.805Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-05T06:22:50.090Z] + lftools sign git-tag v3.0.0-dev.33 [2023-05-05T06:22:50.656Z] Signing Git tag with Sigul... [2023-05-05T06:22:50.656Z] Signing v3.0.0-dev.33 [2023-05-05T06:24:42.119Z] ERROR: I/O error: NSPR connection reset [Pipeline] echo [2023-05-05T06:24:42.127Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:24:42.406Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-05T06:24:42.412Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-05T06:24:42.441Z] $ docker stop --time=1 6ebdb3d8def3b7445975788d739f229364917046928d82391d741c7894281485 [2023-05-05T06:24:43.716Z] $ docker rm -f --volumes 6ebdb3d8def3b7445975788d739f229364917046928d82391d741c7894281485 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-05T06:24:44.115Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:24:44.115Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:24:44.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:24:44.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:24:44.474Z] prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container [2023-05-05T06:24:44.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:24:44.825Z] $ docker top ce8f5fef8972017a23b25089f45bc681c81fc7590bf7885b0e2f5a8aaa177d77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:24:44.907Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:24:44.907Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:24:45.012Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:24:45.025Z] $ docker exec ce8f5fef8972017a23b25089f45bc681c81fc7590bf7885b0e2f5a8aaa177d77 ssh-agent [2023-05-05T06:24:45.112Z] SSH_AUTH_SOCK=/tmp/ssh-nlpkxirArbVz/agent.32 [2023-05-05T06:24:45.112Z] SSH_AGENT_PID=38 [2023-05-05T06:24:45.116Z] Running ssh-add (command line suppressed) [2023-05-05T06:24:45.218Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_273229344005657325.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_273229344005657325.key) [2023-05-05T06:24:45.219Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:24:45.505Z] + git semver bump pre [2023-05-05T06:24:45.763Z] 2023-05-05 06:24:45,678 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:24:45.763Z] 2023-05-05 06:24:45,678 [bump_version] DEBUG bumping version:3.0.0-dev.33 on axis:pre with prefix:dev [2023-05-05T06:24:45.763Z] 2023-05-05 06:24:45,678 [bump_version] DEBUG bumped version:3.0.0-dev.34 [2023-05-05T06:24:45.763Z] 2023-05-05 06:24:45,678 [write_version] DEBUG write version:3.0.0-dev.34 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-05-05T06:24:45.763Z] 2023-05-05 06:24:45,679 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:24:45.763Z] 2023-05-05 06:24:45,679 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:24:45.763Z] 2023-05-05 06:24:45,680 [execute] INFO git cat-file --batch-check [2023-05-05T06:24:45.763Z] 2023-05-05 06:24:45,680 [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-05T06:24:45.763Z] 2023-05-05 06:24:45,685 [execute] INFO git cat-file --batch [2023-05-05T06:24:45.763Z] 2023-05-05 06:24:45,685 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:24:45.763Z] 2023-05-05 06:24:45,690 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:24:45.763Z] 3.0.0-dev.34 [Pipeline] } [2023-05-05T06:24:45.782Z] $ docker exec --env ******** --env ******** ce8f5fef8972017a23b25089f45bc681c81fc7590bf7885b0e2f5a8aaa177d77 ssh-agent -k [2023-05-05T06:24:45.874Z] unset SSH_AUTH_SOCK; [2023-05-05T06:24:45.874Z] unset SSH_AGENT_PID; [2023-05-05T06:24:45.874Z] echo Agent pid 38 killed; [2023-05-05T06:24:45.873Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:24:46.168Z] + git semver [Pipeline] } [2023-05-05T06:24:46.451Z] $ docker stop --time=1 ce8f5fef8972017a23b25089f45bc681c81fc7590bf7885b0e2f5a8aaa177d77 [2023-05-05T06:24:47.719Z] $ docker rm -f --volumes ce8f5fef8972017a23b25089f45bc681c81fc7590bf7885b0e2f5a8aaa177d77 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:24:48.040Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:24:48.040Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:24:48.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:24:48.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:24:48.408Z] prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container [2023-05-05T06:24:48.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:24:48.779Z] $ docker top a6f5ffcf3c65f2e1b4f60baf8898098542fba9ac1575c0815f1982ae07d900cd -eo pid,comm [2023-05-05T06:24:48.816Z] 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-05T06:24:48.816Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:24:48.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:24:48.853Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:24:48.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:24:48.969Z] $ docker exec a6f5ffcf3c65f2e1b4f60baf8898098542fba9ac1575c0815f1982ae07d900cd ssh-agent [2023-05-05T06:24:49.089Z] SSH_AUTH_SOCK=/tmp/ssh-VZqh1bzSjLrl/agent.32 [2023-05-05T06:24:49.089Z] SSH_AGENT_PID=38 [2023-05-05T06:24:49.094Z] Running ssh-add (command line suppressed) [2023-05-05T06:24:49.207Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16276603231673001092.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16276603231673001092.key) [2023-05-05T06:24:49.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:24:49.669Z] + git semver push [2023-05-05T06:24:49.669Z] 2023-05-05 06:24:49,669 [run_push] DEBUG push [2023-05-05T06:24:49.669Z] 2023-05-05 06:24:49,669 [execute] INFO git cat-file --batch-check [2023-05-05T06:24:49.669Z] 2023-05-05 06:24:49,670 [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-05T06:24:49.670Z] 2023-05-05 06:24:49,673 [execute] INFO git rev-list 3f041447daa236bf7dbba01d0f8d84f1a135528c -- [2023-05-05T06:24:49.670Z] 2023-05-05 06:24:49,674 [execute] DEBUG Popen(['git', 'rev-list', '3f041447daa236bf7dbba01d0f8d84f1a135528c', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:24:49.929Z] 2023-05-05 06:24:49,683 [execute] INFO git fetch -v origin [2023-05-05T06:24:49.929Z] 2023-05-05 06:24:49,683 [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-05T06:24:50.187Z] 2023-05-05 06:24:50,150 [run_push] DEBUG no remote changes detected [2023-05-05T06:24:50.187Z] 2023-05-05 06:24:50,150 [execute] INFO git push origin semver [2023-05-05T06:24:50.187Z] 2023-05-05 06:24:50,150 [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-05T06:24:51.123Z] 2023-05-05 06:24:50,893 [run_push] DEBUG push all version tags [2023-05-05T06:24:51.123Z] 2023-05-05 06:24:50,894 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-05T06:24:51.123Z] 2023-05-05 06:24:50,894 [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-05T06:24:51.691Z] 2023-05-05 06:24:51,617 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-05T06:24:51.691Z] 3.0.0-dev.34 [Pipeline] } [2023-05-05T06:24:51.709Z] $ docker exec --env ******** --env ******** a6f5ffcf3c65f2e1b4f60baf8898098542fba9ac1575c0815f1982ae07d900cd ssh-agent -k [2023-05-05T06:24:51.796Z] unset SSH_AUTH_SOCK; [2023-05-05T06:24:51.796Z] unset SSH_AGENT_PID; [2023-05-05T06:24:51.796Z] echo Agent pid 38 killed; [2023-05-05T06:24:51.801Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:24:52.101Z] + git semver [Pipeline] } [2023-05-05T06:24:52.382Z] $ docker stop --time=1 a6f5ffcf3c65f2e1b4f60baf8898098542fba9ac1575c0815f1982ae07d900cd [2023-05-05T06:24:53.652Z] $ docker rm -f --volumes a6f5ffcf3c65f2e1b4f60baf8898098542fba9ac1575c0815f1982ae07d900cd [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-05T06:24:54.258Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-05T06:24:54.258Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-05T06:24:54.258Z] total 16 [2023-05-05T06:24:54.258Z] drwxr-xr-x 3 root root 4096 May 5 06:10 . [2023-05-05T06:24:54.258Z] drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:22 .. [2023-05-05T06:24:54.258Z] drwxr-xr-x 2 root root 4096 May 5 06:10 cost [2023-05-05T06:24:54.258Z] -rw-r--r-- 1 root root 87 May 5 06:10 cost.csv [2023-05-05T06:24:54.258Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-05T06:24:54.258Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-05T06:24:54.258Z] total 16 [2023-05-05T06:24:54.258Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:10 . [2023-05-05T06:24:54.258Z] drwxrwxr-x 11 jenkins jenkins 4096 May 5 06:22 .. [2023-05-05T06:24:54.258Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:10 cost [2023-05-05T06:24:54.258Z] -rw-r--r-- 1 jenkins jenkins 87 May 5 06:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:24:54.609Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:24:55.468Z] ---> package-listing.sh [2023-05-05T06:24:55.468Z] ++ facter osfamily [2023-05-05T06:24:55.468Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-05T06:24:55.727Z] + OS_FAMILY=debian [2023-05-05T06:24:55.727Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-05T06:24:55.727Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-05T06:24:55.727Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-05T06:24:55.727Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-05T06:24:55.727Z] + PACKAGES=/tmp/packages_start.txt [2023-05-05T06:24:55.727Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-05T06:24:55.727Z] + PACKAGES=/tmp/packages_end.txt [2023-05-05T06:24:55.727Z] + case "${OS_FAMILY}" in [2023-05-05T06:24:55.727Z] + dpkg -l [2023-05-05T06:24:55.727Z] + grep '^ii' [2023-05-05T06:24:55.727Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-05T06:24:55.727Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-05T06:24:55.727Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-05T06:24:55.727Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-05T06:24:55.727Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-05T06:24:55.727Z] + 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-05T06:24:55.737Z] 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-05T06:24:56.013Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:24:56.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:24:56.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:24:56.634Z] prd-ubuntu20.04-docker-8c-8g-13843 does not seem to be running inside a container [2023-05-05T06:24:56.673Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T06:24:56.854Z] $ docker top 22075d139834119c5a1d0f5c0d890957cfbfadf194779f6a27b98bd91fd145d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:24:57.177Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-05T06:24:57.462Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-05T06:24:57.744Z] + ls /var/log/sa-host [2023-05-05T06:24:57.744Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:24:57.810Z] provisioning config files... [2023-05-05T06:24:57.818Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8195044141110482725tmp [Pipeline] { [Pipeline] echo [2023-05-05T06:24:57.829Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:24:58.109Z] ---> create-netrc.sh [Pipeline] } [2023-05-05T06:24:58.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:24:58.432Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-05T06:24:58.439Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:24:58.720Z] ---> sudo-logs.sh [2023-05-05T06:24:58.720Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-05T06:24:58.751Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:24:59.035Z] ---> job-cost.sh [2023-05-05T06:24:59.035Z] lf-activate-venv: SKIPPING [2023-05-05T06:24:59.035Z] DEBUG: total: 0.2199999988079071 [2023-05-05T06:24:59.035Z] INFO: Retrieving Stack Cost... [2023-05-05T06:24:59.294Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T06:24:59.863Z] INFO: Archiving Costs [Pipeline] echo [2023-05-05T06:24:59.875Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:25:00.159Z] ---> logs-deploy.sh [2023-05-05T06:25:00.159Z] lf-activate-venv: SKIPPING [2023-05-05T06:25:00.159Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/99 [2023-05-05T06:25:00.159Z] INFO: archiving workspace using pattern(s): [2023-05-05T06:25:01.095Z] Archives upload complete. [2023-05-05T06:25:01.095Z] INFO: archiving logs to Nexus