Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 892226c059eb5a0163287d1d4603e2b9857b6e84 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-ssh879007261856010936.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-ssh120436906065745020.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-ssh7181244989152323889.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-ssh17213918151511848905.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-ssh3594173956618805946.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-1219 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 892226c059eb5a0163287d1d4603e2b9857b6e84 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#377)" > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 892226c059eb5a0163287d1d4603e2b9857b6e84 # timeout=10 > git rev-list --no-walk 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:13:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:13:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:13:50 ========================================================= 21:13:50 EdgeX Global Pipelines Version Info 21:13:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:13:51 ------------------- 21:13:51 stable info: 21:13:51 ------------------- 21:13:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:13:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:13:51 Message: update stable to v1.0.239 21:13:51 ------------------- 21:13:51 experimental info: 21:13:51 ------------------- 21:13:51 Commited By: **** collab-it+edgex@linuxfoundation.org 21:13:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:13:51 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 892226c059eb5a0163287d1d4603e2b9857b6e84 [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 892226c [Pipeline] echo 21:13:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:52 provisioning config files... 21:13:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config18079370481341557321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:52 ---> docker-login.sh 21:13:52 nexus3.edgexfoundry.org:10001 21:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:53 Configure a credential helper to remove this warning. See 21:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:53 21:13:53 Login Succeeded 21:13:53 nexus3.edgexfoundry.org:10002 21:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:53 Configure a credential helper to remove this warning. See 21:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:53 21:13:53 Login Succeeded 21:13:53 nexus3.edgexfoundry.org:10003 21:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:53 Configure a credential helper to remove this warning. See 21:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:53 21:13:53 Login Succeeded 21:13:53 nexus3.edgexfoundry.org:10004 21:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:53 Configure a credential helper to remove this warning. See 21:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:53 21:13:53 Login Succeeded 21:13:53 docker.io 21:13:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:53 Configure a credential helper to remove this warning. See 21:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:53 21:13:53 Login Succeeded 21:13:53 ---> docker-login.sh ends [Pipeline] } 21:13:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:13:54 + git rev-list -1 --merges 892226c059eb5a0163287d1d4603e2b9857b6e84~1..892226c059eb5a0163287d1d4603e2b9857b6e84 [Pipeline] echo 21:13:54 -----------> git rev-list -1 --merges 892226c059eb5a0163287d1d4603e2b9857b6e84~1..892226c059eb5a0163287d1d4603e2b9857b6e84 892226c059eb5a0163287d1d4603e2b9857b6e84 [false] [Pipeline] sh 21:13:54 + git log --format=format:%s -1 892226c059eb5a0163287d1d4603e2b9857b6e84 [Pipeline] echo 21:13:54 ========================================================= 21:13:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:13:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:54 + git log --format=format:%s -1 892226c059eb5a0163287d1d4603e2b9857b6e84 [Pipeline] echo 21:13:54 [semverPrep] GIT_COMMIT: 892226c059eb5a0163287d1d4603e2b9857b6e84, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#377) [Pipeline] echo 21:13:54 [semverPrep] This is not a build commit. [Pipeline] sh 21:13:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:13:55 + grep -v github /etc/ssh/ssh_known_hosts 21:13:55 + [ -e /tmp/ssh_known_hosts ] 21:13:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:13:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:13:55 + sudo tee -a /etc/ssh/ssh_known_hosts 21:13:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:55 21:13:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:55 0.1.4: Pulling from edgex-devops/py-git-semver 21:13:55 b85a868b505f: Pulling fs layer 21:13:55 e2be974225ed: Pulling fs layer 21:13:55 339a4e72a1f5: Pulling fs layer 21:13:55 988bab9f4d93: Pulling fs layer 21:13:55 1469e6f7b9e6: Pulling fs layer 21:13:55 eaf3925da568: Pulling fs layer 21:13:55 bab4dde63d76: Pulling fs layer 21:13:55 bde34c3a00c8: Pulling fs layer 21:13:55 b352a97aabf1: Pulling fs layer 21:13:55 4872d77fe225: Pulling fs layer 21:13:55 5851b861e8e6: Pulling fs layer 21:13:55 1469e6f7b9e6: Waiting 21:13:55 eaf3925da568: Waiting 21:13:55 bab4dde63d76: Waiting 21:13:55 bde34c3a00c8: Waiting 21:13:55 b352a97aabf1: Waiting 21:13:55 4872d77fe225: Waiting 21:13:55 5851b861e8e6: Waiting 21:13:55 988bab9f4d93: Waiting 21:13:55 e2be974225ed: Download complete 21:13:55 988bab9f4d93: Verifying Checksum 21:13:55 988bab9f4d93: Download complete 21:13:56 1469e6f7b9e6: Verifying Checksum 21:13:56 1469e6f7b9e6: Download complete 21:13:56 eaf3925da568: Download complete 21:13:56 339a4e72a1f5: Verifying Checksum 21:13:56 339a4e72a1f5: Download complete 21:13:56 bde34c3a00c8: Download complete 21:13:56 b352a97aabf1: Verifying Checksum 21:13:56 b352a97aabf1: Download complete 21:13:56 4872d77fe225: Download complete 21:13:56 5851b861e8e6: Verifying Checksum 21:13:56 5851b861e8e6: Download complete 21:13:56 b85a868b505f: Verifying Checksum 21:13:56 b85a868b505f: Download complete 21:13:56 bab4dde63d76: Verifying Checksum 21:13:56 bab4dde63d76: Download complete 21:13:57 b85a868b505f: Pull complete 21:13:57 e2be974225ed: Pull complete 21:13:58 339a4e72a1f5: Pull complete 21:13:58 988bab9f4d93: Pull complete 21:13:58 1469e6f7b9e6: Pull complete 21:13:58 eaf3925da568: Pull complete 21:14:00 bab4dde63d76: Pull complete 21:14:00 bde34c3a00c8: Pull complete 21:14:00 b352a97aabf1: Pull complete 21:14:00 4872d77fe225: Pull complete 21:14:00 5851b861e8e6: Pull complete 21:14:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:14:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:00 prd-ubuntu20.04-docker-8c-8g-1219 does not seem to be running inside a container 21:14:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:14:03 $ docker top 60b1d6d202af7048666685a7aced48917a6dd157823f3910c15a5cceef494410 -eo pid,comm 21:14:03 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). 21:14:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:14:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:14:03 [ssh-agent] Looking for ssh-agent implementation... 21:14:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:14:03 $ docker exec 60b1d6d202af7048666685a7aced48917a6dd157823f3910c15a5cceef494410 ssh-agent 21:14:03 SSH_AUTH_SOCK=/tmp/ssh-5PDfuz46t1h4/agent.32 21:14:03 SSH_AGENT_PID=38 21:14:03 Running ssh-add (command line suppressed) 21:14:03 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9366407132781091983.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9366407132781091983.key) 21:14:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:14:03 + git tag --points-at HEAD [Pipeline] } 21:14:04 $ docker exec --env ******** --env ******** 60b1d6d202af7048666685a7aced48917a6dd157823f3910c15a5cceef494410 ssh-agent -k 21:14:04 unset SSH_AUTH_SOCK; 21:14:04 unset SSH_AGENT_PID; 21:14:04 echo Agent pid 38 killed; 21:14:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:14:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:14:04 [ssh-agent] Looking for ssh-agent implementation... 21:14:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:14:04 $ docker exec 60b1d6d202af7048666685a7aced48917a6dd157823f3910c15a5cceef494410 ssh-agent 21:14:04 SSH_AUTH_SOCK=/tmp/ssh-ziD02JxFeXia/agent.70 21:14:04 SSH_AGENT_PID=76 21:14:04 Running ssh-add (command line suppressed) 21:14:04 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3555772011396680153.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3555772011396680153.key) 21:14:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:14:04 + git semver init 21:14:05 2022-09-26 21:14:04,980 [run_init] DEBUG init version:0.0.0 force:False 21:14:05 2022-09-26 21:14:04,981 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 21:14:05 2022-09-26 21:14:04,981 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 21:14:05 2022-09-26 21:14:04,982 [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) 21:14:06 2022-09-26 21:14:06,133 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 21:14:06 2022-09-26 21:14:06,134 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 21:14:06 2022-09-26 21:14:06,134 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:14:06 2022-09-26 21:14:06,135 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:14:06 2.3.0-dev.13 [Pipeline] } 21:14:06 $ docker exec --env ******** --env ******** 60b1d6d202af7048666685a7aced48917a6dd157823f3910c15a5cceef494410 ssh-agent -k 21:14:06 unset SSH_AUTH_SOCK; 21:14:06 unset SSH_AGENT_PID; 21:14:06 echo Agent pid 76 killed; 21:14:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:14:06 + git semver [Pipeline] } 21:14:07 $ docker stop --time=1 60b1d6d202af7048666685a7aced48917a6dd157823f3910c15a5cceef494410 21:14:08 $ docker rm -f 60b1d6d202af7048666685a7aced48917a6dd157823f3910c15a5cceef494410 [Pipeline] // withDockerContainer [Pipeline] sh 21:14:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:14:08 Stashed 1 file(s) [Pipeline] echo 21:14:08 [edgeXSemver]: initialized semver on version 2.3.0-dev.13 [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 21:14:09 provisioning config files... 21:14:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2269670469493120392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:09 ---> docker-login.sh 21:14:09 nexus3.edgexfoundry.org:10001 21:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:09 Configure a credential helper to remove this warning. See 21:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:09 21:14:09 Login Succeeded 21:14:09 nexus3.edgexfoundry.org:10002 21:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:09 Configure a credential helper to remove this warning. See 21:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:09 21:14:09 Login Succeeded 21:14:09 nexus3.edgexfoundry.org:10003 21:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:09 Configure a credential helper to remove this warning. See 21:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:09 21:14:09 Login Succeeded 21:14:09 nexus3.edgexfoundry.org:10004 21:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:09 Configure a credential helper to remove this warning. See 21:14:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:09 21:14:09 Login Succeeded 21:14:09 docker.io 21:14:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:10 Configure a credential helper to remove this warning. See 21:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:10 21:14:10 Login Succeeded 21:14:10 ---> docker-login.sh ends [Pipeline] } 21:14:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:14:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:10 ========================================================= 21:14:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:14:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:10 + 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 . 21:14:10 Sending build context to Docker daemon 6.127MB 21:14:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:14:10 Step 2/10 : FROM ${BASE} AS builder 21:14:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:14:10 2408cc74d12b: Pulling fs layer 21:14:10 ea60b727a1ce: Pulling fs layer 21:14:10 30c4a7721957: Pulling fs layer 21:14:10 370296b7ddb6: Pulling fs layer 21:14:10 7c6cee850709: Pulling fs layer 21:14:10 39a5fcdaea64: Pulling fs layer 21:14:10 d94ebbe4e438: Pulling fs layer 21:14:10 bcfd1f05c69d: Pulling fs layer 21:14:10 59ccb84bbe0f: Pulling fs layer 21:14:10 d94ebbe4e438: Waiting 21:14:10 bcfd1f05c69d: Waiting 21:14:10 59ccb84bbe0f: Waiting 21:14:10 7c6cee850709: Waiting 21:14:10 39a5fcdaea64: Waiting 21:14:10 370296b7ddb6: Waiting 21:14:10 30c4a7721957: Verifying Checksum 21:14:10 30c4a7721957: Download complete 21:14:10 ea60b727a1ce: Download complete 21:14:10 7c6cee850709: Verifying Checksum 21:14:10 7c6cee850709: Download complete 21:14:10 39a5fcdaea64: Verifying Checksum 21:14:10 39a5fcdaea64: Download complete 21:14:10 2408cc74d12b: Download complete 21:14:10 d94ebbe4e438: Download complete 21:14:10 2408cc74d12b: Pull complete 21:14:11 ea60b727a1ce: Pull complete 21:14:11 30c4a7721957: Pull complete 21:14:11 59ccb84bbe0f: Verifying Checksum 21:14:11 59ccb84bbe0f: Download complete 21:14:11 bcfd1f05c69d: Verifying Checksum 21:14:11 bcfd1f05c69d: Download complete 21:14:11 370296b7ddb6: Verifying Checksum 21:14:11 370296b7ddb6: Download complete 21:14:15 370296b7ddb6: Pull complete 21:14:15 7c6cee850709: Pull complete 21:14:15 39a5fcdaea64: Pull complete 21:14:15 d94ebbe4e438: Pull complete 21:14:17 bcfd1f05c69d: Pull complete 21:14:18 59ccb84bbe0f: Pull complete 21:14:18 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:14:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:14:18 ---> a4fb48ad2a94 21:14:18 Step 3/10 : ARG MAKE='make build' 21:14:21 ---> Running in 83f8253bf2df 21:14:21 Removing intermediate container 83f8253bf2df 21:14:21 ---> c63889116160 21:14:21 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:14:21 ---> Running in 73d13d993e6b 21:14:21 Removing intermediate container 73d13d993e6b 21:14:21 ---> ccd2a9243306 21:14:21 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:14:21 ---> Running in 05ec3e41f6fe 21:14:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:14:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:14:23 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:14:23 (2/8) Installing libedit (20210910.3.1-r0) 21:14:23 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:14:23 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:14:23 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:14:23 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:14:23 (7/8) Installing openssh-server (9.0_p1-r2) 21:14:24 (8/8) Installing openssh (9.0_p1-r2) 21:14:24 Executing busybox-1.35.0-r13.trigger 21:14:24 OK: 217 MiB in 59 packages 21:14:24 Still waiting to schedule task 21:14:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:14:24 Removing intermediate container 05ec3e41f6fe 21:14:24 ---> 0c883b3d98c9 21:14:24 Step 6/10 : WORKDIR /device-modbus-go 21:14:24 ---> Running in 74050462e03e 21:14:24 Removing intermediate container 74050462e03e 21:14:24 ---> 640d08266d79 21:14:24 Step 7/10 : COPY go.mod vendor* ./ 21:14:24 ---> fcc6180e39e1 21:14:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:24 ---> Running in bf946ad0253c 21:14:43 Removing intermediate container bf946ad0253c 21:14:43 ---> 1faaff8c2c6e 21:14:43 Step 9/10 : COPY . . 21:14:43 ---> 4991ee41afa3 21:14:43 Step 10/10 : RUN ${MAKE} 21:14:43 ---> Running in 2e68424c9093 21:14:43 noop 21:14:43 Removing intermediate container 2e68424c9093 21:14:43 ---> db99b6c6f390 21:14:43 Successfully built db99b6c6f390 21:14:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:44 + docker inspect -f . ci-base-image-x86_64 21:14:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:44 prd-ubuntu20.04-docker-8c-8g-1219 does not seem to be running inside a container 21:14:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:14:44 $ docker top b85efbdf7eca00e59e151021b4d1dfa7560f3ec5f298d1366133e698f35c6909 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:45 + go version 21:14:45 go version go1.18.3 linux/amd64 [Pipeline] } 21:14:45 $ docker stop --time=1 b85efbdf7eca00e59e151021b4d1dfa7560f3ec5f298d1366133e698f35c6909 21:14:46 $ docker rm -f b85efbdf7eca00e59e151021b4d1dfa7560f3ec5f298d1366133e698f35c6909 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:46 + docker inspect -f . ci-base-image-x86_64 21:14:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:46 prd-ubuntu20.04-docker-8c-8g-1219 does not seem to be running inside a container 21:14:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:14:47 $ docker top b1b0689fb70e54dd8b262710e40f6f16e3935a0737f083561ee81d021211ca28 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 21:14:47 + make test 21:14:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:14:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:14:58 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:14:58 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 47.7% of statements 21:15:04 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." 21:15:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:15:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:15:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:15:08 ./bin/test-attribution-txt.sh 21:15:08 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:15:08 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:15:08 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:15:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:15:08 $ docker stop --time=1 b1b0689fb70e54dd8b262710e40f6f16e3935a0737f083561ee81d021211ca28 21:15:10 $ docker rm -f b1b0689fb70e54dd8b262710e40f6f16e3935a0737f083561ee81d021211ca28 [Pipeline] // withDockerContainer [Pipeline] sh 21:15:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:15:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:15:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:15:11 + ls -al . 21:15:11 total 188 21:15:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 21:14 . 21:15:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:13 .. 21:15:11 -rw-rw-r-- 1 jenkins jenkins 140 Sep 26 21:13 .dockerignore 21:15:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 21:14 .git 21:15:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:13 .github 21:15:11 -rw-rw-r-- 1 jenkins jenkins 331 Sep 26 21:13 .gitignore 21:15:11 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 21:13 .golangci.yml 21:15:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 21:14 .semver 21:15:11 -rw-rw-r-- 1 jenkins jenkins 9744 Sep 26 21:13 Attribution.txt 21:15:11 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 26 21:13 CHANGELOG.md 21:15:11 -rw-rw-r-- 1 jenkins jenkins 1550 Sep 26 21:13 Dockerfile 21:15:11 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 21:13 GOVERNANCE.md 21:15:11 -rw-rw-r-- 1 jenkins jenkins 680 Sep 26 21:13 Jenkinsfile 21:15:11 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 21:13 LICENSE 21:15:11 -rw-rw-r-- 1 jenkins jenkins 1892 Sep 26 21:13 Makefile 21:15:11 -rw-rw-r-- 1 jenkins jenkins 622 Sep 26 21:13 OWNERS.md 21:15:11 -rw-rw-r-- 1 jenkins jenkins 3397 Sep 26 21:13 README.md 21:15:11 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 21:14 VERSION 21:15:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:13 bin 21:15:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:13 cmd 21:15:11 -rw-r--r-- 1 jenkins jenkins 23241 Sep 26 21:14 coverage.out 21:15:11 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 26 21:13 go.mod 21:15:11 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 26 21:13 go.sum 21:15:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:13 internal 21:15:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:13 simulator 21:15:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:13 snap 21:15:11 -rw-rw-r-- 1 jenkins jenkins 229 Sep 26 21:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:12 + 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=892226c059eb5a0163287d1d4603e2b9857b6e84 --label arch=amd64 --label version=2.3.0-dev.13 . 21:15:12 Sending build context to Docker daemon 6.151MB 21:15:12 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:15:12 Step 2/23 : FROM ${BASE} AS builder 21:15:12 ---> db99b6c6f390 21:15:12 Step 3/23 : ARG MAKE='make build' 21:15:12 ---> Running in d404f0d8b8c4 21:15:12 Removing intermediate container d404f0d8b8c4 21:15:12 ---> 3181060e3110 21:15:12 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:15:12 ---> Running in 58541a5d2d1e 21:15:12 Removing intermediate container 58541a5d2d1e 21:15:12 ---> 5afafa4a4915 21:15:12 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:15:12 ---> Running in b5d445b7bfbe 21:15:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:15:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:15:14 OK: 217 MiB in 59 packages 21:15:14 Removing intermediate container b5d445b7bfbe 21:15:14 ---> eaf493d48f6a 21:15:14 Step 6/23 : WORKDIR /device-modbus-go 21:15:14 ---> Running in 4b526dc4c061 21:15:14 Removing intermediate container 4b526dc4c061 21:15:14 ---> e37994257256 21:15:14 Step 7/23 : COPY go.mod vendor* ./ 21:15:15 ---> 235fe35e3b6b 21:15:15 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:15:15 ---> Running in f129c57a8274 21:15:15 Removing intermediate container f129c57a8274 21:15:15 ---> b99c84b27b99 21:15:15 Step 9/23 : COPY . . 21:15:15 ---> 40ccecd262c9 21:15:15 Step 10/23 : RUN ${MAKE} 21:15:15 ---> Running in 953dc1c644a3 21:15:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 21:15:38 Removing intermediate container 953dc1c644a3 21:15:38 ---> a5297b0cf190 21:15:38 Step 11/23 : FROM alpine:3.14 21:15:38 3.14: Pulling from library/alpine 21:15:38 c7ed990a2339: Pulling fs layer 21:15:38 c7ed990a2339: Verifying Checksum 21:15:38 c7ed990a2339: Download complete 21:15:38 c7ed990a2339: Pull complete 21:15:38 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:15:38 Status: Downloaded newer image for alpine:3.14 21:15:38 ---> dd53f409bf0b 21:15:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:15:38 ---> Running in 24da370f95c2 21:15:38 Removing intermediate container 24da370f95c2 21:15:38 ---> a6171fa5f4c9 21:15:38 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:15:38 ---> Running in bf8a206f97df 21:15:38 Removing intermediate container bf8a206f97df 21:15:38 ---> b60e853f7c59 21:15:38 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 21:15:38 ---> Running in 233f43b787e0 21:15:38 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:15:39 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:15:39 (1/6) Installing dumb-init (1.2.5-r1) 21:15:40 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:15:40 (3/6) Installing libsodium (1.0.18-r0) 21:15:40 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:15:40 (5/6) Installing libzmq (4.3.4-r0) 21:15:40 (6/6) Installing zeromq (4.3.4-r0) 21:15:40 Executing busybox-1.33.1-r8.trigger 21:15:40 OK: 8 MiB in 20 packages 21:15:40 Removing intermediate container 233f43b787e0 21:15:40 ---> 011ec488bfba 21:15:40 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 21:15:41 ---> 22c2efaca05c 21:15:41 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 21:15:41 ---> 65a8b5f41036 21:15:41 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:15:41 ---> 6c9c73ba62c5 21:15:41 Step 18/23 : EXPOSE 59901 21:15:41 ---> Running in 52f0283648fc 21:15:41 Removing intermediate container 52f0283648fc 21:15:41 ---> 561a2f8b18be 21:15:41 Step 19/23 : ENTRYPOINT ["/device-modbus"] 21:15:41 ---> Running in 27c69b7575a6 21:15:41 Removing intermediate container 27c69b7575a6 21:15:41 ---> c81d8ffffd46 21:15:41 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:15:41 ---> Running in 947ef94228d4 21:15:41 Removing intermediate container 947ef94228d4 21:15:41 ---> c711222e7fb9 21:15:41 Step 21/23 : LABEL arch=amd64 21:15:41 ---> Running in af77bdbd122f 21:15:41 Removing intermediate container af77bdbd122f 21:15:41 ---> b663998fdedc 21:15:41 Step 22/23 : LABEL git_sha=892226c059eb5a0163287d1d4603e2b9857b6e84 21:15:41 ---> Running in f9c68100f785 21:15:42 Removing intermediate container f9c68100f785 21:15:42 ---> 440d86f8eaab 21:15:42 Step 23/23 : LABEL version=2.3.0-dev.13 21:15:42 ---> Running in 651a69acedad 21:15:42 Removing intermediate container 651a69acedad 21:15:42 ---> 5e6a89ed9fee 21:15:42 [Warning] One or more build-args [ARCH] were not consumed 21:15:42 Successfully built 5e6a89ed9fee 21:15:42 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:42 provisioning config files... 21:15:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config702667217353646500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:42 ---> docker-login.sh 21:15:42 nexus3.edgexfoundry.org:10001 21:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:42 Configure a credential helper to remove this warning. See 21:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:42 21:15:42 Login Succeeded 21:15:42 nexus3.edgexfoundry.org:10002 21:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:42 Configure a credential helper to remove this warning. See 21:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:42 21:15:42 Login Succeeded 21:15:42 nexus3.edgexfoundry.org:10003 21:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:42 Configure a credential helper to remove this warning. See 21:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:42 21:15:42 Login Succeeded 21:15:42 nexus3.edgexfoundry.org:10004 21:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:42 Configure a credential helper to remove this warning. See 21:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:42 21:15:42 Login Succeeded 21:15:42 docker.io 21:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:43 Configure a credential helper to remove this warning. See 21:15:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:43 21:15:43 Login Succeeded 21:15:43 ---> docker-login.sh ends [Pipeline] } 21:15:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:43 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 21:15:43 892226c059eb5a0163287d1d4603e2b9857b6e84 21:15:43 latest 21:15:43 2.3.0-dev.13 21:15:43 892226c059eb5a0163287d1d4603e2b9857b6e84-2.3.0-dev.13 21:15:43 main 21:15:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:43 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:892226c059eb5a0163287d1d4603e2b9857b6e84 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:44 + docker push nexus3.edgexfoundry.org:10004/device-modbus:892226c059eb5a0163287d1d4603e2b9857b6e84 21:15:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:15:44 f195f2f1742f: Preparing 21:15:44 3f4dd3ced154: Preparing 21:15:44 b8dd974aeaa6: Preparing 21:15:44 8fbd5a4971a6: Preparing 21:15:44 643ad24176c5: Preparing 21:15:44 63493a9ab2d4: Preparing 21:15:44 63493a9ab2d4: Waiting 21:15:44 643ad24176c5: Pushed 21:15:44 3f4dd3ced154: Pushed 21:15:44 f195f2f1742f: Pushed 21:15:44 63493a9ab2d4: Layer already exists 21:15:44 8fbd5a4971a6: Pushed 21:15:46 b8dd974aeaa6: Pushed 21:15:46 892226c059eb5a0163287d1d4603e2b9857b6e84: digest: sha256:391be88ef668271fd1f88ee3e6f21f1e474854655bf6deba84a1e1c596f9fdc8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:47 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 21:15:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:15:47 f195f2f1742f: Preparing 21:15:47 3f4dd3ced154: Preparing 21:15:47 b8dd974aeaa6: Preparing 21:15:47 8fbd5a4971a6: Preparing 21:15:47 643ad24176c5: Preparing 21:15:47 63493a9ab2d4: Preparing 21:15:47 63493a9ab2d4: Waiting 21:15:47 f195f2f1742f: Layer already exists 21:15:47 643ad24176c5: Layer already exists 21:15:47 3f4dd3ced154: Layer already exists 21:15:47 b8dd974aeaa6: Layer already exists 21:15:47 8fbd5a4971a6: Layer already exists 21:15:47 63493a9ab2d4: Layer already exists 21:15:47 latest: digest: sha256:391be88ef668271fd1f88ee3e6f21f1e474854655bf6deba84a1e1c596f9fdc8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:47 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.13 21:15:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:15:48 f195f2f1742f: Preparing 21:15:48 3f4dd3ced154: Preparing 21:15:48 b8dd974aeaa6: Preparing 21:15:48 8fbd5a4971a6: Preparing 21:15:48 643ad24176c5: Preparing 21:15:48 63493a9ab2d4: Preparing 21:15:48 63493a9ab2d4: Waiting 21:15:48 3f4dd3ced154: Layer already exists 21:15:48 8fbd5a4971a6: Layer already exists 21:15:48 f195f2f1742f: Layer already exists 21:15:48 643ad24176c5: Layer already exists 21:15:48 b8dd974aeaa6: Layer already exists 21:15:48 63493a9ab2d4: Layer already exists 21:15:48 2.3.0-dev.13: digest: sha256:391be88ef668271fd1f88ee3e6f21f1e474854655bf6deba84a1e1c596f9fdc8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:48 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:892226c059eb5a0163287d1d4603e2b9857b6e84-2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:48 + docker push nexus3.edgexfoundry.org:10004/device-modbus:892226c059eb5a0163287d1d4603e2b9857b6e84-2.3.0-dev.13 21:15:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:15:48 f195f2f1742f: Preparing 21:15:48 3f4dd3ced154: Preparing 21:15:48 b8dd974aeaa6: Preparing 21:15:48 8fbd5a4971a6: Preparing 21:15:48 643ad24176c5: Preparing 21:15:48 63493a9ab2d4: Preparing 21:15:48 63493a9ab2d4: Waiting 21:15:48 f195f2f1742f: Layer already exists 21:15:48 3f4dd3ced154: Layer already exists 21:15:48 8fbd5a4971a6: Layer already exists 21:15:48 643ad24176c5: Layer already exists 21:15:48 b8dd974aeaa6: Layer already exists 21:15:48 63493a9ab2d4: Layer already exists 21:15:48 892226c059eb5a0163287d1d4603e2b9857b6e84-2.3.0-dev.13: digest: sha256:391be88ef668271fd1f88ee3e6f21f1e474854655bf6deba84a1e1c596f9fdc8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:49 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:49 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 21:15:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 21:15:49 f195f2f1742f: Preparing 21:15:49 3f4dd3ced154: Preparing 21:15:49 b8dd974aeaa6: Preparing 21:15:49 8fbd5a4971a6: Preparing 21:15:49 643ad24176c5: Preparing 21:15:49 63493a9ab2d4: Preparing 21:15:49 63493a9ab2d4: Waiting 21:15:49 3f4dd3ced154: Layer already exists 21:15:49 643ad24176c5: Layer already exists 21:15:49 8fbd5a4971a6: Layer already exists 21:15:49 f195f2f1742f: Layer already exists 21:15:49 b8dd974aeaa6: Layer already exists 21:15:49 63493a9ab2d4: Layer already exists 21:15:49 main: digest: sha256:391be88ef668271fd1f88ee3e6f21f1e474854655bf6deba84a1e1c596f9fdc8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:15:49 ===================================================== [Pipeline] echo 21:15:49 taggedImages: 21:15:49 - nexus3.edgexfoundry.org:10004/device-modbus:892226c059eb5a0163287d1d4603e2b9857b6e84 21:15:49 - nexus3.edgexfoundry.org:10004/device-modbus:latest 21:15:49 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.13 21:15:49 - nexus3.edgexfoundry.org:10004/device-modbus:892226c059eb5a0163287d1d4603e2b9857b6e84-2.3.0-dev.13 21:15:49 - 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 21:15:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:49 21:15:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:49 latest: Pulling from edgex-lftools-log-publisher 21:15:49 5eb5b503b376: Pulling fs layer 21:15:49 5c69ac0246d0: Pulling fs layer 21:15:49 ec43610c2a17: Pulling fs layer 21:15:49 3a2ae6a8a46f: Pulling fs layer 21:15:49 33b1e0a273af: Pulling fs layer 21:15:49 5d3b04190fa2: Pulling fs layer 21:15:49 2f39f015ded8: Pulling fs layer 21:15:49 5d3b04190fa2: Waiting 21:15:49 3a2ae6a8a46f: Waiting 21:15:49 33b1e0a273af: Waiting 21:15:49 2f39f015ded8: Waiting 21:15:49 5c69ac0246d0: Download complete 21:15:49 3a2ae6a8a46f: Verifying Checksum 21:15:49 3a2ae6a8a46f: Download complete 21:15:50 33b1e0a273af: Verifying Checksum 21:15:50 33b1e0a273af: Download complete 21:15:50 5d3b04190fa2: Verifying Checksum 21:15:50 5d3b04190fa2: Download complete 21:15:50 ec43610c2a17: Verifying Checksum 21:15:50 ec43610c2a17: Download complete 21:15:50 5eb5b503b376: Verifying Checksum 21:15:50 5eb5b503b376: Download complete 21:15:50 2f39f015ded8: Download complete 21:15:51 5eb5b503b376: Pull complete 21:15:51 5c69ac0246d0: Pull complete 21:15:52 ec43610c2a17: Pull complete 21:15:52 3a2ae6a8a46f: Pull complete 21:15:52 33b1e0a273af: Pull complete 21:15:52 5d3b04190fa2: Pull complete 21:15:56 2f39f015ded8: Pull complete 21:15:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:15:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:56 prd-ubuntu20.04-docker-8c-8g-1219 does not seem to be running inside a container 21:15:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:15:58 $ docker top e752a793073743138cac4c85ee253c4cfb18dcb235b146eb0bd37a4c4ab34878 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:59 ---> job-cost.sh 21:15:59 lf-activate-venv: SKIPPING 21:15:59 INFO: No Stack... 21:15:59 INFO: Retrieving Pricing Info for: v3-standard-8 21:16:00 INFO: Archiving Costs [Pipeline] sh 21:16:00 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 21:16:00 + cut -d, -f6 [Pipeline] lock 21:16:00 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-52-stack-cost] 21:16:00 Resource [jenkins-edgexfoundry-device-modbus-go-main-52-stack-cost] did not exist. Created. 21:16:00 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:00 + echo total: 0.2199999988079071 [Pipeline] stash 21:16:00 Stashed 1 file(s) [Pipeline] } 21:16:00 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:00 $ docker stop --time=1 e752a793073743138cac4c85ee253c4cfb18dcb235b146eb0bd37a4c4ab34878 21:16:01 $ docker rm -f e752a793073743138cac4c85ee253c4cfb18dcb235b146eb0bd37a4c4ab34878 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:20:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1254 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 21:20:49 Running in /w/workspace/device-modbus-go/52 [Pipeline] { [Pipeline] checkout 21:20:49 Selected Git installation does not exist. Using Default 21:20:49 The recommended git tool is: NONE 21:20:55 using credential edgex-jenkins-ssh 21:20:55 Cloning the remote Git repository 21:20:55 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:20:55 > git init /w/workspace/device-modbus-go/52 # timeout=10 21:20:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:20:56 > git --version # timeout=10 21:20:56 > git --version # 'git version 2.25.1' 21:20:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:56 Verifying host key using known hosts file 21:20:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:20:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:20:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:20:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:20:58 Avoid second fetch 21:20:58 Checking out Revision 892226c059eb5a0163287d1d4603e2b9857b6e84 (main) 21:20:58 > git config core.sparsecheckout # timeout=10 21:20:58 > git checkout -f 892226c059eb5a0163287d1d4603e2b9857b6e84 # timeout=10 21:20:59 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#377)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:21:00 % Total % Received % Xferd Average Speed Time Time Time Current 21:21:00 Dload Upload Total Spent Left Speed 21:21:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 161k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh 21:21:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:21:01 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 21:21:01 21:21:01 { 21:21:01 "registry-mirrors": [ 21:21:01 "https://nexus3.edgexfoundry.org:10001" 21:21:01 ], 21:21:01 "bip": "10.250.0.254/24", 21:21:01 "hosts": [ 21:21:01 "tcp://0.0.0.0:5555", 21:21:01 "unix:///var/run/docker.sock" 21:21:01 ], 21:21:01 "mtu": 1458, 21:21:01 "selinux-enabled": true, 21:21:01 "seccomp-profile": "/etc/docker/seccomp.json" 21:21:01 } [Pipeline] sh 21:21:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:21:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:20 provisioning config files... 21:21:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/52@tmp/config15917779890169396588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:20 ---> docker-login.sh 21:21:20 nexus3.edgexfoundry.org:10001 21:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:21 Configure a credential helper to remove this warning. See 21:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:21 21:21:21 Login Succeeded 21:21:21 nexus3.edgexfoundry.org:10002 21:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:21 Configure a credential helper to remove this warning. See 21:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:21 21:21:21 Login Succeeded 21:21:21 nexus3.edgexfoundry.org:10003 21:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:22 Configure a credential helper to remove this warning. See 21:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:22 21:21:22 Login Succeeded 21:21:22 nexus3.edgexfoundry.org:10004 21:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:22 Configure a credential helper to remove this warning. See 21:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:22 21:21:22 Login Succeeded 21:21:22 docker.io 21:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:23 Configure a credential helper to remove this warning. See 21:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:23 21:21:23 Login Succeeded 21:21:23 ---> docker-login.sh ends [Pipeline] } 21:21:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:21:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:23 ========================================================= 21:21:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:21:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:24 + 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 . 21:21:24 Sending build context to Docker daemon 3.183MB 21:21:24 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:21:24 Step 2/10 : FROM ${BASE} AS builder 21:21:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:21:24 b3c136eddcbf: Pulling fs layer 21:21:24 c0a3192eca97: Pulling fs layer 21:21:24 a050256f5b6f: Pulling fs layer 21:21:24 656be50a0ddc: Pulling fs layer 21:21:24 2bbca73fdf42: Pulling fs layer 21:21:24 46d945488cbd: Pulling fs layer 21:21:24 8a5474983e97: Pulling fs layer 21:21:24 329c88fbcd65: Pulling fs layer 21:21:24 656be50a0ddc: Waiting 21:21:24 2bbca73fdf42: Waiting 21:21:24 46d945488cbd: Waiting 21:21:24 8a5474983e97: Waiting 21:21:24 329c88fbcd65: Waiting 21:21:24 a050256f5b6f: Verifying Checksum 21:21:24 a050256f5b6f: Download complete 21:21:24 c0a3192eca97: Download complete 21:21:24 2bbca73fdf42: Download complete 21:21:24 46d945488cbd: Verifying Checksum 21:21:24 46d945488cbd: Download complete 21:21:24 b3c136eddcbf: Verifying Checksum 21:21:24 b3c136eddcbf: Download complete 21:21:25 b3c136eddcbf: Pull complete 21:21:26 329c88fbcd65: Verifying Checksum 21:21:26 329c88fbcd65: Download complete 21:21:26 c0a3192eca97: Pull complete 21:21:26 a050256f5b6f: Pull complete 21:21:27 8a5474983e97: Download complete 21:21:28 656be50a0ddc: Verifying Checksum 21:21:28 656be50a0ddc: Download complete 21:21:43 656be50a0ddc: Pull complete 21:21:43 2bbca73fdf42: Pull complete 21:21:43 46d945488cbd: Pull complete 21:21:48 8a5474983e97: Pull complete 21:21:50 329c88fbcd65: Pull complete 21:21:50 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:21:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:21:50 ---> ff4287adb874 21:21:50 Step 3/10 : ARG MAKE='make build' 21:21:52 ---> Running in 769c9bdf2f22 21:21:52 Removing intermediate container 769c9bdf2f22 21:21:52 ---> f0b07d457cbb 21:21:52 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:21:52 ---> Running in d0a497d32933 21:21:54 Removing intermediate container d0a497d32933 21:21:54 ---> 069f1dff28d4 21:21:54 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:21:54 ---> Running in f3fd9216c22c 21:21:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:21:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:21:57 (1/8) Installing openssh-keygen (9.0_p1-r2) 21:21:57 (2/8) Installing libedit (20210910.3.1-r0) 21:21:57 (3/8) Installing openssh-client-common (9.0_p1-r2) 21:21:58 (4/8) Installing openssh-client-default (9.0_p1-r2) 21:21:58 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 21:21:58 (6/8) Installing openssh-server-common (9.0_p1-r2) 21:21:58 (7/8) Installing openssh-server (9.0_p1-r2) 21:21:58 (8/8) Installing openssh (9.0_p1-r2) 21:21:58 Executing busybox-1.35.0-r13.trigger 21:21:58 OK: 228 MiB in 59 packages 21:21:59 Removing intermediate container f3fd9216c22c 21:21:59 ---> 80c4ef4cf7d6 21:21:59 Step 6/10 : WORKDIR /device-modbus-go 21:21:59 ---> Running in fb2a4aa9790c 21:22:00 Removing intermediate container fb2a4aa9790c 21:22:00 ---> 56e1ee860750 21:22:00 Step 7/10 : COPY go.mod vendor* ./ 21:22:00 ---> a536b893c037 21:22:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:00 ---> Running in 4161234fac37 21:22:57 Removing intermediate container 4161234fac37 21:22:57 ---> dbcdd5753277 21:22:57 Step 9/10 : COPY . . 21:22:57 ---> 2184fa21bc69 21:22:57 Step 10/10 : RUN ${MAKE} 21:22:57 ---> Running in e4f31f29beb9 21:22:57 noop 21:22:57 Removing intermediate container e4f31f29beb9 21:22:57 ---> e2751f932d92 21:22:57 Successfully built e2751f932d92 21:22:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:57 + docker inspect -f . ci-base-image-arm64 21:22:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:57 prd-ubuntu20.04-docker-arm64-4c-16g-1254 does not seem to be running inside a container 21:22:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/52 -v /w/workspace/device-modbus-go/52:/w/workspace/device-modbus-go/52:rw,z -v /w/workspace/device-modbus-go/52@tmp:/w/workspace/device-modbus-go/52@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 21:22:59 $ docker top 62ffd9f7d34a82549d8c0cb60acf9d1cb191ebaa637382a966fbf841b8ca5b14 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:59 + go version 21:22:59 go version go1.18.3 linux/arm64 [Pipeline] } 21:23:00 $ docker stop --time=1 62ffd9f7d34a82549d8c0cb60acf9d1cb191ebaa637382a966fbf841b8ca5b14 21:23:01 $ docker rm -f 62ffd9f7d34a82549d8c0cb60acf9d1cb191ebaa637382a966fbf841b8ca5b14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:02 + docker inspect -f . ci-base-image-arm64 21:23:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:02 prd-ubuntu20.04-docker-arm64-4c-16g-1254 does not seem to be running inside a container 21:23:02 $ 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/52 -v /w/workspace/device-modbus-go/52:/w/workspace/device-modbus-go/52:rw,z -v /w/workspace/device-modbus-go/52@tmp:/w/workspace/device-modbus-go/52@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 21:23:03 $ docker top e73705e3836ef6476d7f399faed495187b2d338ac5860e5c193fbde699c9524e -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:04 + git config --global --add safe.directory /w/workspace/device-modbus-go/52 [Pipeline] fileExists [Pipeline] sh 21:23:05 + make test 21:23:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:23:07 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:24:43 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:24:43 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements 21:24:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:24:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:24:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:24:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:24:58 ./bin/test-attribution-txt.sh 21:24:58 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:24:58 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:24:58 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:24:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:24:59 $ docker stop --time=1 e73705e3836ef6476d7f399faed495187b2d338ac5860e5c193fbde699c9524e 21:25:01 $ docker rm -f e73705e3836ef6476d7f399faed495187b2d338ac5860e5c193fbde699c9524e [Pipeline] // withDockerContainer [Pipeline] sh 21:25:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:25:02 Warning: overwriting stash ‘coverage-report’ 21:25:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:25:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:25:03 + ls -al . 21:25:03 total 184 21:25:03 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 21:23 . 21:25:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:20 .. 21:25:03 -rw-rw-r-- 1 jenkins jenkins 140 Sep 26 21:20 .dockerignore 21:25:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 21:20 .git 21:25:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:20 .github 21:25:03 -rw-rw-r-- 1 jenkins jenkins 331 Sep 26 21:20 .gitignore 21:25:03 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 21:20 .golangci.yml 21:25:03 -rw-rw-r-- 1 jenkins jenkins 9744 Sep 26 21:20 Attribution.txt 21:25:03 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 26 21:20 CHANGELOG.md 21:25:03 -rw-rw-r-- 1 jenkins jenkins 1550 Sep 26 21:20 Dockerfile 21:25:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 21:20 GOVERNANCE.md 21:25:03 -rw-rw-r-- 1 jenkins jenkins 680 Sep 26 21:20 Jenkinsfile 21:25:03 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 21:20 LICENSE 21:25:03 -rw-rw-r-- 1 jenkins jenkins 1892 Sep 26 21:20 Makefile 21:25:03 -rw-rw-r-- 1 jenkins jenkins 622 Sep 26 21:20 OWNERS.md 21:25:03 -rw-rw-r-- 1 jenkins jenkins 3397 Sep 26 21:20 README.md 21:25:03 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 21:14 VERSION 21:25:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:20 bin 21:25:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:20 cmd 21:25:03 -rw-r--r-- 1 jenkins jenkins 23241 Sep 26 21:24 coverage.out 21:25:03 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 26 21:20 go.mod 21:25:03 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 26 21:20 go.sum 21:25:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:20 internal 21:25:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:20 simulator 21:25:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:20 snap 21:25:03 -rw-rw-r-- 1 jenkins jenkins 229 Sep 26 21:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:03 + 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=892226c059eb5a0163287d1d4603e2b9857b6e84 --label arch=arm64 --label version=2.3.0-dev.13 . 21:25:03 Sending build context to Docker daemon 3.207MB 21:25:03 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:25:03 Step 2/23 : FROM ${BASE} AS builder 21:25:03 ---> e2751f932d92 21:25:03 Step 3/23 : ARG MAKE='make build' 21:25:04 ---> Running in 071ead682fa2 21:25:04 Removing intermediate container 071ead682fa2 21:25:04 ---> 57e904e58266 21:25:04 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:25:04 ---> Running in d578af537b8f 21:25:06 Removing intermediate container d578af537b8f 21:25:06 ---> 8e66ff9f7c2e 21:25:06 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 21:25:06 ---> Running in bec64016ebc7 21:25:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:25:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:25:10 OK: 228 MiB in 59 packages 21:25:11 Removing intermediate container bec64016ebc7 21:25:11 ---> 7fa36eda9836 21:25:11 Step 6/23 : WORKDIR /device-modbus-go 21:25:11 ---> Running in a12bba88b3e3 21:25:11 Removing intermediate container a12bba88b3e3 21:25:11 ---> ce6e4382218d 21:25:11 Step 7/23 : COPY go.mod vendor* ./ 21:25:11 ---> c5fcd1b0c1a6 21:25:11 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:25:12 ---> Running in ec127d088afa 21:25:14 Removing intermediate container ec127d088afa 21:25:14 ---> 5910ea1f4cf2 21:25:14 Step 9/23 : COPY . . 21:25:15 ---> 0fa1a9ab1d53 21:25:15 Step 10/23 : RUN ${MAKE} 21:25:15 ---> Running in 2fa541cd612f 21:25:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 21:27:53 Removing intermediate container 2fa541cd612f 21:27:53 ---> 3e36171c513c 21:27:53 Step 11/23 : FROM alpine:3.14 21:27:53 3.14: Pulling from library/alpine 21:27:53 90cda3b7c325: Pulling fs layer 21:27:53 90cda3b7c325: Download complete 21:27:53 90cda3b7c325: Pull complete 21:27:53 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 21:27:53 Status: Downloaded newer image for alpine:3.14 21:27:53 ---> 376ba31ae3da 21:27:53 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:27:53 ---> Running in e23bf088ab8c 21:27:53 Removing intermediate container e23bf088ab8c 21:27:53 ---> a53ac682a455 21:27:53 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:27:53 ---> Running in e8865bc6cce8 21:27:53 Removing intermediate container e8865bc6cce8 21:27:53 ---> 0046e5c6d316 21:27:53 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 21:27:53 ---> Running in 81c72a2d5088 21:27:53 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:27:53 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:27:54 (1/6) Installing dumb-init (1.2.5-r1) 21:27:54 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:27:54 (3/6) Installing libsodium (1.0.18-r0) 21:27:54 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:27:54 (5/6) Installing libzmq (4.3.4-r0) 21:27:55 (6/6) Installing zeromq (4.3.4-r0) 21:27:55 Executing busybox-1.33.1-r8.trigger 21:27:55 OK: 8 MiB in 20 packages 21:27:56 Removing intermediate container 81c72a2d5088 21:27:56 ---> 54f10cbf5b6a 21:27:56 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 21:27:57 ---> aae4724fddd5 21:27:57 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 21:27:57 ---> ac0657edb8d2 21:27:57 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:27:58 ---> da97efe570a8 21:27:58 Step 18/23 : EXPOSE 59901 21:27:58 ---> Running in 18d7dc9a5020 21:27:58 Removing intermediate container 18d7dc9a5020 21:27:58 ---> 91256bbeacdd 21:27:58 Step 19/23 : ENTRYPOINT ["/device-modbus"] 21:27:58 ---> Running in 33a6c4ccee9d 21:27:59 Removing intermediate container 33a6c4ccee9d 21:27:59 ---> 4a19b390c8ee 21:27:59 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:27:59 ---> Running in c0d3a94b0d8e 21:27:59 Removing intermediate container c0d3a94b0d8e 21:27:59 ---> 4c95daf9fc76 21:27:59 Step 21/23 : LABEL arch=arm64 21:27:59 ---> Running in d0353856ae6b 21:27:59 Removing intermediate container d0353856ae6b 21:27:59 ---> ff0c29900bad 21:27:59 Step 22/23 : LABEL git_sha=892226c059eb5a0163287d1d4603e2b9857b6e84 21:27:59 ---> Running in 5fb25ec21675 21:28:00 Removing intermediate container 5fb25ec21675 21:28:00 ---> 9157797fcf47 21:28:00 Step 23/23 : LABEL version=2.3.0-dev.13 21:28:00 ---> Running in bc4d9e497e2b 21:28:00 Removing intermediate container bc4d9e497e2b 21:28:00 ---> 07b841a06f6a 21:28:00 [Warning] One or more build-args [ARCH] were not consumed 21:28:00 Successfully built 07b841a06f6a 21:28:00 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 21:28:00 provisioning config files... 21:28:00 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/52@tmp/config5700742582427972968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:00 ---> docker-login.sh 21:28:00 nexus3.edgexfoundry.org:10001 21:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:01 Configure a credential helper to remove this warning. See 21:28:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:01 21:28:01 Login Succeeded 21:28:01 nexus3.edgexfoundry.org:10002 21:28:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:01 Configure a credential helper to remove this warning. See 21:28:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:01 21:28:01 Login Succeeded 21:28:01 nexus3.edgexfoundry.org:10003 21:28:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:02 Configure a credential helper to remove this warning. See 21:28:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:02 21:28:02 Login Succeeded 21:28:02 nexus3.edgexfoundry.org:10004 21:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:02 Configure a credential helper to remove this warning. See 21:28:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:02 21:28:02 Login Succeeded 21:28:02 docker.io 21:28:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:28:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:28:02 Configure a credential helper to remove this warning. See 21:28:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:28:02 21:28:02 Login Succeeded 21:28:02 ---> docker-login.sh ends [Pipeline] } 21:28:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:28:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:28:02 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 21:28:02 892226c059eb5a0163287d1d4603e2b9857b6e84 21:28:02 latest 21:28:02 2.3.0-dev.13 21:28:02 892226c059eb5a0163287d1d4603e2b9857b6e84-2.3.0-dev.13 21:28:02 main 21:28:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:03 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:892226c059eb5a0163287d1d4603e2b9857b6e84 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:03 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:892226c059eb5a0163287d1d4603e2b9857b6e84 21:28:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:28:03 d9416be75ac9: Preparing 21:28:03 d180bcf10619: Preparing 21:28:03 1e7159ec0ac0: Preparing 21:28:03 73f7d5ae3e9a: Preparing 21:28:03 08f0c063e99b: Preparing 21:28:03 28c3ef001483: Preparing 21:28:03 28c3ef001483: Waiting 21:28:03 08f0c063e99b: Pushed 21:28:03 d180bcf10619: Pushed 21:28:03 d9416be75ac9: Pushed 21:28:03 28c3ef001483: Layer already exists 21:28:04 73f7d5ae3e9a: Pushed 21:28:09 1e7159ec0ac0: Pushed 21:28:09 892226c059eb5a0163287d1d4603e2b9857b6e84: digest: sha256:e9b0cf30d224883d6a919f24ee1eb0ecee047cd90b5c6171c56ef72f9d9802da size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:10 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:28:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:28:10 d9416be75ac9: Preparing 21:28:10 d180bcf10619: Preparing 21:28:10 1e7159ec0ac0: Preparing 21:28:10 73f7d5ae3e9a: Preparing 21:28:10 08f0c063e99b: Preparing 21:28:10 28c3ef001483: Preparing 21:28:10 28c3ef001483: Waiting 21:28:10 d180bcf10619: Layer already exists 21:28:10 d9416be75ac9: Layer already exists 21:28:10 08f0c063e99b: Layer already exists 21:28:10 73f7d5ae3e9a: Layer already exists 21:28:10 1e7159ec0ac0: Layer already exists 21:28:10 28c3ef001483: Layer already exists 21:28:10 latest: digest: sha256:e9b0cf30d224883d6a919f24ee1eb0ecee047cd90b5c6171c56ef72f9d9802da size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:11 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.13 21:28:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:28:11 d9416be75ac9: Preparing 21:28:11 d180bcf10619: Preparing 21:28:11 1e7159ec0ac0: Preparing 21:28:11 73f7d5ae3e9a: Preparing 21:28:11 08f0c063e99b: Preparing 21:28:11 28c3ef001483: Preparing 21:28:11 28c3ef001483: Waiting 21:28:11 1e7159ec0ac0: Layer already exists 21:28:11 73f7d5ae3e9a: Layer already exists 21:28:11 08f0c063e99b: Layer already exists 21:28:11 d9416be75ac9: Layer already exists 21:28:11 d180bcf10619: Layer already exists 21:28:11 28c3ef001483: Layer already exists 21:28:11 2.3.0-dev.13: digest: sha256:e9b0cf30d224883d6a919f24ee1eb0ecee047cd90b5c6171c56ef72f9d9802da size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:12 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:892226c059eb5a0163287d1d4603e2b9857b6e84-2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:892226c059eb5a0163287d1d4603e2b9857b6e84-2.3.0-dev.13 21:28:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:28:13 d9416be75ac9: Preparing 21:28:13 d180bcf10619: Preparing 21:28:13 1e7159ec0ac0: Preparing 21:28:13 73f7d5ae3e9a: Preparing 21:28:13 08f0c063e99b: Preparing 21:28:13 28c3ef001483: Preparing 21:28:13 28c3ef001483: Waiting 21:28:13 73f7d5ae3e9a: Layer already exists 21:28:13 d9416be75ac9: Layer already exists 21:28:13 08f0c063e99b: Layer already exists 21:28:13 d180bcf10619: Layer already exists 21:28:13 1e7159ec0ac0: Layer already exists 21:28:13 28c3ef001483: Layer already exists 21:28:13 892226c059eb5a0163287d1d4603e2b9857b6e84-2.3.0-dev.13: digest: sha256:e9b0cf30d224883d6a919f24ee1eb0ecee047cd90b5c6171c56ef72f9d9802da size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:13 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 21:28:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 21:28:13 d9416be75ac9: Preparing 21:28:13 d180bcf10619: Preparing 21:28:13 1e7159ec0ac0: Preparing 21:28:13 73f7d5ae3e9a: Preparing 21:28:13 08f0c063e99b: Preparing 21:28:13 28c3ef001483: Preparing 21:28:13 d180bcf10619: Layer already exists 21:28:13 d9416be75ac9: Layer already exists 21:28:13 08f0c063e99b: Layer already exists 21:28:13 73f7d5ae3e9a: Layer already exists 21:28:13 1e7159ec0ac0: Layer already exists 21:28:13 28c3ef001483: Layer already exists 21:28:14 main: digest: sha256:e9b0cf30d224883d6a919f24ee1eb0ecee047cd90b5c6171c56ef72f9d9802da size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:28:14 ===================================================== [Pipeline] echo 21:28:14 taggedImages: 21:28:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:892226c059eb5a0163287d1d4603e2b9857b6e84 21:28:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 21:28:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.13 21:28:14 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:892226c059eb5a0163287d1d4603e2b9857b6e84-2.3.0-dev.13 21:28:14 - 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 21:28:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:14 21:28:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:14 arm64: Pulling from edgex-lftools-log-publisher 21:28:14 8998bd30e6a1: Pulling fs layer 21:28:14 04944245beec: Pulling fs layer 21:28:14 699f458cf7ca: Pulling fs layer 21:28:14 765212b225bb: Pulling fs layer 21:28:14 f23df028b6ca: Pulling fs layer 21:28:14 d65c8cfc05b1: Pulling fs layer 21:28:14 2437ff75d9bd: Pulling fs layer 21:28:14 765212b225bb: Waiting 21:28:14 f23df028b6ca: Waiting 21:28:14 d65c8cfc05b1: Waiting 21:28:14 2437ff75d9bd: Waiting 21:28:15 04944245beec: Verifying Checksum 21:28:15 04944245beec: Download complete 21:28:15 765212b225bb: Verifying Checksum 21:28:15 765212b225bb: Download complete 21:28:15 f23df028b6ca: Verifying Checksum 21:28:15 f23df028b6ca: Download complete 21:28:15 d65c8cfc05b1: Verifying Checksum 21:28:15 d65c8cfc05b1: Download complete 21:28:15 699f458cf7ca: Verifying Checksum 21:28:15 699f458cf7ca: Download complete 21:28:15 8998bd30e6a1: Verifying Checksum 21:28:15 8998bd30e6a1: Download complete 21:28:18 2437ff75d9bd: Verifying Checksum 21:28:18 2437ff75d9bd: Download complete 21:28:19 8998bd30e6a1: Pull complete 21:28:20 04944245beec: Pull complete 21:28:21 699f458cf7ca: Pull complete 21:28:21 765212b225bb: Pull complete 21:28:22 f23df028b6ca: Pull complete 21:28:22 d65c8cfc05b1: Pull complete 21:28:37 2437ff75d9bd: Pull complete 21:28:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:28:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:37 prd-ubuntu20.04-docker-arm64-4c-16g-1254 does not seem to be running inside a container 21:28:37 $ 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/52 -v /w/workspace/device-modbus-go/52:/w/workspace/device-modbus-go/52:rw,z -v /w/workspace/device-modbus-go/52@tmp:/w/workspace/device-modbus-go/52@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 21:28:40 $ docker top 64faa25bedef40c4d41f804c1b51fd98e6d9b6415cabf421cb5402ddc8415cbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:40 ---> job-cost.sh 21:28:41 lf-activate-venv: SKIPPING 21:28:41 INFO: No Stack... 21:28:41 INFO: Retrieving Pricing Info for: v3-standard-4 21:28:42 INFO: Archiving Costs [Pipeline] sh 21:28:42 + cat /w/workspace/device-modbus-go/52/archives/cost.csv 21:28:42 + cut -d, -f6 [Pipeline] lock 21:28:42 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-52-stack-cost] 21:28:42 Resource [jenkins-edgexfoundry-device-modbus-go-main-52-stack-cost] did not exist. Created. 21:28:42 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:28:43 /w/workspace/device-modbus-go/52@tmp/durable-10d8188f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:28:43 + echo total: 0.10999999940395355 [Pipeline] stash 21:28:43 Warning: overwriting stash ‘stack-cost’ 21:28:43 Stashed 1 file(s) [Pipeline] } 21:28:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 21:28:43 $ docker stop --time=1 64faa25bedef40c4d41f804c1b51fd98e6d9b6415cabf421cb5402ddc8415cbf 21:28:45 $ docker rm -f 64faa25bedef40c4d41f804c1b51fd98e6d9b6415cabf421cb5402ddc8415cbf [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 21:28:45 provisioning config files... 21:28:45 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1170532437091644312tmp [Pipeline] { [Pipeline] sh 21:28:46 + set +x 21:28:46 + curl -s https://codecov.io/bash 21:28:46 + bash -s -- 21:28:46 21:28:46 _____ _ 21:28:46 / ____| | | 21:28:46 | | ___ __| | ___ ___ _____ __ 21:28:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:28:46 | |___| (_) | (_| | __/ (_| (_) \ V / 21:28:46 \_____\___/ \__,_|\___|\___\___/ \_/ 21:28:46 Bash-1.0.6 21:28:46 21:28:46 21:28:46 ==> git version 2.25.1 found 21:28:46 ==> 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 21:28:46 Release-Date: 2020-01-08 21:28:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:28:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:28:46 ==> Jenkins CI detected. 21:28:46 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 21:28:46 project root: . 21:28:46 --> token set from env 21:28:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:28:46 ==> Running gcov in . (disable via -X gcov) 21:28:46 ==> Python coveragepy not found 21:28:46 ==> Searching for coverage reports in: 21:28:46 + . 21:28:46 -> Found 1 reports 21:28:46 ==> Detecting git/mercurial file structure 21:28:46 ==> Reading reports 21:28:46 + ./coverage.out bytes=23241 21:28:46 ==> Appending adjustments 21:28:46 https://docs.codecov.io/docs/fixing-reports 21:28:46 + Found adjustments 21:28:46 ==> Gzipping contents 21:28:46 4.0K /tmp/codecov.ct1Gg0.gz 21:28:46 ==> Uploading reports 21:28:46 url: https://codecov.io 21:28:46 query: branch=main&commit=892226c059eb5a0163287d1d4603e2b9857b6e84&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:28:46 -> Pinging Codecov 21:28:46 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=892226c059eb5a0163287d1d4603e2b9857b6e84&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:28:46 -> Uploading to 21:28:46 https://storage.googleapis.com/codecov/v4/raw/2022-09-26/55DBCA73C666E3227836607328DD7E49/892226c059eb5a0163287d1d4603e2b9857b6e84/19da0760-0a7b-4a60-9082-ecea32d54d9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T212846Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=803469ab3a7bdce89a6482dbf9710a820b6dcbd514caa17ad04cb64f8f879e31 21:28:46 % Total % Received % Xferd Average Speed Time Time Time Current 21:28:46 Dload Upload Total Spent Left Speed 21:28:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 19077 --:--:-- --:--:-- --:--:-- 19077 21:28:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/892226c059eb5a0163287d1d4603e2b9857b6e84 [Pipeline] } 21:28:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:28:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:28:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:28:47 21:28:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:28:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:28:47 df9b9388f04a: Pulling fs layer 21:28:47 52dc419b0ee2: Pulling fs layer 21:28:47 25bc292e5bac: Pulling fs layer 21:28:47 114826534d7a: Pulling fs layer 21:28:47 4657fd5d0bcf: Pulling fs layer 21:28:47 6ad1cebc031e: Pulling fs layer 21:28:47 8a3aa393b2d8: Pulling fs layer 21:28:47 114826534d7a: Waiting 21:28:47 4657fd5d0bcf: Waiting 21:28:47 6ad1cebc031e: Waiting 21:28:47 8a3aa393b2d8: Waiting 21:28:47 25bc292e5bac: Verifying Checksum 21:28:47 25bc292e5bac: Download complete 21:28:47 52dc419b0ee2: Verifying Checksum 21:28:47 52dc419b0ee2: Download complete 21:28:47 4657fd5d0bcf: Verifying Checksum 21:28:47 4657fd5d0bcf: Download complete 21:28:47 df9b9388f04a: Download complete 21:28:47 df9b9388f04a: Pull complete 21:28:47 6ad1cebc031e: Verifying Checksum 21:28:47 6ad1cebc031e: Download complete 21:28:47 52dc419b0ee2: Pull complete 21:28:47 25bc292e5bac: Pull complete 21:28:48 114826534d7a: Verifying Checksum 21:28:48 114826534d7a: Download complete 21:28:48 8a3aa393b2d8: Verifying Checksum 21:28:48 8a3aa393b2d8: Download complete 21:28:51 114826534d7a: Pull complete 21:28:51 4657fd5d0bcf: Pull complete 21:28:51 6ad1cebc031e: Pull complete 21:28:54 8a3aa393b2d8: Pull complete 21:28:54 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:28:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:28:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:54 prd-ubuntu20.04-docker-8c-8g-1219 does not seem to be running inside a container 21:28:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:28:57 $ docker top beb593965c92d5d02cf4b84d4567ecc849e8602879695ada3c5515bc04a23924 -eo pid,comm [Pipeline] { [Pipeline] echo 21:28:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 21:28:58 + set -o pipefail 21:28:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 21:29:03 21:29:03 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 21:29:03 21:29:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/398abe89-61f2-491a-a77c-ddcc5730ab88 21:29:03 21:29:03 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 21:29:03 21:29:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:29:03 21:29:03 [Pipeline] } 21:29:03 $ docker stop --time=1 beb593965c92d5d02cf4b84d4567ecc849e8602879695ada3c5515bc04a23924 21:29:06 $ docker rm -f beb593965c92d5d02cf4b84d4567ecc849e8602879695ada3c5515bc04a23924 [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 21:29:07 + git log --format=format:%s -1 892226c059eb5a0163287d1d4603e2b9857b6e84 [Pipeline] sh 21:29:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:29:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:29:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:08 prd-ubuntu20.04-docker-8c-8g-1219 does not seem to be running inside a container 21:29:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:29:08 $ docker top b4e3ffd8328ce55e2c6dbd4a9b82f09a8d7e21fdf10253aee9ddf770bab095fc -eo pid,comm 21:29:08 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). 21:29:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:29:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:08 [ssh-agent] Looking for ssh-agent implementation... 21:29:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:08 $ docker exec b4e3ffd8328ce55e2c6dbd4a9b82f09a8d7e21fdf10253aee9ddf770bab095fc ssh-agent 21:29:08 SSH_AUTH_SOCK=/tmp/ssh-LPhLYJpzi9Yc/agent.32 21:29:08 SSH_AGENT_PID=38 21:29:08 Running ssh-add (command line suppressed) 21:29:08 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6624004612314646892.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6624004612314646892.key) 21:29:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:09 + git semver tag 21:29:09 2022-09-26 21:29:09,376 [run_tag] DEBUG tag force:False 21:29:09 2022-09-26 21:29:09,376 [check_head_tag] DEBUG check head tag 21:29:09 2022-09-26 21:29:09,377 [execute] INFO git cat-file --batch-check 21:29:09 2022-09-26 21:29:09,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:29:09 2022-09-26 21:29:09,381 [execute] INFO git cat-file --batch 21:29:09 2022-09-26 21:29:09,381 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 21:29:09 2022-09-26 21:29:09,393 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:29:09 2022-09-26 21:29:09,393 [execute] INFO git tag -a v2.3.0-dev.13 -m v2.3.0-dev.13 21:29:09 2022-09-26 21:29:09,393 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.13', '-m', 'v2.3.0-dev.13'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 21:29:09 2022-09-26 21:29:09,398 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:29:09 2.3.0-dev.13 [Pipeline] } 21:29:09 $ docker exec --env ******** --env ******** b4e3ffd8328ce55e2c6dbd4a9b82f09a8d7e21fdf10253aee9ddf770bab095fc ssh-agent -k 21:29:09 unset SSH_AUTH_SOCK; 21:29:09 unset SSH_AGENT_PID; 21:29:09 echo Agent pid 38 killed; 21:29:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:29:09 + git semver [Pipeline] } 21:29:10 $ docker stop --time=1 b4e3ffd8328ce55e2c6dbd4a9b82f09a8d7e21fdf10253aee9ddf770bab095fc 21:29:11 $ docker rm -f b4e3ffd8328ce55e2c6dbd4a9b82f09a8d7e21fdf10253aee9ddf770bab095fc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:29:11 21:29:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:29:12 0.23.1-centos7: Pulling from edgex-lftools 21:29:12 ab5ef0e58194: Pulling fs layer 21:29:12 9712f1f96733: Pulling fs layer 21:29:12 63f879dbbcfc: Pulling fs layer 21:29:12 0d9ebad4ef96: Pulling fs layer 21:29:12 e9a5061849ea: Pulling fs layer 21:29:12 d747dcd14b5f: Pulling fs layer 21:29:12 2de7ff778b66: Pulling fs layer 21:29:12 0d9ebad4ef96: Waiting 21:29:12 e9a5061849ea: Waiting 21:29:12 2de7ff778b66: Waiting 21:29:12 d747dcd14b5f: Waiting 21:29:12 9712f1f96733: Verifying Checksum 21:29:12 9712f1f96733: Download complete 21:29:12 63f879dbbcfc: Verifying Checksum 21:29:12 63f879dbbcfc: Download complete 21:29:12 0d9ebad4ef96: Verifying Checksum 21:29:12 0d9ebad4ef96: Download complete 21:29:12 d747dcd14b5f: Verifying Checksum 21:29:12 d747dcd14b5f: Download complete 21:29:12 e9a5061849ea: Download complete 21:29:12 ab5ef0e58194: Verifying Checksum 21:29:12 ab5ef0e58194: Download complete 21:29:12 2de7ff778b66: Verifying Checksum 21:29:12 2de7ff778b66: Download complete 21:29:15 ab5ef0e58194: Pull complete 21:29:15 9712f1f96733: Pull complete 21:29:16 63f879dbbcfc: Pull complete 21:29:20 0d9ebad4ef96: Pull complete 21:29:20 e9a5061849ea: Pull complete 21:29:20 d747dcd14b5f: Pull complete 21:29:21 2de7ff778b66: Pull complete 21:29:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:29:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:29:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:21 prd-ubuntu20.04-docker-8c-8g-1219 does not seem to be running inside a container 21:29:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:29:25 $ docker top ebf7db4ff648aff89fb6057c0c1b26116c3876dd1abf6deba0daa263eee1fc9a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:29:25 provisioning config files... 21:29:25 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9593467401419964004tmp 21:29:25 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8536441465540203087tmp 21:29:25 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10844898863283782427tmp [Pipeline] { [Pipeline] echo 21:29:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:29:25 ---> sigul-configuration.sh 21:29:25 gpg: directory `/root/.gnupg' created 21:29:25 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:29:25 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:29:25 gpg: keyring `/root/.gnupg/secring.gpg' created 21:29:25 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:29:25 gpg: CAST5 encrypted data 21:29:25 gpg: encrypted with 1 passphrase 21:29:25 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:29:26 + mkdir /home/jenkins 21:29:26 + mkdir /home/jenkins/sigul [Pipeline] sh 21:29:26 + 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 21:29:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:29:26 ---> sigul-install.sh 21:29:26 Sigul already installed; skipping installation. [Pipeline] sh 21:29:27 + git tag --list 21:29:27 0.7.1 21:29:27 v1.0.0 21:29:27 v1.1.0 21:29:27 v1.1.1 21:29:27 v1.2.2 21:29:27 v1.3.0 21:29:27 v1.3.1 21:29:27 v2.0.0 21:29:27 v2.1.0 21:29:27 v2.1.1 21:29:27 v2.1.1-dev.1 21:29:27 v2.1.1-dev.2 21:29:27 v2.1.1-dev.3 21:29:27 v2.2.0 21:29:27 v2.2.1-dev.1 21:29:27 v2.2.1-dev.2 21:29:27 v2.2.1-dev.3 21:29:27 v2.2.1-dev.4 21:29:27 v2.2.1-dev.5 21:29:27 v2.2.1-dev.6 21:29:27 v2.2.1-dev.7 21:29:27 v2.3.0-dev.10 21:29:27 v2.3.0-dev.11 21:29:27 v2.3.0-dev.12 21:29:27 v2.3.0-dev.13 21:29:27 v2.3.0-dev.7 21:29:27 v2.3.0-dev.8 21:29:27 v2.3.0-dev.9 [Pipeline] sh 21:29:27 + lftools sign git-tag v2.3.0-dev.13 21:29:27 Signing Git tag with Sigul... 21:29:27 Signing v2.3.0-dev.13 [Pipeline] echo 21:29:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:29:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:29:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:29:28 $ docker stop --time=1 ebf7db4ff648aff89fb6057c0c1b26116c3876dd1abf6deba0daa263eee1fc9a 21:29:29 $ docker rm -f ebf7db4ff648aff89fb6057c0c1b26116c3876dd1abf6deba0daa263eee1fc9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:29:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:29:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:29:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:30 prd-ubuntu20.04-docker-8c-8g-1219 does not seem to be running inside a container 21:29:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:29:30 $ docker top 04cb77c05c24f9332b36e234049115920628a994889a1ddc3d60b1dd2d42b9d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:29:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:30 [ssh-agent] Looking for ssh-agent implementation... 21:29:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:31 $ docker exec 04cb77c05c24f9332b36e234049115920628a994889a1ddc3d60b1dd2d42b9d6 ssh-agent 21:29:31 SSH_AUTH_SOCK=/tmp/ssh-jcYLw57vYui0/agent.32 21:29:31 SSH_AGENT_PID=38 21:29:31 Running ssh-add (command line suppressed) 21:29:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5807929305963680372.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5807929305963680372.key) 21:29:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:31 + git semver bump pre 21:29:31 2022-09-26 21:29:31,788 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:29:31 2022-09-26 21:29:31,788 [bump_version] DEBUG bumping version:2.3.0-dev.13 on axis:pre with prefix:dev 21:29:31 2022-09-26 21:29:31,788 [bump_version] DEBUG bumped version:2.3.0-dev.14 21:29:31 2022-09-26 21:29:31,788 [write_version] DEBUG write version:2.3.0-dev.14 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 21:29:31 2022-09-26 21:29:31,788 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:29:31 2022-09-26 21:29:31,788 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:29:31 2022-09-26 21:29:31,790 [execute] INFO git cat-file --batch-check 21:29:31 2022-09-26 21:29:31,790 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:29:31 2022-09-26 21:29:31,796 [execute] INFO git cat-file --batch 21:29:31 2022-09-26 21:29:31,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:29:31 2022-09-26 21:29:31,801 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:29:31 2.3.0-dev.14 [Pipeline] } 21:29:31 $ docker exec --env ******** --env ******** 04cb77c05c24f9332b36e234049115920628a994889a1ddc3d60b1dd2d42b9d6 ssh-agent -k 21:29:31 unset SSH_AUTH_SOCK; 21:29:31 unset SSH_AGENT_PID; 21:29:31 echo Agent pid 38 killed; 21:29:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:29:32 + git semver [Pipeline] } 21:29:32 $ docker stop --time=1 04cb77c05c24f9332b36e234049115920628a994889a1ddc3d60b1dd2d42b9d6 21:29:33 $ docker rm -f 04cb77c05c24f9332b36e234049115920628a994889a1ddc3d60b1dd2d42b9d6 [Pipeline] // withDockerContainer [Pipeline] sh 21:29:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:29:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:29:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:34 prd-ubuntu20.04-docker-8c-8g-1219 does not seem to be running inside a container 21:29:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:29:34 $ docker top 01ff4d55441c025d9308927567d332c807913b1ac7cc8ba050013f24b44fb145 -eo pid,comm 21:29:34 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). 21:29:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:29:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:35 [ssh-agent] Looking for ssh-agent implementation... 21:29:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:35 $ docker exec 01ff4d55441c025d9308927567d332c807913b1ac7cc8ba050013f24b44fb145 ssh-agent 21:29:35 SSH_AUTH_SOCK=/tmp/ssh-bqgIb1sKdWQk/agent.32 21:29:35 SSH_AGENT_PID=38 21:29:35 Running ssh-add (command line suppressed) 21:29:35 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15253099242145892666.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15253099242145892666.key) 21:29:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:35 + git semver push 21:29:35 2022-09-26 21:29:35,768 [run_push] DEBUG push 21:29:35 2022-09-26 21:29:35,769 [execute] INFO git cat-file --batch-check 21:29:35 2022-09-26 21:29:35,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:29:35 2022-09-26 21:29:35,773 [execute] INFO git rev-list 821e1e5b9892c452bc3cecf00a07115a33e038ba -- 21:29:35 2022-09-26 21:29:35,773 [execute] DEBUG Popen(['git', 'rev-list', '821e1e5b9892c452bc3cecf00a07115a33e038ba', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:29:35 2022-09-26 21:29:35,781 [execute] INFO git fetch -v origin 21:29:35 2022-09-26 21:29:35,782 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:29:36 2022-09-26 21:29:36,323 [run_push] DEBUG no remote changes detected 21:29:36 2022-09-26 21:29:36,324 [execute] INFO git push origin semver 21:29:36 2022-09-26 21:29:36,324 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:29:37 2022-09-26 21:29:37,097 [run_push] DEBUG push all version tags 21:29:37 2022-09-26 21:29:37,098 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:29:37 2022-09-26 21:29:37,099 [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) 21:29:38 2022-09-26 21:29:37,901 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 21:29:38 2.3.0-dev.14 [Pipeline] } 21:29:38 $ docker exec --env ******** --env ******** 01ff4d55441c025d9308927567d332c807913b1ac7cc8ba050013f24b44fb145 ssh-agent -k 21:29:38 unset SSH_AUTH_SOCK; 21:29:38 unset SSH_AGENT_PID; 21:29:38 echo Agent pid 38 killed; 21:29:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:29:38 + git semver [Pipeline] } 21:29:38 $ docker stop --time=1 01ff4d55441c025d9308927567d332c807913b1ac7cc8ba050013f24b44fb145 21:29:40 $ docker rm -f 01ff4d55441c025d9308927567d332c807913b1ac7cc8ba050013f24b44fb145 [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 21:29:40 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 21:29:40 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:29:40 total 16 21:29:40 drwxr-xr-x 3 root root 4096 Sep 26 21:16 . 21:29:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 21:29 .. 21:29:40 drwxr-xr-x 2 root root 4096 Sep 26 21:16 cost 21:29:40 -rw-r--r-- 1 root root 87 Sep 26 21:16 cost.csv 21:29:40 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 21:29:40 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 21:29:40 total 16 21:29:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 21:16 . 21:29:40 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 21:29 .. 21:29:40 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 21:16 cost 21:29:40 -rw-r--r-- 1 jenkins jenkins 87 Sep 26 21:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:29:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:29:41 ---> package-listing.sh 21:29:41 ++ facter osfamily 21:29:41 ++ tr '[:upper:]' '[:lower:]' 21:29:42 + OS_FAMILY=debian 21:29:42 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 21:29:42 + START_PACKAGES=/tmp/packages_start.txt 21:29:42 + END_PACKAGES=/tmp/packages_end.txt 21:29:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:29:42 + PACKAGES=/tmp/packages_start.txt 21:29:42 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:29:42 + PACKAGES=/tmp/packages_end.txt 21:29:42 + case "${OS_FAMILY}" in 21:29:42 + dpkg -l 21:29:42 + grep '^ii' 21:29:42 + '[' -f /tmp/packages_start.txt ']' 21:29:42 + '[' -f /tmp/packages_end.txt ']' 21:29:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:29:42 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 21:29:42 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 21:29:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 21:29:42 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 21:29:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:29:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:42 prd-ubuntu20.04-docker-8c-8g-1219 does not seem to be running inside a container 21:29:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:29:43 $ docker top 6c6237fcedbc5711ae59db1abb0b500bf20b02fa281e53d1c8d8633279335768 -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:43 + touch /tmp/pre-build-complete [Pipeline] sh 21:29:43 + mkdir -p /var/log/sysstat [Pipeline] sh 21:29:44 + ls /var/log/sa-host 21:29:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:29:44 provisioning config files... 21:29:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10579226562858117511tmp [Pipeline] { [Pipeline] echo 21:29:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:29:44 ---> create-netrc.sh [Pipeline] } 21:29:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:29:44 ---> python-tools-install.sh [Pipeline] echo 21:29:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:29:45 ---> sudo-logs.sh 21:29:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:29:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:29:45 ---> job-cost.sh 21:29:45 lf-activate-venv: SKIPPING 21:29:45 DEBUG: total: 0.2199999988079071 21:29:45 INFO: Retrieving Stack Cost... 21:29:45 INFO: Retrieving Pricing Info for: v3-standard-8 21:29:46 INFO: Archiving Costs [Pipeline] echo 21:29:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:29:46 ---> logs-deploy.sh 21:29:46 lf-activate-venv: SKIPPING 21:29:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/52 21:29:46 INFO: archiving workspace using pattern(s): 21:29:47 Archives upload complete. 21:29:47 INFO: archiving logs to Nexus 21:29:48 ---> uname -a: 21:29:48 Linux prd-ubuntu20-04-docker-8c-8g-1219 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:29:48 21:29:48 21:29:48 ---> lscpu: 21:29:48 Architecture: x86_64 21:29:48 CPU op-mode(s): 32-bit, 64-bit 21:29:48 Byte Order: Little Endian 21:29:48 Address sizes: 40 bits physical, 48 bits virtual 21:29:48 CPU(s): 8 21:29:48 On-line CPU(s) list: 0-7 21:29:48 Thread(s) per core: 1 21:29:48 Core(s) per socket: 1 21:29:48 Socket(s): 8 21:29:48 NUMA node(s): 1 21:29:48 Vendor ID: AuthenticAMD 21:29:48 CPU family: 23 21:29:48 Model: 49 21:29:48 Model name: AMD EPYC-Rome Processor 21:29:48 Stepping: 0 21:29:48 CPU MHz: 2799.998 21:29:48 BogoMIPS: 5599.99 21:29:48 Virtualization: AMD-V 21:29:48 Hypervisor vendor: KVM 21:29:48 Virtualization type: full 21:29:48 L1d cache: 256 KiB 21:29:48 L1i cache: 256 KiB 21:29:48 L2 cache: 4 MiB 21:29:48 L3 cache: 128 MiB 21:29:48 NUMA node0 CPU(s): 0-7 21:29:48 Vulnerability Itlb multihit: Not affected 21:29:48 Vulnerability L1tf: Not affected 21:29:48 Vulnerability Mds: Not affected 21:29:48 Vulnerability Meltdown: Not affected 21:29:48 Vulnerability Mmio stale data: Not affected 21:29:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:29:48 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:29:48 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:29:48 Vulnerability Srbds: Not affected 21:29:48 Vulnerability Tsx async abort: Not affected 21:29:48 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:29:48 21:29:48 21:29:48 ---> nproc: 21:29:48 8 21:29:48 21:29:48 21:29:48 ---> df -h: 21:29:48 Filesystem Size Used Avail Use% Mounted on 21:29:48 overlay 155G 13G 143G 9% / 21:29:48 tmpfs 64M 0 64M 0% /dev 21:29:48 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:29:48 shm 64M 0 64M 0% /dev/shm 21:29:48 /dev/vda1 155G 13G 143G 9% /facter-os 21:29:48 21:29:48