Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 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-ssh11920896772378475439.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14396153783248016428.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12521650262639090903.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh3460414207248369678.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-ssh11481841841654619989.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8871 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 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 (main) Commit message: "Merge pull request #457 from hahattan/bump-sdk" > 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 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 # timeout=10 > git rev-list --no-walk 640aa887e9955506bed08a06d24af596cf944b9d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T05:26:33.777Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T05:26:33.816Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T05:26:33.829Z] ========================================================= [2023-04-18T05:26:33.829Z] EdgeX Global Pipelines Version Info [2023-04-18T05:26:33.829Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:26:34.537Z] ------------------- [2023-04-18T05:26:34.537Z] stable info: [2023-04-18T05:26:34.537Z] ------------------- [2023-04-18T05:26:34.537Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T05:26:34.537Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T05:26:34.537Z] Message: update stable to v1.0.248 [2023-04-18T05:26:35.107Z] ------------------- [2023-04-18T05:26:35.107Z] experimental info: [2023-04-18T05:26:35.107Z] ------------------- [2023-04-18T05:26:35.107Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T05:26:35.107Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T05:26:35.107Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T05:26:35.284Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-18T05:26:35.295Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-18T05:26:35.308Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T05:26:35.321Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T05:26:35.332Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T05:26:35.345Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T05:26:35.359Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T05:26:35.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T05:26:35.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T05:26:35.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T05:26:35.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T05:26:35.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-18T05:26:35.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T05:26:35.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T05:26:35.467Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T05:26:35.481Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T05:26:35.492Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T05:26:35.503Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T05:26:35.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T05:26:35.527Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T05:26:35.539Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T05:26:35.551Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T05:26:35.560Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T05:26:35.575Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T05:26:35.585Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T05:26:35.596Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T05:26:35.610Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T05:26:35.621Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-18T05:26:35.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-18T05:26:35.652Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-18T05:26:35.662Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] echo [2023-04-18T05:26:35.673Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96a911a [Pipeline] echo [2023-04-18T05:26:35.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T05:26:35.728Z] provisioning config files... [2023-04-18T05:26:35.740Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15815985588948706120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:26:36.040Z] ---> docker-login.sh [2023-04-18T05:26:36.040Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:26:36.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:26:36.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:26:36.300Z] Configure a credential helper to remove this warning. See [2023-04-18T05:26:36.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:26:36.300Z] [2023-04-18T05:26:36.300Z] Login Succeeded [2023-04-18T05:26:36.300Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:26:36.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:26:36.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:26:36.581Z] Configure a credential helper to remove this warning. See [2023-04-18T05:26:36.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:26:36.581Z] [2023-04-18T05:26:36.581Z] Login Succeeded [2023-04-18T05:26:36.581Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:26:36.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:26:36.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:26:36.581Z] Configure a credential helper to remove this warning. See [2023-04-18T05:26:36.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:26:36.581Z] [2023-04-18T05:26:36.581Z] Login Succeeded [2023-04-18T05:26:36.581Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:26:36.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:26:36.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:26:36.843Z] Configure a credential helper to remove this warning. See [2023-04-18T05:26:36.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:26:36.843Z] [2023-04-18T05:26:36.843Z] Login Succeeded [2023-04-18T05:26:36.843Z] docker.io [2023-04-18T05:26:36.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:26:37.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:26:37.103Z] Configure a credential helper to remove this warning. See [2023-04-18T05:26:37.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:26:37.103Z] [2023-04-18T05:26:37.103Z] Login Succeeded [2023-04-18T05:26:37.103Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:26:37.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T05:26:37.474Z] + git rev-list -1 --merges 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748~1..96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] echo [2023-04-18T05:26:37.522Z] -----------> git rev-list -1 --merges 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748~1..96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [2023-04-18T05:26:37.522Z] 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [false] [Pipeline] sh [2023-04-18T05:26:37.826Z] + git log --format=format:%s -1 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] echo [2023-04-18T05:26:37.853Z] ========================================================= [2023-04-18T05:26:37.853Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T05:26:37.853Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:26:38.173Z] + git log --format=format:%s -1 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] echo [2023-04-18T05:26:38.185Z] [semverPrep] GIT_COMMIT: 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748, Commit Message: Merge pull request #457 from hahattan/bump-sdk [Pipeline] echo [2023-04-18T05:26:38.195Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T05:26:38.541Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T05:26:38.542Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T05:26:38.542Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T05:26:38.542Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T05:26:38.542Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T05:26:38.542Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T05:26:38.542Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:26:38.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:26:38.961Z] [2023-04-18T05:26:38.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:26:39.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:26:39.256Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T05:26:39.256Z] b85a868b505f: Pulling fs layer [2023-04-18T05:26:39.256Z] e2be974225ed: Pulling fs layer [2023-04-18T05:26:39.256Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T05:26:39.256Z] 988bab9f4d93: Pulling fs layer [2023-04-18T05:26:39.256Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T05:26:39.256Z] 988bab9f4d93: Waiting [2023-04-18T05:26:39.256Z] eaf3925da568: Pulling fs layer [2023-04-18T05:26:39.256Z] 1469e6f7b9e6: Waiting [2023-04-18T05:26:39.256Z] bab4dde63d76: Pulling fs layer [2023-04-18T05:26:39.256Z] bde34c3a00c8: Pulling fs layer [2023-04-18T05:26:39.256Z] eaf3925da568: Waiting [2023-04-18T05:26:39.256Z] bab4dde63d76: Waiting [2023-04-18T05:26:39.256Z] bde34c3a00c8: Waiting [2023-04-18T05:26:39.256Z] b352a97aabf1: Pulling fs layer [2023-04-18T05:26:39.256Z] 4872d77fe225: Pulling fs layer [2023-04-18T05:26:39.256Z] 5851b861e8e6: Pulling fs layer [2023-04-18T05:26:39.256Z] 4872d77fe225: Waiting [2023-04-18T05:26:39.256Z] 5851b861e8e6: Waiting [2023-04-18T05:26:39.256Z] b352a97aabf1: Waiting [2023-04-18T05:26:39.256Z] e2be974225ed: Verifying Checksum [2023-04-18T05:26:39.256Z] e2be974225ed: Download complete [2023-04-18T05:26:39.256Z] 988bab9f4d93: Verifying Checksum [2023-04-18T05:26:39.256Z] 988bab9f4d93: Download complete [2023-04-18T05:26:39.256Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T05:26:39.256Z] 1469e6f7b9e6: Download complete [2023-04-18T05:26:39.256Z] eaf3925da568: Download complete [2023-04-18T05:26:39.256Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T05:26:39.256Z] 339a4e72a1f5: Download complete [2023-04-18T05:26:39.515Z] bde34c3a00c8: Download complete [2023-04-18T05:26:39.515Z] b352a97aabf1: Download complete [2023-04-18T05:26:39.515Z] 4872d77fe225: Download complete [2023-04-18T05:26:39.515Z] 5851b861e8e6: Download complete [2023-04-18T05:26:39.515Z] b85a868b505f: Verifying Checksum [2023-04-18T05:26:39.515Z] b85a868b505f: Download complete [2023-04-18T05:26:39.773Z] bab4dde63d76: Verifying Checksum [2023-04-18T05:26:39.773Z] bab4dde63d76: Download complete [2023-04-18T05:26:40.714Z] b85a868b505f: Pull complete [2023-04-18T05:26:40.973Z] e2be974225ed: Pull complete [2023-04-18T05:26:41.232Z] 339a4e72a1f5: Pull complete [2023-04-18T05:26:41.493Z] 988bab9f4d93: Pull complete [2023-04-18T05:26:41.754Z] 1469e6f7b9e6: Pull complete [2023-04-18T05:26:41.754Z] eaf3925da568: Pull complete [2023-04-18T05:26:43.660Z] bab4dde63d76: Pull complete [2023-04-18T05:26:43.660Z] bde34c3a00c8: Pull complete [2023-04-18T05:26:43.660Z] b352a97aabf1: Pull complete [2023-04-18T05:26:43.922Z] 4872d77fe225: Pull complete [2023-04-18T05:26:43.922Z] 5851b861e8e6: Pull complete [2023-04-18T05:26:43.922Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T05:26:43.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:26:43.922Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:26:44.012Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-04-18T05:26:44.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T05:26:46.404Z] $ docker top f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 -eo pid,comm [2023-04-18T05:26:46.464Z] 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-04-18T05:26:46.464Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T05:26:46.496Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T05:26:46.496Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T05:26:46.614Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T05:26:46.610Z] $ docker exec f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 ssh-agent [2023-04-18T05:26:46.735Z] SSH_AUTH_SOCK=/tmp/ssh-nw2VN8MEunYf/agent.32 [2023-04-18T05:26:46.735Z] SSH_AGENT_PID=38 [2023-04-18T05:26:46.743Z] Running ssh-add (command line suppressed) [2023-04-18T05:26:46.836Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13657233072163178587.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13657233072163178587.key) [2023-04-18T05:26:46.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T05:26:47.148Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T05:26:47.160Z] $ docker exec --env ******** --env ******** f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 ssh-agent -k [2023-04-18T05:26:47.264Z] unset SSH_AUTH_SOCK; [2023-04-18T05:26:47.265Z] unset SSH_AGENT_PID; [2023-04-18T05:26:47.265Z] echo Agent pid 38 killed; [2023-04-18T05:26:47.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T05:26:47.308Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T05:26:47.308Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T05:26:47.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T05:26:47.421Z] $ docker exec f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 ssh-agent [2023-04-18T05:26:47.542Z] SSH_AUTH_SOCK=/tmp/ssh-ZNT907vI9xeA/agent.70 [2023-04-18T05:26:47.542Z] SSH_AGENT_PID=76 [2023-04-18T05:26:47.547Z] Running ssh-add (command line suppressed) [2023-04-18T05:26:47.642Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12914032067707397095.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12914032067707397095.key) [2023-04-18T05:26:47.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T05:26:47.951Z] + git semver init [2023-04-18T05:26:48.210Z] 2023-04-18 05:26:48,131 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T05:26:48.210Z] 2023-04-18 05:26:48,131 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-04-18T05:26:48.210Z] 2023-04-18 05:26:48,132 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-04-18T05:26:48.210Z] 2023-04-18 05:26:48,132 [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-04-18T05:26:49.149Z] 2023-04-18 05:26:48,898 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-04-18T05:26:49.149Z] 2023-04-18 05:26:48,898 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-04-18T05:26:49.149Z] 2023-04-18 05:26:48,899 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T05:26:49.149Z] 2023-04-18 05:26:48,899 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T05:26:49.149Z] 3.0.0-dev.28 [Pipeline] } [2023-04-18T05:26:49.154Z] $ docker exec --env ******** --env ******** f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 ssh-agent -k [2023-04-18T05:26:49.246Z] unset SSH_AUTH_SOCK; [2023-04-18T05:26:49.247Z] unset SSH_AGENT_PID; [2023-04-18T05:26:49.247Z] echo Agent pid 76 killed; [2023-04-18T05:26:49.265Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T05:26:49.575Z] + git semver [Pipeline] } [2023-04-18T05:26:49.843Z] $ docker stop --time=1 f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 [2023-04-18T05:26:51.154Z] $ docker rm -f --volumes f725c1db500d600bce3dba262cc68266ccee32285acbe7ec805b3df5a408e493 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:26:51.496Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T05:26:51.705Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T05:26:51.708Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.28 [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-04-18T05:26:51.840Z] provisioning config files... [2023-04-18T05:26:51.849Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config58069287261572250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:26:52.145Z] ---> docker-login.sh [2023-04-18T05:26:52.145Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:26:52.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:26:52.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:26:52.145Z] Configure a credential helper to remove this warning. See [2023-04-18T05:26:52.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:26:52.145Z] [2023-04-18T05:26:52.145Z] Login Succeeded [2023-04-18T05:26:52.145Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:26:52.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:26:52.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:26:52.145Z] Configure a credential helper to remove this warning. See [2023-04-18T05:26:52.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:26:52.145Z] [2023-04-18T05:26:52.145Z] Login Succeeded [2023-04-18T05:26:52.145Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:26:52.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:26:52.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:26:52.406Z] Configure a credential helper to remove this warning. See [2023-04-18T05:26:52.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:26:52.406Z] [2023-04-18T05:26:52.406Z] Login Succeeded [2023-04-18T05:26:52.406Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:26:52.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:26:52.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:26:52.406Z] Configure a credential helper to remove this warning. See [2023-04-18T05:26:52.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:26:52.406Z] [2023-04-18T05:26:52.406Z] Login Succeeded [2023-04-18T05:26:52.406Z] docker.io [2023-04-18T05:26:52.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:26:52.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:26:52.666Z] Configure a credential helper to remove this warning. See [2023-04-18T05:26:52.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:26:52.666Z] [2023-04-18T05:26:52.666Z] Login Succeeded [2023-04-18T05:26:52.666Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:26:52.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T05:26:52.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:26:52.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:26:52.762Z] ========================================================= [2023-04-18T05:26:52.762Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T05:26:52.762Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:26:53.075Z] + 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-04-18T05:26:53.075Z] Sending build context to Docker daemon 6.421MB [2023-04-18T05:26:53.075Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:26:53.075Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T05:26:53.075Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T05:26:53.075Z] 63b65145d645: Pulling fs layer [2023-04-18T05:26:53.075Z] a2d21d5440eb: Pulling fs layer [2023-04-18T05:26:53.075Z] 935e6c44a52c: Pulling fs layer [2023-04-18T05:26:53.075Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T05:26:53.075Z] 30dea6a524f1: Pulling fs layer [2023-04-18T05:26:53.075Z] a2aff8979fd8: Pulling fs layer [2023-04-18T05:26:53.075Z] 6808be2612f2: Pulling fs layer [2023-04-18T05:26:53.075Z] f25807f1079a: Pulling fs layer [2023-04-18T05:26:53.075Z] 94cc34f8dd06: Waiting [2023-04-18T05:26:53.075Z] 30dea6a524f1: Waiting [2023-04-18T05:26:53.075Z] f25807f1079a: Waiting [2023-04-18T05:26:53.075Z] a2aff8979fd8: Waiting [2023-04-18T05:26:53.075Z] 6808be2612f2: Waiting [2023-04-18T05:26:53.075Z] a2d21d5440eb: Verifying Checksum [2023-04-18T05:26:53.075Z] a2d21d5440eb: Download complete [2023-04-18T05:26:53.075Z] 94cc34f8dd06: Verifying Checksum [2023-04-18T05:26:53.075Z] 94cc34f8dd06: Download complete [2023-04-18T05:26:53.334Z] 30dea6a524f1: Verifying Checksum [2023-04-18T05:26:53.334Z] 63b65145d645: Verifying Checksum [2023-04-18T05:26:53.334Z] 63b65145d645: Download complete [2023-04-18T05:26:53.334Z] a2aff8979fd8: Verifying Checksum [2023-04-18T05:26:53.334Z] a2aff8979fd8: Download complete [2023-04-18T05:26:53.334Z] 63b65145d645: Pull complete [2023-04-18T05:26:53.593Z] a2d21d5440eb: Pull complete [2023-04-18T05:26:53.593Z] f25807f1079a: Verifying Checksum [2023-04-18T05:26:53.593Z] f25807f1079a: Download complete [2023-04-18T05:26:53.853Z] 935e6c44a52c: Verifying Checksum [2023-04-18T05:26:53.853Z] 935e6c44a52c: Download complete [2023-04-18T05:26:54.112Z] 6808be2612f2: Verifying Checksum [2023-04-18T05:26:54.112Z] 6808be2612f2: Download complete [2023-04-18T05:26:57.412Z] 935e6c44a52c: Pull complete [2023-04-18T05:26:57.412Z] 94cc34f8dd06: Pull complete [2023-04-18T05:26:57.412Z] 30dea6a524f1: Pull complete [2023-04-18T05:26:57.412Z] a2aff8979fd8: Pull complete [2023-04-18T05:26:59.943Z] 6808be2612f2: Pull complete [2023-04-18T05:27:00.511Z] f25807f1079a: Pull complete [2023-04-18T05:27:00.511Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T05:27:00.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T05:27:00.511Z] ---> 3b553350e43f [2023-04-18T05:27:00.511Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-18T05:27:03.816Z] ---> Running in ddce75b3b4a5 [2023-04-18T05:27:04.075Z] Removing intermediate container ddce75b3b4a5 [2023-04-18T05:27:04.075Z] ---> 64b54c847368 [2023-04-18T05:27:04.075Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T05:27:04.075Z] ---> Running in 86bae6ba4539 [2023-04-18T05:27:04.075Z] Removing intermediate container 86bae6ba4539 [2023-04-18T05:27:04.075Z] ---> 13c7c89aea63 [2023-04-18T05:27:04.075Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-18T05:27:04.075Z] ---> Running in 8031ea99c387 [2023-04-18T05:27:04.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:27:04.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:27:04.594Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T05:27:04.851Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-18T05:27:04.851Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T05:27:04.851Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T05:27:04.851Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-18T05:27:04.851Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-18T05:27:04.851Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-18T05:27:04.851Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-18T05:27:04.851Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T05:27:04.851Z] OK: 270 MiB in 61 packages [2023-04-18T05:27:05.418Z] Removing intermediate container 8031ea99c387 [2023-04-18T05:27:05.419Z] ---> d5c1f3daf14d [2023-04-18T05:27:05.419Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-18T05:27:05.419Z] ---> Running in b1d15cf0a32f [2023-04-18T05:27:05.419Z] Removing intermediate container b1d15cf0a32f [2023-04-18T05:27:05.419Z] ---> e51b695ba5ee [2023-04-18T05:27:05.419Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T05:27:05.677Z] ---> 280a0c1da9d2 [2023-04-18T05:27:05.677Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:27:05.677Z] ---> Running in 4320c924ea4d [2023-04-18T05:27:06.803Z] Still waiting to schedule task [2023-04-18T05:27:06.804Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-18T05:27:52.367Z] Removing intermediate container 4320c924ea4d [2023-04-18T05:27:52.367Z] ---> 10c8ef6bb7e1 [2023-04-18T05:27:52.367Z] Step 9/10 : COPY . . [2023-04-18T05:27:52.367Z] ---> a7f37cdcb72b [2023-04-18T05:27:52.367Z] Step 10/10 : RUN ${MAKE} [2023-04-18T05:27:52.367Z] ---> Running in cc1108d080f2 [2023-04-18T05:27:52.367Z] noop [2023-04-18T05:27:52.367Z] Removing intermediate container cc1108d080f2 [2023-04-18T05:27:52.367Z] ---> 32ce4857211e [2023-04-18T05:27:52.367Z] Successfully built 32ce4857211e [2023-04-18T05:27:52.367Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:27:52.693Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T05:27:52.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:27:52.760Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-04-18T05:27:52.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T05:27:53.117Z] $ docker top b86a67721856f0f716f47e815c75ebf3d06dd466f6d48c02b34e6549e2be8793 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:27:53.460Z] + go version [2023-04-18T05:27:53.461Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T05:27:53.474Z] $ docker stop --time=1 b86a67721856f0f716f47e815c75ebf3d06dd466f6d48c02b34e6549e2be8793 [2023-04-18T05:27:54.737Z] $ docker rm -f --volumes b86a67721856f0f716f47e815c75ebf3d06dd466f6d48c02b34e6549e2be8793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:27:55.151Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T05:27:55.151Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:27:55.222Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-04-18T05:27:55.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T05:27:55.596Z] $ docker top b4a416b8ad3ecba9c8d4fc90ae05c4c888bffa8ade07a91af62ed1a8d18bb73f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:27:55.937Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-04-18T05:27:56.230Z] + make test [2023-04-18T05:27:56.230Z] go test ./... -coverprofile=coverage.out [2023-04-18T05:28:01.499Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-18T05:28:11.472Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-18T05:28:11.472Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements [2023-04-18T05:28:18.038Z] go vet ./... [2023-04-18T05:28:22.222Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T05:28:22.222Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T05:28:22.222Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T05:28:22.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T05:28:22.244Z] $ docker stop --time=1 b4a416b8ad3ecba9c8d4fc90ae05c4c888bffa8ade07a91af62ed1a8d18bb73f [2023-04-18T05:28:25.080Z] $ docker rm -f --volumes b4a416b8ad3ecba9c8d4fc90ae05c4c888bffa8ade07a91af62ed1a8d18bb73f [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:28:25.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T05:28:25.588Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T05:28:26.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T05:28:26.394Z] + ls -al . [2023-04-18T05:28:26.394Z] total 180 [2023-04-18T05:28:26.394Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:27 . [2023-04-18T05:28:26.394Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:26 .. [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:26 .dockerignore [2023-04-18T05:28:26.394Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:26 .git [2023-04-18T05:28:26.394Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:26 .github [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:26 .gitignore [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:26 .golangci.yml [2023-04-18T05:28:26.394Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:26 .semver [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 05:26 Attribution.txt [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 05:26 CHANGELOG.md [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 05:26 Dockerfile [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:26 GOVERNANCE.md [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:26 Jenkinsfile [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:26 LICENSE [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 05:26 Makefile [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:26 OWNERS.md [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 05:26 README.md [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 05:26 VERSION [2023-04-18T05:28:26.394Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:26 bin [2023-04-18T05:28:26.394Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:26 cmd [2023-04-18T05:28:26.394Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 05:28 coverage.out [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 05:26 go.mod [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 18 05:26 go.sum [2023-04-18T05:28:26.394Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:26 internal [2023-04-18T05:28:26.394Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:26 simulator [2023-04-18T05:28:26.394Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:26 snap [2023-04-18T05:28:26.394Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:28:26.732Z] + 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=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 --label arch=amd64 --label version=3.0.0-dev.28 . [2023-04-18T05:28:26.732Z] Sending build context to Docker daemon 6.446MB [2023-04-18T05:28:26.732Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:28:26.732Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-18T05:28:26.732Z] ---> 32ce4857211e [2023-04-18T05:28:26.732Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-18T05:28:26.732Z] ---> Running in 69cdeb45ef97 [2023-04-18T05:28:26.732Z] Removing intermediate container 69cdeb45ef97 [2023-04-18T05:28:26.732Z] ---> a1ac0fdbc702 [2023-04-18T05:28:26.732Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T05:28:26.999Z] ---> Running in a27aa47dc995 [2023-04-18T05:28:26.999Z] Removing intermediate container a27aa47dc995 [2023-04-18T05:28:26.999Z] ---> b138beb5f8af [2023-04-18T05:28:26.999Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-18T05:28:26.999Z] ---> Running in 33b73c6c9f4a [2023-04-18T05:28:27.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:28:27.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:28:27.538Z] OK: 270 MiB in 61 packages [2023-04-18T05:28:28.144Z] Removing intermediate container 33b73c6c9f4a [2023-04-18T05:28:28.144Z] ---> c107d6079af1 [2023-04-18T05:28:28.144Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-18T05:28:28.144Z] ---> Running in 4d49d842e95c [2023-04-18T05:28:28.144Z] Removing intermediate container 4d49d842e95c [2023-04-18T05:28:28.144Z] ---> 107303e58c9d [2023-04-18T05:28:28.144Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-18T05:28:28.144Z] ---> 7104d1cd2dee [2023-04-18T05:28:28.144Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:28:28.144Z] ---> Running in 87b7d5179cfd [2023-04-18T05:28:29.142Z] Removing intermediate container 87b7d5179cfd [2023-04-18T05:28:29.142Z] ---> b0f112839da3 [2023-04-18T05:28:29.142Z] Step 9/22 : COPY . . [2023-04-18T05:28:29.401Z] ---> 93cda4905092 [2023-04-18T05:28:29.401Z] Step 10/22 : RUN ${MAKE} [2023-04-18T05:28:29.401Z] ---> Running in 61ccc27b319d [2023-04-18T05:28:29.660Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-18T05:28:40.392Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8872 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-04-18T05:28:40.405Z] Running in /w/workspace/device-modbus-go/94 [Pipeline] { [Pipeline] checkout [2023-04-18T05:28:40.442Z] Selected Git installation does not exist. Using Default [2023-04-18T05:28:40.442Z] The recommended git tool is: NONE [2023-04-18T05:28:45.714Z] using credential edgex-jenkins-ssh [2023-04-18T05:28:45.731Z] Cloning the remote Git repository [2023-04-18T05:28:45.770Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-18T05:28:45.864Z] > git init /w/workspace/device-modbus-go/94 # timeout=10 [2023-04-18T05:28:46.005Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-18T05:28:46.006Z] > git --version # timeout=10 [2023-04-18T05:28:46.026Z] > git --version # 'git version 2.25.1' [2023-04-18T05:28:46.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T05:28:46.177Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T05:28:47.239Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-18T05:28:47.258Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T05:28:48.189Z] Avoid second fetch [2023-04-18T05:28:48.189Z] Checking out Revision 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 (main) [2023-04-18T05:28:48.766Z] Commit message: "Merge pull request #457 from hahattan/bump-sdk" [2023-04-18T05:28:48.204Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T05:28:48.283Z] > git checkout -f 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:28:49.764Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T05:28:49.764Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T05:28:49.764Z] Dload Upload Total Spent Left Speed [2023-04-18T05:28:49.764Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2023-04-18T05:28:50.408Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T05:28:50.740Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T05:28:50.740Z] + sudo tee /etc/docker/daemon.new [2023-04-18T05:28:50.740Z] { [2023-04-18T05:28:50.740Z] "registry-mirrors": [ [2023-04-18T05:28:50.740Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T05:28:50.740Z] ], [2023-04-18T05:28:50.740Z] "bip": "10.250.0.254/24", [2023-04-18T05:28:50.740Z] "hosts": [ [2023-04-18T05:28:50.740Z] "tcp://0.0.0.0:5555", [2023-04-18T05:28:50.740Z] "unix:///var/run/docker.sock" [2023-04-18T05:28:50.740Z] ], [2023-04-18T05:28:50.740Z] "mtu": 1458, [2023-04-18T05:28:50.740Z] "selinux-enabled": true, [2023-04-18T05:28:50.740Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T05:28:50.740Z] } [Pipeline] sh [2023-04-18T05:28:51.081Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T05:28:51.415Z] + sudo service docker restart [2023-04-18T05:28:51.621Z] Removing intermediate container 61ccc27b319d [2023-04-18T05:28:51.621Z] ---> 619220c0996f [2023-04-18T05:28:51.621Z] Step 11/22 : FROM alpine:3.17 [2023-04-18T05:28:51.621Z] 3.17: Pulling from library/alpine [2023-04-18T05:28:51.621Z] f56be85fc22e: Pulling fs layer [2023-04-18T05:28:51.621Z] f56be85fc22e: Download complete [2023-04-18T05:28:51.621Z] f56be85fc22e: Pull complete [2023-04-18T05:28:51.621Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T05:28:51.621Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T05:28:51.621Z] ---> 9ed4aefc74f6 [2023-04-18T05:28:51.621Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-18T05:28:51.621Z] ---> Running in 8f798b2b7254 [2023-04-18T05:28:51.621Z] Removing intermediate container 8f798b2b7254 [2023-04-18T05:28:51.621Z] ---> c1e47f8c5910 [2023-04-18T05:28:51.621Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-18T05:28:51.621Z] ---> Running in df74821557e1 [2023-04-18T05:28:51.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T05:28:51.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T05:28:51.621Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T05:28:51.621Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T05:28:51.621Z] OK: 7 MiB in 16 packages [2023-04-18T05:28:51.880Z] Removing intermediate container df74821557e1 [2023-04-18T05:28:51.880Z] ---> 930b7c8e58d4 [2023-04-18T05:28:51.880Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-18T05:28:52.817Z] ---> bb88c026245d [2023-04-18T05:28:52.817Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-18T05:28:52.817Z] ---> 897e19893e0f [2023-04-18T05:28:52.817Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-18T05:28:52.817Z] ---> 015c928cbdcf [2023-04-18T05:28:52.817Z] Step 17/22 : EXPOSE 59901 [2023-04-18T05:28:52.817Z] ---> Running in bea1e981e95b [2023-04-18T05:28:52.817Z] Removing intermediate container bea1e981e95b [2023-04-18T05:28:52.817Z] ---> 494122db0959 [2023-04-18T05:28:52.817Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-18T05:28:52.817Z] ---> Running in f07ba8f30533 [2023-04-18T05:28:53.078Z] Removing intermediate container f07ba8f30533 [2023-04-18T05:28:53.078Z] ---> 1cf67667400d [2023-04-18T05:28:53.078Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T05:28:53.078Z] ---> Running in 5f0123845bd0 [2023-04-18T05:28:53.078Z] Removing intermediate container 5f0123845bd0 [2023-04-18T05:28:53.078Z] ---> ce14c9c26215 [2023-04-18T05:28:53.078Z] Step 20/22 : LABEL arch=amd64 [2023-04-18T05:28:53.078Z] ---> Running in 603feced2273 [2023-04-18T05:28:53.337Z] Removing intermediate container 603feced2273 [2023-04-18T05:28:53.337Z] ---> ee702aabe6b1 [2023-04-18T05:28:53.337Z] Step 21/22 : LABEL git_sha=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [2023-04-18T05:28:53.337Z] ---> Running in 909b61e0029f [2023-04-18T05:28:53.337Z] Removing intermediate container 909b61e0029f [2023-04-18T05:28:53.337Z] ---> d750473db896 [2023-04-18T05:28:53.337Z] Step 22/22 : LABEL version=3.0.0-dev.28 [2023-04-18T05:28:53.337Z] ---> Running in 73af7b4b465c [2023-04-18T05:28:53.337Z] Removing intermediate container 73af7b4b465c [2023-04-18T05:28:53.337Z] ---> 1d3688dd03c1 [2023-04-18T05:28:53.337Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T05:28:53.337Z] Successfully built 1d3688dd03c1 [2023-04-18T05:28:53.337Z] 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-04-18T05:28:53.444Z] provisioning config files... [2023-04-18T05:28:53.453Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15462603256432165542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:28:53.745Z] ---> docker-login.sh [2023-04-18T05:28:53.745Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:28:53.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:28:53.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:28:53.745Z] Configure a credential helper to remove this warning. See [2023-04-18T05:28:53.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:28:53.745Z] [2023-04-18T05:28:53.745Z] Login Succeeded [2023-04-18T05:28:53.745Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:28:53.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:28:53.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:28:53.745Z] Configure a credential helper to remove this warning. See [2023-04-18T05:28:53.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:28:53.745Z] [2023-04-18T05:28:53.745Z] Login Succeeded [2023-04-18T05:28:53.745Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:28:54.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:28:54.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:28:54.005Z] Configure a credential helper to remove this warning. See [2023-04-18T05:28:54.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:28:54.005Z] [2023-04-18T05:28:54.005Z] Login Succeeded [2023-04-18T05:28:54.005Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:28:54.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:28:54.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:28:54.005Z] Configure a credential helper to remove this warning. See [2023-04-18T05:28:54.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:28:54.005Z] [2023-04-18T05:28:54.005Z] Login Succeeded [2023-04-18T05:28:54.005Z] docker.io [2023-04-18T05:28:54.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:28:54.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:28:54.266Z] Configure a credential helper to remove this warning. See [2023-04-18T05:28:54.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:28:54.266Z] [2023-04-18T05:28:54.266Z] Login Succeeded [2023-04-18T05:28:54.266Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:28:54.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T05:28:54.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:28:54.340Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-04-18T05:28:54.340Z] 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [2023-04-18T05:28:54.340Z] latest [2023-04-18T05:28:54.340Z] 3.0.0-dev.28 [2023-04-18T05:28:54.340Z] 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 [2023-04-18T05:28:54.340Z] main [2023-04-18T05:28:54.340Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:28:54.664Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:28:54.969Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [2023-04-18T05:28:54.969Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-18T05:28:54.969Z] 9ce26f86d080: Preparing [2023-04-18T05:28:54.969Z] 275842d2f10e: Preparing [2023-04-18T05:28:54.969Z] 134563bf39da: Preparing [2023-04-18T05:28:54.969Z] f8d8bffc8397: Preparing [2023-04-18T05:28:54.969Z] f1417ff83b31: Preparing [2023-04-18T05:28:54.969Z] f1417ff83b31: Layer already exists [2023-04-18T05:28:54.969Z] 9ce26f86d080: Pushed [2023-04-18T05:28:54.969Z] 275842d2f10e: Pushed [2023-04-18T05:28:54.969Z] f8d8bffc8397: Pushed [2023-04-18T05:28:57.505Z] 134563bf39da: Pushed [2023-04-18T05:28:57.764Z] 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748: digest: sha256:4e61274be5b66b6b7ef615343fcdf50fe162df90348b9260c965504cc692c840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:28:58.068Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:28:58.369Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-04-18T05:28:58.369Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-18T05:28:58.369Z] 9ce26f86d080: Preparing [2023-04-18T05:28:58.369Z] 275842d2f10e: Preparing [2023-04-18T05:28:58.369Z] 134563bf39da: Preparing [2023-04-18T05:28:58.369Z] f8d8bffc8397: Preparing [2023-04-18T05:28:58.369Z] f1417ff83b31: Preparing [2023-04-18T05:28:58.369Z] 9ce26f86d080: Layer already exists [2023-04-18T05:28:58.369Z] 275842d2f10e: Layer already exists [2023-04-18T05:28:58.369Z] f8d8bffc8397: Layer already exists [2023-04-18T05:28:58.369Z] 134563bf39da: Layer already exists [2023-04-18T05:28:58.369Z] f1417ff83b31: Layer already exists [2023-04-18T05:28:58.369Z] latest: digest: sha256:4e61274be5b66b6b7ef615343fcdf50fe162df90348b9260c965504cc692c840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:28:58.676Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:28:58.979Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.28 [2023-04-18T05:28:58.979Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-18T05:28:58.979Z] 9ce26f86d080: Preparing [2023-04-18T05:28:58.979Z] 275842d2f10e: Preparing [2023-04-18T05:28:58.979Z] 134563bf39da: Preparing [2023-04-18T05:28:58.979Z] f8d8bffc8397: Preparing [2023-04-18T05:28:58.979Z] f1417ff83b31: Preparing [2023-04-18T05:28:58.979Z] f8d8bffc8397: Layer already exists [2023-04-18T05:28:58.979Z] 275842d2f10e: Layer already exists [2023-04-18T05:28:58.979Z] f1417ff83b31: Layer already exists [2023-04-18T05:28:58.979Z] 134563bf39da: Layer already exists [2023-04-18T05:28:58.979Z] 9ce26f86d080: Layer already exists [2023-04-18T05:28:58.979Z] 3.0.0-dev.28: digest: sha256:4e61274be5b66b6b7ef615343fcdf50fe162df90348b9260c965504cc692c840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:28:59.282Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:28:59.581Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 [2023-04-18T05:28:59.582Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-18T05:28:59.582Z] 9ce26f86d080: Preparing [2023-04-18T05:28:59.582Z] 275842d2f10e: Preparing [2023-04-18T05:28:59.582Z] 134563bf39da: Preparing [2023-04-18T05:28:59.582Z] f8d8bffc8397: Preparing [2023-04-18T05:28:59.582Z] f1417ff83b31: Preparing [2023-04-18T05:28:59.582Z] 275842d2f10e: Layer already exists [2023-04-18T05:28:59.582Z] f1417ff83b31: Layer already exists [2023-04-18T05:28:59.582Z] 134563bf39da: Layer already exists [2023-04-18T05:28:59.582Z] f8d8bffc8397: Layer already exists [2023-04-18T05:28:59.582Z] 9ce26f86d080: Layer already exists [2023-04-18T05:28:59.582Z] 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28: digest: sha256:4e61274be5b66b6b7ef615343fcdf50fe162df90348b9260c965504cc692c840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:28:59.888Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:29:00.192Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-04-18T05:29:00.192Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-04-18T05:29:00.192Z] 9ce26f86d080: Preparing [2023-04-18T05:29:00.192Z] 275842d2f10e: Preparing [2023-04-18T05:29:00.192Z] 134563bf39da: Preparing [2023-04-18T05:29:00.192Z] f8d8bffc8397: Preparing [2023-04-18T05:29:00.192Z] f1417ff83b31: Preparing [2023-04-18T05:29:00.192Z] f8d8bffc8397: Layer already exists [2023-04-18T05:29:00.192Z] 134563bf39da: Layer already exists [2023-04-18T05:29:00.192Z] f1417ff83b31: Layer already exists [2023-04-18T05:29:00.192Z] 275842d2f10e: Layer already exists [2023-04-18T05:29:00.192Z] 9ce26f86d080: Layer already exists [2023-04-18T05:29:00.192Z] main: digest: sha256:4e61274be5b66b6b7ef615343fcdf50fe162df90348b9260c965504cc692c840 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T05:29:00.231Z] ===================================================== [Pipeline] echo [2023-04-18T05:29:00.237Z] taggedImages: [2023-04-18T05:29:00.237Z] - nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [2023-04-18T05:29:00.237Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-04-18T05:29:00.237Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.28 [2023-04-18T05:29:00.237Z] - nexus3.edgexfoundry.org:10004/device-modbus:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 [2023-04-18T05:29:00.237Z] - 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-04-18T05:29:00.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:29:00.594Z] [2023-04-18T05:29:00.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:29:00.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:29:00.895Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T05:29:00.895Z] 5eb5b503b376: Pulling fs layer [2023-04-18T05:29:00.895Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T05:29:00.895Z] ec43610c2a17: Pulling fs layer [2023-04-18T05:29:00.895Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T05:29:00.895Z] 33b1e0a273af: Pulling fs layer [2023-04-18T05:29:00.895Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T05:29:00.895Z] 2f39f015ded8: Pulling fs layer [2023-04-18T05:29:00.895Z] 3a2ae6a8a46f: Waiting [2023-04-18T05:29:00.895Z] 33b1e0a273af: Waiting [2023-04-18T05:29:00.895Z] 5d3b04190fa2: Waiting [2023-04-18T05:29:00.895Z] 2f39f015ded8: Waiting [2023-04-18T05:29:00.895Z] 5c69ac0246d0: Verifying Checksum [2023-04-18T05:29:00.895Z] 5c69ac0246d0: Download complete [2023-04-18T05:29:00.895Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T05:29:00.895Z] 3a2ae6a8a46f: Download complete [2023-04-18T05:29:00.895Z] 33b1e0a273af: Verifying Checksum [2023-04-18T05:29:00.895Z] 33b1e0a273af: Download complete [2023-04-18T05:29:00.895Z] ec43610c2a17: Verifying Checksum [2023-04-18T05:29:00.895Z] ec43610c2a17: Download complete [2023-04-18T05:29:00.895Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T05:29:00.895Z] 5d3b04190fa2: Download complete [2023-04-18T05:29:01.154Z] 5eb5b503b376: Verifying Checksum [2023-04-18T05:29:01.154Z] 5eb5b503b376: Download complete [2023-04-18T05:29:01.734Z] 2f39f015ded8: Download complete [2023-04-18T05:29:02.310Z] 5eb5b503b376: Pull complete [2023-04-18T05:29:02.568Z] 5c69ac0246d0: Pull complete [2023-04-18T05:29:02.827Z] ec43610c2a17: Pull complete [2023-04-18T05:29:02.827Z] 3a2ae6a8a46f: Pull complete [2023-04-18T05:29:03.086Z] 33b1e0a273af: Pull complete [2023-04-18T05:29:03.352Z] 5d3b04190fa2: Pull complete [2023-04-18T05:29:07.545Z] 2f39f015ded8: Pull complete [2023-04-18T05:29:07.545Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T05:29:07.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:29:07.545Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:29:07.629Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-04-18T05:29:07.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T05:29:11.812Z] $ docker top f4261b3a8bdbd12de175b8a3ae39f8dbfd7ee3a911b447f8b15f81cea5fe355d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-04-18T05:29:11.961Z] provisioning config files... [2023-04-18T05:29:11.990Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/94@tmp/config10390632857452410097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:29:12.213Z] ---> job-cost.sh [2023-04-18T05:29:12.213Z] lf-activate-venv: SKIPPING [2023-04-18T05:29:12.213Z] INFO: No Stack... [2023-04-18T05:29:12.345Z] ---> docker-login.sh [2023-04-18T05:29:12.345Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:29:12.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:29:12.781Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T05:29:12.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:29:12.880Z] Configure a credential helper to remove this warning. See [2023-04-18T05:29:12.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:29:12.881Z] [2023-04-18T05:29:12.881Z] Login Succeeded [2023-04-18T05:29:12.881Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:29:13.039Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T05:29:13.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:29:13.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:29:13.149Z] Configure a credential helper to remove this warning. See [2023-04-18T05:29:13.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:29:13.149Z] [2023-04-18T05:29:13.149Z] Login Succeeded [2023-04-18T05:29:13.323Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-04-18T05:29:13.323Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T05:29:13.340Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] [2023-04-18T05:29:13.349Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] did not exist. Created. [2023-04-18T05:29:13.349Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T05:29:13.419Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:29:13.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:29:13.652Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T05:29:13.684Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T05:29:13.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:29:13.688Z] Configure a credential helper to remove this warning. See [2023-04-18T05:29:13.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:29:13.688Z] [2023-04-18T05:29:13.688Z] Login Succeeded [2023-04-18T05:29:13.688Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:29:13.691Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T05:29:13.709Z] $ docker stop --time=1 f4261b3a8bdbd12de175b8a3ae39f8dbfd7ee3a911b447f8b15f81cea5fe355d [2023-04-18T05:29:13.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:29:13.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:29:13.958Z] Configure a credential helper to remove this warning. See [2023-04-18T05:29:13.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:29:13.958Z] [2023-04-18T05:29:13.958Z] Login Succeeded [2023-04-18T05:29:13.958Z] docker.io [2023-04-18T05:29:14.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:29:14.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:29:14.497Z] Configure a credential helper to remove this warning. See [2023-04-18T05:29:14.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:29:14.497Z] [2023-04-18T05:29:14.497Z] Login Succeeded [2023-04-18T05:29:14.497Z] ---> docker-login.sh ends [2023-04-18T05:29:14.858Z] $ docker rm -f --volumes f4261b3a8bdbd12de175b8a3ae39f8dbfd7ee3a911b447f8b15f81cea5fe355d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-04-18T05:29:14.909Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // withEnv [Pipeline] } [Pipeline] unstash [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-04-18T05:29:15.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:29:15.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:29:15.198Z] ========================================================= [2023-04-18T05:29:15.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T05:29:15.198Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:29:15.554Z] + 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-04-18T05:29:15.824Z] Sending build context to Docker daemon 3.35MB [2023-04-18T05:29:15.824Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:29:15.824Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T05:29:18.424Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T05:29:18.424Z] af6eaf76a39c: Pulling fs layer [2023-04-18T05:29:18.424Z] 55522c791124: Pulling fs layer [2023-04-18T05:29:18.424Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T05:29:18.424Z] 169dfbe0d373: Pulling fs layer [2023-04-18T05:29:18.424Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T05:29:18.424Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T05:29:18.424Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T05:29:18.424Z] e1ff8fa3b103: Waiting [2023-04-18T05:29:18.424Z] 52ebb69f0ebf: Waiting [2023-04-18T05:29:18.424Z] 169dfbe0d373: Waiting [2023-04-18T05:29:18.424Z] 5abe8eddf0d5: Waiting [2023-04-18T05:29:18.424Z] 55522c791124: Download complete [2023-04-18T05:29:18.424Z] 169dfbe0d373: Verifying Checksum [2023-04-18T05:29:18.424Z] 169dfbe0d373: Download complete [2023-04-18T05:29:18.424Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T05:29:18.424Z] e1ff8fa3b103: Download complete [2023-04-18T05:29:18.424Z] af6eaf76a39c: Verifying Checksum [2023-04-18T05:29:18.424Z] af6eaf76a39c: Download complete [2023-04-18T05:29:19.016Z] af6eaf76a39c: Pull complete [2023-04-18T05:29:19.286Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T05:29:19.286Z] 5abe8eddf0d5: Download complete [2023-04-18T05:29:19.556Z] 55522c791124: Pull complete [2023-04-18T05:29:20.528Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T05:29:20.528Z] ce5c4a1c91eb: Download complete [2023-04-18T05:29:20.800Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T05:29:20.800Z] 52ebb69f0ebf: Download complete [2023-04-18T05:29:33.142Z] ce5c4a1c91eb: Pull complete [2023-04-18T05:29:33.142Z] 169dfbe0d373: Pull complete [2023-04-18T05:29:33.142Z] e1ff8fa3b103: Pull complete [2023-04-18T05:29:39.815Z] 52ebb69f0ebf: Pull complete [2023-04-18T05:29:41.231Z] 5abe8eddf0d5: Pull complete [2023-04-18T05:29:41.231Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T05:29:41.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T05:29:41.231Z] ---> 6cb57ee374ae [2023-04-18T05:29:41.231Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-18T05:29:42.201Z] ---> Running in 285efb5dea14 [2023-04-18T05:29:42.469Z] Removing intermediate container 285efb5dea14 [2023-04-18T05:29:42.469Z] ---> 479b4e7408ad [2023-04-18T05:29:42.469Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T05:29:42.469Z] ---> Running in 8fc5e023d188 [2023-04-18T05:29:42.739Z] Removing intermediate container 8fc5e023d188 [2023-04-18T05:29:42.739Z] ---> 0112a51024a7 [2023-04-18T05:29:42.739Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-18T05:29:43.006Z] ---> Running in 8d3918d5335e [2023-04-18T05:29:44.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:29:44.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:29:45.615Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T05:29:45.615Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-18T05:29:45.615Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T05:29:45.881Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T05:29:45.881Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-18T05:29:45.881Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-18T05:29:45.881Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-18T05:29:45.881Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-18T05:29:45.881Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T05:29:45.881Z] OK: 270 MiB in 61 packages [2023-04-18T05:29:46.843Z] Removing intermediate container 8d3918d5335e [2023-04-18T05:29:46.843Z] ---> 56e6106533bc [2023-04-18T05:29:46.843Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-18T05:29:47.108Z] ---> Running in 3514127271a9 [2023-04-18T05:29:47.377Z] Removing intermediate container 3514127271a9 [2023-04-18T05:29:47.377Z] ---> 767c2f6f8a20 [2023-04-18T05:29:47.377Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T05:29:47.962Z] ---> 762c804c8755 [2023-04-18T05:29:47.962Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:29:47.962Z] ---> Running in 81198287f1d5 [2023-04-18T05:30:55.852Z] Removing intermediate container 81198287f1d5 [2023-04-18T05:30:55.852Z] ---> bb9dfc5d3337 [2023-04-18T05:30:55.852Z] Step 9/10 : COPY . . [2023-04-18T05:30:55.852Z] ---> dbe9721e6b31 [2023-04-18T05:30:55.852Z] Step 10/10 : RUN ${MAKE} [2023-04-18T05:30:55.852Z] ---> Running in a80c6cc88ddc [2023-04-18T05:30:55.852Z] noop [2023-04-18T05:30:55.852Z] Removing intermediate container a80c6cc88ddc [2023-04-18T05:30:55.852Z] ---> 32afeea94233 [2023-04-18T05:30:55.852Z] Successfully built 32afeea94233 [2023-04-18T05:30:55.852Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:30:56.205Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T05:30:56.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:30:56.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container [2023-04-18T05:30:56.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/94 -v /w/workspace/device-modbus-go/94:/w/workspace/device-modbus-go/94:rw,z -v /w/workspace/device-modbus-go/94@tmp:/w/workspace/device-modbus-go/94@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-04-18T05:30:57.771Z] $ docker top 46bd026860f4c2dddce99f6eb1766e6ce7a1e0504bc5d28d687bfd4c253f6595 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:30:58.606Z] + go version [2023-04-18T05:30:58.606Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T05:30:58.622Z] $ docker stop --time=1 46bd026860f4c2dddce99f6eb1766e6ce7a1e0504bc5d28d687bfd4c253f6595 [2023-04-18T05:31:00.236Z] $ docker rm -f --volumes 46bd026860f4c2dddce99f6eb1766e6ce7a1e0504bc5d28d687bfd4c253f6595 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:31:00.789Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T05:31:00.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:31:00.970Z] prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container [2023-04-18T05:31:01.028Z] $ 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/94 -v /w/workspace/device-modbus-go/94:/w/workspace/device-modbus-go/94:rw,z -v /w/workspace/device-modbus-go/94@tmp:/w/workspace/device-modbus-go/94@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-04-18T05:31:02.615Z] $ docker top 3e8c3fe19cef43d58af3c5986d2e71631c2ac63ee479ba8823c25d18de294691 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:31:03.129Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/94 [Pipeline] fileExists [Pipeline] sh [2023-04-18T05:31:03.467Z] + make test [2023-04-18T05:31:03.467Z] go test ./... -coverprofile=coverage.out [2023-04-18T05:31:35.707Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-18T05:33:27.351Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-18T05:33:27.351Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.4% of statements [2023-04-18T05:33:27.351Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T05:33:27.351Z] go vet ./... [2023-04-18T05:33:54.050Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T05:33:54.050Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T05:33:54.050Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T05:33:54.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T05:33:54.342Z] $ docker stop --time=1 3e8c3fe19cef43d58af3c5986d2e71631c2ac63ee479ba8823c25d18de294691 [2023-04-18T05:33:56.852Z] $ docker rm -f --volumes 3e8c3fe19cef43d58af3c5986d2e71631c2ac63ee479ba8823c25d18de294691 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:33:57.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T05:33:57.943Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T05:33:58.336Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T05:33:58.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T05:33:59.035Z] + ls -al . [2023-04-18T05:33:59.035Z] total 176 [2023-04-18T05:33:59.035Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 05:31 . [2023-04-18T05:33:59.035Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:28 .. [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 05:28 .dockerignore [2023-04-18T05:33:59.035Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:28 .git [2023-04-18T05:33:59.035Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:28 .github [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 18 05:28 .gitignore [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:28 .golangci.yml [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 10132 Apr 18 05:28 Attribution.txt [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 18 05:28 CHANGELOG.md [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 18 05:28 Dockerfile [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:28 GOVERNANCE.md [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 05:28 Jenkinsfile [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:28 LICENSE [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 18 05:28 Makefile [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 18 05:28 OWNERS.md [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 18 05:28 README.md [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 05:26 VERSION [2023-04-18T05:33:59.035Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:28 bin [2023-04-18T05:33:59.035Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:28 cmd [2023-04-18T05:33:59.035Z] -rw-r--r-- 1 jenkins jenkins 24160 Apr 18 05:33 coverage.out [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 18 05:28 go.mod [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 18 05:28 go.sum [2023-04-18T05:33:59.035Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:28 internal [2023-04-18T05:33:59.035Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:28 simulator [2023-04-18T05:33:59.035Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:28 snap [2023-04-18T05:33:59.035Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 18 05:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:33:59.375Z] + 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=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 --label arch=arm64 --label version=3.0.0-dev.28 . [2023-04-18T05:33:59.643Z] Sending build context to Docker daemon 3.375MB [2023-04-18T05:33:59.643Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T05:33:59.643Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-18T05:33:59.643Z] ---> 32afeea94233 [2023-04-18T05:33:59.643Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-18T05:33:59.910Z] ---> Running in ba14905d40a7 [2023-04-18T05:34:00.175Z] Removing intermediate container ba14905d40a7 [2023-04-18T05:34:00.175Z] ---> 35101b93a939 [2023-04-18T05:34:00.175Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T05:34:00.175Z] ---> Running in 655721e89cb4 [2023-04-18T05:34:00.444Z] Removing intermediate container 655721e89cb4 [2023-04-18T05:34:00.444Z] ---> 91bf91be6ffc [2023-04-18T05:34:00.444Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-18T05:34:00.444Z] ---> Running in 13235e59c8de [2023-04-18T05:34:01.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:34:01.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:34:03.404Z] OK: 270 MiB in 61 packages [2023-04-18T05:34:03.987Z] Removing intermediate container 13235e59c8de [2023-04-18T05:34:03.988Z] ---> 28c4bad343a2 [2023-04-18T05:34:03.988Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-18T05:34:03.988Z] ---> Running in 1cb27378e29b [2023-04-18T05:34:04.254Z] Removing intermediate container 1cb27378e29b [2023-04-18T05:34:04.254Z] ---> 0cbf2cb92db5 [2023-04-18T05:34:04.254Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-18T05:34:04.523Z] ---> df9d4152d3f8 [2023-04-18T05:34:04.523Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T05:34:04.794Z] ---> Running in 276b591c9722 [2023-04-18T05:34:07.378Z] Removing intermediate container 276b591c9722 [2023-04-18T05:34:07.378Z] ---> a06288315673 [2023-04-18T05:34:07.378Z] Step 9/22 : COPY . . [2023-04-18T05:34:07.964Z] ---> 3b7559e8c491 [2023-04-18T05:34:07.964Z] Step 10/22 : RUN ${MAKE} [2023-04-18T05:34:07.964Z] ---> Running in c0eda584974d [2023-04-18T05:34:08.932Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-18T05:36:15.633Z] Removing intermediate container c0eda584974d [2023-04-18T05:36:15.633Z] ---> 0bd9d4d54c12 [2023-04-18T05:36:15.633Z] Step 11/22 : FROM alpine:3.17 [2023-04-18T05:36:15.633Z] 3.17: Pulling from library/alpine [2023-04-18T05:36:15.633Z] c41833b44d91: Pulling fs layer [2023-04-18T05:36:15.633Z] c41833b44d91: Verifying Checksum [2023-04-18T05:36:15.633Z] c41833b44d91: Download complete [2023-04-18T05:36:15.633Z] c41833b44d91: Pull complete [2023-04-18T05:36:15.633Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T05:36:15.633Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T05:36:15.633Z] ---> 51e60588ff2c [2023-04-18T05:36:15.633Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-18T05:36:15.633Z] ---> Running in 4711958934ae [2023-04-18T05:36:15.633Z] Removing intermediate container 4711958934ae [2023-04-18T05:36:15.633Z] ---> 59e2c4f38584 [2023-04-18T05:36:15.633Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-18T05:36:15.633Z] ---> Running in f2d37bdda022 [2023-04-18T05:36:15.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T05:36:15.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T05:36:15.633Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-18T05:36:15.633Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T05:36:15.633Z] OK: 8 MiB in 16 packages [2023-04-18T05:36:15.633Z] Removing intermediate container f2d37bdda022 [2023-04-18T05:36:15.633Z] ---> 645a6d347532 [2023-04-18T05:36:15.633Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-18T05:36:16.217Z] ---> 86b238377019 [2023-04-18T05:36:16.217Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-18T05:36:16.496Z] ---> 039bdeae1f42 [2023-04-18T05:36:16.496Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-18T05:36:17.087Z] ---> 8e76aea575f4 [2023-04-18T05:36:17.087Z] Step 17/22 : EXPOSE 59901 [2023-04-18T05:36:17.087Z] ---> Running in 724337120b29 [2023-04-18T05:36:17.354Z] Removing intermediate container 724337120b29 [2023-04-18T05:36:17.354Z] ---> e36e71ae69ec [2023-04-18T05:36:17.354Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-18T05:36:17.354Z] ---> Running in 9ee1aecc754d [2023-04-18T05:36:17.626Z] Removing intermediate container 9ee1aecc754d [2023-04-18T05:36:17.626Z] ---> 8a5da237498c [2023-04-18T05:36:17.626Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-18T05:36:17.893Z] ---> Running in 536f56741801 [2023-04-18T05:36:18.162Z] Removing intermediate container 536f56741801 [2023-04-18T05:36:18.162Z] ---> cc35840e4cf6 [2023-04-18T05:36:18.162Z] Step 20/22 : LABEL arch=arm64 [2023-04-18T05:36:18.162Z] ---> Running in 58b1213315b5 [2023-04-18T05:36:18.455Z] Removing intermediate container 58b1213315b5 [2023-04-18T05:36:18.455Z] ---> d747ad553157 [2023-04-18T05:36:18.455Z] Step 21/22 : LABEL git_sha=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [2023-04-18T05:36:18.455Z] ---> Running in a92dc81b6d39 [2023-04-18T05:36:18.728Z] Removing intermediate container a92dc81b6d39 [2023-04-18T05:36:18.728Z] ---> 743a67a79b54 [2023-04-18T05:36:18.728Z] Step 22/22 : LABEL version=3.0.0-dev.28 [2023-04-18T05:36:18.728Z] ---> Running in 644a209ab8a5 [2023-04-18T05:36:18.998Z] Removing intermediate container 644a209ab8a5 [2023-04-18T05:36:18.998Z] ---> 05f49254ddd8 [2023-04-18T05:36:18.998Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T05:36:19.266Z] Successfully built 05f49254ddd8 [2023-04-18T05:36:19.266Z] 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-04-18T05:36:19.365Z] provisioning config files... [2023-04-18T05:36:19.379Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/94@tmp/config1107910720202288853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:36:19.705Z] ---> docker-login.sh [2023-04-18T05:36:19.705Z] nexus3.edgexfoundry.org:10001 [2023-04-18T05:36:19.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:36:19.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:36:19.973Z] Configure a credential helper to remove this warning. See [2023-04-18T05:36:19.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:36:19.973Z] [2023-04-18T05:36:19.973Z] Login Succeeded [2023-04-18T05:36:19.973Z] nexus3.edgexfoundry.org:10002 [2023-04-18T05:36:20.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:36:20.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:36:20.241Z] Configure a credential helper to remove this warning. See [2023-04-18T05:36:20.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:36:20.241Z] [2023-04-18T05:36:20.241Z] Login Succeeded [2023-04-18T05:36:20.241Z] nexus3.edgexfoundry.org:10003 [2023-04-18T05:36:20.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:36:20.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:36:20.775Z] Configure a credential helper to remove this warning. See [2023-04-18T05:36:20.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:36:20.775Z] [2023-04-18T05:36:20.775Z] Login Succeeded [2023-04-18T05:36:20.775Z] nexus3.edgexfoundry.org:10004 [2023-04-18T05:36:21.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:36:21.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:36:21.042Z] Configure a credential helper to remove this warning. See [2023-04-18T05:36:21.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:36:21.042Z] [2023-04-18T05:36:21.042Z] Login Succeeded [2023-04-18T05:36:21.042Z] docker.io [2023-04-18T05:36:21.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T05:36:21.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T05:36:21.572Z] Configure a credential helper to remove this warning. See [2023-04-18T05:36:21.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T05:36:21.572Z] [2023-04-18T05:36:21.572Z] Login Succeeded [2023-04-18T05:36:21.572Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T05:36:21.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T05:36:21.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T05:36:21.647Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-04-18T05:36:21.647Z] 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [2023-04-18T05:36:21.647Z] latest [2023-04-18T05:36:21.647Z] 3.0.0-dev.28 [2023-04-18T05:36:21.647Z] 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 [2023-04-18T05:36:21.647Z] main [2023-04-18T05:36:21.647Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:21.991Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:22.328Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [2023-04-18T05:36:22.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-18T05:36:22.328Z] c73caf836700: Preparing [2023-04-18T05:36:22.328Z] 7d28f13ebde0: Preparing [2023-04-18T05:36:22.328Z] 46a137c4bb30: Preparing [2023-04-18T05:36:22.328Z] 45c78ef2bf81: Preparing [2023-04-18T05:36:22.328Z] 26cbea5cba74: Preparing [2023-04-18T05:36:22.328Z] 26cbea5cba74: Layer already exists [2023-04-18T05:36:22.597Z] 45c78ef2bf81: Pushed [2023-04-18T05:36:22.597Z] 7d28f13ebde0: Pushed [2023-04-18T05:36:22.597Z] c73caf836700: Pushed [2023-04-18T05:36:27.923Z] 46a137c4bb30: Pushed [2023-04-18T05:36:27.923Z] 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748: digest: sha256:782cfb240fe0af6391935cb896bce8501ee73cdb7be7a90e09f0814861906a68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:28.266Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:28.600Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-04-18T05:36:28.600Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-18T05:36:28.600Z] c73caf836700: Preparing [2023-04-18T05:36:28.600Z] 7d28f13ebde0: Preparing [2023-04-18T05:36:28.600Z] 46a137c4bb30: Preparing [2023-04-18T05:36:28.600Z] 45c78ef2bf81: Preparing [2023-04-18T05:36:28.600Z] 26cbea5cba74: Preparing [2023-04-18T05:36:28.600Z] 7d28f13ebde0: Layer already exists [2023-04-18T05:36:28.600Z] c73caf836700: Layer already exists [2023-04-18T05:36:28.600Z] 45c78ef2bf81: Layer already exists [2023-04-18T05:36:28.600Z] 26cbea5cba74: Layer already exists [2023-04-18T05:36:28.600Z] 46a137c4bb30: Layer already exists [2023-04-18T05:36:28.600Z] latest: digest: sha256:782cfb240fe0af6391935cb896bce8501ee73cdb7be7a90e09f0814861906a68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:28.936Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:29.281Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.28 [2023-04-18T05:36:29.281Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-18T05:36:29.281Z] c73caf836700: Preparing [2023-04-18T05:36:29.281Z] 7d28f13ebde0: Preparing [2023-04-18T05:36:29.281Z] 46a137c4bb30: Preparing [2023-04-18T05:36:29.281Z] 45c78ef2bf81: Preparing [2023-04-18T05:36:29.281Z] 26cbea5cba74: Preparing [2023-04-18T05:36:29.281Z] 45c78ef2bf81: Layer already exists [2023-04-18T05:36:29.281Z] 7d28f13ebde0: Layer already exists [2023-04-18T05:36:29.281Z] c73caf836700: Layer already exists [2023-04-18T05:36:29.281Z] 46a137c4bb30: Layer already exists [2023-04-18T05:36:29.281Z] 26cbea5cba74: Layer already exists [2023-04-18T05:36:29.281Z] 3.0.0-dev.28: digest: sha256:782cfb240fe0af6391935cb896bce8501ee73cdb7be7a90e09f0814861906a68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:29.634Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:29.979Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 [2023-04-18T05:36:29.980Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-18T05:36:29.980Z] c73caf836700: Preparing [2023-04-18T05:36:29.980Z] 7d28f13ebde0: Preparing [2023-04-18T05:36:29.980Z] 46a137c4bb30: Preparing [2023-04-18T05:36:29.980Z] 45c78ef2bf81: Preparing [2023-04-18T05:36:29.980Z] 26cbea5cba74: Preparing [2023-04-18T05:36:29.980Z] 7d28f13ebde0: Layer already exists [2023-04-18T05:36:29.980Z] 46a137c4bb30: Layer already exists [2023-04-18T05:36:29.980Z] 45c78ef2bf81: Layer already exists [2023-04-18T05:36:29.980Z] c73caf836700: Layer already exists [2023-04-18T05:36:29.980Z] 26cbea5cba74: Layer already exists [2023-04-18T05:36:29.980Z] 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28: digest: sha256:782cfb240fe0af6391935cb896bce8501ee73cdb7be7a90e09f0814861906a68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:30.387Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:30.766Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-04-18T05:36:30.766Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-04-18T05:36:30.766Z] c73caf836700: Preparing [2023-04-18T05:36:30.766Z] 7d28f13ebde0: Preparing [2023-04-18T05:36:30.766Z] 46a137c4bb30: Preparing [2023-04-18T05:36:30.766Z] 45c78ef2bf81: Preparing [2023-04-18T05:36:30.766Z] 26cbea5cba74: Preparing [2023-04-18T05:36:30.766Z] 7d28f13ebde0: Layer already exists [2023-04-18T05:36:30.766Z] 26cbea5cba74: Layer already exists [2023-04-18T05:36:30.766Z] c73caf836700: Layer already exists [2023-04-18T05:36:30.766Z] 46a137c4bb30: Layer already exists [2023-04-18T05:36:30.766Z] 45c78ef2bf81: Layer already exists [2023-04-18T05:36:31.039Z] main: digest: sha256:782cfb240fe0af6391935cb896bce8501ee73cdb7be7a90e09f0814861906a68 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T05:36:31.096Z] ===================================================== [Pipeline] echo [2023-04-18T05:36:31.105Z] taggedImages: [2023-04-18T05:36:31.105Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [2023-04-18T05:36:31.105Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-04-18T05:36:31.105Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.28 [2023-04-18T05:36:31.105Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:96a911a6bae0ce7a8dcb7b899d93d9a8f0952748-3.0.0-dev.28 [2023-04-18T05:36:31.105Z] - 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-04-18T05:36:31.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:36:31.482Z] [2023-04-18T05:36:31.482Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:36:31.832Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:36:31.832Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T05:36:31.832Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T05:36:31.832Z] 04944245beec: Pulling fs layer [2023-04-18T05:36:31.832Z] 699f458cf7ca: Pulling fs layer [2023-04-18T05:36:31.832Z] 765212b225bb: Pulling fs layer [2023-04-18T05:36:31.832Z] f23df028b6ca: Pulling fs layer [2023-04-18T05:36:31.832Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T05:36:31.832Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T05:36:31.832Z] 765212b225bb: Waiting [2023-04-18T05:36:31.832Z] f23df028b6ca: Waiting [2023-04-18T05:36:31.832Z] d65c8cfc05b1: Waiting [2023-04-18T05:36:31.832Z] 2437ff75d9bd: Waiting [2023-04-18T05:36:32.122Z] 04944245beec: Verifying Checksum [2023-04-18T05:36:32.122Z] 04944245beec: Download complete [2023-04-18T05:36:32.122Z] 765212b225bb: Verifying Checksum [2023-04-18T05:36:32.122Z] 765212b225bb: Download complete [2023-04-18T05:36:32.122Z] f23df028b6ca: Download complete [2023-04-18T05:36:32.122Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T05:36:32.122Z] d65c8cfc05b1: Download complete [2023-04-18T05:36:32.122Z] 699f458cf7ca: Verifying Checksum [2023-04-18T05:36:32.122Z] 699f458cf7ca: Download complete [2023-04-18T05:36:32.740Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T05:36:32.740Z] 8998bd30e6a1: Download complete [2023-04-18T05:36:36.998Z] 8998bd30e6a1: Pull complete [2023-04-18T05:36:36.998Z] 04944245beec: Pull complete [2023-04-18T05:36:37.266Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T05:36:37.266Z] 2437ff75d9bd: Download complete [2023-04-18T05:36:38.230Z] 699f458cf7ca: Pull complete [2023-04-18T05:36:38.497Z] 765212b225bb: Pull complete [2023-04-18T05:36:39.080Z] f23df028b6ca: Pull complete [2023-04-18T05:36:39.348Z] d65c8cfc05b1: Pull complete [2023-04-18T05:36:54.347Z] 2437ff75d9bd: Pull complete [2023-04-18T05:36:54.347Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T05:36:54.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T05:36:54.347Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:36:54.543Z] prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container [2023-04-18T05:36:54.605Z] $ 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/94 -v /w/workspace/device-modbus-go/94:/w/workspace/device-modbus-go/94:rw,z -v /w/workspace/device-modbus-go/94@tmp:/w/workspace/device-modbus-go/94@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-04-18T05:36:57.031Z] $ docker top d4f5d67418a3708e12b278ecd73abd89062415e8d1ef4080656042d74313a6c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:36:57.857Z] ---> job-cost.sh [2023-04-18T05:36:57.858Z] lf-activate-venv: SKIPPING [2023-04-18T05:36:57.858Z] INFO: No Stack... [2023-04-18T05:36:58.123Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T05:36:59.078Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T05:36:59.713Z] + cat /w/workspace/device-modbus-go/94/archives/cost.csv [2023-04-18T05:36:59.713Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T05:36:59.768Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] [2023-04-18T05:36:59.778Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] did not exist. Created. [2023-04-18T05:36:59.778Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T05:37:00.426Z] /w/workspace/device-modbus-go/94@tmp/durable-54b5fb79/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T05:37:01.076Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T05:37:01.090Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T05:37:01.140Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T05:37:01.152Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-94-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T05:37:01.170Z] $ docker stop --time=1 d4f5d67418a3708e12b278ecd73abd89062415e8d1ef4080656042d74313a6c1 [2023-04-18T05:37:02.680Z] $ docker rm -f --volumes d4f5d67418a3708e12b278ecd73abd89062415e8d1ef4080656042d74313a6c1 [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-04-18T05:37:03.080Z] provisioning config files... [2023-04-18T05:37:03.088Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2664276709933936436tmp [Pipeline] { [Pipeline] sh [2023-04-18T05:37:03.387Z] + set +x [2023-04-18T05:37:03.387Z] + bash -s -- [2023-04-18T05:37:03.387Z] + curl -s https://codecov.io/bash [2023-04-18T05:37:03.387Z] [2023-04-18T05:37:03.387Z] _____ _ [2023-04-18T05:37:03.387Z] / ____| | | [2023-04-18T05:37:03.387Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T05:37:03.387Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T05:37:03.387Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T05:37:03.387Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T05:37:03.387Z] Bash-1.0.6 [2023-04-18T05:37:03.387Z] [2023-04-18T05:37:03.387Z] [2023-04-18T05:37:03.387Z] ==> git version 2.25.1 found [2023-04-18T05:37:03.387Z] ==> 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-04-18T05:37:03.387Z] Release-Date: 2020-01-08 [2023-04-18T05:37:03.387Z] 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-04-18T05:37:03.387Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T05:37:03.387Z] ==> Jenkins CI detected. [2023-04-18T05:37:03.387Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-04-18T05:37:03.387Z] project root: . [2023-04-18T05:37:03.387Z] --> token set from env [2023-04-18T05:37:03.387Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T05:37:03.387Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T05:37:03.387Z] ==> Python coveragepy not found [2023-04-18T05:37:03.387Z] ==> Searching for coverage reports in: [2023-04-18T05:37:03.387Z] + . [2023-04-18T05:37:03.387Z] -> Found 1 reports [2023-04-18T05:37:03.387Z] ==> Detecting git/mercurial file structure [2023-04-18T05:37:03.646Z] ==> Reading reports [2023-04-18T05:37:03.646Z] + ./coverage.out bytes=24160 [2023-04-18T05:37:03.646Z] ==> Appending adjustments [2023-04-18T05:37:03.646Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T05:37:03.646Z] + Found adjustments [2023-04-18T05:37:03.646Z] ==> Gzipping contents [2023-04-18T05:37:03.646Z] 4.0K /tmp/codecov.IcNBbC.gz [2023-04-18T05:37:03.646Z] ==> Uploading reports [2023-04-18T05:37:03.646Z] url: https://codecov.io [2023-04-18T05:37:03.646Z] query: branch=main&commit=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T05:37:03.646Z] -> Pinging Codecov [2023-04-18T05:37:03.646Z] 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=96a911a6bae0ce7a8dcb7b899d93d9a8f0952748&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T05:37:03.906Z] -> Uploading to [2023-04-18T05:37:03.906Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/55DBCA73C666E3227836607328DD7E49/96a911a6bae0ce7a8dcb7b899d93d9a8f0952748/3b60131c-150a-4489-927e-f1f871ccbfdf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T053703Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3a4c68bff75171ba404f6050918999d530c0d095766123c28604044f4b2d12c5 [2023-04-18T05:37:03.906Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T05:37:03.906Z] Dload Upload Total Spent Left Speed [2023-04-18T05:37:04.163Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 15886 --:--:-- --:--:-- --:--:-- 15886 [2023-04-18T05:37:04.163Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] } [2023-04-18T05:37:04.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-18T05:37:04.346Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-18T05:37:04.359Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:37:04.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T05:37:04.651Z] [2023-04-18T05:37:04.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:37:04.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T05:37:04.945Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-18T05:37:04.945Z] df9b9388f04a: Pulling fs layer [2023-04-18T05:37:04.945Z] 52dc419b0ee2: Pulling fs layer [2023-04-18T05:37:04.945Z] 25bc292e5bac: Pulling fs layer [2023-04-18T05:37:04.945Z] 114826534d7a: Pulling fs layer [2023-04-18T05:37:04.945Z] 4657fd5d0bcf: Pulling fs layer [2023-04-18T05:37:04.945Z] 6ad1cebc031e: Pulling fs layer [2023-04-18T05:37:04.945Z] 8a3aa393b2d8: Pulling fs layer [2023-04-18T05:37:04.945Z] 114826534d7a: Waiting [2023-04-18T05:37:04.945Z] 4657fd5d0bcf: Waiting [2023-04-18T05:37:04.945Z] 6ad1cebc031e: Waiting [2023-04-18T05:37:04.945Z] 8a3aa393b2d8: Waiting [2023-04-18T05:37:04.945Z] 25bc292e5bac: Download complete [2023-04-18T05:37:04.945Z] 52dc419b0ee2: Download complete [2023-04-18T05:37:04.945Z] 4657fd5d0bcf: Verifying Checksum [2023-04-18T05:37:04.945Z] 4657fd5d0bcf: Download complete [2023-04-18T05:37:04.945Z] df9b9388f04a: Verifying Checksum [2023-04-18T05:37:04.945Z] df9b9388f04a: Download complete [2023-04-18T05:37:05.204Z] 6ad1cebc031e: Verifying Checksum [2023-04-18T05:37:05.204Z] 6ad1cebc031e: Download complete [2023-04-18T05:37:05.204Z] df9b9388f04a: Pull complete [2023-04-18T05:37:05.204Z] 52dc419b0ee2: Pull complete [2023-04-18T05:37:05.463Z] 25bc292e5bac: Pull complete [2023-04-18T05:37:05.721Z] 114826534d7a: Verifying Checksum [2023-04-18T05:37:05.721Z] 114826534d7a: Download complete [2023-04-18T05:37:05.721Z] 8a3aa393b2d8: Verifying Checksum [2023-04-18T05:37:05.721Z] 8a3aa393b2d8: Download complete [2023-04-18T05:37:09.906Z] 114826534d7a: Pull complete [2023-04-18T05:37:09.906Z] 4657fd5d0bcf: Pull complete [2023-04-18T05:37:09.906Z] 6ad1cebc031e: Pull complete [2023-04-18T05:37:12.437Z] 8a3aa393b2d8: Pull complete [2023-04-18T05:37:12.437Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-18T05:37:12.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T05:37:12.437Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:37:12.523Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-04-18T05:37:12.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-18T05:37:16.749Z] $ docker top de33db6ebed68585139ce0bcd9ca69279ec938db98fda3da79c42d53378185ce -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-18T05:37:16.819Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-04-18T05:37:17.108Z] + set -o pipefail [2023-04-18T05:37:17.108Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-04-18T05:37:23.678Z] [2023-04-18T05:37:23.678Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-04-18T05:37:23.678Z] [2023-04-18T05:37:23.678Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/2ca8fada-56c0-4699-a5c1-e3df0b040ba9 [2023-04-18T05:37:23.678Z] [2023-04-18T05:37:23.678Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-04-18T05:37:23.678Z] [2023-04-18T05:37:23.678Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-18T05:37:23.678Z] [2023-04-18T05:37:23.678Z] [2023-04-18T05:37:23.678Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-18T05:37:23.678Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-18T05:37:23.678Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-18T05:37:23.691Z] $ docker stop --time=1 de33db6ebed68585139ce0bcd9ca69279ec938db98fda3da79c42d53378185ce [2023-04-18T05:37:26.670Z] $ docker rm -f --volumes de33db6ebed68585139ce0bcd9ca69279ec938db98fda3da79c42d53378185ce [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-04-18T05:37:27.349Z] + git log --format=format:%s -1 96a911a6bae0ce7a8dcb7b899d93d9a8f0952748 [Pipeline] sh [2023-04-18T05:37:27.639Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T05:37:27.639Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:37:27.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:37:27.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:37:28.005Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-04-18T05:37:28.036Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T05:37:28.459Z] $ docker top fe215002e620ffba4391417f87902b6e10703e4e197fe4497164f114dd49b629 -eo pid,comm [2023-04-18T05:37:28.505Z] 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-04-18T05:37:28.505Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T05:37:28.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T05:37:28.534Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T05:37:28.636Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T05:37:28.641Z] $ docker exec fe215002e620ffba4391417f87902b6e10703e4e197fe4497164f114dd49b629 ssh-agent [2023-04-18T05:37:28.754Z] SSH_AUTH_SOCK=/tmp/ssh-7U7UfEXBKHuJ/agent.32 [2023-04-18T05:37:28.754Z] SSH_AGENT_PID=38 [2023-04-18T05:37:28.759Z] Running ssh-add (command line suppressed) [2023-04-18T05:37:28.852Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17752952979422006007.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17752952979422006007.key) [2023-04-18T05:37:28.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T05:37:29.146Z] + git semver tag [2023-04-18T05:37:29.407Z] 2023-04-18 05:37:29,329 [run_tag] DEBUG tag force:False [2023-04-18T05:37:29.407Z] 2023-04-18 05:37:29,329 [check_head_tag] DEBUG check head tag [2023-04-18T05:37:29.407Z] 2023-04-18 05:37:29,330 [execute] INFO git cat-file --batch-check [2023-04-18T05:37:29.407Z] 2023-04-18 05:37:29,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-04-18T05:37:29.407Z] 2023-04-18 05:37:29,335 [execute] INFO git cat-file --batch [2023-04-18T05:37:29.407Z] 2023-04-18 05:37:29,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-04-18T05:37:29.407Z] 2023-04-18 05:37:29,358 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T05:37:29.407Z] 2023-04-18 05:37:29,358 [execute] INFO git tag -a v3.0.0-dev.28 -m v3.0.0-dev.28 [2023-04-18T05:37:29.407Z] 2023-04-18 05:37:29,359 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.28', '-m', 'v3.0.0-dev.28'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-04-18T05:37:29.407Z] 2023-04-18 05:37:29,363 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T05:37:29.407Z] 3.0.0-dev.28 [Pipeline] } [2023-04-18T05:37:29.419Z] $ docker exec --env ******** --env ******** fe215002e620ffba4391417f87902b6e10703e4e197fe4497164f114dd49b629 ssh-agent -k [2023-04-18T05:37:29.517Z] unset SSH_AUTH_SOCK; [2023-04-18T05:37:29.517Z] unset SSH_AGENT_PID; [2023-04-18T05:37:29.517Z] echo Agent pid 38 killed; [2023-04-18T05:37:29.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T05:37:29.833Z] + git semver [Pipeline] } [2023-04-18T05:37:30.108Z] $ docker stop --time=1 fe215002e620ffba4391417f87902b6e10703e4e197fe4497164f114dd49b629 [2023-04-18T05:37:31.391Z] $ docker rm -f --volumes fe215002e620ffba4391417f87902b6e10703e4e197fe4497164f114dd49b629 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:37:31.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T05:37:31.784Z] [2023-04-18T05:37:31.784Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:37:32.084Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T05:37:32.084Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-18T05:37:32.084Z] ab5ef0e58194: Pulling fs layer [2023-04-18T05:37:32.084Z] 9712f1f96733: Pulling fs layer [2023-04-18T05:37:32.084Z] 63f879dbbcfc: Pulling fs layer [2023-04-18T05:37:32.084Z] 0d9ebad4ef96: Pulling fs layer [2023-04-18T05:37:32.084Z] e9a5061849ea: Pulling fs layer [2023-04-18T05:37:32.084Z] d747dcd14b5f: Pulling fs layer [2023-04-18T05:37:32.084Z] 2de7ff778b66: Pulling fs layer [2023-04-18T05:37:32.084Z] 0d9ebad4ef96: Waiting [2023-04-18T05:37:32.084Z] e9a5061849ea: Waiting [2023-04-18T05:37:32.084Z] d747dcd14b5f: Waiting [2023-04-18T05:37:32.084Z] 2de7ff778b66: Waiting [2023-04-18T05:37:32.084Z] 9712f1f96733: Download complete [2023-04-18T05:37:32.650Z] 63f879dbbcfc: Verifying Checksum [2023-04-18T05:37:32.650Z] 63f879dbbcfc: Download complete [2023-04-18T05:37:32.650Z] e9a5061849ea: Verifying Checksum [2023-04-18T05:37:32.650Z] e9a5061849ea: Download complete [2023-04-18T05:37:32.650Z] d747dcd14b5f: Verifying Checksum [2023-04-18T05:37:32.650Z] d747dcd14b5f: Download complete [2023-04-18T05:37:32.650Z] ab5ef0e58194: Verifying Checksum [2023-04-18T05:37:32.650Z] ab5ef0e58194: Download complete [2023-04-18T05:37:32.650Z] 0d9ebad4ef96: Verifying Checksum [2023-04-18T05:37:32.650Z] 0d9ebad4ef96: Download complete [2023-04-18T05:37:32.908Z] 2de7ff778b66: Download complete [2023-04-18T05:37:35.435Z] ab5ef0e58194: Pull complete [2023-04-18T05:37:35.435Z] 9712f1f96733: Pull complete [2023-04-18T05:37:35.999Z] 63f879dbbcfc: Pull complete [2023-04-18T05:37:39.278Z] 0d9ebad4ef96: Pull complete [2023-04-18T05:37:39.536Z] e9a5061849ea: Pull complete [2023-04-18T05:37:39.536Z] d747dcd14b5f: Pull complete [2023-04-18T05:37:40.470Z] 2de7ff778b66: Pull complete [2023-04-18T05:37:40.470Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-18T05:37:40.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T05:37:40.728Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:37:40.815Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-04-18T05:37:40.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-18T05:37:44.919Z] $ docker top e80696194165836deb4b6d336da96757293af724c9fe7ffbb394a25578b38777 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-18T05:37:44.988Z] provisioning config files... [2023-04-18T05:37:44.994Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17160080111416841563tmp [2023-04-18T05:37:45.004Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17326098567204658522tmp [2023-04-18T05:37:45.012Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11258491744060501731tmp [Pipeline] { [Pipeline] echo [2023-04-18T05:37:45.025Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:37:45.307Z] ---> sigul-configuration.sh [2023-04-18T05:37:45.307Z] gpg: directory `/root/.gnupg' created [2023-04-18T05:37:45.307Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-18T05:37:45.307Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-18T05:37:45.307Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-18T05:37:45.307Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-18T05:37:45.307Z] gpg: CAST5 encrypted data [2023-04-18T05:37:45.307Z] gpg: encrypted with 1 passphrase [2023-04-18T05:37:45.307Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-18T05:37:45.596Z] + mkdir /home/jenkins [2023-04-18T05:37:45.596Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-18T05:37:45.878Z] + 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-04-18T05:37:45.885Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:37:46.169Z] ---> sigul-install.sh [2023-04-18T05:37:46.169Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-18T05:37:46.453Z] + git tag --list [2023-04-18T05:37:46.453Z] 0.7.1 [2023-04-18T05:37:46.453Z] v1.0.0 [2023-04-18T05:37:46.453Z] v1.1.0 [2023-04-18T05:37:46.453Z] v1.1.1 [2023-04-18T05:37:46.453Z] v1.2.2 [2023-04-18T05:37:46.453Z] v1.3.0 [2023-04-18T05:37:46.453Z] v1.3.1 [2023-04-18T05:37:46.453Z] v2.0.0 [2023-04-18T05:37:46.453Z] v2.1.0 [2023-04-18T05:37:46.453Z] v2.1.1 [2023-04-18T05:37:46.453Z] v2.1.1-dev.1 [2023-04-18T05:37:46.453Z] v2.1.1-dev.2 [2023-04-18T05:37:46.453Z] v2.1.1-dev.3 [2023-04-18T05:37:46.453Z] v2.2.0 [2023-04-18T05:37:46.453Z] v2.2.1-dev.1 [2023-04-18T05:37:46.453Z] v2.2.1-dev.2 [2023-04-18T05:37:46.453Z] v2.2.1-dev.3 [2023-04-18T05:37:46.453Z] v2.2.1-dev.4 [2023-04-18T05:37:46.453Z] v2.2.1-dev.5 [2023-04-18T05:37:46.453Z] v2.2.1-dev.6 [2023-04-18T05:37:46.453Z] v2.2.1-dev.7 [2023-04-18T05:37:46.453Z] v2.3.0 [2023-04-18T05:37:46.453Z] v2.3.0-dev.10 [2023-04-18T05:37:46.453Z] v2.3.0-dev.11 [2023-04-18T05:37:46.453Z] v2.3.0-dev.12 [2023-04-18T05:37:46.453Z] v2.3.0-dev.13 [2023-04-18T05:37:46.453Z] v2.3.0-dev.14 [2023-04-18T05:37:46.453Z] v2.3.0-dev.15 [2023-04-18T05:37:46.453Z] v2.3.0-dev.16 [2023-04-18T05:37:46.453Z] v2.3.0-dev.17 [2023-04-18T05:37:46.453Z] v2.3.0-dev.18 [2023-04-18T05:37:46.453Z] v2.3.0-dev.19 [2023-04-18T05:37:46.453Z] v2.3.0-dev.20 [2023-04-18T05:37:46.453Z] v2.3.0-dev.21 [2023-04-18T05:37:46.453Z] v2.3.0-dev.22 [2023-04-18T05:37:46.453Z] v2.3.0-dev.23 [2023-04-18T05:37:46.453Z] v2.3.0-dev.24 [2023-04-18T05:37:46.453Z] v2.3.0-dev.25 [2023-04-18T05:37:46.453Z] v2.3.0-dev.7 [2023-04-18T05:37:46.453Z] v2.3.0-dev.8 [2023-04-18T05:37:46.453Z] v2.3.0-dev.9 [2023-04-18T05:37:46.453Z] v3.0.0-dev.1 [2023-04-18T05:37:46.453Z] v3.0.0-dev.10 [2023-04-18T05:37:46.453Z] v3.0.0-dev.11 [2023-04-18T05:37:46.453Z] v3.0.0-dev.12 [2023-04-18T05:37:46.453Z] v3.0.0-dev.13 [2023-04-18T05:37:46.453Z] v3.0.0-dev.14 [2023-04-18T05:37:46.453Z] v3.0.0-dev.15 [2023-04-18T05:37:46.453Z] v3.0.0-dev.16 [2023-04-18T05:37:46.453Z] v3.0.0-dev.17 [2023-04-18T05:37:46.453Z] v3.0.0-dev.18 [2023-04-18T05:37:46.453Z] v3.0.0-dev.19 [2023-04-18T05:37:46.453Z] v3.0.0-dev.2 [2023-04-18T05:37:46.453Z] v3.0.0-dev.20 [2023-04-18T05:37:46.453Z] v3.0.0-dev.21 [2023-04-18T05:37:46.453Z] v3.0.0-dev.22 [2023-04-18T05:37:46.453Z] v3.0.0-dev.23 [2023-04-18T05:37:46.453Z] v3.0.0-dev.24 [2023-04-18T05:37:46.453Z] v3.0.0-dev.25 [2023-04-18T05:37:46.453Z] v3.0.0-dev.26 [2023-04-18T05:37:46.453Z] v3.0.0-dev.27 [2023-04-18T05:37:46.453Z] v3.0.0-dev.28 [2023-04-18T05:37:46.453Z] v3.0.0-dev.3 [2023-04-18T05:37:46.453Z] v3.0.0-dev.4 [2023-04-18T05:37:46.453Z] v3.0.0-dev.5 [2023-04-18T05:37:46.453Z] v3.0.0-dev.6 [2023-04-18T05:37:46.453Z] v3.0.0-dev.7 [2023-04-18T05:37:46.453Z] v3.0.0-dev.8 [2023-04-18T05:37:46.453Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-18T05:37:46.736Z] + lftools sign git-tag v3.0.0-dev.28 [2023-04-18T05:37:47.302Z] Signing Git tag with Sigul... [2023-04-18T05:37:47.302Z] Signing v3.0.0-dev.28 [Pipeline] echo [2023-04-18T05:37:47.570Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:37:47.856Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-18T05:37:47.864Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-18T05:37:47.888Z] $ docker stop --time=1 e80696194165836deb4b6d336da96757293af724c9fe7ffbb394a25578b38777 [2023-04-18T05:37:49.172Z] $ docker rm -f --volumes e80696194165836deb4b6d336da96757293af724c9fe7ffbb394a25578b38777 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-18T05:37:49.573Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T05:37:49.573Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:37:49.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:37:49.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:37:49.937Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-04-18T05:37:49.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T05:37:50.308Z] $ docker top 9fceded7743ccfe53661f0326c53c6ced79412b1c6241d772449ef8432d7d27d -eo pid,comm [2023-04-18T05:37:50.360Z] 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-04-18T05:37:50.360Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T05:37:50.406Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T05:37:50.406Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T05:37:50.525Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T05:37:50.530Z] $ docker exec 9fceded7743ccfe53661f0326c53c6ced79412b1c6241d772449ef8432d7d27d ssh-agent [2023-04-18T05:37:50.622Z] SSH_AUTH_SOCK=/tmp/ssh-lIWM5fHIiZUR/agent.31 [2023-04-18T05:37:50.622Z] SSH_AGENT_PID=37 [2023-04-18T05:37:50.626Z] Running ssh-add (command line suppressed) [2023-04-18T05:37:50.716Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16008515912801183437.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16008515912801183437.key) [2023-04-18T05:37:50.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T05:37:51.010Z] + git semver bump pre [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,188 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,188 [bump_version] DEBUG bumping version:3.0.0-dev.28 on axis:pre with prefix:dev [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,189 [bump_version] DEBUG bumped version:3.0.0-dev.29 [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,189 [write_version] DEBUG write version:3.0.0-dev.29 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,189 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,189 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,190 [execute] INFO git cat-file --batch-check [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,196 [execute] INFO git cat-file --batch [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T05:37:51.268Z] 2023-04-18 05:37:51,201 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T05:37:51.268Z] 3.0.0-dev.29 [Pipeline] } [2023-04-18T05:37:51.279Z] $ docker exec --env ******** --env ******** 9fceded7743ccfe53661f0326c53c6ced79412b1c6241d772449ef8432d7d27d ssh-agent -k [2023-04-18T05:37:51.381Z] unset SSH_AUTH_SOCK; [2023-04-18T05:37:51.382Z] unset SSH_AGENT_PID; [2023-04-18T05:37:51.382Z] echo Agent pid 37 killed; [2023-04-18T05:37:51.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T05:37:51.689Z] + git semver [Pipeline] } [2023-04-18T05:37:51.963Z] $ docker stop --time=1 9fceded7743ccfe53661f0326c53c6ced79412b1c6241d772449ef8432d7d27d [2023-04-18T05:37:53.217Z] $ docker rm -f --volumes 9fceded7743ccfe53661f0326c53c6ced79412b1c6241d772449ef8432d7d27d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T05:37:53.554Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T05:37:53.555Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:37:53.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T05:37:53.848Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:37:53.918Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-04-18T05:37:53.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T05:37:54.274Z] $ docker top 5901e5701f5187d6b9572ece7e66047a241564fc77bbd5e43196a4c8b2a1b04b -eo pid,comm [2023-04-18T05:37:54.320Z] 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-04-18T05:37:54.320Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T05:37:54.360Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T05:37:54.360Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T05:37:54.481Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T05:37:54.486Z] $ docker exec 5901e5701f5187d6b9572ece7e66047a241564fc77bbd5e43196a4c8b2a1b04b ssh-agent [2023-04-18T05:37:54.590Z] SSH_AUTH_SOCK=/tmp/ssh-cXT2TcDQHsUw/agent.32 [2023-04-18T05:37:54.590Z] SSH_AGENT_PID=38 [2023-04-18T05:37:54.595Z] Running ssh-add (command line suppressed) [2023-04-18T05:37:54.714Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12413671803019044383.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12413671803019044383.key) [2023-04-18T05:37:54.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T05:37:55.009Z] + git semver push [2023-04-18T05:37:55.268Z] 2023-04-18 05:37:55,198 [run_push] DEBUG push [2023-04-18T05:37:55.268Z] 2023-04-18 05:37:55,199 [execute] INFO git cat-file --batch-check [2023-04-18T05:37:55.268Z] 2023-04-18 05:37:55,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T05:37:55.268Z] 2023-04-18 05:37:55,204 [execute] INFO git rev-list 1d30d1a908b43551252a30b3b3a717f233d7a515 -- [2023-04-18T05:37:55.268Z] 2023-04-18 05:37:55,205 [execute] DEBUG Popen(['git', 'rev-list', '1d30d1a908b43551252a30b3b3a717f233d7a515', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T05:37:55.268Z] 2023-04-18 05:37:55,213 [execute] INFO git fetch -v origin [2023-04-18T05:37:55.268Z] 2023-04-18 05:37:55,213 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-18T05:37:55.835Z] 2023-04-18 05:37:55,681 [run_push] DEBUG no remote changes detected [2023-04-18T05:37:55.835Z] 2023-04-18 05:37:55,682 [execute] INFO git push origin semver [2023-04-18T05:37:55.835Z] 2023-04-18 05:37:55,683 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T05:37:56.772Z] 2023-04-18 05:37:56,752 [run_push] DEBUG push all version tags [2023-04-18T05:37:56.772Z] 2023-04-18 05:37:56,752 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-18T05:37:56.772Z] 2023-04-18 05:37:56,753 [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-04-18T05:37:57.708Z] 2023-04-18 05:37:57,490 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-04-18T05:37:57.708Z] 3.0.0-dev.29 [Pipeline] } [2023-04-18T05:37:57.722Z] $ docker exec --env ******** --env ******** 5901e5701f5187d6b9572ece7e66047a241564fc77bbd5e43196a4c8b2a1b04b ssh-agent -k [2023-04-18T05:37:57.821Z] unset SSH_AUTH_SOCK; [2023-04-18T05:37:57.821Z] unset SSH_AGENT_PID; [2023-04-18T05:37:57.821Z] echo Agent pid 38 killed; [2023-04-18T05:37:57.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T05:37:58.136Z] + git semver [Pipeline] } [2023-04-18T05:37:58.410Z] $ docker stop --time=1 5901e5701f5187d6b9572ece7e66047a241564fc77bbd5e43196a4c8b2a1b04b [2023-04-18T05:37:59.692Z] $ docker rm -f --volumes 5901e5701f5187d6b9572ece7e66047a241564fc77bbd5e43196a4c8b2a1b04b [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-04-18T05:38:00.234Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-04-18T05:38:00.234Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-18T05:38:00.234Z] total 16 [2023-04-18T05:38:00.234Z] drwxr-xr-x 3 root root 4096 Apr 18 05:29 . [2023-04-18T05:38:00.234Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:37 .. [2023-04-18T05:38:00.234Z] drwxr-xr-x 2 root root 4096 Apr 18 05:29 cost [2023-04-18T05:38:00.234Z] -rw-r--r-- 1 root root 87 Apr 18 05:29 cost.csv [2023-04-18T05:38:00.234Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-18T05:38:00.234Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-04-18T05:38:00.234Z] total 16 [2023-04-18T05:38:00.234Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:29 . [2023-04-18T05:38:00.234Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 05:37 .. [2023-04-18T05:38:00.234Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 05:29 cost [2023-04-18T05:38:00.234Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 18 05:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:38:00.526Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:38:01.447Z] ---> package-listing.sh [2023-04-18T05:38:01.447Z] ++ facter osfamily [2023-04-18T05:38:01.447Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T05:38:01.723Z] + OS_FAMILY=debian [2023-04-18T05:38:01.723Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-04-18T05:38:01.723Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T05:38:01.723Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T05:38:01.723Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T05:38:01.723Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T05:38:01.723Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-04-18T05:38:01.723Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T05:38:01.723Z] + case "${OS_FAMILY}" in [2023-04-18T05:38:01.723Z] + dpkg -l [2023-04-18T05:38:01.723Z] + grep '^ii' [2023-04-18T05:38:01.723Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T05:38:01.723Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T05:38:01.723Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T05:38:01.723Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-04-18T05:38:01.723Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-04-18T05:38:01.723Z] + 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-04-18T05:38:01.747Z] 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-04-18T05:38:02.123Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T05:38:02.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T05:38:02.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T05:38:02.516Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-04-18T05:38:02.549Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T05:38:02.733Z] $ docker top 786e4f31f042e9789c2b1697db68b62f9e79d1b89e8872f8b3a83a201e6f0636 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T05:38:03.072Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T05:38:03.357Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T05:38:03.641Z] + ls /var/log/sa-host [2023-04-18T05:38:03.641Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T05:38:03.703Z] provisioning config files... [2023-04-18T05:38:03.712Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15805958698384975408tmp [Pipeline] { [Pipeline] echo [2023-04-18T05:38:03.726Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:38:04.006Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T05:38:04.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:38:04.342Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T05:38:04.351Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:38:04.636Z] ---> sudo-logs.sh [2023-04-18T05:38:04.636Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T05:38:04.657Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:38:04.940Z] ---> job-cost.sh [2023-04-18T05:38:04.941Z] lf-activate-venv: SKIPPING [2023-04-18T05:38:04.941Z] DEBUG: total: 0.2199999988079071 [2023-04-18T05:38:04.941Z] INFO: Retrieving Stack Cost... [2023-04-18T05:38:05.199Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T05:38:05.766Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T05:38:05.777Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T05:38:06.059Z] ---> logs-deploy.sh [2023-04-18T05:38:06.059Z] lf-activate-venv: SKIPPING [2023-04-18T05:38:06.059Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/94 [2023-04-18T05:38:06.059Z] INFO: archiving workspace using pattern(s): [2023-04-18T05:38:06.998Z] Archives upload complete. [2023-04-18T05:38:06.998Z] INFO: archiving logs to Nexus