Started by user Cherry Wang Replayed #60 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 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-ssh13281211636973418692.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13350923913405363427.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh9131731803471314250.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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. Replacing contents of vars/edgeXReleaseOpenApi.groovy Replacing contents of vars/edgeXDockerLogin.groovy Replacing contents of vars/edgeXUpdateNamedTag.groovy Replacing contents of vars/edgeXInfraPublish.groovy Replacing contents of src/main/groovy/edgeXDocGenerator.groovy Replacing contents of vars/edgeXInfraLFToolsSign.groovy Replacing contents of vars/edgeXGeneric.groovy Replacing contents of vars/edgeXBuildGoParallel.groovy Replacing contents of vars/edgeXSemver.groovy Replacing contents of vars/edgeXNexusPublish.groovy Replacing contents of vars/edgeXGHPagesPublish.groovy Replacing contents of vars/edgeXBuildGoMod.groovy Replacing contents of vars/edgeXRelease.groovy Replacing contents of vars/edgeXSnap.groovy Replacing contents of vars/edgeXReleaseSnap.groovy Replacing contents of vars/edgeXBuildCApp.groovy Replacing contents of vars/edgeXInfraShipLogs.groovy Replacing contents of vars/edgeXSetupEnvironment.groovy Replacing contents of vars/edgex.groovy Replacing contents of vars/edgeXBuildDocker.groovy Replacing contents of vars/edgeXEmail.groovy Replacing contents of vars/edgeXSwaggerPublish.groovy Replacing contents of vars/edgeXReleaseGitTag.groovy Replacing contents of vars/edgeXLTS.groovy Replacing contents of vars/edgeXEmailUtil.groovy Replacing contents of vars/edgeXReleaseDockerImage.groovy Replacing contents of vars/edgeXClair.groovy Replacing contents of vars/edgeXBuildGoApp.groovy Replacing contents of vars/edgeXSnyk.groovy Replacing contents of vars/edgeXCodecov.groovy Replacing contents of vars/edgeXDocker.groovy Replacing contents of vars/edgeXReleaseGitTagUtil.groovy Replacing contents of vars/edgeXReleaseGitHubAssets.groovy Replacing contents of vars/edgeXReleaseDocs.groovy 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-ssh341535663917138467.key Verifying host key using known hosts file > 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-ssh6464499660567402481.key Verifying host key using known hosts file > 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. Replacing contents of vars/lfParallelCostCapture.groovy Replacing contents of vars/lfInfraShipLogs.groovy Replacing contents of vars/lfNode.groovy Replacing contents of vars/lfCommon.groovy Replacing contents of vars/lfDefaults.groovy Replacing contents of vars/lfDocker.groovy Replacing contents of vars/lfJava.groovy [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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117055 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc (main) Commit message: "fix: update command request and response topic (#386)" > 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 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 > git rev-list --no-walk fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:45:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:45:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:45:00 ========================================================= 03:45:00 EdgeX Global Pipelines Version Info 03:45:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:45:00 ------------------- 03:45:00 stable info: 03:45:00 ------------------- 03:45:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:45:00 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 03:45:00 Message: update stable to v1.0.243 03:45:01 ------------------- 03:45:01 experimental info: 03:45:01 ------------------- 03:45:01 Commited By: **** collab-it+edgex@linuxfoundation.org 03:45:01 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 03:45:01 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fda9d1e [Pipeline] echo 03:45:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:45:02 provisioning config files... 03:45:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7479354513359415427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:02 ---> docker-login.sh 03:45:02 nexus3.edgexfoundry.org:10001 03:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:02 Configure a credential helper to remove this warning. See 03:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:02 03:45:02 Login Succeeded 03:45:02 nexus3.edgexfoundry.org:10002 03:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:02 Configure a credential helper to remove this warning. See 03:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:02 03:45:02 Login Succeeded 03:45:02 nexus3.edgexfoundry.org:10003 03:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:02 Configure a credential helper to remove this warning. See 03:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:02 03:45:02 Login Succeeded 03:45:02 nexus3.edgexfoundry.org:10004 03:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:02 Configure a credential helper to remove this warning. See 03:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:02 03:45:02 Login Succeeded 03:45:02 docker.io 03:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:03 Configure a credential helper to remove this warning. See 03:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:03 03:45:03 Login Succeeded 03:45:03 ---> docker-login.sh ends [Pipeline] } 03:45:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:45:03 + git rev-list -1 --merges fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc~1..fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc [Pipeline] echo 03:45:03 -----------> git rev-list -1 --merges fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc~1..fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc [false] [Pipeline] sh 03:45:04 + git log --format=format:%s -1 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc [Pipeline] echo 03:45:04 ========================================================= 03:45:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:45:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:45:04 + git log --format=format:%s -1 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc [Pipeline] echo 03:45:04 [semverPrep] GIT_COMMIT: fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc, Commit Message: fix: update command request and response topic (#386) [Pipeline] echo 03:45:04 [semverPrep] This is not a build commit. [Pipeline] sh 03:45:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:45:04 + grep -v github /etc/ssh/ssh_known_hosts 03:45:04 + [ -e /tmp/ssh_known_hosts ] 03:45:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:45:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:45:04 + sudo tee -a /etc/ssh/ssh_known_hosts 03:45:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:45:05 03:45:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:45:05 0.1.4: Pulling from edgex-devops/py-git-semver 03:45:05 b85a868b505f: Pulling fs layer 03:45:05 e2be974225ed: Pulling fs layer 03:45:05 339a4e72a1f5: Pulling fs layer 03:45:05 988bab9f4d93: Pulling fs layer 03:45:05 1469e6f7b9e6: Pulling fs layer 03:45:05 eaf3925da568: Pulling fs layer 03:45:05 bab4dde63d76: Pulling fs layer 03:45:05 bde34c3a00c8: Pulling fs layer 03:45:05 b352a97aabf1: Pulling fs layer 03:45:05 4872d77fe225: Pulling fs layer 03:45:05 5851b861e8e6: Pulling fs layer 03:45:05 bde34c3a00c8: Waiting 03:45:05 988bab9f4d93: Waiting 03:45:05 eaf3925da568: Waiting 03:45:05 bab4dde63d76: Waiting 03:45:05 1469e6f7b9e6: Waiting 03:45:05 4872d77fe225: Waiting 03:45:05 b352a97aabf1: Waiting 03:45:05 5851b861e8e6: Waiting 03:45:05 e2be974225ed: Verifying Checksum 03:45:05 e2be974225ed: Download complete 03:45:05 988bab9f4d93: Verifying Checksum 03:45:05 988bab9f4d93: Download complete 03:45:05 339a4e72a1f5: Verifying Checksum 03:45:05 339a4e72a1f5: Download complete 03:45:05 1469e6f7b9e6: Verifying Checksum 03:45:05 1469e6f7b9e6: Download complete 03:45:05 eaf3925da568: Verifying Checksum 03:45:05 eaf3925da568: Download complete 03:45:05 bde34c3a00c8: Download complete 03:45:05 b352a97aabf1: Verifying Checksum 03:45:05 b352a97aabf1: Download complete 03:45:05 4872d77fe225: Verifying Checksum 03:45:05 4872d77fe225: Download complete 03:45:05 5851b861e8e6: Verifying Checksum 03:45:05 5851b861e8e6: Download complete 03:45:05 b85a868b505f: Verifying Checksum 03:45:05 b85a868b505f: Download complete 03:45:05 bab4dde63d76: Verifying Checksum 03:45:05 bab4dde63d76: Download complete 03:45:06 b85a868b505f: Pull complete 03:45:06 e2be974225ed: Pull complete 03:45:07 339a4e72a1f5: Pull complete 03:45:07 988bab9f4d93: Pull complete 03:45:07 1469e6f7b9e6: Pull complete 03:45:08 eaf3925da568: Pull complete 03:45:09 bab4dde63d76: Pull complete 03:45:09 bde34c3a00c8: Pull complete 03:45:09 b352a97aabf1: Pull complete 03:45:10 4872d77fe225: Pull complete 03:45:10 5851b861e8e6: Pull complete 03:45:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:45:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:45:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:10 prd-ubuntu20.04-docker-8c-8g-117055 does not seem to be running inside a container 03:45:10 $ 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 03:45:12 $ docker top 53ec899038e0737ce996538c0aa9037c09693c924b126ec62057af0efbd8b66c -eo pid,comm 03:45:12 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). 03:45:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:45:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:12 [ssh-agent] Looking for ssh-agent implementation... 03:45:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:12 $ docker exec 53ec899038e0737ce996538c0aa9037c09693c924b126ec62057af0efbd8b66c ssh-agent 03:45:12 SSH_AUTH_SOCK=/tmp/ssh-9SmGo3o6OKeb/agent.32 03:45:12 SSH_AGENT_PID=38 03:45:12 Running ssh-add (command line suppressed) 03:45:12 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6676872154099673058.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6676872154099673058.key) 03:45:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:13 + git tag --points-at HEAD [Pipeline] } 03:45:13 $ docker exec --env ******** --env ******** 53ec899038e0737ce996538c0aa9037c09693c924b126ec62057af0efbd8b66c ssh-agent -k 03:45:13 unset SSH_AUTH_SOCK; 03:45:13 unset SSH_AGENT_PID; 03:45:13 echo Agent pid 38 killed; 03:45:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:45:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:13 [ssh-agent] Looking for ssh-agent implementation... 03:45:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:13 $ docker exec 53ec899038e0737ce996538c0aa9037c09693c924b126ec62057af0efbd8b66c ssh-agent 03:45:13 SSH_AUTH_SOCK=/tmp/ssh-BRxrj5SkyRve/agent.71 03:45:13 SSH_AGENT_PID=77 03:45:13 Running ssh-add (command line suppressed) 03:45:13 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_183820941833472172.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_183820941833472172.key) 03:45:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:13 + git semver init 03:45:14 2022-10-26 03:45:13,975 [run_init] DEBUG init version:0.0.0 force:False 03:45:14 2022-10-26 03:45:13,976 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 03:45:14 2022-10-26 03:45:13,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 03:45:14 2022-10-26 03:45:13,976 [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) 03:45:14 2022-10-26 03:45:14,936 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 03:45:14 2022-10-26 03:45:14,937 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 03:45:14 2022-10-26 03:45:14,937 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:45:14 2022-10-26 03:45:14,937 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:45:14 2.3.0-dev.21 [Pipeline] } 03:45:15 $ docker exec --env ******** --env ******** 53ec899038e0737ce996538c0aa9037c09693c924b126ec62057af0efbd8b66c ssh-agent -k 03:45:15 unset SSH_AUTH_SOCK; 03:45:15 unset SSH_AGENT_PID; 03:45:15 echo Agent pid 77 killed; 03:45:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:45:15 + git semver [Pipeline] } 03:45:15 $ docker stop --time=1 53ec899038e0737ce996538c0aa9037c09693c924b126ec62057af0efbd8b66c 03:45:17 $ docker rm -f 53ec899038e0737ce996538c0aa9037c09693c924b126ec62057af0efbd8b66c [Pipeline] // withDockerContainer [Pipeline] sh 03:45:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:45:17 Stashed 1 file(s) [Pipeline] echo 03:45:17 [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [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 03:45:17 provisioning config files... 03:45:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11068951437395466751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:17 ---> docker-login.sh 03:45:17 nexus3.edgexfoundry.org:10001 03:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:17 Configure a credential helper to remove this warning. See 03:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:17 03:45:17 Login Succeeded 03:45:17 nexus3.edgexfoundry.org:10002 03:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:17 Configure a credential helper to remove this warning. See 03:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:17 03:45:17 Login Succeeded 03:45:17 nexus3.edgexfoundry.org:10003 03:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:18 Configure a credential helper to remove this warning. See 03:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:18 03:45:18 Login Succeeded 03:45:18 nexus3.edgexfoundry.org:10004 03:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:18 Configure a credential helper to remove this warning. See 03:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:18 03:45:18 Login Succeeded 03:45:18 docker.io 03:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:18 Configure a credential helper to remove this warning. See 03:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:18 03:45:18 Login Succeeded 03:45:18 ---> docker-login.sh ends [Pipeline] } 03:45:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:45:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:45:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:45:18 ========================================================= 03:45:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:45:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:45:19 Sending build context to Docker daemon 6.194MB 03:45:19 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 03:45:19 Step 2/11 : FROM ${BASE} AS builder 03:45:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:45:19 213ec9aee27d: Pulling fs layer 03:45:19 4583459ba037: Pulling fs layer 03:45:19 93c1e223e6f2: Pulling fs layer 03:45:19 53926ce57604: Pulling fs layer 03:45:19 21b2b0c7a3f4: Pulling fs layer 03:45:19 30f14e443154: Pulling fs layer 03:45:19 801331c1e519: Pulling fs layer 03:45:19 99cc6dd402b0: Pulling fs layer 03:45:19 7d9ed39f4882: Pulling fs layer 03:45:19 99cc6dd402b0: Waiting 03:45:19 30f14e443154: Waiting 03:45:19 7d9ed39f4882: Waiting 03:45:19 53926ce57604: Waiting 03:45:19 21b2b0c7a3f4: Waiting 03:45:19 93c1e223e6f2: Download complete 03:45:19 4583459ba037: Verifying Checksum 03:45:19 4583459ba037: Download complete 03:45:19 21b2b0c7a3f4: Verifying Checksum 03:45:19 21b2b0c7a3f4: Download complete 03:45:19 30f14e443154: Verifying Checksum 03:45:19 30f14e443154: Download complete 03:45:19 213ec9aee27d: Verifying Checksum 03:45:19 801331c1e519: Verifying Checksum 03:45:19 801331c1e519: Download complete 03:45:19 213ec9aee27d: Pull complete 03:45:19 4583459ba037: Pull complete 03:45:19 93c1e223e6f2: Pull complete 03:45:20 7d9ed39f4882: Verifying Checksum 03:45:20 7d9ed39f4882: Download complete 03:45:20 53926ce57604: Verifying Checksum 03:45:20 53926ce57604: Download complete 03:45:21 99cc6dd402b0: Verifying Checksum 03:45:21 99cc6dd402b0: Download complete 03:45:25 53926ce57604: Pull complete 03:45:25 21b2b0c7a3f4: Pull complete 03:45:25 30f14e443154: Pull complete 03:45:25 801331c1e519: Pull complete 03:45:27 99cc6dd402b0: Pull complete 03:45:27 7d9ed39f4882: Pull complete 03:45:27 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 03:45:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:45:27 ---> 1dedd983c030 03:45:27 Step 3/11 : ARG ADD_BUILD_TAGS="" 03:45:30 ---> Running in e45afb7748f3 03:45:30 Removing intermediate container e45afb7748f3 03:45:30 ---> eb75a2358815 03:45:30 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:45:30 ---> Running in 196c80e07cf1 03:45:30 Removing intermediate container 196c80e07cf1 03:45:30 ---> 091b4107d8af 03:45:30 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:45:30 ---> Running in 3b1846985aa1 03:45:31 Removing intermediate container 3b1846985aa1 03:45:31 ---> f35c86e6e729 03:45:31 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:45:31 ---> Running in edbd07cb5899 03:45:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:45:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:45:32 (1/8) Installing openssh-keygen (9.0_p1-r2) 03:45:32 Still waiting to schedule task 03:45:32 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:45:32 (2/8) Installing libedit (20210910.3.1-r0) 03:45:33 (3/8) Installing openssh-client-common (9.0_p1-r2) 03:45:33 (4/8) Installing openssh-client-default (9.0_p1-r2) 03:45:34 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 03:45:34 (6/8) Installing openssh-server-common (9.0_p1-r2) 03:45:34 (7/8) Installing openssh-server (9.0_p1-r2) 03:45:35 (8/8) Installing openssh (9.0_p1-r2) 03:45:35 Executing busybox-1.35.0-r17.trigger 03:45:35 OK: 217 MiB in 59 packages 03:45:36 Removing intermediate container edbd07cb5899 03:45:36 ---> df91c2f942da 03:45:36 Step 7/11 : WORKDIR /device-modbus-go 03:45:36 ---> Running in cb54f5d9abb4 03:45:36 Removing intermediate container cb54f5d9abb4 03:45:36 ---> f3720f222008 03:45:36 Step 8/11 : COPY go.mod vendor* ./ 03:45:36 ---> d64545f461f4 03:45:36 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:45:36 ---> Running in 0fd7355dc0a5 03:45:54 Removing intermediate container 0fd7355dc0a5 03:45:54 ---> f6d8102f3cc1 03:45:54 Step 10/11 : COPY . . 03:45:54 ---> add7f8215693 03:45:54 Step 11/11 : RUN ${MAKE} 03:45:54 ---> Running in 053ed0b1edda 03:45:54 noop 03:45:54 Removing intermediate container 053ed0b1edda 03:45:54 ---> 71ba03129e19 03:45:54 Successfully built 71ba03129e19 03:45:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:54 + docker inspect -f . ci-base-image-x86_64 03:45:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:54 prd-ubuntu20.04-docker-8c-8g-117055 does not seem to be running inside a container 03:45:54 $ 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 03:45:55 $ docker top 4b2bb201a7cbc18897daa2706dcffebb5fe46bd557f39e2219bb6925a14e53e0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:55 + go version 03:45:55 go version go1.18.7 linux/amd64 [Pipeline] } 03:45:55 $ docker stop --time=1 4b2bb201a7cbc18897daa2706dcffebb5fe46bd557f39e2219bb6925a14e53e0 03:45:56 $ docker rm -f 4b2bb201a7cbc18897daa2706dcffebb5fe46bd557f39e2219bb6925a14e53e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:57 + docker inspect -f . ci-base-image-x86_64 03:45:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:57 prd-ubuntu20.04-docker-8c-8g-117055 does not seem to be running inside a container 03:45:57 $ 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 03:45:57 $ docker top b01e78af768d7877e3357cb8049fdfe660fcc84d540b844c20c1b21ee904d6a8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:58 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 03:45:58 + make test 03:45:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:45:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:46:08 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:46:08 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 03:46:15 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 03:46:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:46:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:46:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:46:18 ./bin/test-attribution-txt.sh [Pipeline] echo 03:46:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:46:18 $ docker stop --time=1 b01e78af768d7877e3357cb8049fdfe660fcc84d540b844c20c1b21ee904d6a8 03:46:20 $ docker rm -f b01e78af768d7877e3357cb8049fdfe660fcc84d540b844c20c1b21ee904d6a8 [Pipeline] // withDockerContainer [Pipeline] sh 03:46:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:46:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:46:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:46:21 + ls -al . 03:46:21 total 188 03:46:21 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 03:45 . 03:46:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 03:44 .. 03:46:21 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 03:44 .dockerignore 03:46:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 03:46 .git 03:46:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 03:44 .github 03:46:21 -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 03:44 .gitignore 03:46:21 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 03:44 .golangci.yml 03:46:21 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 03:45 .semver 03:46:21 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 03:44 Attribution.txt 03:46:21 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 03:44 CHANGELOG.md 03:46:21 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 26 03:44 Dockerfile 03:46:21 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 03:44 GOVERNANCE.md 03:46:21 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 03:44 Jenkinsfile 03:46:21 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 03:44 LICENSE 03:46:21 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 03:44 Makefile 03:46:21 -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 03:44 OWNERS.md 03:46:21 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 03:44 README.md 03:46:21 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 03:45 VERSION 03:46:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 03:44 bin 03:46:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 03:44 cmd 03:46:21 -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 03:46 coverage.out 03:46:21 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 26 03:44 go.mod 03:46:21 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 26 03:44 go.sum 03:46:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 03:44 internal 03:46:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 03:44 simulator 03:46:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 03:44 snap 03:46:21 -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 03:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:22 + 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=fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc --label arch=amd64 --label version=2.3.0-dev.21 . 03:46:22 Sending build context to Docker daemon 6.218MB 03:46:22 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 03:46:22 Step 2/24 : FROM ${BASE} AS builder 03:46:22 ---> 71ba03129e19 03:46:22 Step 3/24 : ARG ADD_BUILD_TAGS="" 03:46:22 ---> Running in b289289898a9 03:46:22 Removing intermediate container b289289898a9 03:46:22 ---> f21d6b958bd6 03:46:22 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:46:22 ---> Running in 5551e623dd1e 03:46:22 Removing intermediate container 5551e623dd1e 03:46:22 ---> 7d6d5495bbdb 03:46:22 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:46:22 ---> Running in 5df624c2c004 03:46:22 Removing intermediate container 5df624c2c004 03:46:22 ---> 1033374f8c94 03:46:22 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:46:22 ---> Running in 47fe572bc893 03:46:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:46:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:46:24 OK: 217 MiB in 59 packages 03:46:24 Removing intermediate container 47fe572bc893 03:46:24 ---> 1079f194a61d 03:46:24 Step 7/24 : WORKDIR /device-modbus-go 03:46:24 ---> Running in 1f5be833ea49 03:46:24 Removing intermediate container 1f5be833ea49 03:46:24 ---> 0277b96caaed 03:46:24 Step 8/24 : COPY go.mod vendor* ./ 03:46:24 ---> 3fc927971c5e 03:46:24 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:46:25 ---> Running in c8bbe50ac628 03:46:25 Removing intermediate container c8bbe50ac628 03:46:25 ---> b38a70562dec 03:46:25 Step 10/24 : COPY . . 03:46:26 ---> 50d3c933087a 03:46:26 Step 11/24 : RUN ${MAKE} 03:46:26 ---> Running in ddb20f7201f6 03:46:26 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 03:46:48 Removing intermediate container ddb20f7201f6 03:46:48 ---> 6dc1e6169842 03:46:48 Step 12/24 : FROM alpine:3.14 03:46:48 3.14: Pulling from library/alpine 03:46:48 c7ed990a2339: Pulling fs layer 03:46:48 c7ed990a2339: Verifying Checksum 03:46:48 c7ed990a2339: Download complete 03:46:48 c7ed990a2339: Pull complete 03:46:48 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 03:46:48 Status: Downloaded newer image for alpine:3.14 03:46:48 ---> dd53f409bf0b 03:46:48 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:46:48 ---> Running in 47d9e702dd62 03:46:48 Removing intermediate container 47d9e702dd62 03:46:48 ---> 3915e2666740 03:46:48 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:46:48 ---> Running in b9bb808296aa 03:46:49 Removing intermediate container b9bb808296aa 03:46:49 ---> 5be29d138032 03:46:49 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:46:49 ---> Running in e3d1b814efb2 03:46:49 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:46:50 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:46:50 (1/6) Installing dumb-init (1.2.5-r1) 03:46:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:46:51 (3/6) Installing libsodium (1.0.18-r0) 03:46:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:46:52 (5/6) Installing libzmq (4.3.4-r0) 03:46:52 (6/6) Installing zeromq (4.3.4-r0) 03:46:52 Executing busybox-1.33.1-r8.trigger 03:46:52 OK: 8 MiB in 20 packages 03:46:53 Removing intermediate container e3d1b814efb2 03:46:53 ---> ecd34b446cb3 03:46:53 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 03:46:53 ---> e983efd5722a 03:46:53 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 03:46:54 ---> 0612da259df8 03:46:54 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:46:54 ---> 1c24ab6e60ab 03:46:54 Step 19/24 : EXPOSE 59901 03:46:54 ---> Running in 87c448f55fc0 03:46:54 Removing intermediate container 87c448f55fc0 03:46:54 ---> 29202d4681b3 03:46:54 Step 20/24 : ENTRYPOINT ["/device-modbus"] 03:46:54 ---> Running in 8c6b712fa65a 03:46:54 Removing intermediate container 8c6b712fa65a 03:46:54 ---> 591faaa4c8ef 03:46:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:46:54 ---> Running in 25dd7ad97cec 03:46:54 Removing intermediate container 25dd7ad97cec 03:46:54 ---> 82508ce3f278 03:46:54 Step 22/24 : LABEL arch=amd64 03:46:54 ---> Running in 74b25c86c5d1 03:46:54 Removing intermediate container 74b25c86c5d1 03:46:54 ---> 9e6eb890cba8 03:46:54 Step 23/24 : LABEL git_sha=fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 03:46:54 ---> Running in 3c545b590818 03:46:54 Removing intermediate container 3c545b590818 03:46:54 ---> 95be6b44b9ce 03:46:54 Step 24/24 : LABEL version=2.3.0-dev.21 03:46:54 ---> Running in b8aa70fb0ee6 03:46:54 Removing intermediate container b8aa70fb0ee6 03:46:54 ---> 849605093a77 03:46:54 [Warning] One or more build-args [ARCH] were not consumed 03:46:54 Successfully built 849605093a77 03:46:54 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:46:54 provisioning config files... 03:46:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3793127830306706409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:46:55 ---> docker-login.sh 03:46:55 nexus3.edgexfoundry.org:10001 03:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:55 Configure a credential helper to remove this warning. See 03:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:55 03:46:55 Login Succeeded 03:46:55 nexus3.edgexfoundry.org:10002 03:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:55 Configure a credential helper to remove this warning. See 03:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:55 03:46:55 Login Succeeded 03:46:55 nexus3.edgexfoundry.org:10003 03:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:55 Configure a credential helper to remove this warning. See 03:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:55 03:46:55 Login Succeeded 03:46:55 nexus3.edgexfoundry.org:10004 03:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:55 Configure a credential helper to remove this warning. See 03:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:55 03:46:55 Login Succeeded 03:46:55 docker.io 03:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:46:56 Configure a credential helper to remove this warning. See 03:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:46:56 03:46:56 Login Succeeded 03:46:56 ---> docker-login.sh ends [Pipeline] } 03:46:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:46:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:46:56 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 03:46:56 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 03:46:56 latest 03:46:56 2.3.0-dev.21 03:46:56 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc-2.3.0-dev.21 03:46:56 main 03:46:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:56 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 03:46:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:46:56 616ef03a61ae: Preparing 03:46:56 56f1a9bca73f: Preparing 03:46:56 db53b906a5ee: Preparing 03:46:56 c014cd43fc7d: Preparing 03:46:56 ba2f38778472: Preparing 03:46:56 63493a9ab2d4: Preparing 03:46:56 63493a9ab2d4: Waiting 03:46:56 616ef03a61ae: Pushed 03:46:56 56f1a9bca73f: Pushed 03:46:56 ba2f38778472: Pushed 03:46:56 63493a9ab2d4: Layer already exists 03:46:56 c014cd43fc7d: Pushed 03:46:59 db53b906a5ee: Pushed 03:46:59 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc: digest: sha256:0d375013ec585dbe94afaa75463f3c605bcbe64e5a0e25fe4d92c364c378c234 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:59 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 03:47:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:47:00 616ef03a61ae: Preparing 03:47:00 56f1a9bca73f: Preparing 03:47:00 db53b906a5ee: Preparing 03:47:00 c014cd43fc7d: Preparing 03:47:00 ba2f38778472: Preparing 03:47:00 63493a9ab2d4: Preparing 03:47:00 63493a9ab2d4: Waiting 03:47:00 616ef03a61ae: Layer already exists 03:47:00 ba2f38778472: Layer already exists 03:47:00 db53b906a5ee: Layer already exists 03:47:00 56f1a9bca73f: Layer already exists 03:47:00 c014cd43fc7d: Layer already exists 03:47:00 63493a9ab2d4: Layer already exists 03:47:00 latest: digest: sha256:0d375013ec585dbe94afaa75463f3c605bcbe64e5a0e25fe4d92c364c378c234 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:00 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.21 03:47:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:47:00 616ef03a61ae: Preparing 03:47:00 56f1a9bca73f: Preparing 03:47:00 db53b906a5ee: Preparing 03:47:00 c014cd43fc7d: Preparing 03:47:00 ba2f38778472: Preparing 03:47:00 63493a9ab2d4: Preparing 03:47:00 63493a9ab2d4: Waiting 03:47:00 db53b906a5ee: Layer already exists 03:47:00 c014cd43fc7d: Layer already exists 03:47:00 ba2f38778472: Layer already exists 03:47:00 616ef03a61ae: Layer already exists 03:47:00 56f1a9bca73f: Layer already exists 03:47:00 63493a9ab2d4: Layer already exists 03:47:00 2.3.0-dev.21: digest: sha256:0d375013ec585dbe94afaa75463f3c605bcbe64e5a0e25fe4d92c364c378c234 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc-2.3.0-dev.21 03:47:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:47:01 616ef03a61ae: Preparing 03:47:01 56f1a9bca73f: Preparing 03:47:01 db53b906a5ee: Preparing 03:47:01 c014cd43fc7d: Preparing 03:47:01 ba2f38778472: Preparing 03:47:01 63493a9ab2d4: Preparing 03:47:01 63493a9ab2d4: Waiting 03:47:01 ba2f38778472: Layer already exists 03:47:01 db53b906a5ee: Layer already exists 03:47:01 616ef03a61ae: Layer already exists 03:47:01 c014cd43fc7d: Layer already exists 03:47:01 56f1a9bca73f: Layer already exists 03:47:01 63493a9ab2d4: Layer already exists 03:47:01 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc-2.3.0-dev.21: digest: sha256:0d375013ec585dbe94afaa75463f3c605bcbe64e5a0e25fe4d92c364c378c234 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:01 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 03:47:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 03:47:01 616ef03a61ae: Preparing 03:47:01 56f1a9bca73f: Preparing 03:47:01 db53b906a5ee: Preparing 03:47:01 c014cd43fc7d: Preparing 03:47:01 ba2f38778472: Preparing 03:47:01 63493a9ab2d4: Preparing 03:47:01 63493a9ab2d4: Waiting 03:47:01 db53b906a5ee: Layer already exists 03:47:01 c014cd43fc7d: Layer already exists 03:47:01 616ef03a61ae: Layer already exists 03:47:01 56f1a9bca73f: Layer already exists 03:47:01 ba2f38778472: Layer already exists 03:47:01 63493a9ab2d4: Layer already exists 03:47:01 main: digest: sha256:0d375013ec585dbe94afaa75463f3c605bcbe64e5a0e25fe4d92c364c378c234 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:47:01 ===================================================== [Pipeline] echo 03:47:01 taggedImages: 03:47:01 - nexus3.edgexfoundry.org:10004/device-modbus:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 03:47:01 - nexus3.edgexfoundry.org:10004/device-modbus:latest 03:47:01 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.21 03:47:01 - nexus3.edgexfoundry.org:10004/device-modbus:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc-2.3.0-dev.21 03:47:01 - 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 03:47:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:47:02 03:47:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:47:02 latest: Pulling from edgex-lftools-log-publisher 03:47:02 5eb5b503b376: Pulling fs layer 03:47:02 5c69ac0246d0: Pulling fs layer 03:47:02 ec43610c2a17: Pulling fs layer 03:47:02 3a2ae6a8a46f: Pulling fs layer 03:47:02 33b1e0a273af: Pulling fs layer 03:47:02 5d3b04190fa2: Pulling fs layer 03:47:02 2f39f015ded8: Pulling fs layer 03:47:02 33b1e0a273af: Waiting 03:47:02 5d3b04190fa2: Waiting 03:47:02 2f39f015ded8: Waiting 03:47:02 3a2ae6a8a46f: Waiting 03:47:02 5c69ac0246d0: Verifying Checksum 03:47:02 5c69ac0246d0: Download complete 03:47:02 3a2ae6a8a46f: Verifying Checksum 03:47:02 3a2ae6a8a46f: Download complete 03:47:02 33b1e0a273af: Verifying Checksum 03:47:02 33b1e0a273af: Download complete 03:47:02 ec43610c2a17: Verifying Checksum 03:47:02 ec43610c2a17: Download complete 03:47:02 5d3b04190fa2: Verifying Checksum 03:47:02 5d3b04190fa2: Download complete 03:47:02 5eb5b503b376: Verifying Checksum 03:47:02 5eb5b503b376: Download complete 03:47:03 2f39f015ded8: Download complete 03:47:04 5eb5b503b376: Pull complete 03:47:04 5c69ac0246d0: Pull complete 03:47:04 ec43610c2a17: Pull complete 03:47:04 3a2ae6a8a46f: Pull complete 03:47:05 33b1e0a273af: Pull complete 03:47:05 5d3b04190fa2: Pull complete 03:47:09 2f39f015ded8: Pull complete 03:47:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:47:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:47:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:09 prd-ubuntu20.04-docker-8c-8g-117055 does not seem to be running inside a container 03:47:09 $ 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 03:47:11 $ docker top 6455f3552e2a3795f734a6e1c137f5bf0b40bbebfc04d34e4cf64128804f4d29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:47:12 ---> job-cost.sh 03:47:12 lf-activate-venv: SKIPPING 03:47:12 INFO: No Stack... 03:47:12 INFO: Retrieving Pricing Info for: v3-standard-8 03:47:12 INFO: Archiving Costs [Pipeline] sh 03:47:12 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 03:47:12 + cut -d, -f6 [Pipeline] lock 03:47:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-61-stack-cost] 03:47:13 Resource [jenkins-edgexfoundry-device-modbus-go-main-61-stack-cost] did not exist. Created. 03:47:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:47:13 + echo total: 0.2199999988079071 [Pipeline] stash 03:47:13 Stashed 1 file(s) [Pipeline] } 03:47:13 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 03:47:13 $ docker stop --time=1 6455f3552e2a3795f734a6e1c137f5bf0b40bbebfc04d34e4cf64128804f4d29 03:47:14 $ docker rm -f 6455f3552e2a3795f734a6e1c137f5bf0b40bbebfc04d34e4cf64128804f4d29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:47:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117056 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 03:47:51 Running in /w/workspace/device-modbus-go/61 [Pipeline] { [Pipeline] checkout 03:47:51 Selected Git installation does not exist. Using Default 03:47:51 The recommended git tool is: NONE 03:47:56 using credential edgex-jenkins-ssh 03:47:56 Cloning the remote Git repository 03:47:56 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:47:56 > git init /w/workspace/device-modbus-go/61 # timeout=10 03:47:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:47:56 > git --version # timeout=10 03:47:56 > git --version # 'git version 2.25.1' 03:47:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:47:56 Verifying host key using known hosts file 03:47:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 03:47:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:47:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:47:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:47:58 Avoid second fetch 03:47:58 Checking out Revision fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc (main) 03:47:59 Commit message: "fix: update command request and response topic (#386)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:47:58 > git config core.sparsecheckout # timeout=10 03:47:58 > git checkout -f fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 03:48:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:48:00 % Total % Received % Xferd Average Speed Time Time Time Current 03:48:00 Dload Upload Total Spent Left Speed 03:48:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 03:48:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:48:01 + sudo tee /etc/docker/daemon.new 03:48:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:48:01 { 03:48:01 "registry-mirrors": [ 03:48:01 "https://nexus3.edgexfoundry.org:10001" 03:48:01 ], 03:48:01 "bip": "10.250.0.254/24", 03:48:01 "hosts": [ 03:48:01 "tcp://0.0.0.0:5555", 03:48:01 "unix:///var/run/docker.sock" 03:48:01 ], 03:48:01 "mtu": 1458, 03:48:01 "selinux-enabled": true, 03:48:01 "seccomp-profile": "/etc/docker/seccomp.json" 03:48:01 } [Pipeline] sh 03:48:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:48:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:48:20 provisioning config files... 03:48:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/61@tmp/config4079473298313940503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:48:20 ---> docker-login.sh 03:48:20 nexus3.edgexfoundry.org:10001 03:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:48:21 Configure a credential helper to remove this warning. See 03:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:48:21 03:48:21 Login Succeeded 03:48:21 nexus3.edgexfoundry.org:10002 03:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:48:21 Configure a credential helper to remove this warning. See 03:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:48:21 03:48:21 Login Succeeded 03:48:21 nexus3.edgexfoundry.org:10003 03:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:48:21 Configure a credential helper to remove this warning. See 03:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:48:21 03:48:21 Login Succeeded 03:48:21 nexus3.edgexfoundry.org:10004 03:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:48:22 Configure a credential helper to remove this warning. See 03:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:48:22 03:48:22 Login Succeeded 03:48:22 docker.io 03:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:48:22 Configure a credential helper to remove this warning. See 03:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:48:22 03:48:22 Login Succeeded 03:48:22 ---> docker-login.sh ends [Pipeline] } 03:48:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:48:23 ========================================================= 03:48:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:48:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:48:23 Sending build context to Docker daemon 3.225MB 03:48:23 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 03:48:23 Step 2/11 : FROM ${BASE} AS builder 03:48:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:48:24 9b18e9b68314: Pulling fs layer 03:48:24 d32db5db7311: Pulling fs layer 03:48:24 d0c4b47475fc: Pulling fs layer 03:48:24 5831b945b038: Pulling fs layer 03:48:24 86bbec2aaacd: Pulling fs layer 03:48:24 e10730c5d714: Pulling fs layer 03:48:24 5dd5c2283517: Pulling fs layer 03:48:24 d5ac0230b979: Pulling fs layer 03:48:24 86bbec2aaacd: Waiting 03:48:24 e10730c5d714: Waiting 03:48:24 5dd5c2283517: Waiting 03:48:24 d5ac0230b979: Waiting 03:48:24 5831b945b038: Waiting 03:48:24 d0c4b47475fc: Download complete 03:48:24 d32db5db7311: Verifying Checksum 03:48:24 d32db5db7311: Download complete 03:48:24 86bbec2aaacd: Verifying Checksum 03:48:24 86bbec2aaacd: Download complete 03:48:24 e10730c5d714: Verifying Checksum 03:48:24 e10730c5d714: Download complete 03:48:24 9b18e9b68314: Verifying Checksum 03:48:24 9b18e9b68314: Download complete 03:48:25 9b18e9b68314: Pull complete 03:48:25 d5ac0230b979: Verifying Checksum 03:48:25 d5ac0230b979: Download complete 03:48:25 d32db5db7311: Pull complete 03:48:25 d0c4b47475fc: Pull complete 03:48:26 5dd5c2283517: Verifying Checksum 03:48:26 5dd5c2283517: Download complete 03:48:27 5831b945b038: Verifying Checksum 03:48:27 5831b945b038: Download complete 03:48:39 5831b945b038: Pull complete 03:48:39 86bbec2aaacd: Pull complete 03:48:39 e10730c5d714: Pull complete 03:48:46 5dd5c2283517: Pull complete 03:48:47 d5ac0230b979: Pull complete 03:48:47 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 03:48:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:48:47 ---> 59b3b1a385d4 03:48:47 Step 3/11 : ARG ADD_BUILD_TAGS="" 03:48:49 ---> Running in a1773b9d15b7 03:48:49 Removing intermediate container a1773b9d15b7 03:48:49 ---> 427cf29816e6 03:48:49 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:48:49 ---> Running in 31b50528c071 03:48:50 Removing intermediate container 31b50528c071 03:48:50 ---> fbc2b91a49c1 03:48:50 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:48:50 ---> Running in 1522a246ec5d 03:48:52 Removing intermediate container 1522a246ec5d 03:48:52 ---> 63ca454225fb 03:48:52 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:48:52 ---> Running in d6bb551d0a27 03:48:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:48:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:48:54 (1/8) Installing openssh-keygen (9.0_p1-r2) 03:48:55 (2/8) Installing libedit (20210910.3.1-r0) 03:48:55 (3/8) Installing openssh-client-common (9.0_p1-r2) 03:48:56 (4/8) Installing openssh-client-default (9.0_p1-r2) 03:48:56 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 03:48:57 (6/8) Installing openssh-server-common (9.0_p1-r2) 03:48:57 (7/8) Installing openssh-server (9.0_p1-r2) 03:48:58 (8/8) Installing openssh (9.0_p1-r2) 03:48:58 Executing busybox-1.35.0-r17.trigger 03:48:58 OK: 228 MiB in 59 packages 03:48:59 Removing intermediate container d6bb551d0a27 03:48:59 ---> ec513a82aabf 03:48:59 Step 7/11 : WORKDIR /device-modbus-go 03:48:59 ---> Running in 0246d21120a7 03:48:59 Removing intermediate container 0246d21120a7 03:48:59 ---> 7a9ce4b67d55 03:48:59 Step 8/11 : COPY go.mod vendor* ./ 03:49:00 ---> d1b0757e178f 03:49:00 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:49:00 ---> Running in 36faa70c0c58 03:49:47 Removing intermediate container 36faa70c0c58 03:49:47 ---> d0a552bec49f 03:49:47 Step 10/11 : COPY . . 03:49:47 ---> 1338926e4b0e 03:49:47 Step 11/11 : RUN ${MAKE} 03:49:47 ---> Running in bd6d7c3eafe4 03:49:48 noop 03:49:49 Removing intermediate container bd6d7c3eafe4 03:49:49 ---> 9d4020d13408 03:49:49 Successfully built 9d4020d13408 03:49:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:49 + docker inspect -f . ci-base-image-arm64 03:49:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:49:49 prd-ubuntu20.04-docker-arm64-4c-16g-117056 does not seem to be running inside a container 03:49:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/61 -v /w/workspace/device-modbus-go/61:/w/workspace/device-modbus-go/61:rw,z -v /w/workspace/device-modbus-go/61@tmp:/w/workspace/device-modbus-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:49:51 $ docker top 6fb2d195458b3477d6ed1bf9d31ed12b9ac45b98b88ade64e0bd52a5c2502e0e -eo pid,comm [Pipeline] { [Pipeline] sh 03:49:51 + go version 03:49:51 go version go1.18.7 linux/arm64 [Pipeline] } 03:49:52 $ docker stop --time=1 6fb2d195458b3477d6ed1bf9d31ed12b9ac45b98b88ade64e0bd52a5c2502e0e 03:49:53 $ docker rm -f 6fb2d195458b3477d6ed1bf9d31ed12b9ac45b98b88ade64e0bd52a5c2502e0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:54 + docker inspect -f . ci-base-image-arm64 03:49:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:49:54 prd-ubuntu20.04-docker-arm64-4c-16g-117056 does not seem to be running inside a container 03:49:54 $ 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/61 -v /w/workspace/device-modbus-go/61:/w/workspace/device-modbus-go/61:rw,z -v /w/workspace/device-modbus-go/61@tmp:/w/workspace/device-modbus-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:49:55 $ docker top 5fd66b9d1ebd8db0269846c67f43b364dcc0c6ae518f4c51753d8a81d87b6db0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:49:55 + git config --global --add safe.directory /w/workspace/device-modbus-go/61 [Pipeline] fileExists [Pipeline] sh 03:49:56 + make test 03:49:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:49:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:51:19 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 03:51:19 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.098s coverage: 47.7% of statements 03:51:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:51:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:51:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:51:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:51:41 ./bin/test-attribution-txt.sh [Pipeline] echo 03:51:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:51:42 $ docker stop --time=1 5fd66b9d1ebd8db0269846c67f43b364dcc0c6ae518f4c51753d8a81d87b6db0 03:51:43 $ docker rm -f 5fd66b9d1ebd8db0269846c67f43b364dcc0c6ae518f4c51753d8a81d87b6db0 [Pipeline] // withDockerContainer [Pipeline] sh 03:51:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:51:44 Warning: overwriting stash ‘coverage-report’ 03:51:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:51:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:51:45 + ls -al . 03:51:45 total 184 03:51:45 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 03:49 . 03:51:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 03:47 .. 03:51:45 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 03:47 .dockerignore 03:51:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 03:47 .git 03:51:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 03:47 .github 03:51:45 -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 03:47 .gitignore 03:51:45 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 03:47 .golangci.yml 03:51:45 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 03:47 Attribution.txt 03:51:45 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 03:47 CHANGELOG.md 03:51:45 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 26 03:47 Dockerfile 03:51:45 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 03:47 GOVERNANCE.md 03:51:45 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 03:47 Jenkinsfile 03:51:45 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 03:47 LICENSE 03:51:45 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 03:47 Makefile 03:51:45 -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 03:47 OWNERS.md 03:51:45 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 03:47 README.md 03:51:45 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 03:45 VERSION 03:51:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 03:47 bin 03:51:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 03:47 cmd 03:51:45 -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 03:51 coverage.out 03:51:45 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 26 03:47 go.mod 03:51:45 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 26 03:47 go.sum 03:51:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 03:47 internal 03:51:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 03:47 simulator 03:51:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 03:47 snap 03:51:45 -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 03:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:46 + 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=fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc --label arch=arm64 --label version=2.3.0-dev.21 . 03:51:46 Sending build context to Docker daemon 3.249MB 03:51:46 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 03:51:46 Step 2/24 : FROM ${BASE} AS builder 03:51:46 ---> 9d4020d13408 03:51:46 Step 3/24 : ARG ADD_BUILD_TAGS="" 03:51:46 ---> Running in 8fe7379eae52 03:51:46 Removing intermediate container 8fe7379eae52 03:51:46 ---> 0938a46017e7 03:51:46 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:51:46 ---> Running in 106aa4c037a6 03:51:47 Removing intermediate container 106aa4c037a6 03:51:47 ---> 7a429428076e 03:51:47 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:51:47 ---> Running in 743c1526ada0 03:51:48 Removing intermediate container 743c1526ada0 03:51:48 ---> 76706191e483 03:51:48 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 03:51:48 ---> Running in fb1583d51925 03:51:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:51:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:51:51 OK: 228 MiB in 59 packages 03:51:52 Removing intermediate container fb1583d51925 03:51:52 ---> dd8362a6a179 03:51:52 Step 7/24 : WORKDIR /device-modbus-go 03:51:52 ---> Running in 84112106aeaa 03:51:52 Removing intermediate container 84112106aeaa 03:51:52 ---> ecade30a7d66 03:51:52 Step 8/24 : COPY go.mod vendor* ./ 03:51:53 ---> 028b528ab7bc 03:51:53 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:51:53 ---> Running in c1a73c098c9b 03:51:55 Removing intermediate container c1a73c098c9b 03:51:55 ---> 875ae86aaae2 03:51:55 Step 10/24 : COPY . . 03:51:55 ---> f82d4559fa33 03:51:55 Step 11/24 : RUN ${MAKE} 03:51:56 ---> Running in 74b16d0c6402 03:51:57 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 03:54:33 Removing intermediate container 74b16d0c6402 03:54:33 ---> 592458e811ba 03:54:33 Step 12/24 : FROM alpine:3.14 03:54:33 3.14: Pulling from library/alpine 03:54:33 90cda3b7c325: Pulling fs layer 03:54:33 90cda3b7c325: Verifying Checksum 03:54:33 90cda3b7c325: Download complete 03:54:33 90cda3b7c325: Pull complete 03:54:33 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 03:54:33 Status: Downloaded newer image for alpine:3.14 03:54:33 ---> 376ba31ae3da 03:54:33 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 03:54:33 ---> Running in 19d7e1cd903f 03:54:33 Removing intermediate container 19d7e1cd903f 03:54:33 ---> 271ca0b4426b 03:54:33 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:54:33 ---> Running in 6dac078c7340 03:54:34 Removing intermediate container 6dac078c7340 03:54:34 ---> 1930fa3d0481 03:54:34 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:54:34 ---> Running in 12e8f190eac2 03:54:35 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:54:35 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:54:36 (1/6) Installing dumb-init (1.2.5-r1) 03:54:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:54:37 (3/6) Installing libsodium (1.0.18-r0) 03:54:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:54:38 (5/6) Installing libzmq (4.3.4-r0) 03:54:39 (6/6) Installing zeromq (4.3.4-r0) 03:54:39 Executing busybox-1.33.1-r8.trigger 03:54:39 OK: 8 MiB in 20 packages 03:54:40 Removing intermediate container 12e8f190eac2 03:54:40 ---> 34a660497b0a 03:54:40 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 03:54:41 ---> 901a1a815680 03:54:41 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 03:54:42 ---> f0eb8d921375 03:54:42 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:54:42 ---> b65df75b27d9 03:54:42 Step 19/24 : EXPOSE 59901 03:54:42 ---> Running in ea75a4573671 03:54:43 Removing intermediate container ea75a4573671 03:54:43 ---> 12fba12ed4ce 03:54:43 Step 20/24 : ENTRYPOINT ["/device-modbus"] 03:54:43 ---> Running in f072c506cfbc 03:54:43 Removing intermediate container f072c506cfbc 03:54:43 ---> 4cf48e5b2367 03:54:43 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:54:43 ---> Running in 6e3468784cdc 03:54:43 Removing intermediate container 6e3468784cdc 03:54:43 ---> ae656f91a2dc 03:54:43 Step 22/24 : LABEL arch=arm64 03:54:43 ---> Running in 7548a42021b4 03:54:44 Removing intermediate container 7548a42021b4 03:54:44 ---> a3a271740089 03:54:44 Step 23/24 : LABEL git_sha=fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 03:54:44 ---> Running in 846fdf461a84 03:54:44 Removing intermediate container 846fdf461a84 03:54:44 ---> fe7f335133b1 03:54:44 Step 24/24 : LABEL version=2.3.0-dev.21 03:54:44 ---> Running in afdb1be76cf1 03:54:44 Removing intermediate container afdb1be76cf1 03:54:44 ---> df3fbc829887 03:54:44 [Warning] One or more build-args [ARCH] were not consumed 03:54:44 Successfully built df3fbc829887 03:54:44 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 03:54:44 provisioning config files... 03:54:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/61@tmp/config11268821219229970147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:45 ---> docker-login.sh 03:54:45 nexus3.edgexfoundry.org:10001 03:54:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:45 Configure a credential helper to remove this warning. See 03:54:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:45 03:54:45 Login Succeeded 03:54:45 nexus3.edgexfoundry.org:10002 03:54:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:45 Configure a credential helper to remove this warning. See 03:54:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:45 03:54:45 Login Succeeded 03:54:45 nexus3.edgexfoundry.org:10003 03:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:46 Configure a credential helper to remove this warning. See 03:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:46 03:54:46 Login Succeeded 03:54:46 nexus3.edgexfoundry.org:10004 03:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:46 Configure a credential helper to remove this warning. See 03:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:46 03:54:46 Login Succeeded 03:54:46 docker.io 03:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:47 Configure a credential helper to remove this warning. See 03:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:47 03:54:47 Login Succeeded 03:54:47 ---> docker-login.sh ends [Pipeline] } 03:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:54:47 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 03:54:47 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 03:54:47 latest 03:54:47 2.3.0-dev.21 03:54:47 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc-2.3.0-dev.21 03:54:47 main 03:54:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:47 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 03:54:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:54:48 62f37e37f327: Preparing 03:54:48 4d638b46debc: Preparing 03:54:48 dd3c477564e1: Preparing 03:54:48 e3f4b96e5ffa: Preparing 03:54:48 c80ad4a61d20: Preparing 03:54:48 28c3ef001483: Preparing 03:54:48 28c3ef001483: Waiting 03:54:48 c80ad4a61d20: Pushed 03:54:48 4d638b46debc: Pushed 03:54:48 62f37e37f327: Pushed 03:54:48 28c3ef001483: Layer already exists 03:54:48 e3f4b96e5ffa: Pushed 03:54:54 dd3c477564e1: Pushed 03:54:54 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc: digest: sha256:e9e9f22557d3a98e664f462f2d9368c1ada06d0ba4835e7d67eb3eecd9323d95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 03:54:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:54:55 62f37e37f327: Preparing 03:54:55 4d638b46debc: Preparing 03:54:55 dd3c477564e1: Preparing 03:54:55 e3f4b96e5ffa: Preparing 03:54:55 c80ad4a61d20: Preparing 03:54:55 28c3ef001483: Preparing 03:54:55 28c3ef001483: Waiting 03:54:55 c80ad4a61d20: Layer already exists 03:54:55 62f37e37f327: Layer already exists 03:54:55 4d638b46debc: Layer already exists 03:54:55 e3f4b96e5ffa: Layer already exists 03:54:55 dd3c477564e1: Layer already exists 03:54:55 28c3ef001483: Layer already exists 03:54:55 latest: digest: sha256:e9e9f22557d3a98e664f462f2d9368c1ada06d0ba4835e7d67eb3eecd9323d95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:56 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.21 03:54:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:54:56 62f37e37f327: Preparing 03:54:56 4d638b46debc: Preparing 03:54:56 dd3c477564e1: Preparing 03:54:56 e3f4b96e5ffa: Preparing 03:54:56 c80ad4a61d20: Preparing 03:54:56 28c3ef001483: Preparing 03:54:56 28c3ef001483: Waiting 03:54:56 dd3c477564e1: Layer already exists 03:54:56 e3f4b96e5ffa: Layer already exists 03:54:56 4d638b46debc: Layer already exists 03:54:56 c80ad4a61d20: Layer already exists 03:54:56 62f37e37f327: Layer already exists 03:54:56 28c3ef001483: Layer already exists 03:54:56 2.3.0-dev.21: digest: sha256:e9e9f22557d3a98e664f462f2d9368c1ada06d0ba4835e7d67eb3eecd9323d95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:56 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:57 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc-2.3.0-dev.21 03:54:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:54:57 62f37e37f327: Preparing 03:54:57 4d638b46debc: Preparing 03:54:57 dd3c477564e1: Preparing 03:54:57 e3f4b96e5ffa: Preparing 03:54:57 c80ad4a61d20: Preparing 03:54:57 28c3ef001483: Preparing 03:54:57 28c3ef001483: Waiting 03:54:57 c80ad4a61d20: Layer already exists 03:54:57 62f37e37f327: Layer already exists 03:54:57 4d638b46debc: Layer already exists 03:54:57 e3f4b96e5ffa: Layer already exists 03:54:57 dd3c477564e1: Layer already exists 03:54:57 28c3ef001483: Layer already exists 03:54:57 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc-2.3.0-dev.21: digest: sha256:e9e9f22557d3a98e664f462f2d9368c1ada06d0ba4835e7d67eb3eecd9323d95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:57 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:58 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 03:54:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 03:54:58 62f37e37f327: Preparing 03:54:58 4d638b46debc: Preparing 03:54:58 dd3c477564e1: Preparing 03:54:58 e3f4b96e5ffa: Preparing 03:54:58 c80ad4a61d20: Preparing 03:54:58 28c3ef001483: Preparing 03:54:58 28c3ef001483: Waiting 03:54:58 dd3c477564e1: Layer already exists 03:54:58 4d638b46debc: Layer already exists 03:54:58 c80ad4a61d20: Layer already exists 03:54:58 62f37e37f327: Layer already exists 03:54:58 e3f4b96e5ffa: Layer already exists 03:54:58 28c3ef001483: Layer already exists 03:54:58 main: digest: sha256:e9e9f22557d3a98e664f462f2d9368c1ada06d0ba4835e7d67eb3eecd9323d95 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:54:58 ===================================================== [Pipeline] echo 03:54:58 taggedImages: 03:54:58 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 03:54:58 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 03:54:58 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.21 03:54:58 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc-2.3.0-dev.21 03:54:58 - 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 03:54:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:54:58 03:54:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:54:59 arm64: Pulling from edgex-lftools-log-publisher 03:54:59 8998bd30e6a1: Pulling fs layer 03:54:59 04944245beec: Pulling fs layer 03:54:59 699f458cf7ca: Pulling fs layer 03:54:59 765212b225bb: Pulling fs layer 03:54:59 f23df028b6ca: Pulling fs layer 03:54:59 d65c8cfc05b1: Pulling fs layer 03:54:59 2437ff75d9bd: Pulling fs layer 03:54:59 765212b225bb: Waiting 03:54:59 f23df028b6ca: Waiting 03:54:59 d65c8cfc05b1: Waiting 03:54:59 2437ff75d9bd: Waiting 03:54:59 04944245beec: Verifying Checksum 03:54:59 04944245beec: Download complete 03:54:59 765212b225bb: Verifying Checksum 03:54:59 765212b225bb: Download complete 03:54:59 f23df028b6ca: Verifying Checksum 03:54:59 f23df028b6ca: Download complete 03:54:59 d65c8cfc05b1: Verifying Checksum 03:54:59 d65c8cfc05b1: Download complete 03:54:59 699f458cf7ca: Verifying Checksum 03:54:59 699f458cf7ca: Download complete 03:55:00 8998bd30e6a1: Download complete 03:55:02 2437ff75d9bd: Verifying Checksum 03:55:02 2437ff75d9bd: Download complete 03:55:04 8998bd30e6a1: Pull complete 03:55:04 04944245beec: Pull complete 03:55:06 699f458cf7ca: Pull complete 03:55:06 765212b225bb: Pull complete 03:55:06 f23df028b6ca: Pull complete 03:55:06 d65c8cfc05b1: Pull complete 03:55:21 2437ff75d9bd: Pull complete 03:55:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:55:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:55:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:22 prd-ubuntu20.04-docker-arm64-4c-16g-117056 does not seem to be running inside a container 03:55:22 $ 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/61 -v /w/workspace/device-modbus-go/61:/w/workspace/device-modbus-go/61:rw,z -v /w/workspace/device-modbus-go/61@tmp:/w/workspace/device-modbus-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:55:24 $ docker top 17e0fcfd1ca7f9f0aa0de2a90ec05b0ea1e5ffaecd6da22da5bc722c72129f90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:25 ---> job-cost.sh 03:55:25 lf-activate-venv: SKIPPING 03:55:25 INFO: No Stack... 03:55:26 INFO: Retrieving Pricing Info for: v3-standard-4 03:55:27 INFO: Archiving Costs [Pipeline] sh 03:55:27 + cut -d, -f6 03:55:27 + cat /w/workspace/device-modbus-go/61/archives/cost.csv [Pipeline] lock 03:55:27 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-61-stack-cost] 03:55:27 Resource [jenkins-edgexfoundry-device-modbus-go-main-61-stack-cost] did not exist. Created. 03:55:27 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:55:28 /w/workspace/device-modbus-go/61@tmp/durable-05853af1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:55:28 + echo total: 0.10999999940395355 [Pipeline] stash 03:55:28 Warning: overwriting stash ‘stack-cost’ 03:55:28 Stashed 1 file(s) [Pipeline] } 03:55:28 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 03:55:28 $ docker stop --time=1 17e0fcfd1ca7f9f0aa0de2a90ec05b0ea1e5ffaecd6da22da5bc722c72129f90 03:55:30 $ docker rm -f 17e0fcfd1ca7f9f0aa0de2a90ec05b0ea1e5ffaecd6da22da5bc722c72129f90 [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 03:55:30 provisioning config files... 03:55:30 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11341488984942216807tmp [Pipeline] { [Pipeline] sh 03:55:31 + set +x 03:55:31 + + bash -s -- 03:55:31 curl -s https://codecov.io/bash 03:55:31 03:55:31 _____ _ 03:55:31 / ____| | | 03:55:31 | | ___ __| | ___ ___ _____ __ 03:55:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:55:31 | |___| (_) | (_| | __/ (_| (_) \ V / 03:55:31 \_____\___/ \__,_|\___|\___\___/ \_/ 03:55:31 Bash-1.0.6 03:55:31 03:55:31 03:55:31 ==> git version 2.25.1 found 03:55:31 ==> 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 03:55:31 Release-Date: 2020-01-08 03:55:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:55:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:55:31 ==> Jenkins CI detected. 03:55:31 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 03:55:31 project root: . 03:55:31 --> token set from env 03:55:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:55:31 ==> Running gcov in . (disable via -X gcov) 03:55:31 ==> Python coveragepy not found 03:55:31 ==> Searching for coverage reports in: 03:55:31 + . 03:55:31 -> Found 1 reports 03:55:31 ==> Detecting git/mercurial file structure 03:55:31 ==> Reading reports 03:55:31 + ./coverage.out bytes=23241 03:55:31 ==> Appending adjustments 03:55:31 https://docs.codecov.io/docs/fixing-reports 03:55:31 + Found adjustments 03:55:31 ==> Gzipping contents 03:55:31 4.0K /tmp/codecov.2BfL1U.gz 03:55:31 ==> Uploading reports 03:55:31 url: https://codecov.io 03:55:31 query: branch=main&commit=fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:55:31 -> Pinging Codecov 03:55:31 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=fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:55:31 -> Uploading to 03:55:31 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/55DBCA73C666E3227836607328DD7E49/fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc/1d249d62-81e1-4f02-9127-798e63435ae0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T035531Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b3f91c88227e8fbf6d9d652a72854510cb5328f23c27b753f839f6a698ff6bb 03:55:31 % Total % Received % Xferd Average Speed Time Time Time Current 03:55:31 Dload Upload Total Spent Left Speed 03:55:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 15158 --:--:-- --:--:-- --:--:-- 15158 03:55:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc [Pipeline] } 03:55:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:55:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:55:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:55:32 03:55:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:55:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:55:32 df9b9388f04a: Pulling fs layer 03:55:32 52dc419b0ee2: Pulling fs layer 03:55:32 25bc292e5bac: Pulling fs layer 03:55:32 114826534d7a: Pulling fs layer 03:55:32 4657fd5d0bcf: Pulling fs layer 03:55:32 6ad1cebc031e: Pulling fs layer 03:55:32 8a3aa393b2d8: Pulling fs layer 03:55:32 4657fd5d0bcf: Waiting 03:55:32 6ad1cebc031e: Waiting 03:55:32 8a3aa393b2d8: Waiting 03:55:32 114826534d7a: Waiting 03:55:32 25bc292e5bac: Download complete 03:55:32 52dc419b0ee2: Download complete 03:55:32 4657fd5d0bcf: Download complete 03:55:32 df9b9388f04a: Verifying Checksum 03:55:32 df9b9388f04a: Pull complete 03:55:32 6ad1cebc031e: Verifying Checksum 03:55:32 6ad1cebc031e: Download complete 03:55:32 52dc419b0ee2: Pull complete 03:55:32 25bc292e5bac: Pull complete 03:55:33 114826534d7a: Verifying Checksum 03:55:33 114826534d7a: Download complete 03:55:33 8a3aa393b2d8: Verifying Checksum 03:55:33 8a3aa393b2d8: Download complete 03:55:37 114826534d7a: Pull complete 03:55:37 4657fd5d0bcf: Pull complete 03:55:37 6ad1cebc031e: Pull complete 03:55:39 8a3aa393b2d8: Pull complete 03:55:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:55:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:55:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:40 prd-ubuntu20.04-docker-8c-8g-117055 does not seem to be running inside a container 03:55:40 $ 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 03:55:43 $ docker top 25a74e730e1dcec43b6be9462292c0c300a2d7e79850c11f377bbe31ba2ddff9 -eo pid,comm [Pipeline] { [Pipeline] echo 03:55:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 03:55:44 + set -o pipefail 03:55:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 03:55:49 03:55:49 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 03:55:49 03:55:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/03be7c22-d8e2-440f-82e2-8d165b4b8a9b 03:55:49 03:55:49 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 03:55:49 03:55:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:55:49 03:55:49 03:55:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:55:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:55:49 More details here: https://snyk.co/ue1NS [Pipeline] } 03:55:49 $ docker stop --time=1 25a74e730e1dcec43b6be9462292c0c300a2d7e79850c11f377bbe31ba2ddff9 03:55:52 $ docker rm -f 25a74e730e1dcec43b6be9462292c0c300a2d7e79850c11f377bbe31ba2ddff9 [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 03:55:53 + git log --format=format:%s -1 fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc [Pipeline] sh 03:55:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:55:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:55:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:53 prd-ubuntu20.04-docker-8c-8g-117055 does not seem to be running inside a container 03:55:53 $ 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 03:55:54 $ docker top 557031d837a424646729ad811d300820f29a230e1934e37cd520c1de589f06cd -eo pid,comm 03:55:54 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). 03:55:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:55:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:55:54 [ssh-agent] Looking for ssh-agent implementation... 03:55:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:55:54 $ docker exec 557031d837a424646729ad811d300820f29a230e1934e37cd520c1de589f06cd ssh-agent 03:55:54 SSH_AUTH_SOCK=/tmp/ssh-HC2IngMmGw2V/agent.32 03:55:54 SSH_AGENT_PID=38 03:55:54 Running ssh-add (command line suppressed) 03:55:54 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_145976638572492524.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_145976638572492524.key) 03:55:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:55:54 + git semver tag 03:55:55 2022-10-26 03:55:55,140 [run_tag] DEBUG tag force:False 03:55:55 2022-10-26 03:55:55,140 [check_head_tag] DEBUG check head tag 03:55:55 2022-10-26 03:55:55,141 [execute] INFO git cat-file --batch-check 03:55:55 2022-10-26 03:55:55,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 03:55:55 2022-10-26 03:55:55,145 [execute] INFO git cat-file --batch 03:55:55 2022-10-26 03:55:55,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 03:55:55 2022-10-26 03:55:55,157 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:55:55 2022-10-26 03:55:55,157 [execute] INFO git tag -a v2.3.0-dev.21 -m v2.3.0-dev.21 03:55:55 2022-10-26 03:55:55,157 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.21', '-m', 'v2.3.0-dev.21'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 03:55:55 2022-10-26 03:55:55,163 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:55:55 2.3.0-dev.21 [Pipeline] } 03:55:55 $ docker exec --env ******** --env ******** 557031d837a424646729ad811d300820f29a230e1934e37cd520c1de589f06cd ssh-agent -k 03:55:55 unset SSH_AUTH_SOCK; 03:55:55 unset SSH_AGENT_PID; 03:55:55 echo Agent pid 38 killed; 03:55:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:55:55 + git semver [Pipeline] } 03:55:55 $ docker stop --time=1 557031d837a424646729ad811d300820f29a230e1934e37cd520c1de589f06cd 03:55:57 $ docker rm -f 557031d837a424646729ad811d300820f29a230e1934e37cd520c1de589f06cd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:55:57 03:55:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:55:57 0.23.1-centos7: Pulling from edgex-lftools 03:55:57 ab5ef0e58194: Pulling fs layer 03:55:57 9712f1f96733: Pulling fs layer 03:55:57 63f879dbbcfc: Pulling fs layer 03:55:57 0d9ebad4ef96: Pulling fs layer 03:55:57 e9a5061849ea: Pulling fs layer 03:55:57 d747dcd14b5f: Pulling fs layer 03:55:57 2de7ff778b66: Pulling fs layer 03:55:57 e9a5061849ea: Waiting 03:55:57 d747dcd14b5f: Waiting 03:55:57 2de7ff778b66: Waiting 03:55:57 0d9ebad4ef96: Waiting 03:55:57 9712f1f96733: Verifying Checksum 03:55:57 9712f1f96733: Download complete 03:55:58 63f879dbbcfc: Verifying Checksum 03:55:58 63f879dbbcfc: Download complete 03:55:58 e9a5061849ea: Verifying Checksum 03:55:58 e9a5061849ea: Download complete 03:55:58 ab5ef0e58194: Verifying Checksum 03:55:58 ab5ef0e58194: Download complete 03:55:58 d747dcd14b5f: Download complete 03:55:58 0d9ebad4ef96: Download complete 03:55:58 2de7ff778b66: Verifying Checksum 03:55:58 2de7ff778b66: Download complete 03:56:01 ab5ef0e58194: Pull complete 03:56:01 9712f1f96733: Pull complete 03:56:02 63f879dbbcfc: Pull complete 03:56:06 0d9ebad4ef96: Pull complete 03:56:06 e9a5061849ea: Pull complete 03:56:06 d747dcd14b5f: Pull complete 03:56:07 2de7ff778b66: Pull complete 03:56:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:56:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:07 prd-ubuntu20.04-docker-8c-8g-117055 does not seem to be running inside a container 03:56:07 $ 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 03:56:11 $ docker top 6fcb8918094a0b99ea0d686a34c6a24435cae61d0147d1ca23b033e55248b994 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:56:11 provisioning config files... 03:56:11 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4720987293770967161tmp 03:56:11 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2667590211979041463tmp 03:56:11 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9714884100581616280tmp [Pipeline] { [Pipeline] echo 03:56:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:56:11 ---> sigul-configuration.sh 03:56:11 gpg: directory `/root/.gnupg' created 03:56:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:56:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:56:11 gpg: keyring `/root/.gnupg/secring.gpg' created 03:56:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:56:11 gpg: CAST5 encrypted data 03:56:11 gpg: encrypted with 1 passphrase 03:56:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:56:11 + mkdir /home/jenkins 03:56:11 + mkdir /home/jenkins/sigul [Pipeline] sh 03:56:12 + 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 03:56:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:56:12 ---> sigul-install.sh 03:56:12 Sigul already installed; skipping installation. [Pipeline] sh 03:56:12 + git tag --list 03:56:12 0.7.1 03:56:12 v1.0.0 03:56:12 v1.1.0 03:56:12 v1.1.1 03:56:12 v1.2.2 03:56:12 v1.3.0 03:56:12 v1.3.1 03:56:12 v2.0.0 03:56:12 v2.1.0 03:56:12 v2.1.1 03:56:12 v2.1.1-dev.1 03:56:12 v2.1.1-dev.2 03:56:12 v2.1.1-dev.3 03:56:12 v2.2.0 03:56:12 v2.2.1-dev.1 03:56:12 v2.2.1-dev.2 03:56:12 v2.2.1-dev.3 03:56:12 v2.2.1-dev.4 03:56:12 v2.2.1-dev.5 03:56:12 v2.2.1-dev.6 03:56:12 v2.2.1-dev.7 03:56:12 v2.3.0-dev.10 03:56:12 v2.3.0-dev.11 03:56:12 v2.3.0-dev.12 03:56:12 v2.3.0-dev.13 03:56:12 v2.3.0-dev.14 03:56:12 v2.3.0-dev.15 03:56:12 v2.3.0-dev.16 03:56:12 v2.3.0-dev.17 03:56:12 v2.3.0-dev.18 03:56:12 v2.3.0-dev.19 03:56:12 v2.3.0-dev.20 03:56:12 v2.3.0-dev.21 03:56:12 v2.3.0-dev.7 03:56:12 v2.3.0-dev.8 03:56:12 v2.3.0-dev.9 [Pipeline] sh 03:56:13 + lftools sign git-tag v2.3.0-dev.21 03:56:13 Signing Git tag with Sigul... 03:56:13 Signing v2.3.0-dev.21 [Pipeline] echo 03:56:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:56:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:56:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:56:14 $ docker stop --time=1 6fcb8918094a0b99ea0d686a34c6a24435cae61d0147d1ca23b033e55248b994 03:56:15 $ docker rm -f 6fcb8918094a0b99ea0d686a34c6a24435cae61d0147d1ca23b033e55248b994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:56:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:56:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:56:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:16 prd-ubuntu20.04-docker-8c-8g-117055 does not seem to be running inside a container 03:56:16 $ 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 03:56:16 $ docker top a1d20257fc5ef04afeb79bde26f592be842bb636b3595eb374a3a7529abbaa43 -eo pid,comm 03:56:16 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). 03:56:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:56:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:56:16 [ssh-agent] Looking for ssh-agent implementation... 03:56:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:56:16 $ docker exec a1d20257fc5ef04afeb79bde26f592be842bb636b3595eb374a3a7529abbaa43 ssh-agent 03:56:16 SSH_AUTH_SOCK=/tmp/ssh-V4xqxDkbXjoC/agent.32 03:56:16 SSH_AGENT_PID=38 03:56:16 Running ssh-add (command line suppressed) 03:56:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2735729761234763169.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2735729761234763169.key) 03:56:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:56:17 + git semver bump pre 03:56:17 2022-10-26 03:56:17,573 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:56:17 2022-10-26 03:56:17,573 [bump_version] DEBUG bumping version:2.3.0-dev.21 on axis:pre with prefix:dev 03:56:17 2022-10-26 03:56:17,573 [bump_version] DEBUG bumped version:2.3.0-dev.22 03:56:17 2022-10-26 03:56:17,574 [write_version] DEBUG write version:2.3.0-dev.22 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 03:56:17 2022-10-26 03:56:17,574 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:56:17 2022-10-26 03:56:17,574 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:56:17 2022-10-26 03:56:17,576 [execute] INFO git cat-file --batch-check 03:56:17 2022-10-26 03:56:17,576 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:56:17 2022-10-26 03:56:17,583 [execute] INFO git cat-file --batch 03:56:17 2022-10-26 03:56:17,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:56:17 2022-10-26 03:56:17,591 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:56:17 2.3.0-dev.22 [Pipeline] } 03:56:17 $ docker exec --env ******** --env ******** a1d20257fc5ef04afeb79bde26f592be842bb636b3595eb374a3a7529abbaa43 ssh-agent -k 03:56:17 unset SSH_AUTH_SOCK; 03:56:17 unset SSH_AGENT_PID; 03:56:17 echo Agent pid 38 killed; 03:56:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:56:18 + git semver [Pipeline] } 03:56:18 $ docker stop --time=1 a1d20257fc5ef04afeb79bde26f592be842bb636b3595eb374a3a7529abbaa43 03:56:19 $ docker rm -f a1d20257fc5ef04afeb79bde26f592be842bb636b3595eb374a3a7529abbaa43 [Pipeline] // withDockerContainer [Pipeline] sh 03:56:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:56:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:56:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:20 prd-ubuntu20.04-docker-8c-8g-117055 does not seem to be running inside a container 03:56:20 $ 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 03:56:20 $ docker top 9caa67032d40ca8d72052ebc28401e61d7619df0b86dcf310c8ab761a54570a2 -eo pid,comm 03:56:20 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). 03:56:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:56:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:56:20 [ssh-agent] Looking for ssh-agent implementation... 03:56:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:56:20 $ docker exec 9caa67032d40ca8d72052ebc28401e61d7619df0b86dcf310c8ab761a54570a2 ssh-agent 03:56:21 SSH_AUTH_SOCK=/tmp/ssh-MO4FUCHIrfxt/agent.33 03:56:21 SSH_AGENT_PID=39 03:56:21 Running ssh-add (command line suppressed) 03:56:21 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12037317974232136286.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12037317974232136286.key) 03:56:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:56:21 + git semver push 03:56:21 2022-10-26 03:56:21,670 [run_push] DEBUG push 03:56:21 2022-10-26 03:56:21,670 [execute] INFO git cat-file --batch-check 03:56:21 2022-10-26 03:56:21,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:56:21 2022-10-26 03:56:21,675 [execute] INFO git rev-list 967652011d76251aafc4778d17d0624c4173edee -- 03:56:21 2022-10-26 03:56:21,675 [execute] DEBUG Popen(['git', 'rev-list', '967652011d76251aafc4778d17d0624c4173edee', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:56:21 2022-10-26 03:56:21,683 [execute] INFO git fetch -v origin 03:56:21 2022-10-26 03:56:21,684 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:56:22 2022-10-26 03:56:22,281 [run_push] DEBUG no remote changes detected 03:56:22 2022-10-26 03:56:22,281 [execute] INFO git push origin semver 03:56:22 2022-10-26 03:56:22,281 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:56:23 2022-10-26 03:56:23,063 [run_push] DEBUG push all version tags 03:56:23 2022-10-26 03:56:23,064 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:56:23 2022-10-26 03:56:23,064 [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) 03:56:24 2022-10-26 03:56:23,857 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 03:56:24 2.3.0-dev.22 [Pipeline] } 03:56:24 $ docker exec --env ******** --env ******** 9caa67032d40ca8d72052ebc28401e61d7619df0b86dcf310c8ab761a54570a2 ssh-agent -k 03:56:24 unset SSH_AUTH_SOCK; 03:56:24 unset SSH_AGENT_PID; 03:56:24 echo Agent pid 39 killed; 03:56:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:56:24 + git semver [Pipeline] } 03:56:24 $ docker stop --time=1 9caa67032d40ca8d72052ebc28401e61d7619df0b86dcf310c8ab761a54570a2 03:56:26 $ docker rm -f 9caa67032d40ca8d72052ebc28401e61d7619df0b86dcf310c8ab761a54570a2 [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 03:56:26 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 03:56:26 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 03:56:26 total 16 03:56:26 drwxr-xr-x 3 root root 4096 Oct 26 03:47 . 03:56:26 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 03:56 .. 03:56:26 drwxr-xr-x 2 root root 4096 Oct 26 03:47 cost 03:56:26 -rw-r--r-- 1 root root 87 Oct 26 03:47 cost.csv 03:56:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 03:56:26 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 03:56:26 total 16 03:56:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 03:47 . 03:56:26 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 03:56 .. 03:56:26 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 03:47 cost 03:56:26 -rw-r--r-- 1 jenkins jenkins 87 Oct 26 03:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:56:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:56:27 ---> package-listing.sh 03:56:27 ++ facter osfamily 03:56:27 ++ tr '[:upper:]' '[:lower:]' 03:56:28 + OS_FAMILY=debian 03:56:28 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 03:56:28 + START_PACKAGES=/tmp/packages_start.txt 03:56:28 + END_PACKAGES=/tmp/packages_end.txt 03:56:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:56:28 + PACKAGES=/tmp/packages_start.txt 03:56:28 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 03:56:28 + PACKAGES=/tmp/packages_end.txt 03:56:28 + case "${OS_FAMILY}" in 03:56:28 + dpkg -l 03:56:28 + grep '^ii' 03:56:28 + '[' -f /tmp/packages_start.txt ']' 03:56:28 + '[' -f /tmp/packages_end.txt ']' 03:56:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:56:28 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 03:56:28 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 03:56:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 03:56:28 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 03:56:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:29 prd-ubuntu20.04-docker-8c-8g-117055 does not seem to be running inside a container 03:56:29 $ 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 03:56:29 $ docker top a3cee5422ec1a75f1a407d980fd966ed39bca344824aed6ac57124818e9345d3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:56:29 + touch /tmp/pre-build-complete [Pipeline] sh 03:56:30 + mkdir -p /var/log/sysstat [Pipeline] sh 03:56:30 + ls /var/log/sa-host 03:56:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:56:30 provisioning config files... 03:56:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6717232949071337973tmp [Pipeline] { [Pipeline] echo 03:56:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:56:30 ---> create-netrc.sh [Pipeline] } 03:56:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:56:30 ---> python-tools-install.sh [Pipeline] echo 03:56:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:56:31 ---> sudo-logs.sh 03:56:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:56:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:56:31 ---> job-cost.sh 03:56:31 lf-activate-venv: SKIPPING 03:56:31 DEBUG: total: 0.2199999988079071 03:56:31 INFO: Retrieving Stack Cost... 03:56:31 INFO: Retrieving Pricing Info for: v3-standard-8 03:56:32 INFO: Archiving Costs [Pipeline] echo 03:56:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:56:32 ---> logs-deploy.sh 03:56:32 lf-activate-venv: SKIPPING 03:56:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/61 03:56:32 INFO: archiving workspace using pattern(s): 03:56:33 Archives upload complete. 03:56:33 INFO: archiving logs to Nexus