Push event to branch napa Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1eee846d515ad1ad777188f96f1acf46ba88b479 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-ssh15086476333805380352.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh16546326545768904769.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3241729807799046408.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11867788667749680104.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1700201147904362603.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-116’ Running on prd-ubuntu20.04-docker-8c-8g-124 in /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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_napa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Avoid second fetch Checking out Revision 1eee846d515ad1ad777188f96f1acf46ba88b479 (napa) Commit message: "Merge pull request #551 from cloudxxx8/bump-napa-sdk" > git config core.sparsecheckout # timeout=10 > git checkout -f 1eee846d515ad1ad777188f96f1acf46ba88b479 # timeout=10 > git rev-list --no-walk 71400dc9842281494e52a1844bb24bcb2d08fff5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:14:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:14:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:14:47 ========================================================= 01:14:47 EdgeX Global Pipelines Version Info 01:14:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:14:48 ------------------- 01:14:48 stable info: 01:14:48 ------------------- 01:14:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:14:48 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:14:48 Message: update stable to v1.0.258 01:14:49 ------------------- 01:14:49 experimental info: 01:14:49 ------------------- 01:14:49 Commited By: **** collab-it+edgex@linuxfoundation.org 01:14:49 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:14:49 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo 01:14:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] echo 01:14:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1eee846 [Pipeline] echo 01:14:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:14:50 provisioning config files... 01:14:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config10395449451908893726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:14:50 ---> ****-login.sh 01:14:50 nexus3.edgexfoundry.org:10001 01:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:14:50 Configure a credential helper to remove this warning. See 01:14:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:14:50 01:14:50 Login Succeeded 01:14:50 nexus3.edgexfoundry.org:10002 01:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:14:50 Configure a credential helper to remove this warning. See 01:14:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:14:50 01:14:50 Login Succeeded 01:14:50 nexus3.edgexfoundry.org:10003 01:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:14:50 Configure a credential helper to remove this warning. See 01:14:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:14:50 01:14:50 Login Succeeded 01:14:50 nexus3.edgexfoundry.org:10004 01:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:14:50 Configure a credential helper to remove this warning. See 01:14:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:14:50 01:14:50 Login Succeeded 01:14:50 ****.io 01:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:14:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:14:51 Configure a credential helper to remove this warning. See 01:14:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:14:51 01:14:51 Login Succeeded 01:14:51 ---> ****-login.sh ends [Pipeline] } 01:14:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:14:51 + git rev-list -1 --merges 1eee846d515ad1ad777188f96f1acf46ba88b479~1..1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] echo 01:14:51 -----------> git rev-list -1 --merges 1eee846d515ad1ad777188f96f1acf46ba88b479~1..1eee846d515ad1ad777188f96f1acf46ba88b479 1eee846d515ad1ad777188f96f1acf46ba88b479 01:14:51 1eee846d515ad1ad777188f96f1acf46ba88b479 [false] [Pipeline] sh 01:14:51 + git log --format=format:%s -1 1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] echo 01:14:51 ========================================================= 01:14:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:14:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:14:52 + git log --format=format:%s -1 1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] echo 01:14:52 [semverPrep] GIT_COMMIT: 1eee846d515ad1ad777188f96f1acf46ba88b479, Commit Message: Merge pull request #551 from cloudxxx8/bump-napa-sdk [Pipeline] echo 01:14:52 [semverPrep] This is not a build commit. [Pipeline] sh 01:14:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:14:52 + grep -v github /etc/ssh/ssh_known_hosts 01:14:52 + [ -e /tmp/ssh_known_hosts ] 01:14:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:14:52 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 01:14:52 tee -a /etc/ssh/ssh_known_hosts 01:14:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:53 01:14:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:53 0.1.4: Pulling from edgex-devops/py-git-semver 01:14:53 b85a868b505f: Pulling fs layer 01:14:53 e2be974225ed: Pulling fs layer 01:14:53 339a4e72a1f5: Pulling fs layer 01:14:53 988bab9f4d93: Pulling fs layer 01:14:53 1469e6f7b9e6: Pulling fs layer 01:14:53 eaf3925da568: Pulling fs layer 01:14:53 bab4dde63d76: Pulling fs layer 01:14:53 bde34c3a00c8: Pulling fs layer 01:14:53 b352a97aabf1: Pulling fs layer 01:14:53 4872d77fe225: Pulling fs layer 01:14:53 5851b861e8e6: Pulling fs layer 01:14:53 eaf3925da568: Waiting 01:14:53 bab4dde63d76: Waiting 01:14:53 bde34c3a00c8: Waiting 01:14:53 988bab9f4d93: Waiting 01:14:53 b352a97aabf1: Waiting 01:14:53 1469e6f7b9e6: Waiting 01:14:53 4872d77fe225: Waiting 01:14:53 5851b861e8e6: Waiting 01:14:53 e2be974225ed: Download complete 01:14:53 988bab9f4d93: Verifying Checksum 01:14:53 988bab9f4d93: Download complete 01:14:53 339a4e72a1f5: Verifying Checksum 01:14:53 339a4e72a1f5: Download complete 01:14:53 1469e6f7b9e6: Verifying Checksum 01:14:53 1469e6f7b9e6: Download complete 01:14:53 eaf3925da568: Verifying Checksum 01:14:53 eaf3925da568: Download complete 01:14:53 bde34c3a00c8: Verifying Checksum 01:14:53 bde34c3a00c8: Download complete 01:14:53 4872d77fe225: Verifying Checksum 01:14:53 4872d77fe225: Download complete 01:14:53 5851b861e8e6: Download complete 01:14:53 b85a868b505f: Verifying Checksum 01:14:53 b85a868b505f: Download complete 01:14:53 bab4dde63d76: Verifying Checksum 01:14:53 bab4dde63d76: Download complete 01:14:54 b85a868b505f: Pull complete 01:14:55 e2be974225ed: Pull complete 01:14:55 339a4e72a1f5: Pull complete 01:14:55 988bab9f4d93: Pull complete 01:14:55 1469e6f7b9e6: Pull complete 01:14:55 eaf3925da568: Pull complete 01:14:57 bab4dde63d76: Pull complete 01:14:57 bde34c3a00c8: Pull complete 01:14:57 b352a97aabf1: Pull complete 01:14:57 4872d77fe225: Pull complete 01:14:57 5851b861e8e6: Pull complete 01:14:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:14:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:57 prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container 01:14:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:15:01 $ docker top 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d -eo pid,comm 01:15:01 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). 01:15:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:15:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:15:01 [ssh-agent] Looking for ssh-agent implementation... 01:15:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:15:01 $ docker exec 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d ssh-agent 01:15:01 SSH_AUTH_SOCK=/tmp/ssh-XnwdqkapReTg/agent.32 01:15:01 SSH_AGENT_PID=38 01:15:01 Running ssh-add (command line suppressed) 01:15:01 Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_9004596759618053606.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_9004596759618053606.key) 01:15:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:15:02 + git tag --points-at HEAD [Pipeline] } 01:15:02 $ docker exec --env ******** --env ******** 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d ssh-agent -k 01:15:02 unset SSH_AUTH_SOCK; 01:15:02 unset SSH_AGENT_PID; 01:15:02 echo Agent pid 38 killed; 01:15:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:15:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:15:02 [ssh-agent] Looking for ssh-agent implementation... 01:15:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:15:02 $ docker exec 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d ssh-agent 01:15:02 SSH_AUTH_SOCK=/tmp/ssh-RZwSpNKm96LK/agent.71 01:15:02 SSH_AGENT_PID=77 01:15:02 Running ssh-add (command line suppressed) 01:15:02 Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_6262996163375476580.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_6262996163375476580.key) 01:15:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:15:02 + git semver init 01:15:03 2024-05-14 01:15:03,133 [run_init] DEBUG init version:0.0.0 force:False 01:15:03 2024-05-14 01:15:03,134 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_napa/.semver 01:15:03 2024-05-14 01:15:03,135 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_napa/.semver 01:15:03 2024-05-14 01:15:03,135 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_napa/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=None) 01:15:04 2024-05-14 01:15:04,292 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_napa/.git/info/exclude 01:15:04 2024-05-14 01:15:04,293 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa with force:False 01:15:04 2024-05-14 01:15:04,293 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 01:15:04 2024-05-14 01:15:04,293 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 01:15:04 3.1.1-dev.1 [Pipeline] } 01:15:04 $ docker exec --env ******** --env ******** 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d ssh-agent -k 01:15:04 unset SSH_AUTH_SOCK; 01:15:04 unset SSH_AGENT_PID; 01:15:04 echo Agent pid 77 killed; 01:15:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:15:05 + git semver [Pipeline] } 01:15:05 $ docker stop --time=1 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d 01:15:06 $ docker rm -f --volumes 194da777061da061200b20a0125f620cd8897debb292778cef4048a88419200d [Pipeline] // withDockerContainer [Pipeline] sh 01:15:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:15:07 Stashed 1 file(s) [Pipeline] echo 01:15:07 [edgeXSemver]: initialized semver on version 3.1.1-dev.1 [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 01:15:07 provisioning config files... 01:15:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config145280911882016633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:07 ---> ****-login.sh 01:15:07 nexus3.edgexfoundry.org:10001 01:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:15:07 Configure a credential helper to remove this warning. See 01:15:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:15:07 01:15:07 Login Succeeded 01:15:07 nexus3.edgexfoundry.org:10002 01:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:15:07 Configure a credential helper to remove this warning. See 01:15:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:15:07 01:15:07 Login Succeeded 01:15:07 nexus3.edgexfoundry.org:10003 01:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:15:07 Configure a credential helper to remove this warning. See 01:15:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:15:07 01:15:07 Login Succeeded 01:15:07 nexus3.edgexfoundry.org:10004 01:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:15:07 Configure a credential helper to remove this warning. See 01:15:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:15:07 01:15:07 Login Succeeded 01:15:07 ****.io 01:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:15:08 Configure a credential helper to remove this warning. See 01:15:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:15:08 01:15:08 Login Succeeded 01:15:08 ---> ****-login.sh ends [Pipeline] } 01:15:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:15:08 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 01:15:08 + grep ^go [0-9].[0-9]* go.mod 01:15:08 + cut -d -f 2 [Pipeline] echo 01:15:08 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:15:08 ========================================================= 01:15:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 01:15:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 01:15:09 Sending build context to Docker daemon 48.71MB 01:15:09 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:15:09 Step 2/10 : FROM ${BASE} AS builder 01:15:09 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 01:15:09 619be1103602: Pulling fs layer 01:15:09 7862e08f4a3e: Pulling fs layer 01:15:09 5df492c9dc93: Pulling fs layer 01:15:09 7629e6793208: Pulling fs layer 01:15:09 4f4fb700ef54: Pulling fs layer 01:15:09 8de7f028bff5: Pulling fs layer 01:15:09 44042ff1420b: Pulling fs layer 01:15:09 5cdaf54b7214: Pulling fs layer 01:15:09 38f3e5a9071a: Pulling fs layer 01:15:09 4f4fb700ef54: Waiting 01:15:09 8de7f028bff5: Waiting 01:15:09 44042ff1420b: Waiting 01:15:09 5cdaf54b7214: Waiting 01:15:09 38f3e5a9071a: Waiting 01:15:09 7629e6793208: Waiting 01:15:09 7862e08f4a3e: Download complete 01:15:09 7629e6793208: Verifying Checksum 01:15:09 7629e6793208: Download complete 01:15:09 4f4fb700ef54: Download complete 01:15:09 619be1103602: Verifying Checksum 01:15:09 619be1103602: Download complete 01:15:09 8de7f028bff5: Verifying Checksum 01:15:09 8de7f028bff5: Download complete 01:15:09 44042ff1420b: Verifying Checksum 01:15:09 44042ff1420b: Download complete 01:15:10 619be1103602: Pull complete 01:15:10 38f3e5a9071a: Verifying Checksum 01:15:10 38f3e5a9071a: Download complete 01:15:10 5df492c9dc93: Verifying Checksum 01:15:10 5df492c9dc93: Download complete 01:15:10 7862e08f4a3e: Pull complete 01:15:10 5cdaf54b7214: Verifying Checksum 01:15:10 5cdaf54b7214: Download complete 01:15:13 5df492c9dc93: Pull complete 01:15:13 7629e6793208: Pull complete 01:15:13 4f4fb700ef54: Pull complete 01:15:14 8de7f028bff5: Pull complete 01:15:14 44042ff1420b: Pull complete 01:15:16 5cdaf54b7214: Pull complete 01:15:17 38f3e5a9071a: Pull complete 01:15:17 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 01:15:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 01:15:17 ---> 60b93f829570 01:15:17 Step 3/10 : ARG ADD_BUILD_TAGS="" 01:15:22 Still waiting to schedule task 01:15:22 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-120’ 01:15:22 ---> Running in f990dd53dde8 01:15:22 Removing intermediate container f990dd53dde8 01:15:22 ---> 2cb82f405f17 01:15:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:15:22 ---> Running in 83c3c78d6a00 01:15:22 Removing intermediate container 83c3c78d6a00 01:15:22 ---> 19124acfd35b 01:15:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 01:15:22 ---> Running in e4f29349bef1 01:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:15:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:15:23 (1/8) Installing openssh-keygen (9.3_p2-r1) 01:15:23 (2/8) Installing libedit (20221030.3.1-r1) 01:15:23 (3/8) Installing openssh-client-common (9.3_p2-r1) 01:15:23 (4/8) Installing openssh-client-default (9.3_p2-r1) 01:15:23 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 01:15:23 (6/8) Installing openssh-server-common (9.3_p2-r1) 01:15:23 (7/8) Installing openssh-server (9.3_p2-r1) 01:15:23 (8/8) Installing openssh (9.3_p2-r1) 01:15:23 Executing busybox-1.36.1-r5.trigger 01:15:23 OK: 270 MiB in 60 packages 01:15:24 Removing intermediate container e4f29349bef1 01:15:24 ---> 2f72798f5fff 01:15:24 Step 6/10 : WORKDIR /device-modbus-go 01:15:24 ---> Running in 1656154e1427 01:15:24 Removing intermediate container 1656154e1427 01:15:24 ---> 62dbe35eaa08 01:15:24 Step 7/10 : COPY go.mod vendor* ./ 01:15:26 ---> 6b381b2f6e34 01:15:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:15:26 ---> Running in 891c4f13f476 01:15:58 Removing intermediate container 891c4f13f476 01:15:58 ---> f411b7eaab08 01:15:58 Step 9/10 : COPY . . 01:15:58 ---> 2c561a7beacf 01:15:58 Step 10/10 : RUN ${MAKE} 01:15:58 ---> Running in 501ac79093d2 01:15:58 noop 01:15:58 Removing intermediate container 501ac79093d2 01:15:58 ---> 6ee3e3612c90 01:15:58 Successfully built 6ee3e3612c90 01:15:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:59 + docker inspect -f . ci-base-image-x86_64 01:15:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:59 prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container 01:15:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:15:59 $ docker top 2bd3846d75eb3489a56e1be8ffd09810b2a080f179a08d244df6d99a939c484d -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:00 + go version 01:16:00 go version go1.21.9 linux/amd64 [Pipeline] } 01:16:00 $ docker stop --time=1 2bd3846d75eb3489a56e1be8ffd09810b2a080f179a08d244df6d99a939c484d 01:16:01 $ docker rm -f --volumes 2bd3846d75eb3489a56e1be8ffd09810b2a080f179a08d244df6d99a939c484d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:01 + docker inspect -f . ci-base-image-x86_64 01:16:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:01 prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container 01:16:01 $ 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_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:16:02 $ docker top f87fa5d117cd631195a3c6246fa0efbdbf05d57f60dae103144821bcdd8ec348 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:02 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] fileExists [Pipeline] sh 01:16:02 + make test 01:16:02 go test ./... -coverprofile=coverage.out 01:16:04 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:16:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:16:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.9% of statements 01:16:20 go vet ./... 01:16:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:16:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:16:23 ./bin/test-attribution-txt.sh [Pipeline] echo 01:16:23 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:16:23 + go mod tidy [Pipeline] } 01:16:23 $ docker stop --time=1 f87fa5d117cd631195a3c6246fa0efbdbf05d57f60dae103144821bcdd8ec348 01:16:26 $ docker rm -f --volumes f87fa5d117cd631195a3c6246fa0efbdbf05d57f60dae103144821bcdd8ec348 [Pipeline] // withDockerContainer [Pipeline] sh 01:16:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:16:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:16:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:16:28 + ls -al . 01:16:28 total 196 01:16:28 drwxrwxr-x 10 jenkins jenkins 4096 May 14 01:16 . 01:16:28 drwxrwxr-x 4 jenkins jenkins 4096 May 14 01:14 .. 01:16:28 -rw-rw-r-- 1 jenkins jenkins 140 May 14 01:14 .dockerignore 01:16:28 drwxrwxr-x 8 jenkins jenkins 4096 May 14 01:16 .git 01:16:28 drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:14 .github 01:16:28 -rw-rw-r-- 1 jenkins jenkins 258 May 14 01:14 .gitignore 01:16:28 -rw-rw-r-- 1 jenkins jenkins 41 May 14 01:14 .golangci.yml 01:16:28 drwxr-xr-x 3 jenkins jenkins 4096 May 14 01:15 .semver 01:16:28 -rw-rw-r-- 1 jenkins jenkins 11120 May 14 01:14 Attribution.txt 01:16:28 -rw-rw-r-- 1 jenkins jenkins 16388 May 14 01:14 CHANGELOG.md 01:16:28 -rw-rw-r-- 1 jenkins jenkins 1474 May 14 01:14 Dockerfile 01:16:28 -rw-rw-r-- 1 jenkins jenkins 677 May 14 01:14 GOVERNANCE.md 01:16:28 -rw-rw-r-- 1 jenkins jenkins 658 May 14 01:14 Jenkinsfile 01:16:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 14 01:14 LICENSE 01:16:28 -rw-rw-r-- 1 jenkins jenkins 1936 May 14 01:14 Makefile 01:16:28 -rw-rw-r-- 1 jenkins jenkins 622 May 14 01:14 OWNERS.md 01:16:28 -rw-rw-r-- 1 jenkins jenkins 4463 May 14 01:14 README.md 01:16:28 -rw-rw-r-- 1 jenkins jenkins 11 May 14 01:15 VERSION 01:16:28 drwxrwxr-x 2 jenkins jenkins 4096 May 14 01:14 bin 01:16:28 drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:14 cmd 01:16:28 -rw-r--r-- 1 jenkins jenkins 24334 May 14 01:16 coverage.out 01:16:28 -rw-rw-r-- 1 jenkins jenkins 3865 May 14 01:14 go.mod 01:16:28 -rw-rw-r-- 1 jenkins jenkins 34537 May 14 01:14 go.sum 01:16:28 drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:14 internal 01:16:28 drwxrwxr-x 2 jenkins jenkins 4096 May 14 01:14 simulator 01:16:28 drwxrwxr-x 6 jenkins jenkins 4096 May 14 01:14 vendor 01:16:28 -rw-rw-r-- 1 jenkins jenkins 229 May 14 01:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:28 + 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=1eee846d515ad1ad777188f96f1acf46ba88b479 --label arch=amd64 --label version=3.1.1-dev.1 . 01:16:28 Sending build context to Docker daemon 48.73MB 01:16:28 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 01:16:28 Step 2/23 : FROM ${BASE} AS builder 01:16:28 ---> 6ee3e3612c90 01:16:28 Step 3/23 : ARG ADD_BUILD_TAGS="" 01:16:29 ---> Running in 532903a231fd 01:16:29 Removing intermediate container 532903a231fd 01:16:29 ---> 8e07dae3c56b 01:16:29 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:16:29 ---> Running in c1ebc3d09d04 01:16:29 Removing intermediate container c1ebc3d09d04 01:16:29 ---> 79e56dabb1d1 01:16:29 Step 5/23 : RUN apk add --update --no-cache make git openssh 01:16:29 ---> Running in a5ed6330b2be 01:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:16:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:16:30 OK: 270 MiB in 60 packages 01:16:30 Removing intermediate container a5ed6330b2be 01:16:30 ---> 955e16f20421 01:16:30 Step 6/23 : WORKDIR /device-modbus-go 01:16:30 ---> Running in d2e7b3d4312b 01:16:30 Removing intermediate container d2e7b3d4312b 01:16:30 ---> 9b64ce5a5cbb 01:16:30 Step 7/23 : COPY go.mod vendor* ./ 01:16:32 ---> 0e34970b7a1a 01:16:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:16:32 ---> Running in a522fa0ea186 01:16:32 skipping... 01:16:33 Removing intermediate container a522fa0ea186 01:16:33 ---> 5e3be49407b8 01:16:33 Step 9/23 : COPY . . 01:16:36 ---> af418684c5ce 01:16:36 Step 10/23 : RUN ${MAKE} 01:16:36 ---> Running in 443ab7d7a1b6 01:16:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 01:16:58 Removing intermediate container 443ab7d7a1b6 01:16:58 ---> 1c2b64cdb748 01:16:58 Step 11/23 : FROM alpine:3.18 01:16:58 3.18: Pulling from library/alpine 01:16:58 619be1103602: Already exists 01:16:58 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:16:58 Status: Downloaded newer image for alpine:3.18 01:16:58 ---> d3782b16ccc9 01:16:58 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:16:58 ---> Running in 033cf7a645c7 01:16:58 Removing intermediate container 033cf7a645c7 01:16:58 ---> c3a8602cf465 01:16:58 Step 13/23 : RUN apk add --update --no-cache dumb-init 01:16:58 ---> Running in 8d78ab491fe6 01:16:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:16:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:16:58 (1/1) Installing dumb-init (1.2.5-r2) 01:16:58 Executing busybox-1.36.1-r5.trigger 01:16:58 OK: 7 MiB in 16 packages 01:16:58 Removing intermediate container 8d78ab491fe6 01:16:58 ---> e2d749aa3904 01:16:58 Step 14/23 : RUN apk --no-cache upgrade 01:16:58 ---> Running in f0cfbb68dad3 01:16:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:16:59 Upgrading critical system libraries and apk-tools: 01:16:59 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 01:16:59 Executing busybox-1.36.1-r5.trigger 01:16:59 Continuing the upgrade transaction with new apk-tools: 01:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:16:59 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 01:16:59 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 01:16:59 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 01:16:59 OK: 7 MiB in 16 packages 01:17:00 Removing intermediate container f0cfbb68dad3 01:17:00 ---> 3f01674e51cc 01:17:00 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 01:17:01 ---> 19e4a3b5d3b0 01:17:01 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 01:17:01 ---> a8dcf1026829 01:17:01 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:17:01 ---> 184d8c8e6b53 01:17:01 Step 18/23 : EXPOSE 59901 01:17:01 ---> Running in b060b002cc87 01:17:01 Removing intermediate container b060b002cc87 01:17:01 ---> 8851b50c5c1c 01:17:01 Step 19/23 : ENTRYPOINT ["/device-modbus"] 01:17:01 ---> Running in 9320290aff77 01:17:01 Removing intermediate container 9320290aff77 01:17:01 ---> 418b55b222ac 01:17:01 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:17:01 ---> Running in addbac99148f 01:17:01 Removing intermediate container addbac99148f 01:17:01 ---> a88a2dfc2b60 01:17:01 Step 21/23 : LABEL arch=amd64 01:17:01 ---> Running in 65d0bf66f83d 01:17:01 Removing intermediate container 65d0bf66f83d 01:17:01 ---> 79adbb3dd62e 01:17:01 Step 22/23 : LABEL git_sha=1eee846d515ad1ad777188f96f1acf46ba88b479 01:17:01 ---> Running in 75d5cf2656e6 01:17:01 Removing intermediate container 75d5cf2656e6 01:17:01 ---> 7e3a8add0873 01:17:01 Step 23/23 : LABEL version=3.1.1-dev.1 01:17:01 ---> Running in 26dda59bb70c 01:17:01 Removing intermediate container 26dda59bb70c 01:17:01 ---> 01ef13764abe 01:17:01 [Warning] One or more build-args [ARCH] were not consumed 01:17:01 Successfully built 01ef13764abe 01:17:01 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:17:01 provisioning config files... 01:17:01 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config3037039078525539187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:02 ---> ****-login.sh 01:17:02 nexus3.edgexfoundry.org:10001 01:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:17:02 Configure a credential helper to remove this warning. See 01:17:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:17:02 01:17:02 Login Succeeded 01:17:02 nexus3.edgexfoundry.org:10002 01:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:17:02 Configure a credential helper to remove this warning. See 01:17:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:17:02 01:17:02 Login Succeeded 01:17:02 nexus3.edgexfoundry.org:10003 01:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:17:02 Configure a credential helper to remove this warning. See 01:17:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:17:02 01:17:02 Login Succeeded 01:17:02 nexus3.edgexfoundry.org:10004 01:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:17:02 Configure a credential helper to remove this warning. See 01:17:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:17:02 01:17:02 Login Succeeded 01:17:02 ****.io 01:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:17:02 Configure a credential helper to remove this warning. See 01:17:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:17:02 01:17:02 Login Succeeded 01:17:02 ---> ****-login.sh ends [Pipeline] } 01:17:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:02 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:17:02 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 01:17:02 1eee846d515ad1ad777188f96f1acf46ba88b479 01:17:02 3.1.1-dev.1 01:17:02 1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 01:17:02 napa 01:17:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:02 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479 01:17:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:17:03 68608cf5d047: Preparing 01:17:03 c2a533d2c7d8: Preparing 01:17:03 04661894b392: Preparing 01:17:03 313ddc274872: Preparing 01:17:03 8d35d4976b98: Preparing 01:17:03 aedc3bda2944: Preparing 01:17:03 aedc3bda2944: Waiting 01:17:03 68608cf5d047: Pushed 01:17:03 c2a533d2c7d8: Pushed 01:17:03 8d35d4976b98: Pushed 01:17:03 aedc3bda2944: Layer already exists 01:17:03 313ddc274872: Pushed 01:17:06 04661894b392: Pushed 01:17:06 1eee846d515ad1ad777188f96f1acf46ba88b479: digest: sha256:918e8c95d3632adc92de513e984f91c6d2bdbfca32938a83e2798e4ecea53f75 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:06 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.1-dev.1 01:17:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:17:07 68608cf5d047: Preparing 01:17:07 c2a533d2c7d8: Preparing 01:17:07 04661894b392: Preparing 01:17:07 313ddc274872: Preparing 01:17:07 8d35d4976b98: Preparing 01:17:07 aedc3bda2944: Preparing 01:17:07 aedc3bda2944: Waiting 01:17:07 313ddc274872: Layer already exists 01:17:07 68608cf5d047: Layer already exists 01:17:07 04661894b392: Layer already exists 01:17:07 8d35d4976b98: Layer already exists 01:17:07 c2a533d2c7d8: Layer already exists 01:17:07 aedc3bda2944: Layer already exists 01:17:07 3.1.1-dev.1: digest: sha256:918e8c95d3632adc92de513e984f91c6d2bdbfca32938a83e2798e4ecea53f75 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:07 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:07 + docker push nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 01:17:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:17:07 68608cf5d047: Preparing 01:17:07 c2a533d2c7d8: Preparing 01:17:07 04661894b392: Preparing 01:17:07 313ddc274872: Preparing 01:17:07 8d35d4976b98: Preparing 01:17:07 aedc3bda2944: Preparing 01:17:07 aedc3bda2944: Waiting 01:17:07 04661894b392: Layer already exists 01:17:07 c2a533d2c7d8: Layer already exists 01:17:07 68608cf5d047: Layer already exists 01:17:07 8d35d4976b98: Layer already exists 01:17:07 313ddc274872: Layer already exists 01:17:07 aedc3bda2944: Layer already exists 01:17:07 1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1: digest: sha256:918e8c95d3632adc92de513e984f91c6d2bdbfca32938a83e2798e4ecea53f75 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:08 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus:napa 01:17:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 01:17:08 68608cf5d047: Preparing 01:17:08 c2a533d2c7d8: Preparing 01:17:08 04661894b392: Preparing 01:17:08 313ddc274872: Preparing 01:17:08 8d35d4976b98: Preparing 01:17:08 aedc3bda2944: Preparing 01:17:08 aedc3bda2944: Waiting 01:17:08 68608cf5d047: Layer already exists 01:17:08 313ddc274872: Layer already exists 01:17:08 04661894b392: Layer already exists 01:17:08 8d35d4976b98: Layer already exists 01:17:08 c2a533d2c7d8: Layer already exists 01:17:08 aedc3bda2944: Layer already exists 01:17:08 napa: digest: sha256:918e8c95d3632adc92de513e984f91c6d2bdbfca32938a83e2798e4ecea53f75 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:17:08 ===================================================== [Pipeline] echo 01:17:08 taggedImages: 01:17:08 - nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479 01:17:08 - nexus3.edgexfoundry.org:10004/device-modbus:3.1.1-dev.1 01:17:08 - nexus3.edgexfoundry.org:10004/device-modbus:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 01:17:08 - nexus3.edgexfoundry.org:10004/device-modbus:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:08 01:17:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:09 latest: Pulling from edgex-lftools-log-publisher 01:17:09 5eb5b503b376: Pulling fs layer 01:17:09 5c69ac0246d0: Pulling fs layer 01:17:09 ec43610c2a17: Pulling fs layer 01:17:09 3a2ae6a8a46f: Pulling fs layer 01:17:09 33b1e0a273af: Pulling fs layer 01:17:09 5d3b04190fa2: Pulling fs layer 01:17:09 2f39f015ded8: Pulling fs layer 01:17:09 3a2ae6a8a46f: Waiting 01:17:09 33b1e0a273af: Waiting 01:17:09 5d3b04190fa2: Waiting 01:17:09 2f39f015ded8: Waiting 01:17:09 5c69ac0246d0: Download complete 01:17:09 3a2ae6a8a46f: Verifying Checksum 01:17:09 3a2ae6a8a46f: Download complete 01:17:09 33b1e0a273af: Verifying Checksum 01:17:09 33b1e0a273af: Download complete 01:17:09 ec43610c2a17: Verifying Checksum 01:17:09 ec43610c2a17: Download complete 01:17:09 5d3b04190fa2: Verifying Checksum 01:17:09 5d3b04190fa2: Download complete 01:17:09 5eb5b503b376: Verifying Checksum 01:17:09 5eb5b503b376: Download complete 01:17:09 2f39f015ded8: Verifying Checksum 01:17:09 2f39f015ded8: Download complete 01:17:10 5eb5b503b376: Pull complete 01:17:10 5c69ac0246d0: Pull complete 01:17:11 ec43610c2a17: Pull complete 01:17:11 3a2ae6a8a46f: Pull complete 01:17:11 33b1e0a273af: Pull complete 01:17:11 5d3b04190fa2: Pull complete 01:17:15 2f39f015ded8: Pull complete 01:17:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:17:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:17:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:15 prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container 01:17:15 $ 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_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@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 01:17:20 $ docker top 5c654ea652300f076c3ef334edc03d9176f4ad1e209a336d797ae5a9a094ebf3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:17:20 ---> job-cost.sh 01:17:20 lf-activate-venv: SKIPPING 01:17:20 INFO: No Stack... 01:17:20 INFO: Retrieving Pricing Info for: v3-standard-8 01:17:20 INFO: Archiving Costs [Pipeline] sh 01:17:21 + cat /w/workspace/gexfoundry_device-modbus-go_napa/archives/cost.csv 01:17:21 + cut -d, -f6 [Pipeline] lock 01:17:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] 01:17:21 Resource [jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] did not exist. Created. 01:17:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:17:21 + echo total: 0.2199999988079071 [Pipeline] stash 01:17:21 Stashed 1 file(s) [Pipeline] } 01:17:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:17:21 $ docker stop --time=1 5c654ea652300f076c3ef334edc03d9176f4ad1e209a336d797ae5a9a094ebf3 01:17:22 $ docker rm -f --volumes 5c654ea652300f076c3ef334edc03d9176f4ad1e209a336d797ae5a9a094ebf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:19:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-127 in /w/workspace/gexfoundry_device-modbus-go_napa [Pipeline] { [Pipeline] ws 01:19:13 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 01:19:16 The recommended git tool is: git 01:19:21 using credential edgex-jenkins-ssh 01:19:21 Cloning the remote Git repository 01:19:21 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:19:21 > git init /w/workspace/device-modbus-go/3 # timeout=10 01:19:21 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:19:21 > git --version # timeout=10 01:19:21 > git --version # 'git version 2.25.1' 01:19:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:19:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:19:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:19:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:19:25 Avoid second fetch 01:19:25 Checking out Revision 1eee846d515ad1ad777188f96f1acf46ba88b479 (napa) 01:19:25 > git config core.sparsecheckout # timeout=10 01:19:25 > git checkout -f 1eee846d515ad1ad777188f96f1acf46ba88b479 # timeout=10 01:19:26 Commit message: "Merge pull request #551 from cloudxxx8/bump-napa-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:19:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:19:31 % Total % Received % Xferd Average Speed Time Time Time Current 01:19:31 Dload Upload Total Spent Left Speed 01:19:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 01:19:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:19:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:19:32 + sudo tee /etc/docker/daemon.new 01:19:32 { 01:19:32 "registry-mirrors": [ 01:19:32 "https://nexus3.edgexfoundry.org:10001" 01:19:32 ], 01:19:32 "bip": "10.250.0.254/24", 01:19:32 "hosts": [ 01:19:32 "tcp://0.0.0.0:5555", 01:19:32 "unix:///var/run/docker.sock" 01:19:32 ], 01:19:32 "mtu": 1458, 01:19:32 "selinux-enabled": true, 01:19:32 "seccomp-profile": "/etc/docker/seccomp.json" 01:19:32 } [Pipeline] sh 01:19:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:19:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:51 provisioning config files... 01:19:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config16605880308419104034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:51 ---> ****-login.sh 01:19:51 nexus3.edgexfoundry.org:10001 01:19:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:19:52 Configure a credential helper to remove this warning. See 01:19:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:19:52 01:19:52 Login Succeeded 01:19:52 nexus3.edgexfoundry.org:10002 01:19:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:19:52 Configure a credential helper to remove this warning. See 01:19:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:19:52 01:19:52 Login Succeeded 01:19:52 nexus3.edgexfoundry.org:10003 01:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:19:53 Configure a credential helper to remove this warning. See 01:19:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:19:53 01:19:53 Login Succeeded 01:19:53 nexus3.edgexfoundry.org:10004 01:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:19:53 Configure a credential helper to remove this warning. See 01:19:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:19:53 01:19:53 Login Succeeded 01:19:53 ****.io 01:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:19:54 Configure a credential helper to remove this warning. See 01:19:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:19:54 01:19:54 Login Succeeded 01:19:54 ---> ****-login.sh ends [Pipeline] } 01:19:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:19:54 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 01:19:55 + grep ^go [0-9].[0-9]* go.mod 01:19:55 + cut -d -f 2 [Pipeline] echo 01:19:55 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:19:55 ========================================================= 01:19:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 01:19:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 01:19:58 Sending build context to Docker daemon 38.39MB 01:19:58 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:19:58 Step 2/10 : FROM ${BASE} AS builder 01:19:58 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 01:19:58 c6b39de5b339: Pulling fs layer 01:19:58 a69c41024577: Pulling fs layer 01:19:58 d6de4b400683: Pulling fs layer 01:19:58 35cb2a7552d0: Pulling fs layer 01:19:58 4f4fb700ef54: Pulling fs layer 01:19:58 9e011611b7f5: Pulling fs layer 01:19:58 3bd174042beb: Pulling fs layer 01:19:58 4476f39b5e91: Pulling fs layer 01:19:58 9e011611b7f5: Waiting 01:19:58 3bd174042beb: Waiting 01:19:58 4476f39b5e91: Waiting 01:19:58 35cb2a7552d0: Waiting 01:19:58 4f4fb700ef54: Waiting 01:19:58 a69c41024577: Download complete 01:19:58 35cb2a7552d0: Verifying Checksum 01:19:58 35cb2a7552d0: Download complete 01:19:58 4f4fb700ef54: Verifying Checksum 01:19:58 4f4fb700ef54: Download complete 01:19:58 c6b39de5b339: Verifying Checksum 01:19:58 c6b39de5b339: Download complete 01:19:58 9e011611b7f5: Verifying Checksum 01:19:58 9e011611b7f5: Download complete 01:19:58 4476f39b5e91: Verifying Checksum 01:19:58 4476f39b5e91: Download complete 01:19:59 c6b39de5b339: Pull complete 01:20:00 a69c41024577: Pull complete 01:20:00 d6de4b400683: Verifying Checksum 01:20:00 d6de4b400683: Download complete 01:20:01 3bd174042beb: Verifying Checksum 01:20:13 d6de4b400683: Pull complete 01:20:13 35cb2a7552d0: Pull complete 01:20:13 4f4fb700ef54: Pull complete 01:20:13 9e011611b7f5: Pull complete 01:20:23 3bd174042beb: Pull complete 01:20:24 4476f39b5e91: Pull complete 01:20:24 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 01:20:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 01:20:24 ---> 981a0608b64a 01:20:24 Step 3/10 : ARG ADD_BUILD_TAGS="" 01:20:26 ---> Running in 3b792c60f948 01:20:26 Removing intermediate container 3b792c60f948 01:20:26 ---> 3fa67a4b96c6 01:20:26 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:20:26 ---> Running in 2f5122ef8354 01:20:26 Removing intermediate container 2f5122ef8354 01:20:26 ---> 8d0ff24273c8 01:20:26 Step 5/10 : RUN apk add --update --no-cache make git openssh 01:20:27 ---> Running in bb5398ff71bc 01:20:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:20:29 (1/8) Installing openssh-keygen (9.3_p2-r1) 01:20:29 (2/8) Installing libedit (20221030.3.1-r1) 01:20:29 (3/8) Installing openssh-client-common (9.3_p2-r1) 01:20:29 (4/8) Installing openssh-client-default (9.3_p2-r1) 01:20:29 (5/8) Installing openssh-sftp-server (9.3_p2-r1) 01:20:29 (6/8) Installing openssh-server-common (9.3_p2-r1) 01:20:29 (7/8) Installing openssh-server (9.3_p2-r1) 01:20:29 (8/8) Installing openssh (9.3_p2-r1) 01:20:29 Executing busybox-1.36.1-r5.trigger 01:20:29 OK: 272 MiB in 60 packages 01:20:30 Removing intermediate container bb5398ff71bc 01:20:30 ---> 02ef30ab9154 01:20:30 Step 6/10 : WORKDIR /device-modbus-go 01:20:31 ---> Running in 8a155316f82d 01:20:31 Removing intermediate container 8a155316f82d 01:20:31 ---> c8379b758e9b 01:20:31 Step 7/10 : COPY go.mod vendor* ./ 01:20:37 ---> df325a3a82f8 01:20:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:20:37 ---> Running in 7be1663a2c5c 01:21:45 Removing intermediate container 7be1663a2c5c 01:21:45 ---> 4fef628dfa10 01:21:45 Step 9/10 : COPY . . 01:21:45 ---> a0a44aeba978 01:21:45 Step 10/10 : RUN ${MAKE} 01:21:45 ---> Running in 90ebbed84bf4 01:21:45 noop 01:21:45 Removing intermediate container 90ebbed84bf4 01:21:45 ---> 997d3bb00fca 01:21:45 Successfully built 997d3bb00fca 01:21:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:46 + docker inspect -f . ci-base-image-arm64 01:21:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:46 prd-ubuntu20.04-docker-arm64-4c-16g-127 does not seem to be running inside a container 01:21:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 01:21:47 $ docker top effe7eeddd9a2d92e1c2fd9dad4be0c91b960ed98aab7fa7b64d20da77b663a2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:48 + go version 01:21:48 go version go1.21.9 linux/arm64 [Pipeline] } 01:21:48 $ docker stop --time=1 effe7eeddd9a2d92e1c2fd9dad4be0c91b960ed98aab7fa7b64d20da77b663a2 01:21:50 $ docker rm -f --volumes effe7eeddd9a2d92e1c2fd9dad4be0c91b960ed98aab7fa7b64d20da77b663a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:50 + docker inspect -f . ci-base-image-arm64 01:21:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:50 prd-ubuntu20.04-docker-arm64-4c-16g-127 does not seem to be running inside a container 01:21:50 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 01:21:51 $ docker top eae0a9ea433cb94b93cc3df6a836aae3539e85cfb8f8876efc1c1fc338ec3f84 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:52 + git config --global --add safe.directory /w/workspace/device-modbus-go/3 [Pipeline] fileExists [Pipeline] sh 01:21:53 + make test 01:21:53 go test ./... -coverprofile=coverage.out 01:21:56 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:23:48 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:23:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 47.9% of statements 01:23:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:23:50 go vet ./... 01:24:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:24:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:24:16 ./bin/test-attribution-txt.sh [Pipeline] echo 01:24:16 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:24:17 + go mod tidy [Pipeline] } 01:24:20 $ docker stop --time=1 eae0a9ea433cb94b93cc3df6a836aae3539e85cfb8f8876efc1c1fc338ec3f84 01:24:22 $ docker rm -f --volumes eae0a9ea433cb94b93cc3df6a836aae3539e85cfb8f8876efc1c1fc338ec3f84 [Pipeline] // withDockerContainer [Pipeline] sh 01:24:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:24:23 Warning: overwriting stash ‘coverage-report’ 01:24:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:24:25 + ls -al . 01:24:25 total 192 01:24:25 drwxrwxr-x 9 jenkins jenkins 4096 May 14 01:21 . 01:24:25 drwxrwxr-x 4 jenkins jenkins 4096 May 14 01:19 .. 01:24:25 -rw-rw-r-- 1 jenkins jenkins 140 May 14 01:19 .dockerignore 01:24:25 drwxrwxr-x 8 jenkins jenkins 4096 May 14 01:19 .git 01:24:25 drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:19 .github 01:24:25 -rw-rw-r-- 1 jenkins jenkins 258 May 14 01:19 .gitignore 01:24:25 -rw-rw-r-- 1 jenkins jenkins 41 May 14 01:19 .golangci.yml 01:24:25 -rw-rw-r-- 1 jenkins jenkins 11120 May 14 01:19 Attribution.txt 01:24:25 -rw-rw-r-- 1 jenkins jenkins 16388 May 14 01:19 CHANGELOG.md 01:24:25 -rw-rw-r-- 1 jenkins jenkins 1474 May 14 01:19 Dockerfile 01:24:25 -rw-rw-r-- 1 jenkins jenkins 677 May 14 01:19 GOVERNANCE.md 01:24:25 -rw-rw-r-- 1 jenkins jenkins 658 May 14 01:19 Jenkinsfile 01:24:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 14 01:19 LICENSE 01:24:25 -rw-rw-r-- 1 jenkins jenkins 1936 May 14 01:19 Makefile 01:24:25 -rw-rw-r-- 1 jenkins jenkins 622 May 14 01:19 OWNERS.md 01:24:25 -rw-rw-r-- 1 jenkins jenkins 4463 May 14 01:19 README.md 01:24:25 -rw-rw-r-- 1 jenkins jenkins 11 May 14 01:15 VERSION 01:24:25 drwxrwxr-x 2 jenkins jenkins 4096 May 14 01:19 bin 01:24:25 drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:19 cmd 01:24:25 -rw-r--r-- 1 jenkins jenkins 24334 May 14 01:23 coverage.out 01:24:25 -rw-rw-r-- 1 jenkins jenkins 3865 May 14 01:19 go.mod 01:24:25 -rw-rw-r-- 1 jenkins jenkins 34537 May 14 01:19 go.sum 01:24:25 drwxrwxr-x 3 jenkins jenkins 4096 May 14 01:19 internal 01:24:25 drwxrwxr-x 2 jenkins jenkins 4096 May 14 01:19 simulator 01:24:25 drwxrwxr-x 6 jenkins jenkins 4096 May 14 01:19 vendor 01:24:25 -rw-rw-r-- 1 jenkins jenkins 229 May 14 01:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:25 + 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=1eee846d515ad1ad777188f96f1acf46ba88b479 --label arch=arm64 --label version=3.1.1-dev.1 . 01:24:28 Sending build context to Docker daemon 38.41MB 01:24:28 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 01:24:28 Step 2/23 : FROM ${BASE} AS builder 01:24:28 ---> 997d3bb00fca 01:24:28 Step 3/23 : ARG ADD_BUILD_TAGS="" 01:24:28 ---> Running in 81b87682b63c 01:24:28 Removing intermediate container 81b87682b63c 01:24:28 ---> 93a13c41e025 01:24:28 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:24:28 ---> Running in 877b8abbc82e 01:24:28 Removing intermediate container 877b8abbc82e 01:24:28 ---> f605046b5604 01:24:28 Step 5/23 : RUN apk add --update --no-cache make git openssh 01:24:28 ---> Running in 39498a06108f 01:24:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:24:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:24:31 OK: 272 MiB in 60 packages 01:24:31 Removing intermediate container 39498a06108f 01:24:31 ---> 2d1dc4afe963 01:24:31 Step 6/23 : WORKDIR /device-modbus-go 01:24:31 ---> Running in e378ba3dc6b8 01:24:32 Removing intermediate container e378ba3dc6b8 01:24:32 ---> 01ceed092a5e 01:24:32 Step 7/23 : COPY go.mod vendor* ./ 01:24:40 ---> 9992bbf44560 01:24:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:24:40 ---> Running in 6deba13c1357 01:24:40 skipping... 01:24:40 Removing intermediate container 6deba13c1357 01:24:40 ---> e037a9f69b96 01:24:40 Step 9/23 : COPY . . 01:24:49 ---> a83e387d87c7 01:24:49 Step 10/23 : RUN ${MAKE} 01:24:49 ---> Running in 8424905fb864 01:24:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 01:26:55 Removing intermediate container 8424905fb864 01:26:55 ---> 089a067680d2 01:26:55 Step 11/23 : FROM alpine:3.18 01:26:55 3.18: Pulling from library/alpine 01:26:55 c6b39de5b339: Already exists 01:26:55 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:26:55 Status: Downloaded newer image for alpine:3.18 01:26:55 ---> 33abbf032149 01:26:55 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 01:26:55 ---> Running in 36579096a1e5 01:26:55 Removing intermediate container 36579096a1e5 01:26:55 ---> 5eef9d834785 01:26:55 Step 13/23 : RUN apk add --update --no-cache dumb-init 01:26:55 ---> Running in 4e160d28ac9d 01:26:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:26:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:26:56 (1/1) Installing dumb-init (1.2.5-r2) 01:26:56 Executing busybox-1.36.1-r5.trigger 01:26:56 OK: 8 MiB in 16 packages 01:26:57 Removing intermediate container 4e160d28ac9d 01:26:57 ---> c6967f1db9a2 01:26:57 Step 14/23 : RUN apk --no-cache upgrade 01:26:57 ---> Running in 70d8e9d4181f 01:26:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:26:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:27:00 Upgrading critical system libraries and apk-tools: 01:27:00 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 01:27:00 Executing busybox-1.36.1-r5.trigger 01:27:00 Continuing the upgrade transaction with new apk-tools: 01:27:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:27:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:27:01 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 01:27:01 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 01:27:01 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 01:27:01 OK: 8 MiB in 16 packages 01:27:02 Removing intermediate container 70d8e9d4181f 01:27:02 ---> 745adcca5ce5 01:27:02 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 01:27:04 ---> c11aa6a3c28d 01:27:04 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 01:27:04 ---> 30fdce16b300 01:27:04 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 01:27:05 ---> 47e4ca3102b2 01:27:05 Step 18/23 : EXPOSE 59901 01:27:05 ---> Running in 3f40954842fc 01:27:05 Removing intermediate container 3f40954842fc 01:27:05 ---> fa41947eb24e 01:27:05 Step 19/23 : ENTRYPOINT ["/device-modbus"] 01:27:05 ---> Running in b816b85c32e2 01:27:05 Removing intermediate container b816b85c32e2 01:27:05 ---> 2f4ea062947c 01:27:05 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:27:06 ---> Running in 5a734b00dbd4 01:27:06 Removing intermediate container 5a734b00dbd4 01:27:06 ---> 672e1fabfebc 01:27:06 Step 21/23 : LABEL arch=arm64 01:27:06 ---> Running in 8c9ddd3ba318 01:27:06 Removing intermediate container 8c9ddd3ba318 01:27:06 ---> 711bc0a80996 01:27:06 Step 22/23 : LABEL git_sha=1eee846d515ad1ad777188f96f1acf46ba88b479 01:27:06 ---> Running in 408c99dd205a 01:27:07 Removing intermediate container 408c99dd205a 01:27:07 ---> aac82aa81182 01:27:07 Step 23/23 : LABEL version=3.1.1-dev.1 01:27:07 ---> Running in 43e6ef3f765a 01:27:07 Removing intermediate container 43e6ef3f765a 01:27:07 ---> f2f8ab1eea68 01:27:07 [Warning] One or more build-args [ARCH] were not consumed 01:27:08 Successfully built f2f8ab1eea68 01:27:08 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 01:27:08 provisioning config files... 01:27:08 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config2280713250526780282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:08 ---> ****-login.sh 01:27:08 nexus3.edgexfoundry.org:10001 01:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:27:08 Configure a credential helper to remove this warning. See 01:27:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:27:08 01:27:08 Login Succeeded 01:27:08 nexus3.edgexfoundry.org:10002 01:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:27:09 Configure a credential helper to remove this warning. See 01:27:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:27:09 01:27:09 Login Succeeded 01:27:09 nexus3.edgexfoundry.org:10003 01:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:27:09 Configure a credential helper to remove this warning. See 01:27:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:27:09 01:27:09 Login Succeeded 01:27:09 nexus3.edgexfoundry.org:10004 01:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:27:10 Configure a credential helper to remove this warning. See 01:27:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:27:10 01:27:10 Login Succeeded 01:27:10 ****.io 01:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:27:10 Configure a credential helper to remove this warning. See 01:27:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:27:10 01:27:10 Login Succeeded 01:27:10 ---> ****-login.sh ends [Pipeline] } 01:27:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:27:10 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:27:10 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 01:27:10 1eee846d515ad1ad777188f96f1acf46ba88b479 01:27:10 3.1.1-dev.1 01:27:10 1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 01:27:10 napa 01:27:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:11 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479 01:27:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:27:11 2b55ed07adcc: Preparing 01:27:11 93aef40db7bc: Preparing 01:27:11 0377809b8e14: Preparing 01:27:11 90e4b0c237a7: Preparing 01:27:11 65a78a8b612b: Preparing 01:27:11 7c504f21be85: Preparing 01:27:11 7c504f21be85: Waiting 01:27:11 93aef40db7bc: Pushed 01:27:11 2b55ed07adcc: Pushed 01:27:11 7c504f21be85: Layer already exists 01:27:11 65a78a8b612b: Pushed 01:27:13 90e4b0c237a7: Pushed 01:27:18 0377809b8e14: Pushed 01:27:18 1eee846d515ad1ad777188f96f1acf46ba88b479: digest: sha256:557060152b65db1fc4cbbccd970140bb1cfbb1d7229b7c9b1cf3d8efac5343c1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:19 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:19 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.1-dev.1 01:27:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:27:19 2b55ed07adcc: Preparing 01:27:19 93aef40db7bc: Preparing 01:27:19 0377809b8e14: Preparing 01:27:19 90e4b0c237a7: Preparing 01:27:19 65a78a8b612b: Preparing 01:27:19 7c504f21be85: Preparing 01:27:19 7c504f21be85: Waiting 01:27:19 2b55ed07adcc: Layer already exists 01:27:19 93aef40db7bc: Layer already exists 01:27:19 90e4b0c237a7: Layer already exists 01:27:19 0377809b8e14: Layer already exists 01:27:19 65a78a8b612b: Layer already exists 01:27:19 7c504f21be85: Layer already exists 01:27:19 3.1.1-dev.1: digest: sha256:557060152b65db1fc4cbbccd970140bb1cfbb1d7229b7c9b1cf3d8efac5343c1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:20 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 01:27:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:27:20 2b55ed07adcc: Preparing 01:27:20 93aef40db7bc: Preparing 01:27:20 0377809b8e14: Preparing 01:27:20 90e4b0c237a7: Preparing 01:27:20 65a78a8b612b: Preparing 01:27:20 7c504f21be85: Preparing 01:27:20 7c504f21be85: Waiting 01:27:20 90e4b0c237a7: Layer already exists 01:27:20 93aef40db7bc: Layer already exists 01:27:20 0377809b8e14: Layer already exists 01:27:20 65a78a8b612b: Layer already exists 01:27:20 2b55ed07adcc: Layer already exists 01:27:20 7c504f21be85: Layer already exists 01:27:20 1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1: digest: sha256:557060152b65db1fc4cbbccd970140bb1cfbb1d7229b7c9b1cf3d8efac5343c1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:20 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:21 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa 01:27:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 01:27:21 2b55ed07adcc: Preparing 01:27:21 93aef40db7bc: Preparing 01:27:21 0377809b8e14: Preparing 01:27:21 90e4b0c237a7: Preparing 01:27:21 65a78a8b612b: Preparing 01:27:21 7c504f21be85: Preparing 01:27:21 7c504f21be85: Waiting 01:27:21 65a78a8b612b: Layer already exists 01:27:21 93aef40db7bc: Layer already exists 01:27:21 2b55ed07adcc: Layer already exists 01:27:21 90e4b0c237a7: Layer already exists 01:27:21 0377809b8e14: Layer already exists 01:27:21 7c504f21be85: Layer already exists 01:27:21 napa: digest: sha256:557060152b65db1fc4cbbccd970140bb1cfbb1d7229b7c9b1cf3d8efac5343c1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:27:21 ===================================================== [Pipeline] echo 01:27:21 taggedImages: 01:27:21 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479 01:27:21 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.1-dev.1 01:27:21 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1eee846d515ad1ad777188f96f1acf46ba88b479-3.1.1-dev.1 01:27:21 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:27:22 01:27:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:27:22 arm64: Pulling from edgex-lftools-log-publisher 01:27:22 8998bd30e6a1: Pulling fs layer 01:27:22 04944245beec: Pulling fs layer 01:27:22 699f458cf7ca: Pulling fs layer 01:27:22 765212b225bb: Pulling fs layer 01:27:22 f23df028b6ca: Pulling fs layer 01:27:22 d65c8cfc05b1: Pulling fs layer 01:27:22 2437ff75d9bd: Pulling fs layer 01:27:22 f23df028b6ca: Waiting 01:27:22 d65c8cfc05b1: Waiting 01:27:22 2437ff75d9bd: Waiting 01:27:22 765212b225bb: Waiting 01:27:22 04944245beec: Verifying Checksum 01:27:22 04944245beec: Download complete 01:27:22 765212b225bb: Verifying Checksum 01:27:22 765212b225bb: Download complete 01:27:22 f23df028b6ca: Verifying Checksum 01:27:22 f23df028b6ca: Download complete 01:27:22 d65c8cfc05b1: Verifying Checksum 01:27:22 d65c8cfc05b1: Download complete 01:27:22 699f458cf7ca: Verifying Checksum 01:27:22 699f458cf7ca: Download complete 01:27:23 8998bd30e6a1: Verifying Checksum 01:27:23 8998bd30e6a1: Download complete 01:27:25 2437ff75d9bd: Verifying Checksum 01:27:25 2437ff75d9bd: Download complete 01:27:28 8998bd30e6a1: Pull complete 01:27:28 04944245beec: Pull complete 01:27:30 699f458cf7ca: Pull complete 01:27:30 765212b225bb: Pull complete 01:27:31 f23df028b6ca: Pull complete 01:27:31 d65c8cfc05b1: Pull complete 01:27:49 2437ff75d9bd: Pull complete 01:27:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:27:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:27:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:49 prd-ubuntu20.04-docker-arm64-4c-16g-127 does not seem to be running inside a container 01:27:49 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 01:27:52 $ docker top 66263e3be12b02168b4d819f137cdcb0c08bf99dfb2c547c0973a94b6268546d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:53 ---> job-cost.sh 01:27:53 lf-activate-venv: SKIPPING 01:27:53 INFO: No Stack... 01:27:53 INFO: Retrieving Pricing Info for: v3-standard-4 01:27:54 INFO: Archiving Costs [Pipeline] sh 01:27:55 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 01:27:55 + cut -d, -f6 [Pipeline] lock 01:27:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] 01:27:55 Resource [jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] did not exist. Created. 01:27:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:27:56 /w/workspace/device-modbus-go/3@tmp/durable-13bed429/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:27:56 + echo total: 0.10999999940395355 [Pipeline] stash 01:27:56 Warning: overwriting stash ‘stack-cost’ 01:27:57 Stashed 1 file(s) [Pipeline] } 01:27:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-napa-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:27:57 $ docker stop --time=1 66263e3be12b02168b4d819f137cdcb0c08bf99dfb2c547c0973a94b6268546d 01:27:58 $ docker rm -f --volumes 66263e3be12b02168b4d819f137cdcb0c08bf99dfb2c547c0973a94b6268546d [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 01:27:59 provisioning config files... 01:27:59 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config14517109271672539838tmp [Pipeline] { [Pipeline] sh 01:27:59 + set +x 01:27:59 + + curl -s https://codecov.io/bash 01:27:59 bash -s -- 01:27:59 01:27:59 _____ _ 01:27:59 / ____| | | 01:27:59 | | ___ __| | ___ ___ _____ __ 01:27:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:27:59 | |___| (_) | (_| | __/ (_| (_) \ V / 01:27:59 \_____\___/ \__,_|\___|\___\___/ \_/ 01:27:59 Bash-1.0.6 01:27:59 01:27:59 01:27:59 ==> git version 2.25.1 found 01:27:59 ==> 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 01:27:59 Release-Date: 2020-01-08 01:27:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:27:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:27:59 ==> Jenkins CI detected. 01:27:59 current dir:  /w/workspace/gexfoundry_device-modbus-go_napa 01:27:59 project root: . 01:27:59 --> token set from env 01:27:59 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 01:27:59 ==> Running gcov in . (disable via -X gcov) 01:27:59 ==> Python coveragepy not found 01:27:59 ==> Searching for coverage reports in: 01:27:59 + . 01:27:59 -> Found 1 reports 01:27:59 ==> Detecting git/mercurial file structure 01:27:59 ==> Reading reports 01:27:59 + ./coverage.out bytes=24334 01:27:59 ==> Appending adjustments 01:27:59 https://docs.codecov.io/docs/fixing-reports 01:27:59 + Found adjustments 01:27:59 ==> Gzipping contents 01:27:59 16K /tmp/codecov.rjhHJG.gz 01:27:59 ==> Uploading reports 01:27:59 url: https://codecov.io 01:27:59 query: branch=napa&commit=1eee846d515ad1ad777188f96f1acf46ba88b479&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fnapa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:27:59 -> Pinging Codecov 01:27:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=1eee846d515ad1ad777188f96f1acf46ba88b479&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fnapa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:28:00 -> Uploading to 01:28:00 https://storage.googleapis.com/codecov/v4/raw/2024-05-14/55DBCA73C666E3227836607328DD7E49/1eee846d515ad1ad777188f96f1acf46ba88b479/5b1f28bf-acbe-4389-b86e-a1a3650ab96d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240514%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240514T012759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec2011854436b4c38c088659e682866250a16a87f6b2e3d267d4ad6f455ec17b 01:28:00 % Total % Received % Xferd Average Speed Time Time Time Current 01:28:00 Dload Upload Total Spent Left Speed 01:28:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15662 0 0 100 15662 0 64452 --:--:-- --:--:-- --:--:-- 64452 01:28:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] } 01:28:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:28:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:28:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:28:00 01:28:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:28:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:28:01 df9b9388f04a: Pulling fs layer 01:28:01 52dc419b0ee2: Pulling fs layer 01:28:01 25bc292e5bac: Pulling fs layer 01:28:01 114826534d7a: Pulling fs layer 01:28:01 4657fd5d0bcf: Pulling fs layer 01:28:01 6ad1cebc031e: Pulling fs layer 01:28:01 8a3aa393b2d8: Pulling fs layer 01:28:01 114826534d7a: Waiting 01:28:01 8a3aa393b2d8: Waiting 01:28:01 4657fd5d0bcf: Waiting 01:28:01 6ad1cebc031e: Waiting 01:28:01 25bc292e5bac: Verifying Checksum 01:28:01 25bc292e5bac: Download complete 01:28:01 52dc419b0ee2: Download complete 01:28:01 4657fd5d0bcf: Verifying Checksum 01:28:01 4657fd5d0bcf: Download complete 01:28:01 df9b9388f04a: Download complete 01:28:01 6ad1cebc031e: Verifying Checksum 01:28:01 6ad1cebc031e: Download complete 01:28:01 df9b9388f04a: Pull complete 01:28:01 52dc419b0ee2: Pull complete 01:28:01 25bc292e5bac: Pull complete 01:28:01 114826534d7a: Verifying Checksum 01:28:01 114826534d7a: Download complete 01:28:01 8a3aa393b2d8: Verifying Checksum 01:28:01 8a3aa393b2d8: Download complete 01:28:05 114826534d7a: Pull complete 01:28:05 4657fd5d0bcf: Pull complete 01:28:05 6ad1cebc031e: Pull complete 01:28:08 8a3aa393b2d8: Pull complete 01:28:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:28:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:08 prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container 01:28:08 $ 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_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:28:13 $ docker top 3594e5cd742c0920b0da060bab11fd6a2a04d2ca13eda7077ab38408e76ef56e -eo pid,comm [Pipeline] { [Pipeline] echo 01:28:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:napa' [Pipeline] sh 01:28:13 + set -o pipefail 01:28:13 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:napa' 01:28:16 01:28:16 Monitoring /w/workspace/gexfoundry_device-modbus-go_napa (github.com/edgexfoundry/device-modbus-go)... 01:28:16 01:28:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/8dd50ca0-bdc5-4bae-9837-cf39eb4e0593/history/9194e352-7ce7-4a08-b6c2-278f1db87868 01:28:16 01:28:16 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:28:16 01:28:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:28:16 01:28:16 01:28:16 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:28:16 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:28:16 More details here: https://snyk.co/ue1NS 01:28:16 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 01:28:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 01:28:16 $ docker stop --time=1 3594e5cd742c0920b0da060bab11fd6a2a04d2ca13eda7077ab38408e76ef56e 01:28:17 $ docker rm -f --volumes 3594e5cd742c0920b0da060bab11fd6a2a04d2ca13eda7077ab38408e76ef56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:28:18 + git log --format=format:%s -1 1eee846d515ad1ad777188f96f1acf46ba88b479 [Pipeline] sh 01:28:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:28:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:19 prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container 01:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:28:19 $ docker top 834fabaddfa977ad5c7039ccf4e01647acad2f80817a7aa9bc42fd691d2f7bda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:28:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:19 [ssh-agent] Looking for ssh-agent implementation... 01:28:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:19 $ docker exec 834fabaddfa977ad5c7039ccf4e01647acad2f80817a7aa9bc42fd691d2f7bda ssh-agent 01:28:20 SSH_AUTH_SOCK=/tmp/ssh-E6YVsGtaAhJU/agent.32 01:28:20 SSH_AGENT_PID=38 01:28:20 Running ssh-add (command line suppressed) 01:28:20 Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_1747231538319590088.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_1747231538319590088.key) 01:28:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:20 + git semver tag 01:28:20 2024-05-14 01:28:20,647 [run_tag] DEBUG tag force:False 01:28:20 2024-05-14 01:28:20,647 [check_head_tag] DEBUG check head tag 01:28:20 2024-05-14 01:28:20,648 [execute] INFO git cat-file --batch-check 01:28:20 2024-05-14 01:28:20,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=) 01:28:20 2024-05-14 01:28:20,652 [execute] INFO git cat-file --batch 01:28:20 2024-05-14 01:28:20,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=) 01:28:20 2024-05-14 01:28:20,668 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 01:28:20 2024-05-14 01:28:20,668 [execute] INFO git tag -a v3.1.1-dev.1 -m v3.1.1-dev.1 01:28:20 2024-05-14 01:28:20,669 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.1-dev.1', '-m', 'v3.1.1-dev.1'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=None) 01:28:20 2024-05-14 01:28:20,673 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 01:28:20 3.1.1-dev.1 [Pipeline] } 01:28:20 $ docker exec --env ******** --env ******** 834fabaddfa977ad5c7039ccf4e01647acad2f80817a7aa9bc42fd691d2f7bda ssh-agent -k 01:28:20 unset SSH_AUTH_SOCK; 01:28:20 unset SSH_AGENT_PID; 01:28:20 echo Agent pid 38 killed; 01:28:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:21 + git semver [Pipeline] } 01:28:21 $ docker stop --time=1 834fabaddfa977ad5c7039ccf4e01647acad2f80817a7aa9bc42fd691d2f7bda 01:28:22 $ docker rm -f --volumes 834fabaddfa977ad5c7039ccf4e01647acad2f80817a7aa9bc42fd691d2f7bda [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:28:23 01:28:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:28:23 0.23.1-centos7: Pulling from edgex-lftools 01:28:23 ab5ef0e58194: Pulling fs layer 01:28:23 9712f1f96733: Pulling fs layer 01:28:23 63f879dbbcfc: Pulling fs layer 01:28:23 0d9ebad4ef96: Pulling fs layer 01:28:23 e9a5061849ea: Pulling fs layer 01:28:23 d747dcd14b5f: Pulling fs layer 01:28:23 2de7ff778b66: Pulling fs layer 01:28:23 d747dcd14b5f: Waiting 01:28:23 2de7ff778b66: Waiting 01:28:23 0d9ebad4ef96: Waiting 01:28:23 e9a5061849ea: Waiting 01:28:23 9712f1f96733: Verifying Checksum 01:28:23 9712f1f96733: Download complete 01:28:23 63f879dbbcfc: Verifying Checksum 01:28:23 63f879dbbcfc: Download complete 01:28:24 ab5ef0e58194: Download complete 01:28:24 e9a5061849ea: Verifying Checksum 01:28:24 e9a5061849ea: Download complete 01:28:24 d747dcd14b5f: Verifying Checksum 01:28:24 d747dcd14b5f: Download complete 01:28:24 0d9ebad4ef96: Verifying Checksum 01:28:24 0d9ebad4ef96: Download complete 01:28:24 2de7ff778b66: Verifying Checksum 01:28:24 2de7ff778b66: Download complete 01:28:26 ab5ef0e58194: Pull complete 01:28:26 9712f1f96733: Pull complete 01:28:27 63f879dbbcfc: Pull complete 01:28:30 0d9ebad4ef96: Pull complete 01:28:30 e9a5061849ea: Pull complete 01:28:30 d747dcd14b5f: Pull complete 01:28:32 2de7ff778b66: Pull complete 01:28:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:28:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:28:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:32 prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container 01:28:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:28:37 $ docker top e34fac7ee2282e4386b71e7ab972972861a9bd99a0da966259176ed24a295e29 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:28:37 provisioning config files... 01:28:37 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config5981299968732215953tmp 01:28:37 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config1196356195955703238tmp 01:28:37 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config10725512922423971803tmp [Pipeline] { [Pipeline] echo 01:28:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:28:38 ---> sigul-configuration.sh 01:28:38 gpg: directory `/root/.gnupg' created 01:28:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:28:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:28:38 gpg: keyring `/root/.gnupg/secring.gpg' created 01:28:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:28:38 gpg: CAST5 encrypted data 01:28:38 gpg: encrypted with 1 passphrase 01:28:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:28:38 + mkdir /home/jenkins 01:28:38 + mkdir /home/jenkins/sigul [Pipeline] sh 01:28:38 + 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 01:28:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:28:39 ---> sigul-install.sh 01:28:39 Sigul already installed; skipping installation. [Pipeline] sh 01:28:39 + git tag --list 01:28:39 0.7.1 01:28:39 v1.0.0 01:28:39 v1.1.0 01:28:39 v1.1.1 01:28:39 v1.2.2 01:28:39 v1.3.0 01:28:39 v1.3.1 01:28:39 v2.0.0 01:28:39 v2.1.0 01:28:39 v2.1.1 01:28:39 v2.2.0 01:28:39 v2.3.0 01:28:39 v3.0 01:28:39 v3.0.0 01:28:39 v3.1 01:28:39 v3.1.0 01:28:39 v3.1.0-dev.1 01:28:39 v3.1.0-dev.10 01:28:39 v3.1.0-dev.11 01:28:39 v3.1.0-dev.12 01:28:39 v3.1.0-dev.13 01:28:39 v3.1.0-dev.14 01:28:39 v3.1.0-dev.15 01:28:39 v3.1.0-dev.16 01:28:39 v3.1.0-dev.17 01:28:39 v3.1.0-dev.18 01:28:39 v3.1.0-dev.19 01:28:39 v3.1.0-dev.2 01:28:39 v3.1.0-dev.20 01:28:39 v3.1.0-dev.21 01:28:39 v3.1.0-dev.22 01:28:39 v3.1.0-dev.23 01:28:39 v3.1.0-dev.24 01:28:39 v3.1.0-dev.25 01:28:39 v3.1.0-dev.3 01:28:39 v3.1.0-dev.4 01:28:39 v3.1.0-dev.5 01:28:39 v3.1.0-dev.6 01:28:39 v3.1.0-dev.7 01:28:39 v3.1.0-dev.8 01:28:39 v3.1.0-dev.9 01:28:39 v3.1.1-dev.1 01:28:39 v3.2.0-dev.1 01:28:39 v3.2.0-dev.10 01:28:39 v3.2.0-dev.11 01:28:39 v3.2.0-dev.2 01:28:39 v3.2.0-dev.3 01:28:39 v3.2.0-dev.4 01:28:39 v3.2.0-dev.5 01:28:39 v3.2.0-dev.6 01:28:39 v3.2.0-dev.7 01:28:39 v3.2.0-dev.8 01:28:39 v3.2.0-dev.9 [Pipeline] sh 01:28:39 + lftools sign git-tag v3.1.1-dev.1 01:28:40 Signing Git tag with Sigul... 01:28:40 Signing v3.1.1-dev.1 [Pipeline] echo 01:28:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:28:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:28:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:28:41 $ docker stop --time=1 e34fac7ee2282e4386b71e7ab972972861a9bd99a0da966259176ed24a295e29 01:28:42 $ docker rm -f --volumes e34fac7ee2282e4386b71e7ab972972861a9bd99a0da966259176ed24a295e29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:28:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:28:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:43 prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container 01:28:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:28:43 $ docker top fd6ac9e36574be693e80b79d7948aa5137d125f980dadbaf950e9ec2f11c52ff -eo pid,comm 01:28:43 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). 01:28:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:28:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:43 [ssh-agent] Looking for ssh-agent implementation... 01:28:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:44 $ docker exec fd6ac9e36574be693e80b79d7948aa5137d125f980dadbaf950e9ec2f11c52ff ssh-agent 01:28:44 SSH_AUTH_SOCK=/tmp/ssh-APTZI6ACVdGX/agent.32 01:28:44 SSH_AGENT_PID=38 01:28:44 Running ssh-add (command line suppressed) 01:28:44 Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_13420605603515937223.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_13420605603515937223.key) 01:28:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:44 + git semver bump pre 01:28:44 2024-05-14 01:28:44,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 01:28:44 2024-05-14 01:28:44,751 [bump_version] DEBUG bumping version:3.1.1-dev.1 on axis:pre with prefix:dev 01:28:44 2024-05-14 01:28:44,751 [bump_version] DEBUG bumped version:3.1.1-dev.2 01:28:44 2024-05-14 01:28:44,751 [write_version] DEBUG write version:3.1.1-dev.2 to path:/w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa with force:True 01:28:44 2024-05-14 01:28:44,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 01:28:44 2024-05-14 01:28:44,751 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 01:28:44 2024-05-14 01:28:44,754 [execute] INFO git cat-file --batch-check 01:28:44 2024-05-14 01:28:44,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=False, shell=None, istream=) 01:28:44 2024-05-14 01:28:44,760 [execute] INFO git cat-file --batch 01:28:44 2024-05-14 01:28:44,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=False, shell=None, istream=) 01:28:44 2024-05-14 01:28:44,765 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 01:28:44 3.1.1-dev.2 [Pipeline] } 01:28:44 $ docker exec --env ******** --env ******** fd6ac9e36574be693e80b79d7948aa5137d125f980dadbaf950e9ec2f11c52ff ssh-agent -k 01:28:44 unset SSH_AUTH_SOCK; 01:28:44 unset SSH_AGENT_PID; 01:28:44 echo Agent pid 38 killed; 01:28:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:45 + git semver [Pipeline] } 01:28:45 $ docker stop --time=1 fd6ac9e36574be693e80b79d7948aa5137d125f980dadbaf950e9ec2f11c52ff 01:28:46 $ docker rm -f --volumes fd6ac9e36574be693e80b79d7948aa5137d125f980dadbaf950e9ec2f11c52ff [Pipeline] // withDockerContainer [Pipeline] sh 01:28:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:28:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:47 prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container 01:28:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:28:47 $ docker top 9844daa9a1db1a07f62230b998a8c2ed694c9430d9c1f4ab346c0659189e2127 -eo pid,comm 01:28:47 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). 01:28:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:28:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:47 [ssh-agent] Looking for ssh-agent implementation... 01:28:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:48 $ docker exec 9844daa9a1db1a07f62230b998a8c2ed694c9430d9c1f4ab346c0659189e2127 ssh-agent 01:28:48 SSH_AUTH_SOCK=/tmp/ssh-Yo18b9egh6Bj/agent.32 01:28:48 SSH_AGENT_PID=38 01:28:48 Running ssh-add (command line suppressed) 01:28:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_2682759755732441401.key (/w/workspace/gexfoundry_device-modbus-go_napa@tmp/private_key_2682759755732441401.key) 01:28:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:48 + git semver push 01:28:48 2024-05-14 01:28:48,758 [run_push] DEBUG push 01:28:48 2024-05-14 01:28:48,759 [execute] INFO git cat-file --batch-check 01:28:48 2024-05-14 01:28:48,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=False, shell=None, istream=) 01:28:48 2024-05-14 01:28:48,763 [execute] INFO git rev-list 18a3a0b11e3cba5cc0c8c2d1238e6d147eeb4907 -- 01:28:48 2024-05-14 01:28:48,763 [execute] DEBUG Popen(['git', 'rev-list', '18a3a0b11e3cba5cc0c8c2d1238e6d147eeb4907', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=False, shell=None, istream=None) 01:28:48 2024-05-14 01:28:48,772 [execute] INFO git fetch -v origin 01:28:48 2024-05-14 01:28:48,772 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=True, shell=None, istream=None) 01:28:50 2024-05-14 01:28:49,937 [run_push] DEBUG no remote changes detected 01:28:50 2024-05-14 01:28:49,937 [execute] INFO git push origin semver 01:28:50 2024-05-14 01:28:49,938 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa/.semver, universal_newlines=False, shell=None, istream=None) 01:28:51 2024-05-14 01:28:50,888 [run_push] DEBUG push all version tags 01:28:51 2024-05-14 01:28:50,888 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:28:51 2024-05-14 01:28:50,889 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_napa, universal_newlines=False, shell=None, istream=None) 01:28:51 2024-05-14 01:28:51,558 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_napa/.semver/napa 01:28:51 3.1.1-dev.2 [Pipeline] } 01:28:51 $ docker exec --env ******** --env ******** 9844daa9a1db1a07f62230b998a8c2ed694c9430d9c1f4ab346c0659189e2127 ssh-agent -k 01:28:51 unset SSH_AUTH_SOCK; 01:28:51 unset SSH_AGENT_PID; 01:28:51 echo Agent pid 38 killed; 01:28:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:52 + git semver [Pipeline] } 01:28:52 $ docker stop --time=1 9844daa9a1db1a07f62230b998a8c2ed694c9430d9c1f4ab346c0659189e2127 01:28:53 $ docker rm -f --volumes 9844daa9a1db1a07f62230b998a8c2ed694c9430d9c1f4ab346c0659189e2127 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:28:54 + [ -d /w/workspace/gexfoundry_device-modbus-go_napa/archives ] 01:28:54 + ls -al /w/workspace/gexfoundry_device-modbus-go_napa/archives 01:28:54 total 16 01:28:54 drwxr-xr-x 3 root root 4096 May 14 01:17 . 01:28:54 drwxrwxr-x 11 jenkins jenkins 4096 May 14 01:28 .. 01:28:54 drwxr-xr-x 2 root root 4096 May 14 01:17 cost 01:28:54 -rw-r--r-- 1 root root 86 May 14 01:17 cost.csv 01:28:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_napa/archives 01:28:54 + ls -al /w/workspace/gexfoundry_device-modbus-go_napa/archives 01:28:54 total 16 01:28:54 drwxr-xr-x 3 jenkins jenkins 4096 May 14 01:17 . 01:28:54 drwxrwxr-x 11 jenkins jenkins 4096 May 14 01:28 .. 01:28:54 drwxr-xr-x 2 jenkins jenkins 4096 May 14 01:17 cost 01:28:54 -rw-r--r-- 1 jenkins jenkins 86 May 14 01:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:28:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:28:55 ---> package-listing.sh 01:28:55 ++ facter osfamily 01:28:55 ++ tr '[:upper:]' '[:lower:]' 01:28:55 + OS_FAMILY=debian 01:28:55 + workspace=/w/workspace/gexfoundry_device-modbus-go_napa 01:28:55 + START_PACKAGES=/tmp/packages_start.txt 01:28:55 + END_PACKAGES=/tmp/packages_end.txt 01:28:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:28:55 + PACKAGES=/tmp/packages_start.txt 01:28:55 + '[' /w/workspace/gexfoundry_device-modbus-go_napa ']' 01:28:55 + PACKAGES=/tmp/packages_end.txt 01:28:55 + case "${OS_FAMILY}" in 01:28:55 + dpkg -l 01:28:55 + grep '^ii' 01:28:55 + '[' -f /tmp/packages_start.txt ']' 01:28:55 + '[' -f /tmp/packages_end.txt ']' 01:28:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:28:55 + '[' /w/workspace/gexfoundry_device-modbus-go_napa ']' 01:28:55 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_napa/archives/ 01:28:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_napa/archives/ [Pipeline] echo 01:28:55 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_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:28:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:56 prd-ubuntu20.04-docker-8c-8g-124 does not seem to be running inside a container 01:28:56 $ 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_napa/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_napa -v /w/workspace/gexfoundry_device-modbus-go_napa:/w/workspace/gexfoundry_device-modbus-go_napa:rw,z -v /w/workspace/gexfoundry_device-modbus-go_napa@tmp:/w/workspace/gexfoundry_device-modbus-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:28:56 $ docker top 0e1a9207713e61e2b2aee5f044e2c43384ac5e84a3fc4388592d584deb95b744 -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:57 + touch /tmp/pre-build-complete [Pipeline] sh 01:28:57 + mkdir -p /var/log/sysstat [Pipeline] sh 01:28:57 + ls /var/log/sa-host 01:28:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:57 provisioning config files... 01:28:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_napa@tmp/config1038769228001940036tmp [Pipeline] { [Pipeline] echo 01:28:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:28:58 ---> create-netrc.sh [Pipeline] } 01:28:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:28:58 ---> python-tools-install.sh [Pipeline] echo 01:28:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:28:58 ---> sudo-logs.sh 01:28:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:28:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:28:59 ---> job-cost.sh 01:28:59 lf-activate-venv: SKIPPING 01:28:59 DEBUG: total: 0.2199999988079071 01:28:59 INFO: Retrieving Stack Cost... 01:28:59 INFO: Retrieving Pricing Info for: v3-standard-8 01:29:00 INFO: Archiving Costs [Pipeline] echo 01:29:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:29:00 ---> logs-deploy.sh 01:29:00 lf-activate-venv: SKIPPING 01:29:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/napa/3 01:29:00 INFO: archiving workspace using pattern(s): 01:29:01 Archives upload complete. 01:29:01 INFO: archiving logs to Nexus