Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 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-ssh16694827515666526257.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-ssh319922071713097317.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-ssh7309931675566529938.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-ssh6691834340427613322.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-ssh15240740356884219413.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 Running on prd-ubuntu20.04-docker-8c-8g-8277 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 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 (main) Commit message: "feat(snap): add config interface with unique identifier (#382)" > 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 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 > git rev-list --no-walk 2f9659ed4568bcbc613d823f228583e539d90aa3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:46:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:46:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:46:30 ========================================================= 09:46:30 EdgeX Global Pipelines Version Info 09:46:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:46:31 ------------------- 09:46:31 stable info: 09:46:31 ------------------- 09:46:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:46:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:46:31 Message: update stable to v1.0.239 09:46:31 ------------------- 09:46:31 experimental info: 09:46:31 ------------------- 09:46:31 Commited By: **** collab-it+edgex@linuxfoundation.org 09:46:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:46:31 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:46:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ccf6e7 [Pipeline] echo 09:46:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:46:32 provisioning config files... 09:46:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4439200899140173605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:46:32 ---> docker-login.sh 09:46:32 nexus3.edgexfoundry.org:10001 09:46:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:32 Configure a credential helper to remove this warning. See 09:46:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:32 09:46:32 Login Succeeded 09:46:32 nexus3.edgexfoundry.org:10002 09:46:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:32 Configure a credential helper to remove this warning. See 09:46:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:32 09:46:32 Login Succeeded 09:46:32 nexus3.edgexfoundry.org:10003 09:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:33 Configure a credential helper to remove this warning. See 09:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:33 09:46:33 Login Succeeded 09:46:33 nexus3.edgexfoundry.org:10004 09:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:33 Configure a credential helper to remove this warning. See 09:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:33 09:46:33 Login Succeeded 09:46:33 docker.io 09:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:33 Configure a credential helper to remove this warning. See 09:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:33 09:46:33 Login Succeeded 09:46:33 ---> docker-login.sh ends [Pipeline] } 09:46:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:46:34 + git rev-list -1 --merges 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37~1..9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 [Pipeline] echo 09:46:34 -----------> git rev-list -1 --merges 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37~1..9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 [false] [Pipeline] sh 09:46:34 + git log --format=format:%s -1 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 [Pipeline] echo 09:46:34 ========================================================= 09:46:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:46:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:46:34 + git log --format=format:%s -1 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 [Pipeline] echo 09:46:34 [semverPrep] GIT_COMMIT: 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37, Commit Message: feat(snap): add config interface with unique identifier (#382) [Pipeline] echo 09:46:34 [semverPrep] This is not a build commit. [Pipeline] sh 09:46:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:46:35 + grep -v github /etc/ssh/ssh_known_hosts 09:46:35 + [ -e /tmp/ssh_known_hosts ] 09:46:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:46:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:46:35 + sudo tee -a /etc/ssh/ssh_known_hosts 09:46:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:46:35 09:46:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:46:35 0.1.4: Pulling from edgex-devops/py-git-semver 09:46:35 b85a868b505f: Pulling fs layer 09:46:35 e2be974225ed: Pulling fs layer 09:46:35 339a4e72a1f5: Pulling fs layer 09:46:35 988bab9f4d93: Pulling fs layer 09:46:35 1469e6f7b9e6: Pulling fs layer 09:46:35 eaf3925da568: Pulling fs layer 09:46:35 bab4dde63d76: Pulling fs layer 09:46:35 bde34c3a00c8: Pulling fs layer 09:46:35 b352a97aabf1: Pulling fs layer 09:46:35 4872d77fe225: Pulling fs layer 09:46:35 1469e6f7b9e6: Waiting 09:46:35 eaf3925da568: Waiting 09:46:35 5851b861e8e6: Pulling fs layer 09:46:35 988bab9f4d93: Waiting 09:46:35 bab4dde63d76: Waiting 09:46:35 b352a97aabf1: Waiting 09:46:35 4872d77fe225: Waiting 09:46:35 bde34c3a00c8: Waiting 09:46:35 5851b861e8e6: Waiting 09:46:35 e2be974225ed: Verifying Checksum 09:46:35 e2be974225ed: Download complete 09:46:35 988bab9f4d93: Download complete 09:46:36 1469e6f7b9e6: Verifying Checksum 09:46:36 1469e6f7b9e6: Download complete 09:46:36 339a4e72a1f5: Verifying Checksum 09:46:36 339a4e72a1f5: Download complete 09:46:36 eaf3925da568: Download complete 09:46:36 bde34c3a00c8: Verifying Checksum 09:46:36 bde34c3a00c8: Download complete 09:46:36 b352a97aabf1: Verifying Checksum 09:46:36 b352a97aabf1: Download complete 09:46:36 4872d77fe225: Verifying Checksum 09:46:36 4872d77fe225: Download complete 09:46:36 5851b861e8e6: Verifying Checksum 09:46:36 5851b861e8e6: Download complete 09:46:36 b85a868b505f: Download complete 09:46:36 bab4dde63d76: Verifying Checksum 09:46:37 b85a868b505f: Pull complete 09:46:37 e2be974225ed: Pull complete 09:46:38 339a4e72a1f5: Pull complete 09:46:38 988bab9f4d93: Pull complete 09:46:38 1469e6f7b9e6: Pull complete 09:46:38 eaf3925da568: Pull complete 09:46:40 bab4dde63d76: Pull complete 09:46:40 bde34c3a00c8: Pull complete 09:46:40 b352a97aabf1: Pull complete 09:46:40 4872d77fe225: Pull complete 09:46:40 5851b861e8e6: Pull complete 09:46:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:46:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:46:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:40 prd-ubuntu20.04-docker-8c-8g-8277 does not seem to be running inside a container 09:46:40 $ 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 09:46:42 $ docker top c38f327d57111ccbc27f5d32f3eeae1ec6d48a1bfd72432b87b1ba973d37bcdb -eo pid,comm 09:46:42 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). 09:46:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:46:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:46:42 [ssh-agent] Looking for ssh-agent implementation... 09:46:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:46:42 $ docker exec c38f327d57111ccbc27f5d32f3eeae1ec6d48a1bfd72432b87b1ba973d37bcdb ssh-agent 09:46:42 SSH_AUTH_SOCK=/tmp/ssh-uz53qedEsnRP/agent.31 09:46:42 SSH_AGENT_PID=37 09:46:42 Running ssh-add (command line suppressed) 09:46:42 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1779097463873563901.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1779097463873563901.key) 09:46:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:46:42 + git tag --points-at HEAD [Pipeline] } 09:46:43 $ docker exec --env ******** --env ******** c38f327d57111ccbc27f5d32f3eeae1ec6d48a1bfd72432b87b1ba973d37bcdb ssh-agent -k 09:46:43 unset SSH_AUTH_SOCK; 09:46:43 unset SSH_AGENT_PID; 09:46:43 echo Agent pid 37 killed; 09:46:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:46:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:46:43 [ssh-agent] Looking for ssh-agent implementation... 09:46:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:46:43 $ docker exec c38f327d57111ccbc27f5d32f3eeae1ec6d48a1bfd72432b87b1ba973d37bcdb ssh-agent 09:46:43 SSH_AUTH_SOCK=/tmp/ssh-f5Mbjpxxdfpc/agent.69 09:46:43 SSH_AGENT_PID=75 09:46:43 Running ssh-add (command line suppressed) 09:46:43 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12225214911845968662.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12225214911845968662.key) 09:46:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:46:43 + git semver init 09:46:44 2022-10-17 09:46:44,001 [run_init] DEBUG init version:0.0.0 force:False 09:46:44 2022-10-17 09:46:44,002 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 09:46:44 2022-10-17 09:46:44,002 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 09:46:44 2022-10-17 09:46:44,002 [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) 09:46:44 2022-10-17 09:46:44,911 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 09:46:44 2022-10-17 09:46:44,912 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 09:46:44 2022-10-17 09:46:44,912 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:46:44 2022-10-17 09:46:44,912 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:46:44 2.3.0-dev.19 [Pipeline] } 09:46:45 $ docker exec --env ******** --env ******** c38f327d57111ccbc27f5d32f3eeae1ec6d48a1bfd72432b87b1ba973d37bcdb ssh-agent -k 09:46:45 unset SSH_AUTH_SOCK; 09:46:45 unset SSH_AGENT_PID; 09:46:45 echo Agent pid 75 killed; 09:46:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:46:45 + git semver [Pipeline] } 09:46:45 $ docker stop --time=1 c38f327d57111ccbc27f5d32f3eeae1ec6d48a1bfd72432b87b1ba973d37bcdb 09:46:47 $ docker rm -f c38f327d57111ccbc27f5d32f3eeae1ec6d48a1bfd72432b87b1ba973d37bcdb [Pipeline] // withDockerContainer [Pipeline] sh 09:46:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:46:47 Stashed 1 file(s) [Pipeline] echo 09:46:47 [edgeXSemver]: initialized semver on version 2.3.0-dev.19 [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 09:46:47 provisioning config files... 09:46:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4192658261268906899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:46:47 ---> docker-login.sh 09:46:47 nexus3.edgexfoundry.org:10001 09:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:47 Configure a credential helper to remove this warning. See 09:46:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:47 09:46:47 Login Succeeded 09:46:47 nexus3.edgexfoundry.org:10002 09:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:47 Configure a credential helper to remove this warning. See 09:46:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:47 09:46:47 Login Succeeded 09:46:47 nexus3.edgexfoundry.org:10003 09:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:48 Configure a credential helper to remove this warning. See 09:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:48 09:46:48 Login Succeeded 09:46:48 nexus3.edgexfoundry.org:10004 09:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:48 Configure a credential helper to remove this warning. See 09:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:48 09:46:48 Login Succeeded 09:46:48 docker.io 09:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:48 Configure a credential helper to remove this warning. See 09:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:48 09:46:48 Login Succeeded 09:46:48 ---> docker-login.sh ends [Pipeline] } 09:46:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:46:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:46:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:46:48 ========================================================= 09:46:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:46:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:49 + 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 . 09:46:49 Sending build context to Docker daemon 6.184MB 09:46:49 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 09:46:49 Step 2/11 : FROM ${BASE} AS builder 09:46:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:46:49 213ec9aee27d: Pulling fs layer 09:46:49 4583459ba037: Pulling fs layer 09:46:49 93c1e223e6f2: Pulling fs layer 09:46:49 53926ce57604: Pulling fs layer 09:46:49 21b2b0c7a3f4: Pulling fs layer 09:46:49 30f14e443154: Pulling fs layer 09:46:49 801331c1e519: Pulling fs layer 09:46:49 99cc6dd402b0: Pulling fs layer 09:46:49 7d9ed39f4882: Pulling fs layer 09:46:49 53926ce57604: Waiting 09:46:49 99cc6dd402b0: Waiting 09:46:49 7d9ed39f4882: Waiting 09:46:49 30f14e443154: Waiting 09:46:49 801331c1e519: Waiting 09:46:49 93c1e223e6f2: Verifying Checksum 09:46:49 93c1e223e6f2: Download complete 09:46:49 4583459ba037: Verifying Checksum 09:46:49 4583459ba037: Download complete 09:46:49 21b2b0c7a3f4: Verifying Checksum 09:46:49 21b2b0c7a3f4: Download complete 09:46:49 30f14e443154: Verifying Checksum 09:46:49 30f14e443154: Download complete 09:46:49 213ec9aee27d: Verifying Checksum 09:46:49 213ec9aee27d: Download complete 09:46:49 801331c1e519: Verifying Checksum 09:46:49 801331c1e519: Download complete 09:46:49 213ec9aee27d: Pull complete 09:46:49 4583459ba037: Pull complete 09:46:49 93c1e223e6f2: Pull complete 09:46:49 7d9ed39f4882: Verifying Checksum 09:46:49 7d9ed39f4882: Download complete 09:46:49 99cc6dd402b0: Verifying Checksum 09:46:49 99cc6dd402b0: Download complete 09:46:49 53926ce57604: Verifying Checksum 09:46:49 53926ce57604: Download complete 09:46:54 53926ce57604: Pull complete 09:46:54 21b2b0c7a3f4: Pull complete 09:46:54 30f14e443154: Pull complete 09:46:54 801331c1e519: Pull complete 09:46:56 99cc6dd402b0: Pull complete 09:46:57 7d9ed39f4882: Pull complete 09:46:57 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 09:46:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:46:57 ---> 1dedd983c030 09:46:57 Step 3/11 : ARG ADD_BUILD_TAGS="" 09:46:59 ---> Running in bbb3114a98cb 09:46:59 Removing intermediate container bbb3114a98cb 09:46:59 ---> 4e3a865e218c 09:46:59 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:46:59 ---> Running in 57a3a13d2e07 09:46:59 Removing intermediate container 57a3a13d2e07 09:46:59 ---> a2e4202e8836 09:46:59 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:46:59 ---> Running in 28d168f43450 09:46:59 Removing intermediate container 28d168f43450 09:46:59 ---> 73ac8af20203 09:46:59 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:46:59 ---> Running in b7e24095d9bf 09:46:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:47:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:47:01 (1/8) Installing openssh-keygen (9.0_p1-r2) 09:47:01 (2/8) Installing libedit (20210910.3.1-r0) 09:47:01 (3/8) Installing openssh-client-common (9.0_p1-r2) 09:47:01 (4/8) Installing openssh-client-default (9.0_p1-r2) 09:47:01 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 09:47:01 (6/8) Installing openssh-server-common (9.0_p1-r2) 09:47:01 (7/8) Installing openssh-server (9.0_p1-r2) 09:47:01 (8/8) Installing openssh (9.0_p1-r2) 09:47:01 Executing busybox-1.35.0-r17.trigger 09:47:01 OK: 217 MiB in 59 packages 09:47:02 Removing intermediate container b7e24095d9bf 09:47:02 ---> e1941f57e144 09:47:02 Step 7/11 : WORKDIR /device-modbus-go 09:47:02 ---> Running in abfbef8dd8b7 09:47:02 Still waiting to schedule task 09:47:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:47:02 Removing intermediate container abfbef8dd8b7 09:47:02 ---> ab78dc034350 09:47:02 Step 8/11 : COPY go.mod vendor* ./ 09:47:02 ---> 8c347e72023c 09:47:02 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:47:02 ---> Running in 1b04d25594ff 09:47:20 Removing intermediate container 1b04d25594ff 09:47:20 ---> c9f2de3e54f6 09:47:20 Step 10/11 : COPY . . 09:47:20 ---> 8de094f5d2f5 09:47:20 Step 11/11 : RUN ${MAKE} 09:47:20 ---> Running in 5801ae7e413d 09:47:20 noop 09:47:20 Removing intermediate container 5801ae7e413d 09:47:20 ---> 4fbe4f9618ee 09:47:20 Successfully built 4fbe4f9618ee 09:47:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:21 + docker inspect -f . ci-base-image-x86_64 09:47:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:21 prd-ubuntu20.04-docker-8c-8g-8277 does not seem to be running inside a container 09:47: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 ******** -e ******** ci-base-image-x86_64 cat 09:47:21 $ docker top f1693e51fd6e4b142fa0b0b897a28105f228cbfca0502ed43050add8f426677d -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:22 + go version 09:47:22 go version go1.18.7 linux/amd64 [Pipeline] } 09:47:22 $ docker stop --time=1 f1693e51fd6e4b142fa0b0b897a28105f228cbfca0502ed43050add8f426677d 09:47:23 $ docker rm -f f1693e51fd6e4b142fa0b0b897a28105f228cbfca0502ed43050add8f426677d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:23 + docker inspect -f . ci-base-image-x86_64 09:47:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:23 prd-ubuntu20.04-docker-8c-8g-8277 does not seem to be running inside a container 09:47:23 $ 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 09:47:24 $ docker top a5e94789cc7a3275714cef8ea689987f03da47e2fbcd53703d7f5a611d59bd36 -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:24 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 09:47:25 + make test 09:47:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:47:25 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:47:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:47:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.7% of statements 09:47:43 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." 09:47:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:47:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:47:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:47:45 ./bin/test-attribution-txt.sh [Pipeline] echo 09:47:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:47:45 $ docker stop --time=1 a5e94789cc7a3275714cef8ea689987f03da47e2fbcd53703d7f5a611d59bd36 09:47:47 $ docker rm -f a5e94789cc7a3275714cef8ea689987f03da47e2fbcd53703d7f5a611d59bd36 [Pipeline] // withDockerContainer [Pipeline] sh 09:47:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:47:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:47:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:47:49 + ls -al . 09:47:49 total 188 09:47:49 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:47 . 09:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:46 .. 09:47:49 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 09:46 .dockerignore 09:47:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:47 .git 09:47:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:46 .github 09:47:49 -rw-rw-r-- 1 jenkins jenkins 331 Oct 17 09:46 .gitignore 09:47:49 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:46 .golangci.yml 09:47:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:46 .semver 09:47:49 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 17 09:46 Attribution.txt 09:47:49 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 17 09:46 CHANGELOG.md 09:47:49 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 17 09:46 Dockerfile 09:47:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:46 GOVERNANCE.md 09:47:49 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 09:46 Jenkinsfile 09:47:49 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:46 LICENSE 09:47:49 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 17 09:46 Makefile 09:47:49 -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 09:46 OWNERS.md 09:47:49 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 17 09:46 README.md 09:47:49 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:46 VERSION 09:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:46 bin 09:47:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:46 cmd 09:47:49 -rw-r--r-- 1 jenkins jenkins 23241 Oct 17 09:47 coverage.out 09:47:49 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 17 09:46 go.mod 09:47:49 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 17 09:46 go.sum 09:47:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:46 internal 09:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:46 simulator 09:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:46 snap 09:47:49 -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 09:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:49 + 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=9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 --label arch=amd64 --label version=2.3.0-dev.19 . 09:47:49 Sending build context to Docker daemon 6.208MB 09:47:49 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 09:47:49 Step 2/24 : FROM ${BASE} AS builder 09:47:49 ---> 4fbe4f9618ee 09:47:49 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:47:49 ---> Running in fbdda2210f35 09:47:49 Removing intermediate container fbdda2210f35 09:47:49 ---> 5e9397e35078 09:47:49 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:47:49 ---> Running in 82c7b9dcef3b 09:47:49 Removing intermediate container 82c7b9dcef3b 09:47:49 ---> 286913aae063 09:47:50 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:47:50 ---> Running in 165912a550a9 09:47:50 Removing intermediate container 165912a550a9 09:47:50 ---> a90eef23000d 09:47:50 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:47:50 ---> Running in 9d1a056f5e9c 09:47:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:47:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:47:52 OK: 217 MiB in 59 packages 09:47:52 Removing intermediate container 9d1a056f5e9c 09:47:52 ---> d4098d62c203 09:47:52 Step 7/24 : WORKDIR /device-modbus-go 09:47:52 ---> Running in e6a1c05b2a5e 09:47:52 Removing intermediate container e6a1c05b2a5e 09:47:52 ---> 1f8580251e8c 09:47:52 Step 8/24 : COPY go.mod vendor* ./ 09:47:52 ---> 149b720004f7 09:47:52 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:47:52 ---> Running in 037645de4815 09:47:53 Removing intermediate container 037645de4815 09:47:53 ---> 1b32f5b6f220 09:47:53 Step 10/24 : COPY . . 09:47:54 ---> 00604d9f3155 09:47:54 Step 11/24 : RUN ${MAKE} 09:47:54 ---> Running in f119f071e602 09:47:54 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 09:48:16 Removing intermediate container f119f071e602 09:48:16 ---> 1e33be21ed86 09:48:16 Step 12/24 : FROM alpine:3.14 09:48:16 3.14: Pulling from library/alpine 09:48:16 c7ed990a2339: Pulling fs layer 09:48:16 c7ed990a2339: Verifying Checksum 09:48:16 c7ed990a2339: Download complete 09:48:16 c7ed990a2339: Pull complete 09:48:16 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 09:48:16 Status: Downloaded newer image for alpine:3.14 09:48:16 ---> dd53f409bf0b 09:48:16 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:48:16 ---> Running in eee788fe860e 09:48:16 Removing intermediate container eee788fe860e 09:48:16 ---> 67583ee4d921 09:48:16 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:48:16 ---> Running in 308d4eacc3fd 09:48:17 Removing intermediate container 308d4eacc3fd 09:48:17 ---> f759f756b9c3 09:48:17 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:48:17 ---> Running in 7ec3c3cc88fb 09:48:17 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:48:18 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:48:18 (1/6) Installing dumb-init (1.2.5-r1) 09:48:18 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:48:18 (3/6) Installing libsodium (1.0.18-r0) 09:48:18 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:48:19 (5/6) Installing libzmq (4.3.4-r0) 09:48:19 (6/6) Installing zeromq (4.3.4-r0) 09:48:19 Executing busybox-1.33.1-r8.trigger 09:48:19 OK: 8 MiB in 20 packages 09:48:19 Removing intermediate container 7ec3c3cc88fb 09:48:19 ---> fcb9e98bc48d 09:48:19 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 09:48:20 ---> eddf5356a3b3 09:48:20 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 09:48:20 ---> 6b252d92eaa1 09:48:20 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:48:20 ---> 2abca683cd4b 09:48:20 Step 19/24 : EXPOSE 59901 09:48:20 ---> Running in dea48e6327e6 09:48:20 Removing intermediate container dea48e6327e6 09:48:20 ---> b629fdef35e0 09:48:20 Step 20/24 : ENTRYPOINT ["/device-modbus"] 09:48:20 ---> Running in 56671a3b4549 09:48:20 Removing intermediate container 56671a3b4549 09:48:20 ---> a0d15dbdf576 09:48:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:48:20 ---> Running in 86029f2834a8 09:48:20 Removing intermediate container 86029f2834a8 09:48:20 ---> ac941871962b 09:48:20 Step 22/24 : LABEL arch=amd64 09:48:21 ---> Running in 86ecd7e9eec5 09:48:21 Removing intermediate container 86ecd7e9eec5 09:48:21 ---> ebd53770654a 09:48:21 Step 23/24 : LABEL git_sha=9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 09:48:21 ---> Running in 31874481d300 09:48:21 Removing intermediate container 31874481d300 09:48:21 ---> 099db2b05b46 09:48:21 Step 24/24 : LABEL version=2.3.0-dev.19 09:48:21 ---> Running in dd9b515afd5a 09:48:21 Removing intermediate container dd9b515afd5a 09:48:21 ---> 4e053612d001 09:48:21 [Warning] One or more build-args [ARCH] were not consumed 09:48:21 Successfully built 4e053612d001 09:48:21 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:48:21 provisioning config files... 09:48:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2480325618664373151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:48:21 ---> docker-login.sh 09:48:21 nexus3.edgexfoundry.org:10001 09:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:21 Configure a credential helper to remove this warning. See 09:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:21 09:48:21 Login Succeeded 09:48:21 nexus3.edgexfoundry.org:10002 09:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:21 Configure a credential helper to remove this warning. See 09:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:21 09:48:21 Login Succeeded 09:48:21 nexus3.edgexfoundry.org:10003 09:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:21 Configure a credential helper to remove this warning. See 09:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:21 09:48:21 Login Succeeded 09:48:21 nexus3.edgexfoundry.org:10004 09:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:21 Configure a credential helper to remove this warning. See 09:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:21 09:48:21 Login Succeeded 09:48:21 docker.io 09:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:48:22 Configure a credential helper to remove this warning. See 09:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:48:22 09:48:22 Login Succeeded 09:48:22 ---> docker-login.sh ends [Pipeline] } 09:48:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:48:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:48:22 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 09:48:22 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 09:48:22 latest 09:48:22 2.3.0-dev.19 09:48:22 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37-2.3.0-dev.19 09:48:22 main 09:48:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:22 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:23 + docker push nexus3.edgexfoundry.org:10004/device-modbus:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 09:48:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:48:23 724a9bb1b741: Preparing 09:48:23 f552e2b151c8: Preparing 09:48:23 084620ed30a4: Preparing 09:48:23 114f206ae8c3: Preparing 09:48:23 66f9faf240a9: Preparing 09:48:23 63493a9ab2d4: Preparing 09:48:23 63493a9ab2d4: Waiting 09:48:23 f552e2b151c8: Pushed 09:48:23 724a9bb1b741: Pushed 09:48:23 66f9faf240a9: Pushed 09:48:23 63493a9ab2d4: Layer already exists 09:48:23 114f206ae8c3: Pushed 09:48:25 084620ed30a4: Pushed 09:48:25 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37: digest: sha256:80a1874ae6adde7ed432c1601cc8d83d8c945616b6b6001c3396d03f529b5f54 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:26 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 09:48:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:48:26 724a9bb1b741: Preparing 09:48:26 f552e2b151c8: Preparing 09:48:26 084620ed30a4: Preparing 09:48:26 114f206ae8c3: Preparing 09:48:26 66f9faf240a9: Preparing 09:48:26 63493a9ab2d4: Preparing 09:48:26 63493a9ab2d4: Waiting 09:48:26 66f9faf240a9: Layer already exists 09:48:26 f552e2b151c8: Layer already exists 09:48:26 724a9bb1b741: Layer already exists 09:48:26 114f206ae8c3: Layer already exists 09:48:26 084620ed30a4: Layer already exists 09:48:26 63493a9ab2d4: Layer already exists 09:48:26 latest: digest: sha256:80a1874ae6adde7ed432c1601cc8d83d8c945616b6b6001c3396d03f529b5f54 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:26 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.19 09:48:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:48:27 724a9bb1b741: Preparing 09:48:27 f552e2b151c8: Preparing 09:48:27 084620ed30a4: Preparing 09:48:27 114f206ae8c3: Preparing 09:48:27 66f9faf240a9: Preparing 09:48:27 63493a9ab2d4: Preparing 09:48:27 63493a9ab2d4: Waiting 09:48:27 66f9faf240a9: Layer already exists 09:48:27 f552e2b151c8: Layer already exists 09:48:27 114f206ae8c3: Layer already exists 09:48:27 724a9bb1b741: Layer already exists 09:48:27 084620ed30a4: Layer already exists 09:48:27 63493a9ab2d4: Layer already exists 09:48:27 2.3.0-dev.19: digest: sha256:80a1874ae6adde7ed432c1601cc8d83d8c945616b6b6001c3396d03f529b5f54 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:27 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37-2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:27 + docker push nexus3.edgexfoundry.org:10004/device-modbus:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37-2.3.0-dev.19 09:48:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:48:27 724a9bb1b741: Preparing 09:48:27 f552e2b151c8: Preparing 09:48:27 084620ed30a4: Preparing 09:48:27 114f206ae8c3: Preparing 09:48:27 66f9faf240a9: Preparing 09:48:27 63493a9ab2d4: Preparing 09:48:27 63493a9ab2d4: Waiting 09:48:27 114f206ae8c3: Layer already exists 09:48:27 724a9bb1b741: Layer already exists 09:48:27 66f9faf240a9: Layer already exists 09:48:27 f552e2b151c8: Layer already exists 09:48:27 084620ed30a4: Layer already exists 09:48:27 63493a9ab2d4: Layer already exists 09:48:27 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37-2.3.0-dev.19: digest: sha256:80a1874ae6adde7ed432c1601cc8d83d8c945616b6b6001c3396d03f529b5f54 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:28 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 09:48:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 09:48:28 724a9bb1b741: Preparing 09:48:28 f552e2b151c8: Preparing 09:48:28 084620ed30a4: Preparing 09:48:28 114f206ae8c3: Preparing 09:48:28 66f9faf240a9: Preparing 09:48:28 63493a9ab2d4: Preparing 09:48:28 63493a9ab2d4: Waiting 09:48:28 724a9bb1b741: Layer already exists 09:48:28 084620ed30a4: Layer already exists 09:48:28 66f9faf240a9: Layer already exists 09:48:28 f552e2b151c8: Layer already exists 09:48:28 114f206ae8c3: Layer already exists 09:48:28 63493a9ab2d4: Layer already exists 09:48:28 main: digest: sha256:80a1874ae6adde7ed432c1601cc8d83d8c945616b6b6001c3396d03f529b5f54 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:48:28 ===================================================== [Pipeline] echo 09:48:28 taggedImages: 09:48:28 - nexus3.edgexfoundry.org:10004/device-modbus:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 09:48:28 - nexus3.edgexfoundry.org:10004/device-modbus:latest 09:48:28 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.19 09:48:28 - nexus3.edgexfoundry.org:10004/device-modbus:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37-2.3.0-dev.19 09:48:28 - 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 09:48:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:48:29 09:48:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:48:29 latest: Pulling from edgex-lftools-log-publisher 09:48:29 5eb5b503b376: Pulling fs layer 09:48:29 5c69ac0246d0: Pulling fs layer 09:48:29 ec43610c2a17: Pulling fs layer 09:48:29 3a2ae6a8a46f: Pulling fs layer 09:48:29 33b1e0a273af: Pulling fs layer 09:48:29 5d3b04190fa2: Pulling fs layer 09:48:29 2f39f015ded8: Pulling fs layer 09:48:29 5d3b04190fa2: Waiting 09:48:29 33b1e0a273af: Waiting 09:48:29 2f39f015ded8: Waiting 09:48:29 5c69ac0246d0: Verifying Checksum 09:48:29 5c69ac0246d0: Download complete 09:48:29 3a2ae6a8a46f: Verifying Checksum 09:48:29 3a2ae6a8a46f: Download complete 09:48:29 33b1e0a273af: Verifying Checksum 09:48:29 33b1e0a273af: Download complete 09:48:29 ec43610c2a17: Verifying Checksum 09:48:29 5d3b04190fa2: Verifying Checksum 09:48:29 5d3b04190fa2: Download complete 09:48:29 5eb5b503b376: Verifying Checksum 09:48:29 5eb5b503b376: Download complete 09:48:30 2f39f015ded8: Download complete 09:48:31 5eb5b503b376: Pull complete 09:48:31 5c69ac0246d0: Pull complete 09:48:31 ec43610c2a17: Pull complete 09:48:31 3a2ae6a8a46f: Pull complete 09:48:31 33b1e0a273af: Pull complete 09:48:31 5d3b04190fa2: Pull complete 09:48:36 2f39f015ded8: Pull complete 09:48:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:48:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:48:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:36 prd-ubuntu20.04-docker-8c-8g-8277 does not seem to be running inside a container 09:48:36 $ 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 09:48:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8286 in /w/workspace/gexfoundry_device-modbus-go_main 09:48:37 $ docker top 2160e4d28f29ee94ed939bdd4026c7bd4e572baab1d9db1f7df129eeb60f01d0 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 09:48:38 Running in /w/workspace/device-modbus-go/58 [Pipeline] { [Pipeline] checkout 09:48:38 Selected Git installation does not exist. Using Default 09:48:38 The recommended git tool is: NONE 09:48:38 ---> job-cost.sh 09:48:38 lf-activate-venv: SKIPPING 09:48:38 INFO: No Stack... 09:48:38 INFO: Retrieving Pricing Info for: v3-standard-8 09:48:39 INFO: Archiving Costs [Pipeline] sh 09:48:39 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 09:48:39 + cut -d, -f6 [Pipeline] lock 09:48:39 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-58-stack-cost] 09:48:39 Resource [jenkins-edgexfoundry-device-modbus-go-main-58-stack-cost] did not exist. Created. 09:48:39 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:48:39 + echo total: 0.2199999988079071 [Pipeline] stash 09:48:39 Stashed 1 file(s) [Pipeline] } 09:48:39 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 09:48:39 $ docker stop --time=1 2160e4d28f29ee94ed939bdd4026c7bd4e572baab1d9db1f7df129eeb60f01d0 09:48:41 $ docker rm -f 2160e4d28f29ee94ed939bdd4026c7bd4e572baab1d9db1f7df129eeb60f01d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:48:43 using credential edgex-jenkins-ssh 09:48:43 Cloning the remote Git repository 09:48:43 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 09:48:43 > git init /w/workspace/device-modbus-go/58 # timeout=10 09:48:43 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 09:48:43 > git --version # timeout=10 09:48:43 > git --version # 'git version 2.25.1' 09:48:43 using GIT_SSH to set credentials SSH Credentials for GitHub 09:48:43 Verifying host key using known hosts file 09:48:44 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. 09:48:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:48:45 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 09:48:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:48:46 Avoid second fetch 09:48:46 Checking out Revision 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 (main) 09:48:46 Commit message: "feat(snap): add config interface with unique identifier (#382)" 09:48:46 > git config core.sparsecheckout # timeout=10 09:48:46 > git checkout -f 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:48:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:48:47 % Total % Received % Xferd Average Speed Time Time Time Current 09:48:47 Dload Upload Total Spent Left Speed 09:48:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 93348 [Pipeline] sh 09:48:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:48:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:48:48 + sudo tee /etc/docker/daemon.new 09:48:48 { 09:48:48 "registry-mirrors": [ 09:48:48 "https://nexus3.edgexfoundry.org:10001" 09:48:48 ], 09:48:48 "bip": "10.250.0.254/24", 09:48:48 "hosts": [ 09:48:48 "tcp://0.0.0.0:5555", 09:48:48 "unix:///var/run/docker.sock" 09:48:48 ], 09:48:48 "mtu": 1458, 09:48:48 "selinux-enabled": true, 09:48:48 "seccomp-profile": "/etc/docker/seccomp.json" 09:48:48 } [Pipeline] sh 09:48:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:48:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:49:07 provisioning config files... 09:49:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/58@tmp/config9774965725089519298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:07 ---> docker-login.sh 09:49:07 nexus3.edgexfoundry.org:10001 09:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:08 Configure a credential helper to remove this warning. See 09:49:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:08 09:49:08 Login Succeeded 09:49:08 nexus3.edgexfoundry.org:10002 09:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:08 Configure a credential helper to remove this warning. See 09:49:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:08 09:49:08 Login Succeeded 09:49:08 nexus3.edgexfoundry.org:10003 09:49:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:09 Configure a credential helper to remove this warning. See 09:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:09 09:49:09 Login Succeeded 09:49:09 nexus3.edgexfoundry.org:10004 09:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:09 Configure a credential helper to remove this warning. See 09:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:09 09:49:09 Login Succeeded 09:49:09 docker.io 09:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:10 Configure a credential helper to remove this warning. See 09:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:10 09:49:10 Login Succeeded 09:49:10 ---> docker-login.sh ends [Pipeline] } 09:49:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:49:10 ========================================================= 09:49:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:49:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:10 + 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 . 09:49:10 Sending build context to Docker daemon 3.215MB 09:49:10 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 09:49:10 Step 2/11 : FROM ${BASE} AS builder 09:49:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:49:11 9b18e9b68314: Pulling fs layer 09:49:11 d32db5db7311: Pulling fs layer 09:49:11 d0c4b47475fc: Pulling fs layer 09:49:11 5831b945b038: Pulling fs layer 09:49:11 86bbec2aaacd: Pulling fs layer 09:49:11 e10730c5d714: Pulling fs layer 09:49:11 5dd5c2283517: Pulling fs layer 09:49:11 d5ac0230b979: Pulling fs layer 09:49:11 86bbec2aaacd: Waiting 09:49:11 e10730c5d714: Waiting 09:49:11 5dd5c2283517: Waiting 09:49:11 d5ac0230b979: Waiting 09:49:11 5831b945b038: Waiting 09:49:11 d0c4b47475fc: Verifying Checksum 09:49:11 d32db5db7311: Verifying Checksum 09:49:11 d32db5db7311: Download complete 09:49:11 86bbec2aaacd: Verifying Checksum 09:49:11 86bbec2aaacd: Download complete 09:49:11 e10730c5d714: Verifying Checksum 09:49:11 e10730c5d714: Download complete 09:49:11 9b18e9b68314: Download complete 09:49:12 9b18e9b68314: Pull complete 09:49:12 d5ac0230b979: Verifying Checksum 09:49:12 d5ac0230b979: Download complete 09:49:13 5dd5c2283517: Verifying Checksum 09:49:13 5dd5c2283517: Download complete 09:49:13 d32db5db7311: Pull complete 09:49:13 d0c4b47475fc: Pull complete 09:49:14 5831b945b038: Verifying Checksum 09:49:14 5831b945b038: Download complete 09:49:26 5831b945b038: Pull complete 09:49:26 86bbec2aaacd: Pull complete 09:49:26 e10730c5d714: Pull complete 09:49:33 5dd5c2283517: Pull complete 09:49:34 d5ac0230b979: Pull complete 09:49:34 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 09:49:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:49:34 ---> 59b3b1a385d4 09:49:34 Step 3/11 : ARG ADD_BUILD_TAGS="" 09:49:36 ---> Running in 9ffcd9ace107 09:49:36 Removing intermediate container 9ffcd9ace107 09:49:36 ---> a7b6f89433d1 09:49:36 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:49:36 ---> Running in 98988c7672dd 09:49:37 Removing intermediate container 98988c7672dd 09:49:37 ---> 5f20a49af3b2 09:49:37 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:49:37 ---> Running in 4943dabd8309 09:49:38 Removing intermediate container 4943dabd8309 09:49:38 ---> 20d2c1b8fb87 09:49:38 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:49:38 ---> Running in e071f0309e8d 09:49:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:49:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:49:41 (1/8) Installing openssh-keygen (9.0_p1-r2) 09:49:41 (2/8) Installing libedit (20210910.3.1-r0) 09:49:41 (3/8) Installing openssh-client-common (9.0_p1-r2) 09:49:42 (4/8) Installing openssh-client-default (9.0_p1-r2) 09:49:42 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 09:49:42 (6/8) Installing openssh-server-common (9.0_p1-r2) 09:49:42 (7/8) Installing openssh-server (9.0_p1-r2) 09:49:42 (8/8) Installing openssh (9.0_p1-r2) 09:49:42 Executing busybox-1.35.0-r17.trigger 09:49:42 OK: 228 MiB in 59 packages 09:49:43 Removing intermediate container e071f0309e8d 09:49:43 ---> cc58694758c5 09:49:43 Step 7/11 : WORKDIR /device-modbus-go 09:49:43 ---> Running in 4e5bfdb025d3 09:49:43 Removing intermediate container 4e5bfdb025d3 09:49:43 ---> 8525d625d99a 09:49:43 Step 8/11 : COPY go.mod vendor* ./ 09:49:44 ---> df02dee29260 09:49:44 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:49:44 ---> Running in 8ef26839d127 09:50:40 Removing intermediate container 8ef26839d127 09:50:40 ---> f7a6ea6b0b40 09:50:40 Step 10/11 : COPY . . 09:50:40 ---> 59faade2df82 09:50:40 Step 11/11 : RUN ${MAKE} 09:50:40 ---> Running in 823e826395a4 09:50:40 noop 09:50:40 Removing intermediate container 823e826395a4 09:50:40 ---> 173de70722cd 09:50:40 Successfully built 173de70722cd 09:50:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:41 + docker inspect -f . ci-base-image-arm64 09:50:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:41 prd-ubuntu20.04-docker-arm64-4c-16g-8286 does not seem to be running inside a container 09:50:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/58 -v /w/workspace/device-modbus-go/58:/w/workspace/device-modbus-go/58:rw,z -v /w/workspace/device-modbus-go/58@tmp:/w/workspace/device-modbus-go/58@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 09:50:42 $ docker top 143cdb6d37239e3eb9ca67b4155fdb5b80f83c1e1349cd36cbfbcb0bde3f7eb8 -eo pid,comm [Pipeline] { [Pipeline] sh 09:50:43 + go version 09:50:43 go version go1.18.7 linux/arm64 [Pipeline] } 09:50:43 $ docker stop --time=1 143cdb6d37239e3eb9ca67b4155fdb5b80f83c1e1349cd36cbfbcb0bde3f7eb8 09:50:45 $ docker rm -f 143cdb6d37239e3eb9ca67b4155fdb5b80f83c1e1349cd36cbfbcb0bde3f7eb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:45 + docker inspect -f . ci-base-image-arm64 09:50:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:46 prd-ubuntu20.04-docker-arm64-4c-16g-8286 does not seem to be running inside a container 09:50:46 $ 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/58 -v /w/workspace/device-modbus-go/58:/w/workspace/device-modbus-go/58:rw,z -v /w/workspace/device-modbus-go/58@tmp:/w/workspace/device-modbus-go/58@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 09:50:47 $ docker top c1c93bd55140ed6a1b6c2fd0c573db6ae743ff6ec52a58ee49f1c0fa9ba34989 -eo pid,comm [Pipeline] { [Pipeline] sh 09:50:48 + git config --global --add safe.directory /w/workspace/device-modbus-go/58 [Pipeline] fileExists [Pipeline] sh 09:50:48 + make test 09:50:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:50:50 ? github.com/edgexfoundry/device-modbus-go [no test files] 09:52:26 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 09:52:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.7% of statements 09:52:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:52:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:52:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:52:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:52:39 ./bin/test-attribution-txt.sh [Pipeline] echo 09:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:52:39 $ docker stop --time=1 c1c93bd55140ed6a1b6c2fd0c573db6ae743ff6ec52a58ee49f1c0fa9ba34989 09:52:41 $ docker rm -f c1c93bd55140ed6a1b6c2fd0c573db6ae743ff6ec52a58ee49f1c0fa9ba34989 [Pipeline] // withDockerContainer [Pipeline] sh 09:52:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:52:42 Warning: overwriting stash ‘coverage-report’ 09:52:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:52:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:52:43 + ls -al . 09:52:43 total 184 09:52:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 09:50 . 09:52:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:48 .. 09:52:43 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 09:48 .dockerignore 09:52:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:48 .git 09:52:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:48 .github 09:52:43 -rw-rw-r-- 1 jenkins jenkins 331 Oct 17 09:48 .gitignore 09:52:43 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:48 .golangci.yml 09:52:43 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 17 09:48 Attribution.txt 09:52:43 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 17 09:48 CHANGELOG.md 09:52:43 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 17 09:48 Dockerfile 09:52:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:48 GOVERNANCE.md 09:52:43 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 09:48 Jenkinsfile 09:52:43 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:48 LICENSE 09:52:43 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 17 09:48 Makefile 09:52:43 -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 09:48 OWNERS.md 09:52:43 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 17 09:48 README.md 09:52:43 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:46 VERSION 09:52:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:48 bin 09:52:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:48 cmd 09:52:43 -rw-r--r-- 1 jenkins jenkins 23241 Oct 17 09:52 coverage.out 09:52:43 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 17 09:48 go.mod 09:52:43 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 17 09:48 go.sum 09:52:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:48 internal 09:52:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:48 simulator 09:52:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:48 snap 09:52:43 -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 09:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:43 + 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=9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 --label arch=arm64 --label version=2.3.0-dev.19 . 09:52:43 Sending build context to Docker daemon 3.239MB 09:52:43 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 09:52:43 Step 2/24 : FROM ${BASE} AS builder 09:52:43 ---> 173de70722cd 09:52:43 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:52:44 ---> Running in 79059dea9c29 09:52:44 Removing intermediate container 79059dea9c29 09:52:44 ---> f2e96dcf212f 09:52:44 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:52:44 ---> Running in ae1aeada0361 09:52:44 Removing intermediate container ae1aeada0361 09:52:44 ---> 5825c17ea9f8 09:52:44 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:52:44 ---> Running in d3e89581de53 09:52:46 Removing intermediate container d3e89581de53 09:52:46 ---> 4918643cb5fd 09:52:46 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 09:52:46 ---> Running in d19103a9f478 09:52:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:52:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:52:49 OK: 228 MiB in 59 packages 09:52:50 Removing intermediate container d19103a9f478 09:52:50 ---> 77edf9fe810e 09:52:50 Step 7/24 : WORKDIR /device-modbus-go 09:52:50 ---> Running in a16fbc708406 09:52:50 Removing intermediate container a16fbc708406 09:52:50 ---> 1e4ce1e432d0 09:52:50 Step 8/24 : COPY go.mod vendor* ./ 09:52:50 ---> a21b83141a70 09:52:50 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:52:51 ---> Running in dedb5a7cf969 09:52:53 Removing intermediate container dedb5a7cf969 09:52:53 ---> 91202d097761 09:52:53 Step 10/24 : COPY . . 09:52:54 ---> b3567b108308 09:52:54 Step 11/24 : RUN ${MAKE} 09:52:54 ---> Running in 1c5db2b43e06 09:52:55 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 09:55:31 Removing intermediate container 1c5db2b43e06 09:55:31 ---> 9aeebf6eb115 09:55:31 Step 12/24 : FROM alpine:3.14 09:55:31 3.14: Pulling from library/alpine 09:55:31 90cda3b7c325: Pulling fs layer 09:55:31 90cda3b7c325: Verifying Checksum 09:55:31 90cda3b7c325: Download complete 09:55:31 90cda3b7c325: Pull complete 09:55:31 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 09:55:31 Status: Downloaded newer image for alpine:3.14 09:55:31 ---> 376ba31ae3da 09:55:31 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 09:55:31 ---> Running in 467a6bfb3fe7 09:55:31 Removing intermediate container 467a6bfb3fe7 09:55:31 ---> e1685020d77c 09:55:31 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:55:31 ---> Running in c3e47148995b 09:55:33 Removing intermediate container c3e47148995b 09:55:33 ---> e4383801e97b 09:55:33 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:55:33 ---> Running in 3ad9a8173725 09:55:34 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:55:35 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:55:36 (1/6) Installing dumb-init (1.2.5-r1) 09:55:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:55:36 (3/6) Installing libsodium (1.0.18-r0) 09:55:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:55:36 (5/6) Installing libzmq (4.3.4-r0) 09:55:36 (6/6) Installing zeromq (4.3.4-r0) 09:55:36 Executing busybox-1.33.1-r8.trigger 09:55:37 OK: 8 MiB in 20 packages 09:55:38 Removing intermediate container 3ad9a8173725 09:55:38 ---> 725a2ac10573 09:55:38 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 09:55:39 ---> 8934dff04694 09:55:39 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 09:55:39 ---> a3cffbbf33d0 09:55:39 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 09:55:40 ---> 73eea6cce898 09:55:40 Step 19/24 : EXPOSE 59901 09:55:40 ---> Running in fcd3d9c522ec 09:55:40 Removing intermediate container fcd3d9c522ec 09:55:40 ---> a68edebe9199 09:55:40 Step 20/24 : ENTRYPOINT ["/device-modbus"] 09:55:40 ---> Running in d2f19e370891 09:55:40 Removing intermediate container d2f19e370891 09:55:40 ---> 28be8ee7e69b 09:55:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:55:41 ---> Running in 4063994c204f 09:55:41 Removing intermediate container 4063994c204f 09:55:41 ---> 9ca3c86438da 09:55:41 Step 22/24 : LABEL arch=arm64 09:55:41 ---> Running in 29bdd67824d0 09:55:41 Removing intermediate container 29bdd67824d0 09:55:41 ---> d18a18c535cd 09:55:41 Step 23/24 : LABEL git_sha=9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 09:55:41 ---> Running in 057a70a11f42 09:55:42 Removing intermediate container 057a70a11f42 09:55:42 ---> bcdfaefe16f4 09:55:42 Step 24/24 : LABEL version=2.3.0-dev.19 09:55:42 ---> Running in 0665e1da1594 09:55:42 Removing intermediate container 0665e1da1594 09:55:42 ---> 1935133e162b 09:55:42 [Warning] One or more build-args [ARCH] were not consumed 09:55:42 Successfully built 1935133e162b 09:55:42 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 09:55:42 provisioning config files... 09:55:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/58@tmp/config5793547201898688493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:55:43 ---> docker-login.sh 09:55:43 nexus3.edgexfoundry.org:10001 09:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:43 Configure a credential helper to remove this warning. See 09:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:43 09:55:43 Login Succeeded 09:55:43 nexus3.edgexfoundry.org:10002 09:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:43 Configure a credential helper to remove this warning. See 09:55:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:43 09:55:43 Login Succeeded 09:55:43 nexus3.edgexfoundry.org:10003 09:55:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:44 Configure a credential helper to remove this warning. See 09:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:44 09:55:44 Login Succeeded 09:55:44 nexus3.edgexfoundry.org:10004 09:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:44 Configure a credential helper to remove this warning. See 09:55:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:44 09:55:44 Login Succeeded 09:55:44 docker.io 09:55:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:55:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:55:45 Configure a credential helper to remove this warning. See 09:55:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:55:45 09:55:45 Login Succeeded 09:55:45 ---> docker-login.sh ends [Pipeline] } 09:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:55:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:55:45 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 09:55:45 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 09:55:45 latest 09:55:45 2.3.0-dev.19 09:55:45 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37-2.3.0-dev.19 09:55:45 main 09:55:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:45 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:46 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 09:55:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:55:46 0095c6f5b10f: Preparing 09:55:46 046fec1584a8: Preparing 09:55:46 9d34d50bd871: Preparing 09:55:46 ac2be36720b2: Preparing 09:55:46 92fa66686af1: Preparing 09:55:46 28c3ef001483: Preparing 09:55:46 28c3ef001483: Waiting 09:55:46 046fec1584a8: Pushed 09:55:46 92fa66686af1: Pushed 09:55:46 0095c6f5b10f: Pushed 09:55:46 28c3ef001483: Layer already exists 09:55:46 ac2be36720b2: Pushed 09:55:52 9d34d50bd871: Pushed 09:55:52 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37: digest: sha256:ddcdc7f8a334212afb7d20822ebed209ee5b0083af1bedc126ad488280a254de size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:52 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:53 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:55:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:55:53 0095c6f5b10f: Preparing 09:55:53 046fec1584a8: Preparing 09:55:53 9d34d50bd871: Preparing 09:55:53 ac2be36720b2: Preparing 09:55:53 92fa66686af1: Preparing 09:55:53 28c3ef001483: Preparing 09:55:53 28c3ef001483: Waiting 09:55:53 92fa66686af1: Layer already exists 09:55:53 0095c6f5b10f: Layer already exists 09:55:53 046fec1584a8: Layer already exists 09:55:53 ac2be36720b2: Layer already exists 09:55:53 9d34d50bd871: Layer already exists 09:55:53 28c3ef001483: Layer already exists 09:55:53 latest: digest: sha256:ddcdc7f8a334212afb7d20822ebed209ee5b0083af1bedc126ad488280a254de size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:53 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:54 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.19 09:55:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:55:54 0095c6f5b10f: Preparing 09:55:54 046fec1584a8: Preparing 09:55:54 9d34d50bd871: Preparing 09:55:54 ac2be36720b2: Preparing 09:55:54 92fa66686af1: Preparing 09:55:54 28c3ef001483: Preparing 09:55:54 28c3ef001483: Waiting 09:55:54 92fa66686af1: Layer already exists 09:55:54 ac2be36720b2: Layer already exists 09:55:54 046fec1584a8: Layer already exists 09:55:54 9d34d50bd871: Layer already exists 09:55:54 0095c6f5b10f: Layer already exists 09:55:54 28c3ef001483: Layer already exists 09:55:54 2.3.0-dev.19: digest: sha256:ddcdc7f8a334212afb7d20822ebed209ee5b0083af1bedc126ad488280a254de size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:54 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37-2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37-2.3.0-dev.19 09:55:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:55:55 0095c6f5b10f: Preparing 09:55:55 046fec1584a8: Preparing 09:55:55 9d34d50bd871: Preparing 09:55:55 ac2be36720b2: Preparing 09:55:55 92fa66686af1: Preparing 09:55:55 28c3ef001483: Preparing 09:55:55 28c3ef001483: Waiting 09:55:55 046fec1584a8: Layer already exists 09:55:55 92fa66686af1: Layer already exists 09:55:55 ac2be36720b2: Layer already exists 09:55:55 9d34d50bd871: Layer already exists 09:55:55 0095c6f5b10f: Layer already exists 09:55:55 28c3ef001483: Layer already exists 09:55:55 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37-2.3.0-dev.19: digest: sha256:ddcdc7f8a334212afb7d20822ebed209ee5b0083af1bedc126ad488280a254de size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:55 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:55 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 09:55:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 09:55:55 0095c6f5b10f: Preparing 09:55:55 046fec1584a8: Preparing 09:55:55 9d34d50bd871: Preparing 09:55:55 ac2be36720b2: Preparing 09:55:55 92fa66686af1: Preparing 09:55:55 28c3ef001483: Preparing 09:55:55 28c3ef001483: Waiting 09:55:55 046fec1584a8: Layer already exists 09:55:55 92fa66686af1: Layer already exists 09:55:55 0095c6f5b10f: Layer already exists 09:55:55 9d34d50bd871: Layer already exists 09:55:55 ac2be36720b2: Layer already exists 09:55:55 28c3ef001483: Layer already exists 09:55:56 main: digest: sha256:ddcdc7f8a334212afb7d20822ebed209ee5b0083af1bedc126ad488280a254de size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:55:56 ===================================================== [Pipeline] echo 09:55:56 taggedImages: 09:55:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 09:55:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 09:55:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.19 09:55:56 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37-2.3.0-dev.19 09:55:56 - 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 09:55:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:55:56 09:55:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:55:56 arm64: Pulling from edgex-lftools-log-publisher 09:55:56 8998bd30e6a1: Pulling fs layer 09:55:56 04944245beec: Pulling fs layer 09:55:56 699f458cf7ca: Pulling fs layer 09:55:56 765212b225bb: Pulling fs layer 09:55:56 f23df028b6ca: Pulling fs layer 09:55:56 d65c8cfc05b1: Pulling fs layer 09:55:56 2437ff75d9bd: Pulling fs layer 09:55:56 f23df028b6ca: Waiting 09:55:56 d65c8cfc05b1: Waiting 09:55:56 2437ff75d9bd: Waiting 09:55:56 765212b225bb: Waiting 09:55:57 04944245beec: Verifying Checksum 09:55:57 04944245beec: Download complete 09:55:57 765212b225bb: Verifying Checksum 09:55:57 765212b225bb: Download complete 09:55:57 f23df028b6ca: Verifying Checksum 09:55:57 f23df028b6ca: Download complete 09:55:57 d65c8cfc05b1: Verifying Checksum 09:55:57 d65c8cfc05b1: Download complete 09:55:57 699f458cf7ca: Verifying Checksum 09:55:57 699f458cf7ca: Download complete 09:55:57 8998bd30e6a1: Verifying Checksum 09:55:57 8998bd30e6a1: Download complete 09:56:00 2437ff75d9bd: Verifying Checksum 09:56:00 2437ff75d9bd: Download complete 09:56:01 8998bd30e6a1: Pull complete 09:56:02 04944245beec: Pull complete 09:56:03 699f458cf7ca: Pull complete 09:56:03 765212b225bb: Pull complete 09:56:04 f23df028b6ca: Pull complete 09:56:04 d65c8cfc05b1: Pull complete 09:56:19 2437ff75d9bd: Pull complete 09:56:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:56:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:56:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:19 prd-ubuntu20.04-docker-arm64-4c-16g-8286 does not seem to be running inside a container 09:56:20 $ 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/58 -v /w/workspace/device-modbus-go/58:/w/workspace/device-modbus-go/58:rw,z -v /w/workspace/device-modbus-go/58@tmp:/w/workspace/device-modbus-go/58@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 09:56:22 $ docker top 6453aad6372e81aea2907869db6d21c48edf6b6e049e70f2283d0a20e69d8246 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:56:23 ---> job-cost.sh 09:56:23 lf-activate-venv: SKIPPING 09:56:23 INFO: No Stack... 09:56:23 INFO: Retrieving Pricing Info for: v3-standard-4 09:56:24 INFO: Archiving Costs [Pipeline] sh 09:56:25 + cut -d, -f6 09:56:25 + cat /w/workspace/device-modbus-go/58/archives/cost.csv [Pipeline] lock 09:56:25 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-58-stack-cost] 09:56:25 Resource [jenkins-edgexfoundry-device-modbus-go-main-58-stack-cost] did not exist. Created. 09:56:25 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:56:25 /w/workspace/device-modbus-go/58@tmp/durable-1f1f731d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:56:26 + echo total: 0.10999999940395355 [Pipeline] stash 09:56:26 Warning: overwriting stash ‘stack-cost’ 09:56:26 Stashed 1 file(s) [Pipeline] } 09:56:26 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 09:56:26 $ docker stop --time=1 6453aad6372e81aea2907869db6d21c48edf6b6e049e70f2283d0a20e69d8246 09:56:28 $ docker rm -f 6453aad6372e81aea2907869db6d21c48edf6b6e049e70f2283d0a20e69d8246 [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 09:56:28 provisioning config files... 09:56:28 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16732201332856670424tmp [Pipeline] { [Pipeline] sh 09:56:28 + set +x 09:56:28 + + bashcurl -s -s -- https://codecov.io/bash 09:56:28 09:56:28 09:56:28 _____ _ 09:56:28 / ____| | | 09:56:28 | | ___ __| | ___ ___ _____ __ 09:56:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:56:28 | |___| (_) | (_| | __/ (_| (_) \ V / 09:56:28 \_____\___/ \__,_|\___|\___\___/ \_/ 09:56:28 Bash-1.0.6 09:56:28 09:56:28 09:56:28 ==> git version 2.25.1 found 09:56:28 ==> 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 09:56:28 Release-Date: 2020-01-08 09:56:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:56:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:56:28 ==> Jenkins CI detected. 09:56:28 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 09:56:28 project root: . 09:56:28 --> token set from env 09:56:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:56:29 ==> Running gcov in . (disable via -X gcov) 09:56:29 ==> Python coveragepy not found 09:56:29 ==> Searching for coverage reports in: 09:56:29 + . 09:56:29 -> Found 1 reports 09:56:29 ==> Detecting git/mercurial file structure 09:56:29 ==> Reading reports 09:56:29 + ./coverage.out bytes=23241 09:56:29 ==> Appending adjustments 09:56:29 https://docs.codecov.io/docs/fixing-reports 09:56:29 + Found adjustments 09:56:29 ==> Gzipping contents 09:56:29 4.0K /tmp/codecov.AUpTGx.gz 09:56:29 ==> Uploading reports 09:56:29 url: https://codecov.io 09:56:29 query: branch=main&commit=9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:56:29 -> Pinging Codecov 09:56:29 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=9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:56:29 -> Uploading to 09:56:29 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/55DBCA73C666E3227836607328DD7E49/9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37/2b84edc5-413f-48cf-874a-eef85f5176a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T095629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c6fc3918e292a9c318ced8e8124e86a77653537aefea775b673a64d3620dc95e 09:56:29 % Total % Received % Xferd Average Speed Time Time Time Current 09:56:29 Dload Upload Total Spent Left Speed 09:56:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 16794 --:--:-- --:--:-- --:--:-- 16794 09:56:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 [Pipeline] } 09:56:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:56:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:56:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:56:30 09:56:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:56:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:56:31 df9b9388f04a: Pulling fs layer 09:56:31 52dc419b0ee2: Pulling fs layer 09:56:31 25bc292e5bac: Pulling fs layer 09:56:31 114826534d7a: Pulling fs layer 09:56:31 4657fd5d0bcf: Pulling fs layer 09:56:31 6ad1cebc031e: Pulling fs layer 09:56:31 8a3aa393b2d8: Pulling fs layer 09:56:31 114826534d7a: Waiting 09:56:31 4657fd5d0bcf: Waiting 09:56:31 6ad1cebc031e: Waiting 09:56:31 25bc292e5bac: Verifying Checksum 09:56:31 25bc292e5bac: Download complete 09:56:31 52dc419b0ee2: Verifying Checksum 09:56:31 52dc419b0ee2: Download complete 09:56:31 4657fd5d0bcf: Verifying Checksum 09:56:31 4657fd5d0bcf: Download complete 09:56:31 df9b9388f04a: Download complete 09:56:31 df9b9388f04a: Pull complete 09:56:31 6ad1cebc031e: Verifying Checksum 09:56:31 6ad1cebc031e: Download complete 09:56:31 52dc419b0ee2: Pull complete 09:56:31 25bc292e5bac: Pull complete 09:56:32 114826534d7a: Verifying Checksum 09:56:32 114826534d7a: Download complete 09:56:32 8a3aa393b2d8: Verifying Checksum 09:56:32 8a3aa393b2d8: Download complete 09:56:36 114826534d7a: Pull complete 09:56:36 4657fd5d0bcf: Pull complete 09:56:36 6ad1cebc031e: Pull complete 09:56:38 8a3aa393b2d8: Pull complete 09:56:38 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:56:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:56:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:39 prd-ubuntu20.04-docker-8c-8g-8277 does not seem to be running inside a container 09:56:39 $ 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 09:56:41 $ docker top 3bece6c1790c3ea64cf272814f1ab2f4577ebd792906881877be1547666b0099 -eo pid,comm [Pipeline] { [Pipeline] echo 09:56:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 09:56:41 + set -o pipefail 09:56:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 09:56:46 09:56:46 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 09:56:46 09:56:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/dc3c5f1a-5887-45ca-aac3-f4b8b8869966 09:56:46 09:56:46 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 09:56:46 09:56:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:56:46 09:56:46 09:56:46 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:56:46 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:56:46 More details here: https://snyk.co/ue1NS [Pipeline] } 09:56:46 $ docker stop --time=1 3bece6c1790c3ea64cf272814f1ab2f4577ebd792906881877be1547666b0099 09:56:49 $ docker rm -f 3bece6c1790c3ea64cf272814f1ab2f4577ebd792906881877be1547666b0099 [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 09:56:49 + git log --format=format:%s -1 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 [Pipeline] sh 09:56:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:56:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:56:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:50 prd-ubuntu20.04-docker-8c-8g-8277 does not seem to be running inside a container 09:56:50 $ 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 09:56:50 $ docker top 8747be112e8848b00f9afee4452d0d0a7b0fa3e7395f879dac10e8da052bb4c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:56:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:56:50 [ssh-agent] Looking for ssh-agent implementation... 09:56:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:56:51 $ docker exec 8747be112e8848b00f9afee4452d0d0a7b0fa3e7395f879dac10e8da052bb4c5 ssh-agent 09:56:51 SSH_AUTH_SOCK=/tmp/ssh-UikW4ZWc1eto/agent.32 09:56:51 SSH_AGENT_PID=38 09:56:51 Running ssh-add (command line suppressed) 09:56:51 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5633145569172730006.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5633145569172730006.key) 09:56:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:56:51 + git semver tag 09:56:51 2022-10-17 09:56:51,782 [run_tag] DEBUG tag force:False 09:56:51 2022-10-17 09:56:51,782 [check_head_tag] DEBUG check head tag 09:56:51 2022-10-17 09:56:51,783 [execute] INFO git cat-file --batch-check 09:56:51 2022-10-17 09:56:51,783 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 09:56:51 2022-10-17 09:56:51,787 [execute] INFO git cat-file --batch 09:56:51 2022-10-17 09:56:51,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 09:56:51 2022-10-17 09:56:51,800 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:56:51 2022-10-17 09:56:51,800 [execute] INFO git tag -a v2.3.0-dev.19 -m v2.3.0-dev.19 09:56:51 2022-10-17 09:56:51,801 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.19', '-m', 'v2.3.0-dev.19'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 09:56:51 2022-10-17 09:56:51,806 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:56:51 2.3.0-dev.19 [Pipeline] } 09:56:51 $ docker exec --env ******** --env ******** 8747be112e8848b00f9afee4452d0d0a7b0fa3e7395f879dac10e8da052bb4c5 ssh-agent -k 09:56:52 unset SSH_AUTH_SOCK; 09:56:52 unset SSH_AGENT_PID; 09:56:52 echo Agent pid 38 killed; 09:56:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:56:52 + git semver [Pipeline] } 09:56:52 $ docker stop --time=1 8747be112e8848b00f9afee4452d0d0a7b0fa3e7395f879dac10e8da052bb4c5 09:56:53 $ docker rm -f 8747be112e8848b00f9afee4452d0d0a7b0fa3e7395f879dac10e8da052bb4c5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:56:54 09:56:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:56:54 0.23.1-centos7: Pulling from edgex-lftools 09:56:54 ab5ef0e58194: Pulling fs layer 09:56:54 9712f1f96733: Pulling fs layer 09:56:54 63f879dbbcfc: Pulling fs layer 09:56:54 0d9ebad4ef96: Pulling fs layer 09:56:54 e9a5061849ea: Pulling fs layer 09:56:54 d747dcd14b5f: Pulling fs layer 09:56:54 2de7ff778b66: Pulling fs layer 09:56:54 0d9ebad4ef96: Waiting 09:56:54 e9a5061849ea: Waiting 09:56:54 d747dcd14b5f: Waiting 09:56:54 2de7ff778b66: Waiting 09:56:54 9712f1f96733: Verifying Checksum 09:56:54 9712f1f96733: Download complete 09:56:55 63f879dbbcfc: Verifying Checksum 09:56:55 63f879dbbcfc: Download complete 09:56:55 0d9ebad4ef96: Verifying Checksum 09:56:55 0d9ebad4ef96: Download complete 09:56:55 d747dcd14b5f: Download complete 09:56:55 e9a5061849ea: Verifying Checksum 09:56:55 e9a5061849ea: Download complete 09:56:55 ab5ef0e58194: Verifying Checksum 09:56:55 ab5ef0e58194: Download complete 09:56:55 2de7ff778b66: Verifying Checksum 09:56:55 2de7ff778b66: Download complete 09:56:57 ab5ef0e58194: Pull complete 09:56:57 9712f1f96733: Pull complete 09:56:58 63f879dbbcfc: Pull complete 09:57:02 0d9ebad4ef96: Pull complete 09:57:02 e9a5061849ea: Pull complete 09:57:02 d747dcd14b5f: Pull complete 09:57:03 2de7ff778b66: Pull complete 09:57:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:57:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:57:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:03 prd-ubuntu20.04-docker-8c-8g-8277 does not seem to be running inside a container 09:57:03 $ 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 09:57:05 $ docker top 92a4f5149e4e1f68740166c1730aa192fe5a7689a15879873a5a90a69433a7a5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:57:05 provisioning config files... 09:57:05 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3318132855638414625tmp 09:57:05 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config195418638351379621tmp 09:57:05 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10692776798848915173tmp [Pipeline] { [Pipeline] echo 09:57:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:57:06 ---> sigul-configuration.sh 09:57:06 gpg: directory `/root/.gnupg' created 09:57:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:57:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:57:06 gpg: keyring `/root/.gnupg/secring.gpg' created 09:57:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:57:06 gpg: CAST5 encrypted data 09:57:06 gpg: encrypted with 1 passphrase 09:57:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:57:06 + mkdir /home/jenkins 09:57:06 + mkdir /home/jenkins/sigul [Pipeline] sh 09:57:06 + 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 09:57:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:57:06 ---> sigul-install.sh 09:57:06 Sigul already installed; skipping installation. [Pipeline] sh 09:57:07 + git tag --list 09:57:07 0.7.1 09:57:07 v1.0.0 09:57:07 v1.1.0 09:57:07 v1.1.1 09:57:07 v1.2.2 09:57:07 v1.3.0 09:57:07 v1.3.1 09:57:07 v2.0.0 09:57:07 v2.1.0 09:57:07 v2.1.1 09:57:07 v2.1.1-dev.1 09:57:07 v2.1.1-dev.2 09:57:07 v2.1.1-dev.3 09:57:07 v2.2.0 09:57:07 v2.2.1-dev.1 09:57:07 v2.2.1-dev.2 09:57:07 v2.2.1-dev.3 09:57:07 v2.2.1-dev.4 09:57:07 v2.2.1-dev.5 09:57:07 v2.2.1-dev.6 09:57:07 v2.2.1-dev.7 09:57:07 v2.3.0-dev.10 09:57:07 v2.3.0-dev.11 09:57:07 v2.3.0-dev.12 09:57:07 v2.3.0-dev.13 09:57:07 v2.3.0-dev.14 09:57:07 v2.3.0-dev.15 09:57:07 v2.3.0-dev.16 09:57:07 v2.3.0-dev.17 09:57:07 v2.3.0-dev.18 09:57:07 v2.3.0-dev.19 09:57:07 v2.3.0-dev.7 09:57:07 v2.3.0-dev.8 09:57:07 v2.3.0-dev.9 [Pipeline] sh 09:57:07 + lftools sign git-tag v2.3.0-dev.19 09:57:08 Signing Git tag with Sigul... 09:57:08 Signing v2.3.0-dev.19 [Pipeline] echo 09:57:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:57:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:57:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:57:08 $ docker stop --time=1 92a4f5149e4e1f68740166c1730aa192fe5a7689a15879873a5a90a69433a7a5 09:57:10 $ docker rm -f 92a4f5149e4e1f68740166c1730aa192fe5a7689a15879873a5a90a69433a7a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:57:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:57:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:57:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:11 prd-ubuntu20.04-docker-8c-8g-8277 does not seem to be running inside a container 09:57:11 $ 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 09:57:11 $ docker top 7658ab10a8358c1c652a030364c9e3a3264132eb42c6a17b286978ad80d6eaaa -eo pid,comm 09:57:11 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). 09:57:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:57:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:57:11 [ssh-agent] Looking for ssh-agent implementation... 09:57:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:57:11 $ docker exec 7658ab10a8358c1c652a030364c9e3a3264132eb42c6a17b286978ad80d6eaaa ssh-agent 09:57:11 SSH_AUTH_SOCK=/tmp/ssh-fQlr6C2eNEvk/agent.32 09:57:11 SSH_AGENT_PID=38 09:57:11 Running ssh-add (command line suppressed) 09:57:11 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14528892834622220462.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14528892834622220462.key) 09:57:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:57:12 + git semver bump pre 09:57:12 2022-10-17 09:57:12,445 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:57:12 2022-10-17 09:57:12,445 [bump_version] DEBUG bumping version:2.3.0-dev.19 on axis:pre with prefix:dev 09:57:12 2022-10-17 09:57:12,446 [bump_version] DEBUG bumped version:2.3.0-dev.20 09:57:12 2022-10-17 09:57:12,446 [write_version] DEBUG write version:2.3.0-dev.20 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 09:57:12 2022-10-17 09:57:12,446 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:57:12 2022-10-17 09:57:12,446 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:57:12 2022-10-17 09:57:12,448 [execute] INFO git cat-file --batch-check 09:57:12 2022-10-17 09:57:12,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:57:12 2022-10-17 09:57:12,454 [execute] INFO git cat-file --batch 09:57:12 2022-10-17 09:57:12,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:57:12 2022-10-17 09:57:12,460 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:57:12 2.3.0-dev.20 [Pipeline] } 09:57:12 $ docker exec --env ******** --env ******** 7658ab10a8358c1c652a030364c9e3a3264132eb42c6a17b286978ad80d6eaaa ssh-agent -k 09:57:12 unset SSH_AUTH_SOCK; 09:57:12 unset SSH_AGENT_PID; 09:57:12 echo Agent pid 38 killed; 09:57:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:57:12 + git semver [Pipeline] } 09:57:13 $ docker stop --time=1 7658ab10a8358c1c652a030364c9e3a3264132eb42c6a17b286978ad80d6eaaa 09:57:14 $ docker rm -f 7658ab10a8358c1c652a030364c9e3a3264132eb42c6a17b286978ad80d6eaaa [Pipeline] // withDockerContainer [Pipeline] sh 09:57:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:57:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:57:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:15 prd-ubuntu20.04-docker-8c-8g-8277 does not seem to be running inside a container 09:57:15 $ 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 09:57:15 $ docker top aa6676cddb0b89de4cd5b01e1898595b597ce767991269b362a6208ea224192e -eo pid,comm 09:57:15 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). 09:57:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:57:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:57:15 [ssh-agent] Looking for ssh-agent implementation... 09:57:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:57:15 $ docker exec aa6676cddb0b89de4cd5b01e1898595b597ce767991269b362a6208ea224192e ssh-agent 09:57:15 SSH_AUTH_SOCK=/tmp/ssh-Y17jgdZ98TGj/agent.33 09:57:15 SSH_AGENT_PID=39 09:57:15 Running ssh-add (command line suppressed) 09:57:16 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1536959507865977918.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1536959507865977918.key) 09:57:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:57:16 + git semver push 09:57:16 2022-10-17 09:57:16,562 [run_push] DEBUG push 09:57:16 2022-10-17 09:57:16,563 [execute] INFO git cat-file --batch-check 09:57:16 2022-10-17 09:57:16,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:57:16 2022-10-17 09:57:16,567 [execute] INFO git rev-list fafbd7511fce9173708353570b76d2b4a7edfefa -- 09:57:16 2022-10-17 09:57:16,567 [execute] DEBUG Popen(['git', 'rev-list', 'fafbd7511fce9173708353570b76d2b4a7edfefa', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:57:16 2022-10-17 09:57:16,574 [execute] INFO git fetch -v origin 09:57:16 2022-10-17 09:57:16,574 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:57:17 2022-10-17 09:57:17,158 [run_push] DEBUG no remote changes detected 09:57:17 2022-10-17 09:57:17,158 [execute] INFO git push origin semver 09:57:17 2022-10-17 09:57:17,159 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:57:18 2022-10-17 09:57:18,005 [run_push] DEBUG push all version tags 09:57:18 2022-10-17 09:57:18,005 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:57:18 2022-10-17 09:57:18,006 [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) 09:57:19 2022-10-17 09:57:18,824 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 09:57:19 2.3.0-dev.20 [Pipeline] } 09:57:19 $ docker exec --env ******** --env ******** aa6676cddb0b89de4cd5b01e1898595b597ce767991269b362a6208ea224192e ssh-agent -k 09:57:19 unset SSH_AUTH_SOCK; 09:57:19 unset SSH_AGENT_PID; 09:57:19 echo Agent pid 39 killed; 09:57:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:57:19 + git semver [Pipeline] } 09:57:19 $ docker stop --time=1 aa6676cddb0b89de4cd5b01e1898595b597ce767991269b362a6208ea224192e 09:57:21 $ docker rm -f aa6676cddb0b89de4cd5b01e1898595b597ce767991269b362a6208ea224192e [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 09:57:21 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 09:57:21 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 09:57:21 total 16 09:57:21 drwxr-xr-x 3 root root 4096 Oct 17 09:48 . 09:57:21 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:57 .. 09:57:21 drwxr-xr-x 2 root root 4096 Oct 17 09:48 cost 09:57:21 -rw-r--r-- 1 root root 88 Oct 17 09:48 cost.csv 09:57:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 09:57:21 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 09:57:21 total 16 09:57:21 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:48 . 09:57:21 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:57 .. 09:57:21 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 09:48 cost 09:57:21 -rw-r--r-- 1 jenkins jenkins 88 Oct 17 09:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:57:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:57:22 ---> package-listing.sh 09:57:22 ++ facter osfamily 09:57:22 ++ tr '[:upper:]' '[:lower:]' 09:57:23 + OS_FAMILY=debian 09:57:23 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 09:57:23 + START_PACKAGES=/tmp/packages_start.txt 09:57:23 + END_PACKAGES=/tmp/packages_end.txt 09:57:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:57:23 + PACKAGES=/tmp/packages_start.txt 09:57:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:57:23 + PACKAGES=/tmp/packages_end.txt 09:57:23 + case "${OS_FAMILY}" in 09:57:23 + dpkg -l 09:57:23 + grep '^ii' 09:57:23 + '[' -f /tmp/packages_start.txt ']' 09:57:23 + '[' -f /tmp/packages_end.txt ']' 09:57:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:57:23 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 09:57:23 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 09:57:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 09:57:23 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 09:57:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:57:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:24 prd-ubuntu20.04-docker-8c-8g-8277 does not seem to be running inside a container 09:57:24 $ 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 09:57:24 $ docker top 7c5b49b4b777d1825d306bd93d4a36447414375c566b7ced04fdee2f77f72dd0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:57:24 + touch /tmp/pre-build-complete [Pipeline] sh 09:57:24 + mkdir -p /var/log/sysstat [Pipeline] sh 09:57:25 + ls /var/log/sa-host 09:57:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:57:25 provisioning config files... 09:57:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13840923029205610014tmp [Pipeline] { [Pipeline] echo 09:57:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:57:25 ---> create-netrc.sh [Pipeline] } 09:57:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:57:25 ---> python-tools-install.sh [Pipeline] echo 09:57:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:57:26 ---> sudo-logs.sh 09:57:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:57:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:57:26 ---> job-cost.sh 09:57:26 lf-activate-venv: SKIPPING 09:57:26 DEBUG: total: 0.2199999988079071 09:57:26 INFO: Retrieving Stack Cost... 09:57:27 INFO: Retrieving Pricing Info for: v3-standard-8 09:57:28 INFO: Archiving Costs [Pipeline] echo 09:57:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:57:28 ---> logs-deploy.sh 09:57:28 lf-activate-venv: SKIPPING 09:57:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/58 09:57:28 INFO: archiving workspace using pattern(s): 09:57:29 Archives upload complete. 09:57:29 INFO: archiving logs to Nexus