Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 89c845d2fde685b2112bd4b33853dabf0a8ef293 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-ssh3392657025957205022.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6704686443274474632.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17001293143910302827.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh16150361082340001765.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7377130563171181911.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1794 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 89c845d2fde685b2112bd4b33853dabf0a8ef293 (main) Commit message: "Merge pull request #378 from hahattan/internal" > git config core.sparsecheckout # timeout=10 > git checkout -f 89c845d2fde685b2112bd4b33853dabf0a8ef293 # timeout=10 > git rev-list --no-walk 6ac2f228c9cdb4867ad7b9ddd2bd05e0baf6701b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:14:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:14:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:14:39 ========================================================= 07:14:39 EdgeX Global Pipelines Version Info 07:14:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:14:40 ------------------- 07:14:40 stable info: 07:14:40 ------------------- 07:14:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:14:40 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 07:14:40 Message: update stable to v1.0.239 07:14:41 ------------------- 07:14:41 experimental info: 07:14:41 ------------------- 07:14:41 Commited By: **** collab-it+edgex@linuxfoundation.org 07:14:41 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 07:14:41 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 89c845d2fde685b2112bd4b33853dabf0a8ef293 [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 89c845d [Pipeline] echo 07:14:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:41 provisioning config files... 07:14:41 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14851328872295954955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:41 ---> docker-login.sh 07:14:41 nexus3.edgexfoundry.org:10001 07:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:42 Configure a credential helper to remove this warning. See 07:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:42 07:14:42 Login Succeeded 07:14:42 nexus3.edgexfoundry.org:10002 07:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:42 Configure a credential helper to remove this warning. See 07:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:42 07:14:42 Login Succeeded 07:14:42 nexus3.edgexfoundry.org:10003 07:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:42 Configure a credential helper to remove this warning. See 07:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:42 07:14:42 Login Succeeded 07:14:42 nexus3.edgexfoundry.org:10004 07:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:42 Configure a credential helper to remove this warning. See 07:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:42 07:14:42 Login Succeeded 07:14:42 docker.io 07:14:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:43 Configure a credential helper to remove this warning. See 07:14:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:43 07:14:43 Login Succeeded 07:14:43 ---> docker-login.sh ends [Pipeline] } 07:14:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:14:43 + git rev-list -1 --merges 89c845d2fde685b2112bd4b33853dabf0a8ef293~1..89c845d2fde685b2112bd4b33853dabf0a8ef293 [Pipeline] echo 07:14:43 -----------> git rev-list -1 --merges 89c845d2fde685b2112bd4b33853dabf0a8ef293~1..89c845d2fde685b2112bd4b33853dabf0a8ef293 89c845d2fde685b2112bd4b33853dabf0a8ef293 07:14:43 89c845d2fde685b2112bd4b33853dabf0a8ef293 [false] [Pipeline] sh 07:14:43 + git log --format=format:%s -1 89c845d2fde685b2112bd4b33853dabf0a8ef293 [Pipeline] echo 07:14:43 ========================================================= 07:14:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:14:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:44 + git log --format=format:%s -1 89c845d2fde685b2112bd4b33853dabf0a8ef293 [Pipeline] echo 07:14:44 [semverPrep] GIT_COMMIT: 89c845d2fde685b2112bd4b33853dabf0a8ef293, Commit Message: Merge pull request #378 from hahattan/internal [Pipeline] echo 07:14:44 [semverPrep] This is not a build commit. [Pipeline] sh 07:14:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:14:44 + grep -v github /etc/ssh/ssh_known_hosts 07:14:44 + [ -e /tmp/ssh_known_hosts ] 07:14:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:14:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:14:44 + sudo tee -a /etc/ssh/ssh_known_hosts 07:14:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:14:44 07:14:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:14:45 0.1.4: Pulling from edgex-devops/py-git-semver 07:14:45 b85a868b505f: Pulling fs layer 07:14:45 e2be974225ed: Pulling fs layer 07:14:45 339a4e72a1f5: Pulling fs layer 07:14:45 988bab9f4d93: Pulling fs layer 07:14:45 1469e6f7b9e6: Pulling fs layer 07:14:45 eaf3925da568: Pulling fs layer 07:14:45 bab4dde63d76: Pulling fs layer 07:14:45 bde34c3a00c8: Pulling fs layer 07:14:45 b352a97aabf1: Pulling fs layer 07:14:45 4872d77fe225: Pulling fs layer 07:14:45 5851b861e8e6: Pulling fs layer 07:14:45 988bab9f4d93: Waiting 07:14:45 bde34c3a00c8: Waiting 07:14:45 b352a97aabf1: Waiting 07:14:45 1469e6f7b9e6: Waiting 07:14:45 eaf3925da568: Waiting 07:14:45 4872d77fe225: Waiting 07:14:45 bab4dde63d76: Waiting 07:14:45 e2be974225ed: Download complete 07:14:45 988bab9f4d93: Download complete 07:14:45 339a4e72a1f5: Verifying Checksum 07:14:45 339a4e72a1f5: Download complete 07:14:45 1469e6f7b9e6: Verifying Checksum 07:14:45 1469e6f7b9e6: Download complete 07:14:45 eaf3925da568: Verifying Checksum 07:14:45 eaf3925da568: Download complete 07:14:45 bde34c3a00c8: Verifying Checksum 07:14:45 bde34c3a00c8: Download complete 07:14:45 b352a97aabf1: Verifying Checksum 07:14:45 b352a97aabf1: Download complete 07:14:45 4872d77fe225: Verifying Checksum 07:14:45 4872d77fe225: Download complete 07:14:45 5851b861e8e6: Verifying Checksum 07:14:45 5851b861e8e6: Download complete 07:14:45 b85a868b505f: Verifying Checksum 07:14:45 b85a868b505f: Download complete 07:14:45 bab4dde63d76: Verifying Checksum 07:14:45 bab4dde63d76: Download complete 07:14:46 b85a868b505f: Pull complete 07:14:46 e2be974225ed: Pull complete 07:14:47 339a4e72a1f5: Pull complete 07:14:47 988bab9f4d93: Pull complete 07:14:47 1469e6f7b9e6: Pull complete 07:14:47 eaf3925da568: Pull complete 07:14:49 bab4dde63d76: Pull complete 07:14:49 bde34c3a00c8: Pull complete 07:14:49 b352a97aabf1: Pull complete 07:14:49 4872d77fe225: Pull complete 07:14:49 5851b861e8e6: Pull complete 07:14:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:14:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:14:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:49 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 07:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:14:53 $ docker top 3cc3c43fb8ea3a5de8ba9c707af90b461e2bd94df4f65f1e9d353a0ca92adda8 -eo pid,comm 07:14:53 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). 07:14:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:14:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:53 [ssh-agent] Looking for ssh-agent implementation... 07:14:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:53 $ docker exec 3cc3c43fb8ea3a5de8ba9c707af90b461e2bd94df4f65f1e9d353a0ca92adda8 ssh-agent 07:14:54 SSH_AUTH_SOCK=/tmp/ssh-YiAYMB95VhkH/agent.33 07:14:54 SSH_AGENT_PID=39 07:14:54 Running ssh-add (command line suppressed) 07:14:54 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18093020235449624556.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_18093020235449624556.key) 07:14:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:54 + git tag --points-at HEAD [Pipeline] } 07:14:54 $ docker exec --env ******** --env ******** 3cc3c43fb8ea3a5de8ba9c707af90b461e2bd94df4f65f1e9d353a0ca92adda8 ssh-agent -k 07:14:54 unset SSH_AUTH_SOCK; 07:14:54 unset SSH_AGENT_PID; 07:14:54 echo Agent pid 39 killed; 07:14:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:14:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:14:54 [ssh-agent] Looking for ssh-agent implementation... 07:14:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:14:54 $ docker exec 3cc3c43fb8ea3a5de8ba9c707af90b461e2bd94df4f65f1e9d353a0ca92adda8 ssh-agent 07:14:54 SSH_AUTH_SOCK=/tmp/ssh-tKCIV3yPmjC9/agent.71 07:14:54 SSH_AGENT_PID=77 07:14:54 Running ssh-add (command line suppressed) 07:14:54 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12496322183454966823.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12496322183454966823.key) 07:14:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:14:55 + git semver init 07:14:55 2022-09-28 07:14:55,357 [run_init] DEBUG init version:0.0.0 force:False 07:14:55 2022-09-28 07:14:55,358 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:14:55 2022-09-28 07:14:55,359 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:14:55 2022-09-28 07:14:55,359 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:14:56 2022-09-28 07:14:56,258 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:14:56 2022-09-28 07:14:56,259 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:14:56 2022-09-28 07:14:56,259 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:14:56 2022-09-28 07:14:56,259 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:14:56 2.3.0-dev.15 [Pipeline] } 07:14:56 $ docker exec --env ******** --env ******** 3cc3c43fb8ea3a5de8ba9c707af90b461e2bd94df4f65f1e9d353a0ca92adda8 ssh-agent -k 07:14:56 unset SSH_AUTH_SOCK; 07:14:56 unset SSH_AGENT_PID; 07:14:56 echo Agent pid 77 killed; 07:14:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:14:56 + git semver [Pipeline] } 07:14:57 $ docker stop --time=1 3cc3c43fb8ea3a5de8ba9c707af90b461e2bd94df4f65f1e9d353a0ca92adda8 07:14:58 $ docker rm -f 3cc3c43fb8ea3a5de8ba9c707af90b461e2bd94df4f65f1e9d353a0ca92adda8 [Pipeline] // withDockerContainer [Pipeline] sh 07:14:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:14:58 Stashed 1 file(s) [Pipeline] echo 07:14:58 [edgeXSemver]: initialized semver on version 2.3.0-dev.15 [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 07:14:59 provisioning config files... 07:14:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7172338616491975259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:59 ---> docker-login.sh 07:14:59 nexus3.edgexfoundry.org:10001 07:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:59 Configure a credential helper to remove this warning. See 07:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:59 07:14:59 Login Succeeded 07:14:59 nexus3.edgexfoundry.org:10002 07:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:59 Configure a credential helper to remove this warning. See 07:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:59 07:14:59 Login Succeeded 07:14:59 nexus3.edgexfoundry.org:10003 07:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:59 Configure a credential helper to remove this warning. See 07:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:59 07:14:59 Login Succeeded 07:14:59 nexus3.edgexfoundry.org:10004 07:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:59 Configure a credential helper to remove this warning. See 07:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:59 07:14:59 Login Succeeded 07:14:59 docker.io 07:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:00 Configure a credential helper to remove this warning. See 07:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:00 07:15:00 Login Succeeded 07:15:00 ---> docker-login.sh ends [Pipeline] } 07:15:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:00 ========================================================= 07:15:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:15:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:00 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:15:00 Sending build context to Docker daemon 6.15MB 07:15:00 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:15:00 Step 2/11 : FROM ${BASE} AS builder 07:15:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:15:00 2408cc74d12b: Pulling fs layer 07:15:00 ea60b727a1ce: Pulling fs layer 07:15:00 30c4a7721957: Pulling fs layer 07:15:00 370296b7ddb6: Pulling fs layer 07:15:00 7c6cee850709: Pulling fs layer 07:15:00 39a5fcdaea64: Pulling fs layer 07:15:00 d94ebbe4e438: Pulling fs layer 07:15:00 bcfd1f05c69d: Pulling fs layer 07:15:00 59ccb84bbe0f: Pulling fs layer 07:15:00 370296b7ddb6: Waiting 07:15:00 7c6cee850709: Waiting 07:15:00 39a5fcdaea64: Waiting 07:15:00 d94ebbe4e438: Waiting 07:15:00 bcfd1f05c69d: Waiting 07:15:00 59ccb84bbe0f: Waiting 07:15:00 30c4a7721957: Verifying Checksum 07:15:00 30c4a7721957: Download complete 07:15:00 ea60b727a1ce: Verifying Checksum 07:15:00 ea60b727a1ce: Download complete 07:15:00 7c6cee850709: Download complete 07:15:00 39a5fcdaea64: Download complete 07:15:00 2408cc74d12b: Download complete 07:15:00 d94ebbe4e438: Verifying Checksum 07:15:00 d94ebbe4e438: Download complete 07:15:00 2408cc74d12b: Pull complete 07:15:01 ea60b727a1ce: Pull complete 07:15:01 30c4a7721957: Pull complete 07:15:01 59ccb84bbe0f: Verifying Checksum 07:15:01 59ccb84bbe0f: Download complete 07:15:01 bcfd1f05c69d: Verifying Checksum 07:15:01 bcfd1f05c69d: Download complete 07:15:01 370296b7ddb6: Verifying Checksum 07:15:01 370296b7ddb6: Download complete 07:15:05 370296b7ddb6: Pull complete 07:15:05 7c6cee850709: Pull complete 07:15:05 39a5fcdaea64: Pull complete 07:15:05 d94ebbe4e438: Pull complete 07:15:07 bcfd1f05c69d: Pull complete 07:15:08 59ccb84bbe0f: Pull complete 07:15:08 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 07:15:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:15:08 ---> a4fb48ad2a94 07:15:08 Step 3/11 : ARG ADD_BUILD_TAGS="" 07:15:14 Still waiting to schedule task 07:15:14 ‘prd-ubuntu18.04-docker-8c-8g-1604’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:15:14 ‘prd-ubuntu20.04-docker-8c-8g-1797’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 07:15:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1795’ is offline 07:15:18 ---> Running in 1ff134c0644a 07:15:18 Removing intermediate container 1ff134c0644a 07:15:18 ---> 4a5c89bc2599 07:15:18 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:15:19 ---> Running in fb1eb193c4b1 07:15:20 Removing intermediate container fb1eb193c4b1 07:15:20 ---> c25fced69db3 07:15:20 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:20 ---> Running in bf1314107491 07:15:21 Removing intermediate container bf1314107491 07:15:21 ---> caff135785e4 07:15:21 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:15:21 ---> Running in a5e01997ce6a 07:15:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:15:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:15:23 (1/8) Installing openssh-keygen (9.0_p1-r2) 07:15:23 (2/8) Installing libedit (20210910.3.1-r0) 07:15:23 (3/8) Installing openssh-client-common (9.0_p1-r2) 07:15:23 (4/8) Installing openssh-client-default (9.0_p1-r2) 07:15:23 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 07:15:23 (6/8) Installing openssh-server-common (9.0_p1-r2) 07:15:23 (7/8) Installing openssh-server (9.0_p1-r2) 07:15:23 (8/8) Installing openssh (9.0_p1-r2) 07:15:23 Executing busybox-1.35.0-r13.trigger 07:15:23 OK: 217 MiB in 59 packages 07:15:25 Removing intermediate container a5e01997ce6a 07:15:25 ---> 7d8461ab8093 07:15:25 Step 7/11 : WORKDIR /device-modbus-go 07:15:26 ---> Running in f6dbce4cf70a 07:15:26 Removing intermediate container f6dbce4cf70a 07:15:26 ---> 52146bfec222 07:15:26 Step 8/11 : COPY go.mod vendor* ./ 07:15:27 ---> ad291535c061 07:15:27 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:15:27 ---> Running in c8b9ec3a27b9 07:16:00 Removing intermediate container c8b9ec3a27b9 07:16:00 ---> f1baa73b8a25 07:16:00 Step 10/11 : COPY . . 07:16:00 ---> 545d9557a83e 07:16:00 Step 11/11 : RUN ${MAKE} 07:16:00 ---> Running in 890c91843428 07:16:00 noop 07:16:01 Removing intermediate container 890c91843428 07:16:01 ---> 38f99ada9a1d 07:16:01 Successfully built 38f99ada9a1d 07:16:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:02 + docker inspect -f . ci-base-image-x86_64 07:16:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:02 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 07:16:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:16:03 $ docker top c0186e7ad9dfa052f2a6c2b4a5a943360ca27e3708dfa0d3d945c86ad7355a2e -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:03 + go version 07:16:03 go version go1.18.3 linux/amd64 [Pipeline] } 07:16:03 $ docker stop --time=1 c0186e7ad9dfa052f2a6c2b4a5a943360ca27e3708dfa0d3d945c86ad7355a2e 07:16:04 $ docker rm -f c0186e7ad9dfa052f2a6c2b4a5a943360ca27e3708dfa0d3d945c86ad7355a2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:05 + docker inspect -f . ci-base-image-x86_64 07:16:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:05 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 07:16:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:16:05 $ docker top c0113a950ed8d3e531d9027d24852c11d711dcbefc511bb11048478348329a7b -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:05 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:16:06 + make test 07:16:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:16:06 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:16:14 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:16:14 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements 07:16:21 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 07:16:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:16:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:16:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:16:23 ./bin/test-attribution-txt.sh [Pipeline] echo 07:16:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:16:23 $ docker stop --time=1 c0113a950ed8d3e531d9027d24852c11d711dcbefc511bb11048478348329a7b 07:16:29 $ docker rm -f c0113a950ed8d3e531d9027d24852c11d711dcbefc511bb11048478348329a7b [Pipeline] // withDockerContainer [Pipeline] sh 07:16:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:16:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:16:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:16:30 + ls -al . 07:16:30 total 188 07:16:30 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 07:16 . 07:16:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:14 .. 07:16:30 -rw-rw-r-- 1 jenkins jenkins 140 Sep 28 07:14 .dockerignore 07:16:30 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 07:16 .git 07:16:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:14 .github 07:16:30 -rw-rw-r-- 1 jenkins jenkins 331 Sep 28 07:14 .gitignore 07:16:30 -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 07:14 .golangci.yml 07:16:30 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 07:14 .semver 07:16:30 -rw-rw-r-- 1 jenkins jenkins 10121 Sep 28 07:14 Attribution.txt 07:16:30 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 28 07:14 CHANGELOG.md 07:16:30 -rw-rw-r-- 1 jenkins jenkins 1606 Sep 28 07:14 Dockerfile 07:16:30 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 07:14 GOVERNANCE.md 07:16:30 -rw-rw-r-- 1 jenkins jenkins 680 Sep 28 07:14 Jenkinsfile 07:16:30 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 07:14 LICENSE 07:16:30 -rw-rw-r-- 1 jenkins jenkins 2101 Sep 28 07:14 Makefile 07:16:30 -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 07:14 OWNERS.md 07:16:30 -rw-rw-r-- 1 jenkins jenkins 4061 Sep 28 07:14 README.md 07:16:30 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 07:14 VERSION 07:16:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 07:14 bin 07:16:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:14 cmd 07:16:30 -rw-r--r-- 1 jenkins jenkins 23241 Sep 28 07:16 coverage.out 07:16:30 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 28 07:14 go.mod 07:16:30 -rw-rw-r-- 1 jenkins jenkins 38288 Sep 28 07:14 go.sum 07:16:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:14 internal 07:16:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 07:14 simulator 07:16:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:14 snap 07:16:30 -rw-rw-r-- 1 jenkins jenkins 229 Sep 28 07:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:30 + 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=89c845d2fde685b2112bd4b33853dabf0a8ef293 --label arch=amd64 --label version=2.3.0-dev.15 . 07:16:30 Sending build context to Docker daemon 6.174MB 07:16:30 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 07:16:30 Step 2/24 : FROM ${BASE} AS builder 07:16:30 ---> 38f99ada9a1d 07:16:30 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:16:31 ---> Running in e1ace2bd7e4f 07:16:31 Removing intermediate container e1ace2bd7e4f 07:16:31 ---> 6178b604bd9d 07:16:31 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:16:32 ---> Running in 405fac67ffd8 07:16:32 Removing intermediate container 405fac67ffd8 07:16:32 ---> 8b581d347502 07:16:32 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:32 ---> Running in 21ce3a5db2ef 07:16:34 Removing intermediate container 21ce3a5db2ef 07:16:34 ---> b56feeef9939 07:16:34 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:16:34 ---> Running in 4812f46f7b2d 07:16:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:16:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:16:36 OK: 217 MiB in 59 packages 07:16:36 Removing intermediate container 4812f46f7b2d 07:16:36 ---> 05f2d2720488 07:16:36 Step 7/24 : WORKDIR /device-modbus-go 07:16:36 ---> Running in 2a7b2982f271 07:16:36 Removing intermediate container 2a7b2982f271 07:16:36 ---> 7c6153329751 07:16:36 Step 8/24 : COPY go.mod vendor* ./ 07:16:36 ---> abb13d47f008 07:16:36 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:16:36 ---> Running in 1a26651acfbc 07:16:37 Removing intermediate container 1a26651acfbc 07:16:37 ---> 48a6f52f4f28 07:16:37 Step 10/24 : COPY . . 07:16:37 ---> 46357b651b33 07:16:37 Step 11/24 : RUN ${MAKE} 07:16:37 ---> Running in 95e7eba39cdc 07:16:38 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 07:17:04 Removing intermediate container 95e7eba39cdc 07:17:04 ---> 4b23295687d9 07:17:04 Step 12/24 : FROM alpine:3.14 07:17:04 3.14: Pulling from library/alpine 07:17:04 c7ed990a2339: Pulling fs layer 07:17:04 c7ed990a2339: Verifying Checksum 07:17:04 c7ed990a2339: Download complete 07:17:04 c7ed990a2339: Pull complete 07:17:04 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 07:17:04 Status: Downloaded newer image for alpine:3.14 07:17:04 ---> dd53f409bf0b 07:17:04 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:17:04 ---> Running in 20f89d84aa5b 07:17:04 Removing intermediate container 20f89d84aa5b 07:17:04 ---> dc93170faef1 07:17:04 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:04 ---> Running in 8f40137c5c37 07:17:05 Removing intermediate container 8f40137c5c37 07:17:05 ---> c60c36853471 07:17:05 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 07:17:05 ---> Running in 65484e2c65c2 07:17:06 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:17:07 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:17:07 (1/6) Installing dumb-init (1.2.5-r1) 07:17:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:17:07 (3/6) Installing libsodium (1.0.18-r0) 07:17:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:17:07 (5/6) Installing libzmq (4.3.4-r0) 07:17:07 (6/6) Installing zeromq (4.3.4-r0) 07:17:07 Executing busybox-1.33.1-r8.trigger 07:17:07 OK: 8 MiB in 20 packages 07:17:08 Removing intermediate container 65484e2c65c2 07:17:08 ---> b2e929eed6d9 07:17:08 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 07:17:09 ---> 9d1b91a29ac1 07:17:09 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 07:17:09 ---> d8ffe2c7c4fb 07:17:09 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:17:09 ---> 54474307f56e 07:17:09 Step 19/24 : EXPOSE 59901 07:17:09 ---> Running in cd8cc2913d0a 07:17:09 Removing intermediate container cd8cc2913d0a 07:17:09 ---> 1c4b95d0279e 07:17:09 Step 20/24 : ENTRYPOINT ["/device-modbus"] 07:17:09 ---> Running in 8acd2127cf5a 07:17:10 Removing intermediate container 8acd2127cf5a 07:17:10 ---> 6d2e7765b084 07:17:10 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:17:10 ---> Running in 25d1a0ebbf46 07:17:10 Removing intermediate container 25d1a0ebbf46 07:17:10 ---> 35a2b131e4a2 07:17:10 Step 22/24 : LABEL arch=amd64 07:17:10 ---> Running in cca1a4e79172 07:17:10 Removing intermediate container cca1a4e79172 07:17:10 ---> dabb934c082c 07:17:10 Step 23/24 : LABEL git_sha=89c845d2fde685b2112bd4b33853dabf0a8ef293 07:17:10 ---> Running in e5c62d44dd7c 07:17:11 Removing intermediate container e5c62d44dd7c 07:17:11 ---> 9192bd25aa53 07:17:11 Step 24/24 : LABEL version=2.3.0-dev.15 07:17:11 ---> Running in 3c7a71498e3b 07:17:11 Removing intermediate container 3c7a71498e3b 07:17:11 ---> b952ee5f3fd4 07:17:11 [Warning] One or more build-args [ARCH] were not consumed 07:17:11 Successfully built b952ee5f3fd4 07:17:11 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:17:11 provisioning config files... 07:17:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2603257321274178119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:11 ---> docker-login.sh 07:17:11 nexus3.edgexfoundry.org:10001 07:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:11 Configure a credential helper to remove this warning. See 07:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:11 07:17:11 Login Succeeded 07:17:11 nexus3.edgexfoundry.org:10002 07:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:11 Configure a credential helper to remove this warning. See 07:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:11 07:17:11 Login Succeeded 07:17:11 nexus3.edgexfoundry.org:10003 07:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:11 Configure a credential helper to remove this warning. See 07:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:11 07:17:11 Login Succeeded 07:17:11 nexus3.edgexfoundry.org:10004 07:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:11 Configure a credential helper to remove this warning. See 07:17:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:11 07:17:11 Login Succeeded 07:17:11 docker.io 07:17:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:12 Configure a credential helper to remove this warning. See 07:17:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:12 07:17:12 Login Succeeded 07:17:12 ---> docker-login.sh ends [Pipeline] } 07:17:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:17:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:17:12 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:17:12 89c845d2fde685b2112bd4b33853dabf0a8ef293 07:17:12 latest 07:17:12 2.3.0-dev.15 07:17:12 89c845d2fde685b2112bd4b33853dabf0a8ef293-2.3.0-dev.15 07:17:12 main 07:17:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:89c845d2fde685b2112bd4b33853dabf0a8ef293 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:89c845d2fde685b2112bd4b33853dabf0a8ef293 07:17:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:17:13 e9bc30b3d634: Preparing 07:17:13 24d38fd6d59e: Preparing 07:17:13 e0e8ae9cba3f: Preparing 07:17:13 b6cf319f31c2: Preparing 07:17:13 badd9421ca75: Preparing 07:17:13 63493a9ab2d4: Preparing 07:17:13 63493a9ab2d4: Waiting 07:17:13 badd9421ca75: Pushed 07:17:13 e9bc30b3d634: Pushed 07:17:13 24d38fd6d59e: Pushed 07:17:13 63493a9ab2d4: Layer already exists 07:17:13 b6cf319f31c2: Pushed 07:17:15 e0e8ae9cba3f: Pushed 07:17:15 89c845d2fde685b2112bd4b33853dabf0a8ef293: digest: sha256:9bd04f64a8d3e2429799156fd48438dcb0cbec5927891e6132a1bd0856677774 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:15 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:17:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:17:16 e9bc30b3d634: Preparing 07:17:16 24d38fd6d59e: Preparing 07:17:16 e0e8ae9cba3f: Preparing 07:17:16 b6cf319f31c2: Preparing 07:17:16 badd9421ca75: Preparing 07:17:16 63493a9ab2d4: Preparing 07:17:16 63493a9ab2d4: Waiting 07:17:16 e0e8ae9cba3f: Layer already exists 07:17:16 b6cf319f31c2: Layer already exists 07:17:16 badd9421ca75: Layer already exists 07:17:16 24d38fd6d59e: Layer already exists 07:17:16 e9bc30b3d634: Layer already exists 07:17:16 63493a9ab2d4: Layer already exists 07:17:16 latest: digest: sha256:9bd04f64a8d3e2429799156fd48438dcb0cbec5927891e6132a1bd0856677774 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:16 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:16 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.15 07:17:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:17:16 e9bc30b3d634: Preparing 07:17:16 24d38fd6d59e: Preparing 07:17:16 e0e8ae9cba3f: Preparing 07:17:16 b6cf319f31c2: Preparing 07:17:16 badd9421ca75: Preparing 07:17:16 63493a9ab2d4: Preparing 07:17:16 63493a9ab2d4: Waiting 07:17:16 b6cf319f31c2: Layer already exists 07:17:16 badd9421ca75: Layer already exists 07:17:16 e9bc30b3d634: Layer already exists 07:17:16 24d38fd6d59e: Layer already exists 07:17:16 e0e8ae9cba3f: Layer already exists 07:17:16 63493a9ab2d4: Layer already exists 07:17:16 2.3.0-dev.15: digest: sha256:9bd04f64a8d3e2429799156fd48438dcb0cbec5927891e6132a1bd0856677774 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:89c845d2fde685b2112bd4b33853dabf0a8ef293-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:17 + docker push nexus3.edgexfoundry.org:10004/device-modbus:89c845d2fde685b2112bd4b33853dabf0a8ef293-2.3.0-dev.15 07:17:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:17:17 e9bc30b3d634: Preparing 07:17:17 24d38fd6d59e: Preparing 07:17:17 e0e8ae9cba3f: Preparing 07:17:17 b6cf319f31c2: Preparing 07:17:17 badd9421ca75: Preparing 07:17:17 63493a9ab2d4: Preparing 07:17:17 63493a9ab2d4: Waiting 07:17:17 badd9421ca75: Layer already exists 07:17:17 e0e8ae9cba3f: Layer already exists 07:17:17 24d38fd6d59e: Layer already exists 07:17:17 e9bc30b3d634: Layer already exists 07:17:17 b6cf319f31c2: Layer already exists 07:17:17 63493a9ab2d4: Layer already exists 07:17:17 89c845d2fde685b2112bd4b33853dabf0a8ef293-2.3.0-dev.15: digest: sha256:9bd04f64a8d3e2429799156fd48438dcb0cbec5927891e6132a1bd0856677774 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:17 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:18 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:17:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:17:18 e9bc30b3d634: Preparing 07:17:18 24d38fd6d59e: Preparing 07:17:18 e0e8ae9cba3f: Preparing 07:17:18 b6cf319f31c2: Preparing 07:17:18 badd9421ca75: Preparing 07:17:18 63493a9ab2d4: Preparing 07:17:18 63493a9ab2d4: Waiting 07:17:18 24d38fd6d59e: Layer already exists 07:17:18 e9bc30b3d634: Layer already exists 07:17:18 badd9421ca75: Layer already exists 07:17:18 b6cf319f31c2: Layer already exists 07:17:18 e0e8ae9cba3f: Layer already exists 07:17:18 63493a9ab2d4: Layer already exists 07:17:18 main: digest: sha256:9bd04f64a8d3e2429799156fd48438dcb0cbec5927891e6132a1bd0856677774 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:17:18 ===================================================== [Pipeline] echo 07:17:18 taggedImages: 07:17:18 - nexus3.edgexfoundry.org:10004/device-modbus:89c845d2fde685b2112bd4b33853dabf0a8ef293 07:17:18 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:17:18 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.15 07:17:18 - nexus3.edgexfoundry.org:10004/device-modbus:89c845d2fde685b2112bd4b33853dabf0a8ef293-2.3.0-dev.15 07:17:18 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:18 07:17:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:18 latest: Pulling from edgex-lftools-log-publisher 07:17:18 5eb5b503b376: Pulling fs layer 07:17:18 5c69ac0246d0: Pulling fs layer 07:17:18 ec43610c2a17: Pulling fs layer 07:17:18 3a2ae6a8a46f: Pulling fs layer 07:17:18 33b1e0a273af: Pulling fs layer 07:17:18 5d3b04190fa2: Pulling fs layer 07:17:18 2f39f015ded8: Pulling fs layer 07:17:18 5d3b04190fa2: Waiting 07:17:18 3a2ae6a8a46f: Waiting 07:17:18 2f39f015ded8: Waiting 07:17:18 5c69ac0246d0: Verifying Checksum 07:17:18 5c69ac0246d0: Download complete 07:17:18 3a2ae6a8a46f: Verifying Checksum 07:17:18 3a2ae6a8a46f: Download complete 07:17:18 33b1e0a273af: Verifying Checksum 07:17:18 33b1e0a273af: Download complete 07:17:19 ec43610c2a17: Verifying Checksum 07:17:19 ec43610c2a17: Download complete 07:17:19 5d3b04190fa2: Download complete 07:17:19 5eb5b503b376: Verifying Checksum 07:17:19 5eb5b503b376: Download complete 07:17:19 2f39f015ded8: Download complete 07:17:20 5eb5b503b376: Pull complete 07:17:20 5c69ac0246d0: Pull complete 07:17:20 ec43610c2a17: Pull complete 07:17:21 3a2ae6a8a46f: Pull complete 07:17:21 33b1e0a273af: Pull complete 07:17:21 5d3b04190fa2: Pull complete 07:17:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1798 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:17:23 Running in /w/workspace/device-modbus-go/54 [Pipeline] { [Pipeline] checkout 07:17:23 Selected Git installation does not exist. Using Default 07:17:23 The recommended git tool is: NONE 07:17:25 2f39f015ded8: Pull complete 07:17:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:17:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:25 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 07:17:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:17:30 using credential edgex-jenkins-ssh 07:17:30 Cloning the remote Git repository 07:17:31 $ docker top 5eb9db8317d3d91d71d8f6a12884a3885f53d034f47c30fb7d67132b3ea342a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:30 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:17:30 > git init /w/workspace/device-modbus-go/54 # timeout=10 07:17:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:17:30 > git --version # timeout=10 07:17:30 > git --version # 'git version 2.25.1' 07:17:30 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:30 Verifying host key using known hosts file 07:17:30 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 07:17:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:31 ---> job-cost.sh 07:17:31 lf-activate-venv: SKIPPING 07:17:31 INFO: No Stack... 07:17:31 INFO: Retrieving Pricing Info for: v3-standard-8 07:17:32 INFO: Archiving Costs [Pipeline] sh 07:17:32 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:17:32 + cut -d, -f6 [Pipeline] lock 07:17:32 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-54-stack-cost] 07:17:32 Resource [jenkins-edgexfoundry-device-modbus-go-main-54-stack-cost] did not exist. Created. 07:17:32 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:17:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:17:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:32 + echo total: 0.2199999988079071 [Pipeline] stash 07:17:32 Stashed 1 file(s) [Pipeline] } 07:17:32 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-54-stack-cost] [Pipeline] // lock [Pipeline] } 07:17:32 $ docker stop --time=1 5eb9db8317d3d91d71d8f6a12884a3885f53d034f47c30fb7d67132b3ea342a6 07:17:33 Avoid second fetch 07:17:33 Checking out Revision 89c845d2fde685b2112bd4b33853dabf0a8ef293 (main) 07:17:33 Commit message: "Merge pull request #378 from hahattan/internal" 07:17:34 07:17:34 GitHub has been notified of this commit’s build result 07:17:34 07:17:33 > git config core.sparsecheckout # timeout=10 07:17:33 > git checkout -f 89c845d2fde685b2112bd4b33853dabf0a8ef293 # timeout=10 07:17:34 $ docker rm -f 5eb9db8317d3d91d71d8f6a12884a3885f53d034f47c30fb7d67132b3ea342a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:17:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:17:34 % Total % Received % Xferd Average Speed Time Time Time Current 07:17:34 Dload Upload Total Spent Left Speed 07:17:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 07:17:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:17:35 + sudo tee /etc/docker/daemon.new 07:17:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:17:35 { 07:17:35 "registry-mirrors": [ 07:17:35 "https://nexus3.edgexfoundry.org:10001" 07:17:35 ], 07:17:35 "bip": "10.250.0.254/24", 07:17:35 "hosts": [ 07:17:35 "tcp://0.0.0.0:5555", 07:17:35 "unix:///var/run/docker.sock" 07:17:35 ], 07:17:35 "mtu": 1458, 07:17:35 "selinux-enabled": true, 07:17:35 "seccomp-profile": "/etc/docker/seccomp.json" 07:17:35 } [Pipeline] sh 07:17:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:17:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:17:54 provisioning config files... 07:17:54 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/54@tmp/config10655620096653409216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:55 ---> docker-login.sh 07:17:55 nexus3.edgexfoundry.org:10001 07:17:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:55 Configure a credential helper to remove this warning. See 07:17:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:55 07:17:55 Login Succeeded 07:17:55 nexus3.edgexfoundry.org:10002 07:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:56 Configure a credential helper to remove this warning. See 07:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:56 07:17:56 Login Succeeded 07:17:56 nexus3.edgexfoundry.org:10003 07:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:56 Configure a credential helper to remove this warning. See 07:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:56 07:17:56 Login Succeeded 07:17:56 nexus3.edgexfoundry.org:10004 07:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:57 Configure a credential helper to remove this warning. See 07:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:57 07:17:57 Login Succeeded 07:17:57 docker.io 07:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:17:57 Configure a credential helper to remove this warning. See 07:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:17:57 07:17:57 Login Succeeded 07:17:57 ---> docker-login.sh ends [Pipeline] } 07:17:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:17:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:17:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:17:58 ========================================================= 07:17:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:17:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:17:58 Sending build context to Docker daemon 3.196MB 07:17:58 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:17:58 Step 2/11 : FROM ${BASE} AS builder 07:17:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:17:58 b3c136eddcbf: Pulling fs layer 07:17:58 c0a3192eca97: Pulling fs layer 07:17:58 a050256f5b6f: Pulling fs layer 07:17:58 656be50a0ddc: Pulling fs layer 07:17:58 2bbca73fdf42: Pulling fs layer 07:17:58 46d945488cbd: Pulling fs layer 07:17:58 8a5474983e97: Pulling fs layer 07:17:58 329c88fbcd65: Pulling fs layer 07:17:58 656be50a0ddc: Waiting 07:17:58 2bbca73fdf42: Waiting 07:17:58 46d945488cbd: Waiting 07:17:58 8a5474983e97: Waiting 07:17:58 329c88fbcd65: Waiting 07:17:58 a050256f5b6f: Verifying Checksum 07:17:58 a050256f5b6f: Download complete 07:17:58 c0a3192eca97: Verifying Checksum 07:17:58 c0a3192eca97: Download complete 07:17:58 2bbca73fdf42: Verifying Checksum 07:17:58 2bbca73fdf42: Download complete 07:17:58 46d945488cbd: Download complete 07:17:58 b3c136eddcbf: Verifying Checksum 07:17:58 b3c136eddcbf: Download complete 07:18:00 329c88fbcd65: Verifying Checksum 07:18:00 329c88fbcd65: Download complete 07:18:01 8a5474983e97: Verifying Checksum 07:18:01 8a5474983e97: Download complete 07:18:01 b3c136eddcbf: Pull complete 07:18:01 656be50a0ddc: Verifying Checksum 07:18:01 656be50a0ddc: Download complete 07:18:02 c0a3192eca97: Pull complete 07:18:02 a050256f5b6f: Pull complete 07:18:14 656be50a0ddc: Pull complete 07:18:14 2bbca73fdf42: Pull complete 07:18:14 46d945488cbd: Pull complete 07:18:21 8a5474983e97: Pull complete 07:18:22 329c88fbcd65: Pull complete 07:18:22 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 07:18:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:18:22 ---> ff4287adb874 07:18:22 Step 3/11 : ARG ADD_BUILD_TAGS="" 07:18:24 ---> Running in e9d68f41233d 07:18:25 Removing intermediate container e9d68f41233d 07:18:25 ---> 659557b96767 07:18:25 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:18:25 ---> Running in e4ae0dfc3307 07:18:25 Removing intermediate container e4ae0dfc3307 07:18:25 ---> 927746c95ef2 07:18:25 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:18:25 ---> Running in ca2b3b8a31c5 07:18:27 Removing intermediate container ca2b3b8a31c5 07:18:27 ---> 3f5146f58377 07:18:27 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:18:27 ---> Running in 7ad70111bdc3 07:18:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:18:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:18:30 (1/8) Installing openssh-keygen (9.0_p1-r2) 07:18:30 (2/8) Installing libedit (20210910.3.1-r0) 07:18:30 (3/8) Installing openssh-client-common (9.0_p1-r2) 07:18:31 (4/8) Installing openssh-client-default (9.0_p1-r2) 07:18:31 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 07:18:31 (6/8) Installing openssh-server-common (9.0_p1-r2) 07:18:31 (7/8) Installing openssh-server (9.0_p1-r2) 07:18:31 (8/8) Installing openssh (9.0_p1-r2) 07:18:31 Executing busybox-1.35.0-r13.trigger 07:18:31 OK: 228 MiB in 59 packages 07:18:32 Removing intermediate container 7ad70111bdc3 07:18:32 ---> a82894ec23b5 07:18:32 Step 7/11 : WORKDIR /device-modbus-go 07:18:32 ---> Running in df561bf9524a 07:18:33 Removing intermediate container df561bf9524a 07:18:33 ---> d8b7d783d803 07:18:33 Step 8/11 : COPY go.mod vendor* ./ 07:18:33 ---> 793ad285de99 07:18:33 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:18:33 ---> Running in dbd19710ac1e 07:19:30 Removing intermediate container dbd19710ac1e 07:19:30 ---> 1a45722117b7 07:19:30 Step 10/11 : COPY . . 07:19:30 ---> 2fb80eb9485c 07:19:30 Step 11/11 : RUN ${MAKE} 07:19:30 ---> Running in 7000c22abbe5 07:19:30 noop 07:19:30 Removing intermediate container 7000c22abbe5 07:19:30 ---> 5d200c79f7a2 07:19:30 Successfully built 5d200c79f7a2 07:19:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:30 + docker inspect -f . ci-base-image-arm64 07:19:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:30 prd-ubuntu20.04-docker-arm64-4c-16g-1798 does not seem to be running inside a container 07:19:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/54 -v /w/workspace/device-modbus-go/54:/w/workspace/device-modbus-go/54:rw,z -v /w/workspace/device-modbus-go/54@tmp:/w/workspace/device-modbus-go/54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:19:32 $ docker top c9baa2f3879ec14c808d879b4ee38e266ba53583099ece252b3ce8ff9fa9eac9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:33 + go version 07:19:33 go version go1.18.3 linux/arm64 [Pipeline] } 07:19:33 $ docker stop --time=1 c9baa2f3879ec14c808d879b4ee38e266ba53583099ece252b3ce8ff9fa9eac9 07:19:34 $ docker rm -f c9baa2f3879ec14c808d879b4ee38e266ba53583099ece252b3ce8ff9fa9eac9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:35 + docker inspect -f . ci-base-image-arm64 07:19:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:35 prd-ubuntu20.04-docker-arm64-4c-16g-1798 does not seem to be running inside a container 07:19:35 $ 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/54 -v /w/workspace/device-modbus-go/54:/w/workspace/device-modbus-go/54:rw,z -v /w/workspace/device-modbus-go/54@tmp:/w/workspace/device-modbus-go/54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:19:36 $ docker top 59268e7e5a2eaf581d44ae656edc48f7f6970fc81ef9edca43dbec7c05dc786a -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:37 + git config --global --add safe.directory /w/workspace/device-modbus-go/54 [Pipeline] fileExists [Pipeline] sh 07:19:37 + make test 07:19:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:19:39 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:21:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:21:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements 07:21:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:21:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:21:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:21:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:21:42 ./bin/test-attribution-txt.sh [Pipeline] echo 07:21:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:21:42 $ docker stop --time=1 59268e7e5a2eaf581d44ae656edc48f7f6970fc81ef9edca43dbec7c05dc786a 07:21:44 $ docker rm -f 59268e7e5a2eaf581d44ae656edc48f7f6970fc81ef9edca43dbec7c05dc786a [Pipeline] // withDockerContainer [Pipeline] sh 07:21:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:21:45 Warning: overwriting stash ‘coverage-report’ 07:21:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:21:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:21:46 + ls -al . 07:21:46 total 184 07:21:46 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 07:19 . 07:21:46 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:17 .. 07:21:46 -rw-rw-r-- 1 jenkins jenkins 140 Sep 28 07:17 .dockerignore 07:21:46 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 07:17 .git 07:21:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:17 .github 07:21:46 -rw-rw-r-- 1 jenkins jenkins 331 Sep 28 07:17 .gitignore 07:21:46 -rw-rw-r-- 1 jenkins jenkins 41 Sep 28 07:17 .golangci.yml 07:21:46 -rw-rw-r-- 1 jenkins jenkins 10121 Sep 28 07:17 Attribution.txt 07:21:46 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 28 07:17 CHANGELOG.md 07:21:46 -rw-rw-r-- 1 jenkins jenkins 1606 Sep 28 07:17 Dockerfile 07:21:46 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 07:17 GOVERNANCE.md 07:21:46 -rw-rw-r-- 1 jenkins jenkins 680 Sep 28 07:17 Jenkinsfile 07:21:46 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 28 07:17 LICENSE 07:21:46 -rw-rw-r-- 1 jenkins jenkins 2101 Sep 28 07:17 Makefile 07:21:46 -rw-rw-r-- 1 jenkins jenkins 622 Sep 28 07:17 OWNERS.md 07:21:46 -rw-rw-r-- 1 jenkins jenkins 4061 Sep 28 07:17 README.md 07:21:46 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 07:14 VERSION 07:21:46 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 07:17 bin 07:21:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:17 cmd 07:21:46 -rw-r--r-- 1 jenkins jenkins 23241 Sep 28 07:21 coverage.out 07:21:46 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 28 07:17 go.mod 07:21:46 -rw-rw-r-- 1 jenkins jenkins 38288 Sep 28 07:17 go.sum 07:21:46 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 07:17 internal 07:21:46 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 07:17 simulator 07:21:46 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 07:17 snap 07:21:46 -rw-rw-r-- 1 jenkins jenkins 229 Sep 28 07:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:47 + 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=89c845d2fde685b2112bd4b33853dabf0a8ef293 --label arch=arm64 --label version=2.3.0-dev.15 . 07:21:47 Sending build context to Docker daemon 3.22MB 07:21:47 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 07:21:47 Step 2/24 : FROM ${BASE} AS builder 07:21:47 ---> 5d200c79f7a2 07:21:47 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:21:47 ---> Running in a881d72b539c 07:21:48 Removing intermediate container a881d72b539c 07:21:48 ---> 354900b7ca6c 07:21:48 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:21:48 ---> Running in ba61fde80da8 07:21:48 Removing intermediate container ba61fde80da8 07:21:48 ---> be6c22966ea7 07:21:48 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:21:48 ---> Running in dfa2c5de9136 07:21:50 Removing intermediate container dfa2c5de9136 07:21:50 ---> 210f066db1b2 07:21:50 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:21:51 ---> Running in fa9f3df60860 07:21:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:21:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:21:54 OK: 228 MiB in 59 packages 07:21:55 Removing intermediate container fa9f3df60860 07:21:55 ---> cde5184ce336 07:21:55 Step 7/24 : WORKDIR /device-modbus-go 07:21:55 ---> Running in 063a807354f3 07:21:56 Removing intermediate container 063a807354f3 07:21:56 ---> 397e590115f2 07:21:56 Step 8/24 : COPY go.mod vendor* ./ 07:21:56 ---> 7b1e6c7de4f7 07:21:56 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:21:57 ---> Running in 47ea008308b1 07:22:00 Removing intermediate container 47ea008308b1 07:22:00 ---> 055ef99fcc2b 07:22:00 Step 10/24 : COPY . . 07:22:00 ---> 9bf05cae8bbf 07:22:00 Step 11/24 : RUN ${MAKE} 07:22:00 ---> Running in c744cf998e2f 07:22:02 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 07:24:39 Removing intermediate container c744cf998e2f 07:24:39 ---> 406accfc001e 07:24:39 Step 12/24 : FROM alpine:3.14 07:24:39 3.14: Pulling from library/alpine 07:24:39 90cda3b7c325: Pulling fs layer 07:24:39 90cda3b7c325: Verifying Checksum 07:24:39 90cda3b7c325: Download complete 07:24:39 90cda3b7c325: Pull complete 07:24:39 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 07:24:39 Status: Downloaded newer image for alpine:3.14 07:24:39 ---> 376ba31ae3da 07:24:39 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:24:39 ---> Running in 2c5d64795d97 07:24:39 Removing intermediate container 2c5d64795d97 07:24:39 ---> 249ad2560298 07:24:39 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:24:39 ---> Running in 4a2a5029b03b 07:24:40 Removing intermediate container 4a2a5029b03b 07:24:40 ---> 3a0ae6306d5e 07:24:40 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 07:24:40 ---> Running in 1be2ac1702ca 07:24:41 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:24:42 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:24:42 (1/6) Installing dumb-init (1.2.5-r1) 07:24:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:24:42 (3/6) Installing libsodium (1.0.18-r0) 07:24:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:24:43 (5/6) Installing libzmq (4.3.4-r0) 07:24:43 (6/6) Installing zeromq (4.3.4-r0) 07:24:43 Executing busybox-1.33.1-r8.trigger 07:24:43 OK: 8 MiB in 20 packages 07:24:44 Removing intermediate container 1be2ac1702ca 07:24:44 ---> c81f47cf89c7 07:24:44 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 07:24:45 ---> 8f0cb64a8cb7 07:24:45 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 07:24:46 ---> de1db481736d 07:24:46 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:24:46 ---> fa03f4ad7c0d 07:24:46 Step 19/24 : EXPOSE 59901 07:24:46 ---> Running in 721e96b54922 07:24:47 Removing intermediate container 721e96b54922 07:24:47 ---> 06ea6b7cfe9e 07:24:47 Step 20/24 : ENTRYPOINT ["/device-modbus"] 07:24:47 ---> Running in e1f9ddc89743 07:24:47 Removing intermediate container e1f9ddc89743 07:24:47 ---> 25725cce0372 07:24:47 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:24:47 ---> Running in cf6a49ddd31f 07:24:48 Removing intermediate container cf6a49ddd31f 07:24:48 ---> 664ec49c79d1 07:24:48 Step 22/24 : LABEL arch=arm64 07:24:48 ---> Running in 281e271d01b7 07:24:48 Removing intermediate container 281e271d01b7 07:24:48 ---> 68f329348ab2 07:24:48 Step 23/24 : LABEL git_sha=89c845d2fde685b2112bd4b33853dabf0a8ef293 07:24:48 ---> Running in 3d895b2c0e8d 07:24:48 Removing intermediate container 3d895b2c0e8d 07:24:48 ---> b62995d5b659 07:24:48 Step 24/24 : LABEL version=2.3.0-dev.15 07:24:48 ---> Running in d647431b80b8 07:24:49 Removing intermediate container d647431b80b8 07:24:49 ---> da90173a6221 07:24:49 [Warning] One or more build-args [ARCH] were not consumed 07:24:49 Successfully built da90173a6221 07:24:49 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 07:24:49 provisioning config files... 07:24:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/54@tmp/config10787125610158195677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:49 ---> docker-login.sh 07:24:49 nexus3.edgexfoundry.org:10001 07:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:49 Configure a credential helper to remove this warning. See 07:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:49 07:24:49 Login Succeeded 07:24:49 nexus3.edgexfoundry.org:10002 07:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:50 Configure a credential helper to remove this warning. See 07:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:50 07:24:50 Login Succeeded 07:24:50 nexus3.edgexfoundry.org:10003 07:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:50 Configure a credential helper to remove this warning. See 07:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:50 07:24:50 Login Succeeded 07:24:50 nexus3.edgexfoundry.org:10004 07:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:50 Configure a credential helper to remove this warning. See 07:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:50 07:24:50 Login Succeeded 07:24:50 docker.io 07:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:51 Configure a credential helper to remove this warning. See 07:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:51 07:24:51 Login Succeeded 07:24:51 ---> docker-login.sh ends [Pipeline] } 07:24:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:24:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:24:51 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:24:51 89c845d2fde685b2112bd4b33853dabf0a8ef293 07:24:51 latest 07:24:51 2.3.0-dev.15 07:24:51 89c845d2fde685b2112bd4b33853dabf0a8ef293-2.3.0-dev.15 07:24:51 main 07:24:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:89c845d2fde685b2112bd4b33853dabf0a8ef293 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:52 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:89c845d2fde685b2112bd4b33853dabf0a8ef293 07:24:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:24:52 842e5e255d49: Preparing 07:24:52 996eccd9dab7: Preparing 07:24:52 7af1c8c6382d: Preparing 07:24:52 c625b7adfe29: Preparing 07:24:52 40bd1136b234: Preparing 07:24:52 28c3ef001483: Preparing 07:24:52 28c3ef001483: Waiting 07:24:52 842e5e255d49: Pushed 07:24:52 996eccd9dab7: Pushed 07:24:52 40bd1136b234: Pushed 07:24:52 28c3ef001483: Layer already exists 07:24:53 c625b7adfe29: Pushed 07:24:58 7af1c8c6382d: Pushed 07:24:58 89c845d2fde685b2112bd4b33853dabf0a8ef293: digest: sha256:e12c7ef78cf23af15d53c3c522986711dbb1dcdcc3bec770fcf89e77402090ed size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:59 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:59 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:24:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:24:59 842e5e255d49: Preparing 07:24:59 996eccd9dab7: Preparing 07:24:59 7af1c8c6382d: Preparing 07:24:59 c625b7adfe29: Preparing 07:24:59 40bd1136b234: Preparing 07:24:59 28c3ef001483: Preparing 07:24:59 28c3ef001483: Waiting 07:24:59 7af1c8c6382d: Layer already exists 07:24:59 c625b7adfe29: Layer already exists 07:24:59 842e5e255d49: Layer already exists 07:24:59 996eccd9dab7: Layer already exists 07:24:59 40bd1136b234: Layer already exists 07:24:59 28c3ef001483: Layer already exists 07:24:59 latest: digest: sha256:e12c7ef78cf23af15d53c3c522986711dbb1dcdcc3bec770fcf89e77402090ed size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:00 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:00 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.15 07:25:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:25:00 842e5e255d49: Preparing 07:25:00 996eccd9dab7: Preparing 07:25:00 7af1c8c6382d: Preparing 07:25:00 c625b7adfe29: Preparing 07:25:00 40bd1136b234: Preparing 07:25:00 28c3ef001483: Preparing 07:25:00 28c3ef001483: Waiting 07:25:00 40bd1136b234: Layer already exists 07:25:00 842e5e255d49: Layer already exists 07:25:00 c625b7adfe29: Layer already exists 07:25:00 7af1c8c6382d: Layer already exists 07:25:00 996eccd9dab7: Layer already exists 07:25:00 28c3ef001483: Layer already exists 07:25:00 2.3.0-dev.15: digest: sha256:e12c7ef78cf23af15d53c3c522986711dbb1dcdcc3bec770fcf89e77402090ed size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:01 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:89c845d2fde685b2112bd4b33853dabf0a8ef293-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:01 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:89c845d2fde685b2112bd4b33853dabf0a8ef293-2.3.0-dev.15 07:25:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:25:01 842e5e255d49: Preparing 07:25:01 996eccd9dab7: Preparing 07:25:01 7af1c8c6382d: Preparing 07:25:01 c625b7adfe29: Preparing 07:25:01 40bd1136b234: Preparing 07:25:01 28c3ef001483: Preparing 07:25:01 28c3ef001483: Waiting 07:25:01 996eccd9dab7: Layer already exists 07:25:01 c625b7adfe29: Layer already exists 07:25:01 842e5e255d49: Layer already exists 07:25:01 7af1c8c6382d: Layer already exists 07:25:01 40bd1136b234: Layer already exists 07:25:01 28c3ef001483: Layer already exists 07:25:01 89c845d2fde685b2112bd4b33853dabf0a8ef293-2.3.0-dev.15: digest: sha256:e12c7ef78cf23af15d53c3c522986711dbb1dcdcc3bec770fcf89e77402090ed size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:02 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:02 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:25:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:25:02 842e5e255d49: Preparing 07:25:02 996eccd9dab7: Preparing 07:25:02 7af1c8c6382d: Preparing 07:25:02 c625b7adfe29: Preparing 07:25:02 40bd1136b234: Preparing 07:25:02 28c3ef001483: Preparing 07:25:02 28c3ef001483: Waiting 07:25:02 842e5e255d49: Layer already exists 07:25:02 40bd1136b234: Layer already exists 07:25:02 7af1c8c6382d: Layer already exists 07:25:02 996eccd9dab7: Layer already exists 07:25:02 c625b7adfe29: Layer already exists 07:25:02 28c3ef001483: Layer already exists 07:25:02 main: digest: sha256:e12c7ef78cf23af15d53c3c522986711dbb1dcdcc3bec770fcf89e77402090ed size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:25:02 ===================================================== [Pipeline] echo 07:25:02 taggedImages: 07:25:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:89c845d2fde685b2112bd4b33853dabf0a8ef293 07:25:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:25:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.15 07:25:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:89c845d2fde685b2112bd4b33853dabf0a8ef293-2.3.0-dev.15 07:25:02 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:03 07:25:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:03 arm64: Pulling from edgex-lftools-log-publisher 07:25:03 8998bd30e6a1: Pulling fs layer 07:25:03 04944245beec: Pulling fs layer 07:25:03 699f458cf7ca: Pulling fs layer 07:25:03 765212b225bb: Pulling fs layer 07:25:03 f23df028b6ca: Pulling fs layer 07:25:03 d65c8cfc05b1: Pulling fs layer 07:25:03 2437ff75d9bd: Pulling fs layer 07:25:03 765212b225bb: Waiting 07:25:03 d65c8cfc05b1: Waiting 07:25:03 f23df028b6ca: Waiting 07:25:03 2437ff75d9bd: Waiting 07:25:03 04944245beec: Verifying Checksum 07:25:03 04944245beec: Download complete 07:25:03 765212b225bb: Verifying Checksum 07:25:03 765212b225bb: Download complete 07:25:03 f23df028b6ca: Verifying Checksum 07:25:03 f23df028b6ca: Download complete 07:25:03 d65c8cfc05b1: Verifying Checksum 07:25:03 d65c8cfc05b1: Download complete 07:25:04 699f458cf7ca: Verifying Checksum 07:25:04 699f458cf7ca: Download complete 07:25:04 8998bd30e6a1: Verifying Checksum 07:25:04 8998bd30e6a1: Download complete 07:25:06 2437ff75d9bd: Verifying Checksum 07:25:06 2437ff75d9bd: Download complete 07:25:08 8998bd30e6a1: Pull complete 07:25:08 04944245beec: Pull complete 07:25:09 699f458cf7ca: Pull complete 07:25:09 765212b225bb: Pull complete 07:25:10 f23df028b6ca: Pull complete 07:25:10 d65c8cfc05b1: Pull complete 07:25:25 2437ff75d9bd: Pull complete 07:25:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:25:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:25:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:26 prd-ubuntu20.04-docker-arm64-4c-16g-1798 does not seem to be running inside a container 07:25:26 $ 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/54 -v /w/workspace/device-modbus-go/54:/w/workspace/device-modbus-go/54:rw,z -v /w/workspace/device-modbus-go/54@tmp:/w/workspace/device-modbus-go/54@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:25:28 $ docker top 75505d748d80811ffb1074f28d36d7b2f1a7b787454a528ef72a5473cb6b22f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:29 ---> job-cost.sh 07:25:29 lf-activate-venv: SKIPPING 07:25:29 INFO: No Stack... 07:25:30 INFO: Retrieving Pricing Info for: v3-standard-4 07:25:30 INFO: Archiving Costs [Pipeline] sh 07:25:31 + cut -d, -f6 07:25:31 + cat /w/workspace/device-modbus-go/54/archives/cost.csv [Pipeline] lock 07:25:31 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-54-stack-cost] 07:25:31 Resource [jenkins-edgexfoundry-device-modbus-go-main-54-stack-cost] did not exist. Created. 07:25:31 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:25:31 /w/workspace/device-modbus-go/54@tmp/durable-2e9761ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:25:32 + echo total: 0.10999999940395355 [Pipeline] stash 07:25:32 Warning: overwriting stash ‘stack-cost’ 07:25:32 Stashed 1 file(s) [Pipeline] } 07:25:32 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-54-stack-cost] [Pipeline] // lock [Pipeline] } 07:25:32 $ docker stop --time=1 75505d748d80811ffb1074f28d36d7b2f1a7b787454a528ef72a5473cb6b22f9 07:25:33 $ docker rm -f 75505d748d80811ffb1074f28d36d7b2f1a7b787454a528ef72a5473cb6b22f9 [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 07:25:34 provisioning config files... 07:25:34 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13971504470306365532tmp [Pipeline] { [Pipeline] sh 07:25:34 + set +x 07:25:34 + curl -s https://codecov.io/bash 07:25:34 + bash -s -- 07:25:34 07:25:34 _____ _ 07:25:34 / ____| | | 07:25:34 | | ___ __| | ___ ___ _____ __ 07:25:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:25:34 | |___| (_) | (_| | __/ (_| (_) \ V / 07:25:34 \_____\___/ \__,_|\___|\___\___/ \_/ 07:25:34 Bash-1.0.6 07:25:34 07:25:34 07:25:34 ==> git version 2.25.1 found 07:25:34 ==> 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 07:25:34 Release-Date: 2020-01-08 07:25:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:25:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:25:34 ==> Jenkins CI detected. 07:25:34 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:25:34 project root: . 07:25:34 --> token set from env 07:25:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:25:34 ==> Running gcov in . (disable via -X gcov) 07:25:34 ==> Python coveragepy not found 07:25:34 ==> Searching for coverage reports in: 07:25:34 + . 07:25:34 -> Found 1 reports 07:25:34 ==> Detecting git/mercurial file structure 07:25:34 ==> Reading reports 07:25:34 + ./coverage.out bytes=23241 07:25:34 ==> Appending adjustments 07:25:34 https://docs.codecov.io/docs/fixing-reports 07:25:34 + Found adjustments 07:25:34 ==> Gzipping contents 07:25:34 4.0K /tmp/codecov.1K5Y5n.gz 07:25:34 ==> Uploading reports 07:25:34 url: https://codecov.io 07:25:34 query: branch=main&commit=89c845d2fde685b2112bd4b33853dabf0a8ef293&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:25:34 -> Pinging Codecov 07:25:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=89c845d2fde685b2112bd4b33853dabf0a8ef293&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:25:34 -> Uploading to 07:25:34 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/55DBCA73C666E3227836607328DD7E49/89c845d2fde685b2112bd4b33853dabf0a8ef293/71e84879-2a19-430c-859a-0ccab2dbbf85.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T072534Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=91c3bf1cdf5cceb020ee3923b5d2d16d06837de17fa295b710e338c10b923044 07:25:34 % Total % Received % Xferd Average Speed Time Time Time Current 07:25:34 Dload Upload Total Spent Left Speed 07:25:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 17617 --:--:-- --:--:-- --:--:-- 17617 07:25:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/89c845d2fde685b2112bd4b33853dabf0a8ef293 [Pipeline] } 07:25:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:25:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:25:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:35 07:25:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:25:35 df9b9388f04a: Pulling fs layer 07:25:35 52dc419b0ee2: Pulling fs layer 07:25:35 25bc292e5bac: Pulling fs layer 07:25:35 114826534d7a: Pulling fs layer 07:25:35 4657fd5d0bcf: Pulling fs layer 07:25:35 6ad1cebc031e: Pulling fs layer 07:25:35 8a3aa393b2d8: Pulling fs layer 07:25:35 114826534d7a: Waiting 07:25:35 4657fd5d0bcf: Waiting 07:25:35 6ad1cebc031e: Waiting 07:25:35 25bc292e5bac: Verifying Checksum 07:25:35 25bc292e5bac: Download complete 07:25:35 52dc419b0ee2: Download complete 07:25:35 4657fd5d0bcf: Verifying Checksum 07:25:35 4657fd5d0bcf: Download complete 07:25:35 df9b9388f04a: Download complete 07:25:36 df9b9388f04a: Pull complete 07:25:36 6ad1cebc031e: Verifying Checksum 07:25:36 6ad1cebc031e: Download complete 07:25:36 52dc419b0ee2: Pull complete 07:25:36 25bc292e5bac: Pull complete 07:25:36 114826534d7a: Verifying Checksum 07:25:36 114826534d7a: Download complete 07:25:36 8a3aa393b2d8: Verifying Checksum 07:25:36 8a3aa393b2d8: Download complete 07:25:40 114826534d7a: Pull complete 07:25:40 4657fd5d0bcf: Pull complete 07:25:40 6ad1cebc031e: Pull complete 07:25:43 8a3aa393b2d8: Pull complete 07:25:43 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:25:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:25:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:44 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 07:25:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:25:46 $ docker top 5bbfdb51658654792b0a35490bc2290a8909dfbef582a11c503bf4d52e9debbf -eo pid,comm [Pipeline] { [Pipeline] echo 07:25:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:25:47 + set -o pipefail 07:25:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:25:52 07:25:52 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:25:52 07:25:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/83826a25-d68f-440f-babf-b5a899dedab9 07:25:52 07:25:52 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 07:25:52 07:25:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:25:52 07:25:52 [Pipeline] } 07:25:52 $ docker stop --time=1 5bbfdb51658654792b0a35490bc2290a8909dfbef582a11c503bf4d52e9debbf 07:25:55 $ docker rm -f 5bbfdb51658654792b0a35490bc2290a8909dfbef582a11c503bf4d52e9debbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:25:56 + git log --format=format:%s -1 89c845d2fde685b2112bd4b33853dabf0a8ef293 [Pipeline] sh 07:25:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:25:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:25:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:57 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 07:25:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:25:57 $ docker top 863795eb8f0276bf8dd097ffd0d986f34b93f1a25813fd4f2f247229316ce36c -eo pid,comm 07:25:57 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). 07:25:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:25:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:25:57 [ssh-agent] Looking for ssh-agent implementation... 07:25:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:25:57 $ docker exec 863795eb8f0276bf8dd097ffd0d986f34b93f1a25813fd4f2f247229316ce36c ssh-agent 07:25:57 SSH_AUTH_SOCK=/tmp/ssh-z4ABHj5Jy9cy/agent.33 07:25:57 SSH_AGENT_PID=39 07:25:57 Running ssh-add (command line suppressed) 07:25:58 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1633219885498662886.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1633219885498662886.key) 07:25:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:25:58 + git semver tag 07:25:58 2022-09-28 07:25:58,495 [run_tag] DEBUG tag force:False 07:25:58 2022-09-28 07:25:58,495 [check_head_tag] DEBUG check head tag 07:25:58 2022-09-28 07:25:58,495 [execute] INFO git cat-file --batch-check 07:25:58 2022-09-28 07:25:58,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:25:58 2022-09-28 07:25:58,500 [execute] INFO git cat-file --batch 07:25:58 2022-09-28 07:25:58,500 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:25:58 2022-09-28 07:25:58,513 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:25:58 2022-09-28 07:25:58,513 [execute] INFO git tag -a v2.3.0-dev.15 -m v2.3.0-dev.15 07:25:58 2022-09-28 07:25:58,514 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.15', '-m', 'v2.3.0-dev.15'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:25:58 2022-09-28 07:25:58,518 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:25:58 2.3.0-dev.15 [Pipeline] } 07:25:58 $ docker exec --env ******** --env ******** 863795eb8f0276bf8dd097ffd0d986f34b93f1a25813fd4f2f247229316ce36c ssh-agent -k 07:25:58 unset SSH_AUTH_SOCK; 07:25:58 unset SSH_AGENT_PID; 07:25:58 echo Agent pid 39 killed; 07:25:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:25:59 + git semver [Pipeline] } 07:25:59 $ docker stop --time=1 863795eb8f0276bf8dd097ffd0d986f34b93f1a25813fd4f2f247229316ce36c 07:26:00 $ docker rm -f 863795eb8f0276bf8dd097ffd0d986f34b93f1a25813fd4f2f247229316ce36c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:00 07:26:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:01 0.23.1-centos7: Pulling from edgex-lftools 07:26:01 ab5ef0e58194: Pulling fs layer 07:26:01 9712f1f96733: Pulling fs layer 07:26:01 63f879dbbcfc: Pulling fs layer 07:26:01 0d9ebad4ef96: Pulling fs layer 07:26:01 e9a5061849ea: Pulling fs layer 07:26:01 d747dcd14b5f: Pulling fs layer 07:26:01 2de7ff778b66: Pulling fs layer 07:26:01 0d9ebad4ef96: Waiting 07:26:01 2de7ff778b66: Waiting 07:26:01 9712f1f96733: Verifying Checksum 07:26:01 9712f1f96733: Download complete 07:26:01 63f879dbbcfc: Verifying Checksum 07:26:01 63f879dbbcfc: Download complete 07:26:01 e9a5061849ea: Verifying Checksum 07:26:01 e9a5061849ea: Download complete 07:26:01 d747dcd14b5f: Download complete 07:26:01 0d9ebad4ef96: Download complete 07:26:01 ab5ef0e58194: Verifying Checksum 07:26:01 ab5ef0e58194: Download complete 07:26:02 2de7ff778b66: Verifying Checksum 07:26:02 2de7ff778b66: Download complete 07:26:04 ab5ef0e58194: Pull complete 07:26:04 9712f1f96733: Pull complete 07:26:05 63f879dbbcfc: Pull complete 07:26:09 0d9ebad4ef96: Pull complete 07:26:09 e9a5061849ea: Pull complete 07:26:09 d747dcd14b5f: Pull complete 07:26:10 2de7ff778b66: Pull complete 07:26:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:26:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:26:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:10 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 07:26:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:26:16 $ docker top cfe1cafcb2e62e843d0f89f645e36b00e4a0fdd59c16ae274442954f394a2fc6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:26:16 provisioning config files... 07:26:16 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11004731329299885097tmp 07:26:16 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16125482237383826416tmp 07:26:16 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12397894018035868556tmp [Pipeline] { [Pipeline] echo 07:26:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:26:16 ---> sigul-configuration.sh 07:26:16 gpg: directory `/root/.gnupg' created 07:26:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:26:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:26:16 gpg: keyring `/root/.gnupg/secring.gpg' created 07:26:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:26:16 gpg: CAST5 encrypted data 07:26:16 gpg: encrypted with 1 passphrase 07:26:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:26:16 + mkdir /home/jenkins 07:26:16 + mkdir /home/jenkins/sigul [Pipeline] sh 07:26:17 + 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 07:26:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:26:17 ---> sigul-install.sh 07:26:17 Sigul already installed; skipping installation. [Pipeline] sh 07:26:17 + git tag --list 07:26:17 0.7.1 07:26:17 v1.0.0 07:26:17 v1.1.0 07:26:17 v1.1.1 07:26:17 v1.2.2 07:26:17 v1.3.0 07:26:17 v1.3.1 07:26:17 v2.0.0 07:26:17 v2.1.0 07:26:17 v2.1.1 07:26:17 v2.1.1-dev.1 07:26:17 v2.1.1-dev.2 07:26:17 v2.1.1-dev.3 07:26:17 v2.2.0 07:26:17 v2.2.1-dev.1 07:26:17 v2.2.1-dev.2 07:26:17 v2.2.1-dev.3 07:26:17 v2.2.1-dev.4 07:26:17 v2.2.1-dev.5 07:26:17 v2.2.1-dev.6 07:26:17 v2.2.1-dev.7 07:26:17 v2.3.0-dev.10 07:26:17 v2.3.0-dev.11 07:26:17 v2.3.0-dev.12 07:26:17 v2.3.0-dev.13 07:26:17 v2.3.0-dev.14 07:26:17 v2.3.0-dev.15 07:26:17 v2.3.0-dev.7 07:26:17 v2.3.0-dev.8 07:26:17 v2.3.0-dev.9 [Pipeline] sh 07:26:17 + lftools sign git-tag v2.3.0-dev.15 07:26:18 Signing Git tag with Sigul... 07:26:18 Signing v2.3.0-dev.15 [Pipeline] echo 07:26:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:26:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:26:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:26:19 $ docker stop --time=1 cfe1cafcb2e62e843d0f89f645e36b00e4a0fdd59c16ae274442954f394a2fc6 07:26:20 $ docker rm -f cfe1cafcb2e62e843d0f89f645e36b00e4a0fdd59c16ae274442954f394a2fc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:26:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:26:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:26:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:21 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 07:26:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:26:21 $ docker top f6918e1f760cad1092e792a102eef35789214ff3fe6eaf894d47bc7a4737a42d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:21 [ssh-agent] Looking for ssh-agent implementation... 07:26:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:21 $ docker exec f6918e1f760cad1092e792a102eef35789214ff3fe6eaf894d47bc7a4737a42d ssh-agent 07:26:21 SSH_AUTH_SOCK=/tmp/ssh-oc7JhEYszhmb/agent.31 07:26:21 SSH_AGENT_PID=37 07:26:21 Running ssh-add (command line suppressed) 07:26:21 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17522858837845285715.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17522858837845285715.key) 07:26:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:22 + git semver bump pre 07:26:22 2022-09-28 07:26:22,398 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:26:22 2022-09-28 07:26:22,398 [bump_version] DEBUG bumping version:2.3.0-dev.15 on axis:pre with prefix:dev 07:26:22 2022-09-28 07:26:22,399 [bump_version] DEBUG bumped version:2.3.0-dev.16 07:26:22 2022-09-28 07:26:22,399 [write_version] DEBUG write version:2.3.0-dev.16 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:26:22 2022-09-28 07:26:22,399 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:26:22 2022-09-28 07:26:22,399 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:26:22 2022-09-28 07:26:22,401 [execute] INFO git cat-file --batch-check 07:26:22 2022-09-28 07:26:22,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:22 2022-09-28 07:26:22,407 [execute] INFO git cat-file --batch 07:26:22 2022-09-28 07:26:22,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:22 2022-09-28 07:26:22,413 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:26:22 2.3.0-dev.16 [Pipeline] } 07:26:22 $ docker exec --env ******** --env ******** f6918e1f760cad1092e792a102eef35789214ff3fe6eaf894d47bc7a4737a42d ssh-agent -k 07:26:22 unset SSH_AUTH_SOCK; 07:26:22 unset SSH_AGENT_PID; 07:26:22 echo Agent pid 37 killed; 07:26:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:22 + git semver [Pipeline] } 07:26:23 $ docker stop --time=1 f6918e1f760cad1092e792a102eef35789214ff3fe6eaf894d47bc7a4737a42d 07:26:24 $ docker rm -f f6918e1f760cad1092e792a102eef35789214ff3fe6eaf894d47bc7a4737a42d [Pipeline] // withDockerContainer [Pipeline] sh 07:26:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:26:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:26:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:25 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 07:26:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:26:25 $ docker top 647c9bba3a7066bbcd85d52d64bbb21d5df6846e4687092b50fcad4719ae8058 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:26:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:26:25 [ssh-agent] Looking for ssh-agent implementation... 07:26:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:26:25 $ docker exec 647c9bba3a7066bbcd85d52d64bbb21d5df6846e4687092b50fcad4719ae8058 ssh-agent 07:26:25 SSH_AUTH_SOCK=/tmp/ssh-tVxDLhdLEiY5/agent.32 07:26:25 SSH_AGENT_PID=38 07:26:25 Running ssh-add (command line suppressed) 07:26:26 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8971450672770464928.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8971450672770464928.key) 07:26:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:26:26 + git semver push 07:26:26 2022-09-28 07:26:26,490 [run_push] DEBUG push 07:26:26 2022-09-28 07:26:26,491 [execute] INFO git cat-file --batch-check 07:26:26 2022-09-28 07:26:26,491 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:26:26 2022-09-28 07:26:26,495 [execute] INFO git rev-list c8a5cb5dcb6a2dc0195b8671afb0a79498569c15 -- 07:26:26 2022-09-28 07:26:26,496 [execute] DEBUG Popen(['git', 'rev-list', 'c8a5cb5dcb6a2dc0195b8671afb0a79498569c15', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:26:26 2022-09-28 07:26:26,504 [execute] INFO git fetch -v origin 07:26:26 2022-09-28 07:26:26,504 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:26:27 2022-09-28 07:26:27,061 [run_push] DEBUG no remote changes detected 07:26:27 2022-09-28 07:26:27,062 [execute] INFO git push origin semver 07:26:27 2022-09-28 07:26:27,062 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:26:28 2022-09-28 07:26:27,922 [run_push] DEBUG push all version tags 07:26:28 2022-09-28 07:26:27,922 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:26:28 2022-09-28 07:26:27,923 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:26:29 2022-09-28 07:26:28,728 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:26:29 2.3.0-dev.16 [Pipeline] } 07:26:29 $ docker exec --env ******** --env ******** 647c9bba3a7066bbcd85d52d64bbb21d5df6846e4687092b50fcad4719ae8058 ssh-agent -k 07:26:29 unset SSH_AUTH_SOCK; 07:26:29 unset SSH_AGENT_PID; 07:26:29 echo Agent pid 38 killed; 07:26:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:26:29 + git semver [Pipeline] } 07:26:29 $ docker stop --time=1 647c9bba3a7066bbcd85d52d64bbb21d5df6846e4687092b50fcad4719ae8058 07:26:31 $ docker rm -f 647c9bba3a7066bbcd85d52d64bbb21d5df6846e4687092b50fcad4719ae8058 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:26:31 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:26:31 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:26:31 total 16 07:26:31 drwxr-xr-x 3 root root 4096 Sep 28 07:17 . 07:26:31 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 07:26 .. 07:26:31 drwxr-xr-x 2 root root 4096 Sep 28 07:17 cost 07:26:31 -rw-r--r-- 1 root root 87 Sep 28 07:17 cost.csv 07:26:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:26:31 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:26:31 total 16 07:26:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 07:17 . 07:26:31 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 07:26 .. 07:26:31 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 07:17 cost 07:26:31 -rw-r--r-- 1 jenkins jenkins 87 Sep 28 07:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:26:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:26:33 ---> package-listing.sh 07:26:33 ++ facter osfamily 07:26:33 ++ tr '[:upper:]' '[:lower:]' 07:26:33 + OS_FAMILY=debian 07:26:33 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:26:33 + START_PACKAGES=/tmp/packages_start.txt 07:26:33 + END_PACKAGES=/tmp/packages_end.txt 07:26:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:26:33 + PACKAGES=/tmp/packages_start.txt 07:26:33 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:26:33 + PACKAGES=/tmp/packages_end.txt 07:26:33 + case "${OS_FAMILY}" in 07:26:33 + dpkg -l 07:26:33 + grep '^ii' 07:26:33 + '[' -f /tmp/packages_start.txt ']' 07:26:33 + '[' -f /tmp/packages_end.txt ']' 07:26:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:26:33 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:26:33 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:26:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:26:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:26:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:34 prd-ubuntu20.04-docker-8c-8g-1794 does not seem to be running inside a container 07:26:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:26:34 $ docker top 256b1a48aa130b3f0cb7cbf7c473980cc312d5074cc4ecf52cb30312695bd4b5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:26:34 + touch /tmp/pre-build-complete [Pipeline] sh 07:26:35 + mkdir -p /var/log/sysstat [Pipeline] sh 07:26:35 + ls /var/log/sa-host 07:26:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:26:35 provisioning config files... 07:26:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2461636060292558989tmp [Pipeline] { [Pipeline] echo 07:26:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:26:35 ---> create-netrc.sh [Pipeline] } 07:26:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:26:36 ---> python-tools-install.sh [Pipeline] echo 07:26:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:26:36 ---> sudo-logs.sh 07:26:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:26:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:26:36 ---> job-cost.sh 07:26:36 lf-activate-venv: SKIPPING 07:26:36 DEBUG: total: 0.2199999988079071 07:26:36 INFO: Retrieving Stack Cost... 07:26:37 INFO: Retrieving Pricing Info for: v3-standard-8 07:26:37 INFO: Archiving Costs [Pipeline] echo 07:26:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:26:37 ---> logs-deploy.sh 07:26:37 lf-activate-venv: SKIPPING 07:26:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/54 07:26:37 INFO: archiving workspace using pattern(s): 07:26:38 Archives upload complete. 07:26:38 INFO: archiving logs to Nexus