Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0402772c8535e80a39149c240333cd83d56188f2 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-ssh9103962786729040320.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11460332996733018307.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3844767264494721153.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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-ssh1357525047804856627.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-ssh13199006015358371571.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9201 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 0402772c8535e80a39149c240333cd83d56188f2 (main) Commit message: "Merge pull request #384 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.45" > 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 0402772c8535e80a39149c240333cd83d56188f2 # timeout=10 > git rev-list --no-walk 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:33:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:33:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:33:19 ========================================================= 07:33:19 EdgeX Global Pipelines Version Info 07:33:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:33:19 ------------------- 07:33:19 stable info: 07:33:19 ------------------- 07:33:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:33:19 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:33:19 Message: update stable to v1.0.243 07:33:20 ------------------- 07:33:20 experimental info: 07:33:20 ------------------- 07:33:20 Commited By: **** collab-it+edgex@linuxfoundation.org 07:33:20 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:33:20 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0402772c8535e80a39149c240333cd83d56188f2 [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0402772 [Pipeline] echo 07:33:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:33:20 provisioning config files... 07:33:20 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2349638767655353722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:33:21 ---> docker-login.sh 07:33:21 nexus3.edgexfoundry.org:10001 07:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:21 Configure a credential helper to remove this warning. See 07:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:21 07:33:21 Login Succeeded 07:33:21 nexus3.edgexfoundry.org:10002 07:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:21 Configure a credential helper to remove this warning. See 07:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:21 07:33:21 Login Succeeded 07:33:21 nexus3.edgexfoundry.org:10003 07:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:21 Configure a credential helper to remove this warning. See 07:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:21 07:33:21 Login Succeeded 07:33:21 nexus3.edgexfoundry.org:10004 07:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:21 Configure a credential helper to remove this warning. See 07:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:21 07:33:21 Login Succeeded 07:33:21 docker.io 07:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:22 Configure a credential helper to remove this warning. See 07:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:22 07:33:22 Login Succeeded 07:33:22 ---> docker-login.sh ends [Pipeline] } 07:33:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:33:22 + git rev-list -1 --merges 0402772c8535e80a39149c240333cd83d56188f2~1..0402772c8535e80a39149c240333cd83d56188f2 [Pipeline] echo 07:33:22 -----------> git rev-list -1 --merges 0402772c8535e80a39149c240333cd83d56188f2~1..0402772c8535e80a39149c240333cd83d56188f2 0402772c8535e80a39149c240333cd83d56188f2 07:33:22 0402772c8535e80a39149c240333cd83d56188f2 [false] [Pipeline] sh 07:33:22 + git log --format=format:%s -1 0402772c8535e80a39149c240333cd83d56188f2 [Pipeline] echo 07:33:22 ========================================================= 07:33:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:33:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:33:23 + git log --format=format:%s -1 0402772c8535e80a39149c240333cd83d56188f2 [Pipeline] echo 07:33:23 [semverPrep] GIT_COMMIT: 0402772c8535e80a39149c240333cd83d56188f2, Commit Message: Merge pull request #384 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.45 [Pipeline] echo 07:33:23 [semverPrep] This is not a build commit. [Pipeline] sh 07:33:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:33:23 + grep -v github /etc/ssh/ssh_known_hosts 07:33:23 + [ -e /tmp/ssh_known_hosts ] 07:33:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:33:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:33:23 + sudo tee -a /etc/ssh/ssh_known_hosts 07:33:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:23 07:33:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:24 0.1.4: Pulling from edgex-devops/py-git-semver 07:33:24 b85a868b505f: Pulling fs layer 07:33:24 e2be974225ed: Pulling fs layer 07:33:24 339a4e72a1f5: Pulling fs layer 07:33:24 988bab9f4d93: Pulling fs layer 07:33:24 1469e6f7b9e6: Pulling fs layer 07:33:24 eaf3925da568: Pulling fs layer 07:33:24 988bab9f4d93: Waiting 07:33:24 bab4dde63d76: Pulling fs layer 07:33:24 eaf3925da568: Waiting 07:33:24 bde34c3a00c8: Pulling fs layer 07:33:24 b352a97aabf1: Pulling fs layer 07:33:24 bab4dde63d76: Waiting 07:33:24 bde34c3a00c8: Waiting 07:33:24 4872d77fe225: Pulling fs layer 07:33:24 b352a97aabf1: Waiting 07:33:24 5851b861e8e6: Pulling fs layer 07:33:24 4872d77fe225: Waiting 07:33:24 5851b861e8e6: Waiting 07:33:24 e2be974225ed: Verifying Checksum 07:33:24 e2be974225ed: Download complete 07:33:24 988bab9f4d93: Verifying Checksum 07:33:24 988bab9f4d93: Download complete 07:33:24 1469e6f7b9e6: Verifying Checksum 07:33:24 1469e6f7b9e6: Download complete 07:33:24 eaf3925da568: Verifying Checksum 07:33:24 eaf3925da568: Download complete 07:33:24 339a4e72a1f5: Verifying Checksum 07:33:24 339a4e72a1f5: Download complete 07:33:24 bde34c3a00c8: Verifying Checksum 07:33:24 bde34c3a00c8: Download complete 07:33:24 b352a97aabf1: Verifying Checksum 07:33:24 b352a97aabf1: Download complete 07:33:24 b85a868b505f: Download complete 07:33:24 4872d77fe225: Verifying Checksum 07:33:24 5851b861e8e6: Verifying Checksum 07:33:24 5851b861e8e6: Download complete 07:33:24 bab4dde63d76: Verifying Checksum 07:33:24 bab4dde63d76: Download complete 07:33:25 b85a868b505f: Pull complete 07:33:25 e2be974225ed: Pull complete 07:33:26 339a4e72a1f5: Pull complete 07:33:26 988bab9f4d93: Pull complete 07:33:26 1469e6f7b9e6: Pull complete 07:33:26 eaf3925da568: Pull complete 07:33:28 bab4dde63d76: Pull complete 07:33:28 bde34c3a00c8: Pull complete 07:33:28 b352a97aabf1: Pull complete 07:33:28 4872d77fe225: Pull complete 07:33:28 5851b861e8e6: Pull complete 07:33:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:33:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:33:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:33:29 prd-ubuntu20.04-docker-8c-8g-9201 does not seem to be running inside a container 07:33:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:33:30 $ docker top 7909de982dec6330c589783c17f8890b86cd5400d75cf37d12efbbd8bf204d25 -eo pid,comm 07:33:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:33:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:33:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:30 [ssh-agent] Looking for ssh-agent implementation... 07:33:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:30 $ docker exec 7909de982dec6330c589783c17f8890b86cd5400d75cf37d12efbbd8bf204d25 ssh-agent 07:33:30 SSH_AUTH_SOCK=/tmp/ssh-6hhmqAtBV3Oc/agent.32 07:33:30 SSH_AGENT_PID=38 07:33:30 Running ssh-add (command line suppressed) 07:33:30 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6463320017322002489.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6463320017322002489.key) 07:33:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:31 + git tag --points-at HEAD [Pipeline] } 07:33:31 $ docker exec --env ******** --env ******** 7909de982dec6330c589783c17f8890b86cd5400d75cf37d12efbbd8bf204d25 ssh-agent -k 07:33:31 unset SSH_AUTH_SOCK; 07:33:31 unset SSH_AGENT_PID; 07:33:31 echo Agent pid 38 killed; 07:33:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:33:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:33:31 [ssh-agent] Looking for ssh-agent implementation... 07:33:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:33:31 $ docker exec 7909de982dec6330c589783c17f8890b86cd5400d75cf37d12efbbd8bf204d25 ssh-agent 07:33:31 SSH_AUTH_SOCK=/tmp/ssh-lQt8TbTOjbBg/agent.70 07:33:31 SSH_AGENT_PID=76 07:33:31 Running ssh-add (command line suppressed) 07:33:31 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7514962260239397236.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7514962260239397236.key) 07:33:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:33:31 + git semver init 07:33:32 2022-10-24 07:33:32,025 [run_init] DEBUG init version:0.0.0 force:False 07:33:32 2022-10-24 07:33:32,026 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 07:33:32 2022-10-24 07:33:32,027 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 07:33:32 2022-10-24 07:33:32,027 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:33:33 2022-10-24 07:33:32,936 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 07:33:33 2022-10-24 07:33:32,936 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 07:33:33 2022-10-24 07:33:32,937 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:33:33 2022-10-24 07:33:32,937 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:33:33 2.3.0-dev.20 [Pipeline] } 07:33:33 $ docker exec --env ******** --env ******** 7909de982dec6330c589783c17f8890b86cd5400d75cf37d12efbbd8bf204d25 ssh-agent -k 07:33:33 unset SSH_AUTH_SOCK; 07:33:33 unset SSH_AGENT_PID; 07:33:33 echo Agent pid 76 killed; 07:33:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:33:33 + git semver [Pipeline] } 07:33:33 $ docker stop --time=1 7909de982dec6330c589783c17f8890b86cd5400d75cf37d12efbbd8bf204d25 07:33:35 $ docker rm -f 7909de982dec6330c589783c17f8890b86cd5400d75cf37d12efbbd8bf204d25 [Pipeline] // withDockerContainer [Pipeline] sh 07:33:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:33:35 Stashed 1 file(s) [Pipeline] echo 07:33:35 [edgeXSemver]: initialized semver on version 2.3.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:33:35 provisioning config files... 07:33:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16072677558159340153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:33:36 ---> docker-login.sh 07:33:36 nexus3.edgexfoundry.org:10001 07:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:36 Configure a credential helper to remove this warning. See 07:33:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:36 07:33:36 Login Succeeded 07:33:36 nexus3.edgexfoundry.org:10002 07:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:36 Configure a credential helper to remove this warning. See 07:33:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:36 07:33:36 Login Succeeded 07:33:36 nexus3.edgexfoundry.org:10003 07:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:36 Configure a credential helper to remove this warning. See 07:33:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:36 07:33:36 Login Succeeded 07:33:36 nexus3.edgexfoundry.org:10004 07:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:36 Configure a credential helper to remove this warning. See 07:33:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:36 07:33:36 Login Succeeded 07:33:36 docker.io 07:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:33:36 Configure a credential helper to remove this warning. See 07:33:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:33:36 07:33:36 Login Succeeded 07:33:36 ---> docker-login.sh ends [Pipeline] } 07:33:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:33:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:33:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:33:36 ========================================================= 07:33:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:33:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:33:37 Sending build context to Docker daemon 6.19MB 07:33:37 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:33:37 Step 2/11 : FROM ${BASE} AS builder 07:33:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:33:37 213ec9aee27d: Pulling fs layer 07:33:37 4583459ba037: Pulling fs layer 07:33:37 93c1e223e6f2: Pulling fs layer 07:33:37 53926ce57604: Pulling fs layer 07:33:37 21b2b0c7a3f4: Pulling fs layer 07:33:37 30f14e443154: Pulling fs layer 07:33:37 801331c1e519: Pulling fs layer 07:33:37 99cc6dd402b0: Pulling fs layer 07:33:37 7d9ed39f4882: Pulling fs layer 07:33:37 21b2b0c7a3f4: Waiting 07:33:37 99cc6dd402b0: Waiting 07:33:37 30f14e443154: Waiting 07:33:37 801331c1e519: Waiting 07:33:37 7d9ed39f4882: Waiting 07:33:37 53926ce57604: Waiting 07:33:37 93c1e223e6f2: Download complete 07:33:37 4583459ba037: Download complete 07:33:37 21b2b0c7a3f4: Verifying Checksum 07:33:37 30f14e443154: Download complete 07:33:37 213ec9aee27d: Verifying Checksum 07:33:37 213ec9aee27d: Download complete 07:33:37 801331c1e519: Verifying Checksum 07:33:37 801331c1e519: Download complete 07:33:37 213ec9aee27d: Pull complete 07:33:37 4583459ba037: Pull complete 07:33:37 93c1e223e6f2: Pull complete 07:33:37 7d9ed39f4882: Verifying Checksum 07:33:37 7d9ed39f4882: Download complete 07:33:37 99cc6dd402b0: Verifying Checksum 07:33:37 99cc6dd402b0: Download complete 07:33:38 53926ce57604: Verifying Checksum 07:33:38 53926ce57604: Download complete 07:33:41 53926ce57604: Pull complete 07:33:41 21b2b0c7a3f4: Pull complete 07:33:41 30f14e443154: Pull complete 07:33:41 801331c1e519: Pull complete 07:33:43 99cc6dd402b0: Pull complete 07:33:44 7d9ed39f4882: Pull complete 07:33:44 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 07:33:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:33:44 ---> 1dedd983c030 07:33:44 Step 3/11 : ARG ADD_BUILD_TAGS="" 07:33:45 ---> Running in a8778ae573eb 07:33:46 Removing intermediate container a8778ae573eb 07:33:46 ---> c812214ede6b 07:33:46 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:33:46 ---> Running in 40f6aaf26fdb 07:33:46 Removing intermediate container 40f6aaf26fdb 07:33:46 ---> 5731b9f964a9 07:33:46 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:33:46 ---> Running in 79c054dba243 07:33:46 Removing intermediate container 79c054dba243 07:33:46 ---> 7b8b7a62a262 07:33:46 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:33:46 ---> Running in 9a98a4b517de 07:33:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:33:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:33:48 (1/8) Installing openssh-keygen (9.0_p1-r2) 07:33:48 (2/8) Installing libedit (20210910.3.1-r0) 07:33:48 (3/8) Installing openssh-client-common (9.0_p1-r2) 07:33:48 (4/8) Installing openssh-client-default (9.0_p1-r2) 07:33:48 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 07:33:48 (6/8) Installing openssh-server-common (9.0_p1-r2) 07:33:48 (7/8) Installing openssh-server (9.0_p1-r2) 07:33:49 (8/8) Installing openssh (9.0_p1-r2) 07:33:49 Executing busybox-1.35.0-r17.trigger 07:33:49 OK: 217 MiB in 59 packages 07:33:49 Removing intermediate container 9a98a4b517de 07:33:49 ---> ba6dfa05187e 07:33:49 Step 7/11 : WORKDIR /device-modbus-go 07:33:49 ---> Running in 00010dc7807a 07:33:49 Removing intermediate container 00010dc7807a 07:33:49 ---> 4c8769069745 07:33:49 Step 8/11 : COPY go.mod vendor* ./ 07:33:49 ---> 824afb69d52d 07:33:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:33:49 ---> Running in ad6238935f09 07:33:50 Still waiting to schedule task 07:33:50 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:34:07 Removing intermediate container ad6238935f09 07:34:07 ---> c106e83a4463 07:34:07 Step 10/11 : COPY . . 07:34:07 ---> afc94e2917e1 07:34:07 Step 11/11 : RUN ${MAKE} 07:34:07 ---> Running in d738c9e7cdf7 07:34:07 noop 07:34:07 Removing intermediate container d738c9e7cdf7 07:34:07 ---> b6b3a6ca6a29 07:34:07 Successfully built b6b3a6ca6a29 07:34:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:08 + docker inspect -f . ci-base-image-x86_64 07:34:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:08 prd-ubuntu20.04-docker-8c-8g-9201 does not seem to be running inside a container 07:34:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:34:08 $ docker top 274dd68f4fc90a69d630d2253401040345ddeda1a4515e85010d55b74fe42906 -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:08 + go version 07:34:08 go version go1.18.7 linux/amd64 [Pipeline] } 07:34:08 $ docker stop --time=1 274dd68f4fc90a69d630d2253401040345ddeda1a4515e85010d55b74fe42906 07:34:10 $ docker rm -f 274dd68f4fc90a69d630d2253401040345ddeda1a4515e85010d55b74fe42906 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:10 + docker inspect -f . ci-base-image-x86_64 07:34:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:10 prd-ubuntu20.04-docker-8c-8g-9201 does not seem to be running inside a container 07:34:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:34:10 $ docker top 022c250c0907962ce5dc7cc3b295c5c0ffa9897187a440c0fe09c91c2d8932e2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 07:34:11 + make test 07:34:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:34:11 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:34:21 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:34:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements 07:34:29 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 07:34:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:34:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:34:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:34:32 ./bin/test-attribution-txt.sh [Pipeline] echo 07:34:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:34:32 $ docker stop --time=1 022c250c0907962ce5dc7cc3b295c5c0ffa9897187a440c0fe09c91c2d8932e2 07:34:34 $ docker rm -f 022c250c0907962ce5dc7cc3b295c5c0ffa9897187a440c0fe09c91c2d8932e2 [Pipeline] // withDockerContainer [Pipeline] sh 07:34:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:34:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:34:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:34:35 + ls -al . 07:34:35 total 188 07:34:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 07:34 . 07:34:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:33 .. 07:34:35 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 07:33 .dockerignore 07:34:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:34 .git 07:34:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:33 .github 07:34:35 -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 07:33 .gitignore 07:34:35 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 07:33 .golangci.yml 07:34:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:33 .semver 07:34:35 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 07:33 Attribution.txt 07:34:35 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 07:33 CHANGELOG.md 07:34:35 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 07:33 Dockerfile 07:34:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:33 GOVERNANCE.md 07:34:35 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 07:33 Jenkinsfile 07:34:35 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 07:33 LICENSE 07:34:35 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 07:33 Makefile 07:34:35 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 07:33 OWNERS.md 07:34:35 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 07:33 README.md 07:34:35 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 07:33 VERSION 07:34:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:33 bin 07:34:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:33 cmd 07:34:35 -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 07:34 coverage.out 07:34:35 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 07:33 go.mod 07:34:35 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 24 07:33 go.sum 07:34:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:33 internal 07:34:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:33 simulator 07:34:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:33 snap 07:34:35 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 07:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:35 + 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=0402772c8535e80a39149c240333cd83d56188f2 --label arch=amd64 --label version=2.3.0-dev.20 . 07:34:35 Sending build context to Docker daemon 6.214MB 07:34:35 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 07:34:35 Step 2/24 : FROM ${BASE} AS builder 07:34:35 ---> b6b3a6ca6a29 07:34:35 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:34:35 ---> Running in 0833fdf16f51 07:34:35 Removing intermediate container 0833fdf16f51 07:34:35 ---> 37be75ddbab4 07:34:35 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:34:35 ---> Running in 50c92f01d8ea 07:34:35 Removing intermediate container 50c92f01d8ea 07:34:35 ---> 2b49ee1ffadf 07:34:35 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:34:35 ---> Running in 6f561e016c35 07:34:36 Removing intermediate container 6f561e016c35 07:34:36 ---> c1e1f4b357dd 07:34:36 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:34:36 ---> Running in 76615fa73b71 07:34:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:34:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:34:37 OK: 217 MiB in 59 packages 07:34:38 Removing intermediate container 76615fa73b71 07:34:38 ---> a43d4a27dcc9 07:34:38 Step 7/24 : WORKDIR /device-modbus-go 07:34:38 ---> Running in 6090ebf36ce4 07:34:38 Removing intermediate container 6090ebf36ce4 07:34:38 ---> b1db3885b9e4 07:34:38 Step 8/24 : COPY go.mod vendor* ./ 07:34:38 ---> 5fc0ae609ffe 07:34:38 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:34:38 ---> Running in 6dc3efc6c089 07:34:38 Removing intermediate container 6dc3efc6c089 07:34:38 ---> f167f9d6907d 07:34:38 Step 10/24 : COPY . . 07:34:39 ---> eb7fbed35904 07:34:39 Step 11/24 : RUN ${MAKE} 07:34:39 ---> Running in 7c3ab97b8b5e 07:34:39 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 07:35:01 Removing intermediate container 7c3ab97b8b5e 07:35:01 ---> 28e510921e56 07:35:01 Step 12/24 : FROM alpine:3.14 07:35:01 3.14: Pulling from library/alpine 07:35:01 c7ed990a2339: Pulling fs layer 07:35:01 c7ed990a2339: Download complete 07:35:01 c7ed990a2339: Pull complete 07:35:01 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 07:35:01 Status: Downloaded newer image for alpine:3.14 07:35:01 ---> dd53f409bf0b 07:35:01 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:35:01 ---> Running in 7b8547061808 07:35:01 Removing intermediate container 7b8547061808 07:35:01 ---> 33622a419679 07:35:01 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:35:01 ---> Running in ee6a2deb2ad9 07:35:01 Removing intermediate container ee6a2deb2ad9 07:35:01 ---> fae551964146 07:35:01 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 07:35:01 ---> Running in 2167caa6e9cf 07:35:01 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:35:02 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:35:02 (1/6) Installing dumb-init (1.2.5-r1) 07:35:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:35:02 (3/6) Installing libsodium (1.0.18-r0) 07:35:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:35:03 (5/6) Installing libzmq (4.3.4-r0) 07:35:03 (6/6) Installing zeromq (4.3.4-r0) 07:35:03 Executing busybox-1.33.1-r8.trigger 07:35:03 OK: 8 MiB in 20 packages 07:35:03 Removing intermediate container 2167caa6e9cf 07:35:03 ---> acc4cffc6470 07:35:03 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 07:35:04 ---> 35195a2b25bb 07:35:04 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 07:35:04 ---> f19d4847bf5d 07:35:04 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:35:04 ---> cb87f52ce295 07:35:04 Step 19/24 : EXPOSE 59901 07:35:04 ---> Running in e4b877cb30c7 07:35:04 Removing intermediate container e4b877cb30c7 07:35:04 ---> a576b25bf1e5 07:35:04 Step 20/24 : ENTRYPOINT ["/device-modbus"] 07:35:04 ---> Running in 6d9ad4dce06d 07:35:04 Removing intermediate container 6d9ad4dce06d 07:35:04 ---> 6e8f94689c18 07:35:04 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:35:04 ---> Running in e40b59b737b3 07:35:04 Removing intermediate container e40b59b737b3 07:35:04 ---> 2a1d536ffddc 07:35:04 Step 22/24 : LABEL arch=amd64 07:35:04 ---> Running in edbd545e3386 07:35:04 Removing intermediate container edbd545e3386 07:35:04 ---> 5401040007e2 07:35:04 Step 23/24 : LABEL git_sha=0402772c8535e80a39149c240333cd83d56188f2 07:35:04 ---> Running in 8d3393d805c5 07:35:04 Removing intermediate container 8d3393d805c5 07:35:04 ---> e99edaef0198 07:35:04 Step 24/24 : LABEL version=2.3.0-dev.20 07:35:04 ---> Running in e10050c9571d 07:35:04 Removing intermediate container e10050c9571d 07:35:04 ---> 30c1854827c7 07:35:04 [Warning] One or more build-args [ARCH] were not consumed 07:35:04 Successfully built 30c1854827c7 07:35:04 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:04 provisioning config files... 07:35:04 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8969246797332469049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:05 ---> docker-login.sh 07:35:05 nexus3.edgexfoundry.org:10001 07:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:05 Configure a credential helper to remove this warning. See 07:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:05 07:35:05 Login Succeeded 07:35:05 nexus3.edgexfoundry.org:10002 07:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:05 Configure a credential helper to remove this warning. See 07:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:05 07:35:05 Login Succeeded 07:35:05 nexus3.edgexfoundry.org:10003 07:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:05 Configure a credential helper to remove this warning. See 07:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:05 07:35:05 Login Succeeded 07:35:05 nexus3.edgexfoundry.org:10004 07:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:05 Configure a credential helper to remove this warning. See 07:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:05 07:35:05 Login Succeeded 07:35:05 docker.io 07:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:06 Configure a credential helper to remove this warning. See 07:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:06 07:35:06 Login Succeeded 07:35:06 ---> docker-login.sh ends [Pipeline] } 07:35:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:35:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:35:06 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 07:35:06 0402772c8535e80a39149c240333cd83d56188f2 07:35:06 latest 07:35:06 2.3.0-dev.20 07:35:06 0402772c8535e80a39149c240333cd83d56188f2-2.3.0-dev.20 07:35:06 main 07:35:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:06 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0402772c8535e80a39149c240333cd83d56188f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:06 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0402772c8535e80a39149c240333cd83d56188f2 07:35:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:35:06 1ca58ef8a0b7: Preparing 07:35:06 f4203c9579ce: Preparing 07:35:06 0d269ddd9e12: Preparing 07:35:06 7a5b1806aa44: Preparing 07:35:06 ce8c8c33a72a: Preparing 07:35:06 63493a9ab2d4: Preparing 07:35:06 63493a9ab2d4: Waiting 07:35:06 ce8c8c33a72a: Pushed 07:35:06 1ca58ef8a0b7: Pushed 07:35:06 f4203c9579ce: Pushed 07:35:06 63493a9ab2d4: Layer already exists 07:35:07 7a5b1806aa44: Pushed 07:35:09 0d269ddd9e12: Pushed 07:35:09 0402772c8535e80a39149c240333cd83d56188f2: digest: sha256:d6f3ea25257738115874192cb1f9eab95f73c8c209407b37fbfd009f9088039b size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:09 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 07:35:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:35:10 1ca58ef8a0b7: Preparing 07:35:10 f4203c9579ce: Preparing 07:35:10 0d269ddd9e12: Preparing 07:35:10 7a5b1806aa44: Preparing 07:35:10 ce8c8c33a72a: Preparing 07:35:10 63493a9ab2d4: Preparing 07:35:10 63493a9ab2d4: Waiting 07:35:10 7a5b1806aa44: Layer already exists 07:35:10 1ca58ef8a0b7: Layer already exists 07:35:10 f4203c9579ce: Layer already exists 07:35:10 ce8c8c33a72a: Layer already exists 07:35:10 0d269ddd9e12: Layer already exists 07:35:10 63493a9ab2d4: Layer already exists 07:35:10 latest: digest: sha256:d6f3ea25257738115874192cb1f9eab95f73c8c209407b37fbfd009f9088039b size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:10 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:10 + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.20 07:35:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:35:10 1ca58ef8a0b7: Preparing 07:35:10 f4203c9579ce: Preparing 07:35:10 0d269ddd9e12: Preparing 07:35:10 7a5b1806aa44: Preparing 07:35:10 ce8c8c33a72a: Preparing 07:35:10 63493a9ab2d4: Preparing 07:35:10 63493a9ab2d4: Waiting 07:35:10 0d269ddd9e12: Layer already exists 07:35:10 ce8c8c33a72a: Layer already exists 07:35:10 f4203c9579ce: Layer already exists 07:35:10 1ca58ef8a0b7: Layer already exists 07:35:10 7a5b1806aa44: Layer already exists 07:35:10 63493a9ab2d4: Layer already exists 07:35:10 2.3.0-dev.20: digest: sha256:d6f3ea25257738115874192cb1f9eab95f73c8c209407b37fbfd009f9088039b size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:0402772c8535e80a39149c240333cd83d56188f2-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:11 + docker push nexus3.edgexfoundry.org:10004/device-modbus:0402772c8535e80a39149c240333cd83d56188f2-2.3.0-dev.20 07:35:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:35:11 1ca58ef8a0b7: Preparing 07:35:11 f4203c9579ce: Preparing 07:35:11 0d269ddd9e12: Preparing 07:35:11 7a5b1806aa44: Preparing 07:35:11 ce8c8c33a72a: Preparing 07:35:11 63493a9ab2d4: Preparing 07:35:11 63493a9ab2d4: Waiting 07:35:11 f4203c9579ce: Layer already exists 07:35:11 1ca58ef8a0b7: Layer already exists 07:35:11 ce8c8c33a72a: Layer already exists 07:35:11 0d269ddd9e12: Layer already exists 07:35:11 7a5b1806aa44: Layer already exists 07:35:11 63493a9ab2d4: Layer already exists 07:35:11 0402772c8535e80a39149c240333cd83d56188f2-2.3.0-dev.20: digest: sha256:d6f3ea25257738115874192cb1f9eab95f73c8c209407b37fbfd009f9088039b size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:11 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 07:35:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 07:35:12 1ca58ef8a0b7: Preparing 07:35:12 f4203c9579ce: Preparing 07:35:12 0d269ddd9e12: Preparing 07:35:12 7a5b1806aa44: Preparing 07:35:12 ce8c8c33a72a: Preparing 07:35:12 63493a9ab2d4: Preparing 07:35:12 63493a9ab2d4: Waiting 07:35:12 7a5b1806aa44: Layer already exists 07:35:12 ce8c8c33a72a: Layer already exists 07:35:12 1ca58ef8a0b7: Layer already exists 07:35:12 f4203c9579ce: Layer already exists 07:35:12 0d269ddd9e12: Layer already exists 07:35:12 63493a9ab2d4: Layer already exists 07:35:12 main: digest: sha256:d6f3ea25257738115874192cb1f9eab95f73c8c209407b37fbfd009f9088039b size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:35:12 ===================================================== [Pipeline] echo 07:35:12 taggedImages: 07:35:12 - nexus3.edgexfoundry.org:10004/device-modbus:0402772c8535e80a39149c240333cd83d56188f2 07:35:12 - nexus3.edgexfoundry.org:10004/device-modbus:latest 07:35:12 - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.20 07:35:12 - nexus3.edgexfoundry.org:10004/device-modbus:0402772c8535e80a39149c240333cd83d56188f2-2.3.0-dev.20 07:35:12 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:12 07:35:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:12 latest: Pulling from edgex-lftools-log-publisher 07:35:12 5eb5b503b376: Pulling fs layer 07:35:12 5c69ac0246d0: Pulling fs layer 07:35:12 ec43610c2a17: Pulling fs layer 07:35:12 3a2ae6a8a46f: Pulling fs layer 07:35:12 33b1e0a273af: Pulling fs layer 07:35:12 5d3b04190fa2: Pulling fs layer 07:35:12 2f39f015ded8: Pulling fs layer 07:35:12 2f39f015ded8: Waiting 07:35:12 33b1e0a273af: Waiting 07:35:12 5d3b04190fa2: Waiting 07:35:12 3a2ae6a8a46f: Waiting 07:35:12 5c69ac0246d0: Download complete 07:35:12 3a2ae6a8a46f: Verifying Checksum 07:35:12 3a2ae6a8a46f: Download complete 07:35:12 ec43610c2a17: Verifying Checksum 07:35:12 ec43610c2a17: Download complete 07:35:12 33b1e0a273af: Verifying Checksum 07:35:12 33b1e0a273af: Download complete 07:35:12 5d3b04190fa2: Verifying Checksum 07:35:12 5d3b04190fa2: Download complete 07:35:12 5eb5b503b376: Verifying Checksum 07:35:12 5eb5b503b376: Download complete 07:35:13 2f39f015ded8: Download complete 07:35:14 5eb5b503b376: Pull complete 07:35:14 5c69ac0246d0: Pull complete 07:35:14 ec43610c2a17: Pull complete 07:35:14 3a2ae6a8a46f: Pull complete 07:35:14 33b1e0a273af: Pull complete 07:35:14 5d3b04190fa2: Pull complete 07:35:19 2f39f015ded8: Pull complete 07:35:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:35:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:19 prd-ubuntu20.04-docker-8c-8g-9201 does not seem to be running inside a container 07:35:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:35:20 $ docker top e4113210860a896543749cd1fd50ccb5533528ae85f0e0507b7b78a05edaacff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:20 ---> job-cost.sh 07:35:20 lf-activate-venv: SKIPPING 07:35:20 INFO: No Stack... 07:35:21 INFO: Retrieving Pricing Info for: v3-standard-8 07:35:21 INFO: Archiving Costs [Pipeline] sh 07:35:21 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 07:35:21 + cut -d, -f6 [Pipeline] lock 07:35:21 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-59-stack-cost] 07:35:21 Resource [jenkins-edgexfoundry-device-modbus-go-main-59-stack-cost] did not exist. Created. 07:35:21 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:35:22 + echo total: 0.2199999988079071 [Pipeline] stash 07:35:22 Stashed 1 file(s) [Pipeline] } 07:35:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-59-stack-cost] [Pipeline] // lock [Pipeline] } 07:35:22 $ docker stop --time=1 e4113210860a896543749cd1fd50ccb5533528ae85f0e0507b7b78a05edaacff 07:35:23 $ docker rm -f e4113210860a896543749cd1fd50ccb5533528ae85f0e0507b7b78a05edaacff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:40:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9262 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 07:40:55 Running in /w/workspace/device-modbus-go/59 [Pipeline] { [Pipeline] checkout 07:40:55 Selected Git installation does not exist. Using Default 07:40:55 The recommended git tool is: NONE 07:41:01 using credential edgex-jenkins-ssh 07:41:01 Cloning the remote Git repository 07:41:01 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:41:01 > git init /w/workspace/device-modbus-go/59 # timeout=10 07:41:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:41:02 > git --version # timeout=10 07:41:02 > git --version # 'git version 2.25.1' 07:41:02 using GIT_SSH to set credentials SSH Credentials for GitHub 07:41:02 Verifying host key using known hosts file 07:41:02 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 07:41:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:03 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:41:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:05 Avoid second fetch 07:41:05 Checking out Revision 0402772c8535e80a39149c240333cd83d56188f2 (main) 07:41:05 Commit message: "Merge pull request #384 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.45" 07:41:05 > git config core.sparsecheckout # timeout=10 07:41:05 > git checkout -f 0402772c8535e80a39149c240333cd83d56188f2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:41:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:41:06 % Total % Received % Xferd Average Speed Time Time Time Current 07:41:06 Dload Upload Total Spent Left Speed 07:41:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 67752 0 --:--:-- --:--:-- --:--:-- 68118 [Pipeline] sh 07:41:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:41:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:41:07 + sudo tee /etc/docker/daemon.new 07:41:07 { 07:41:07 "registry-mirrors": [ 07:41:07 "https://nexus3.edgexfoundry.org:10001" 07:41:07 ], 07:41:07 "bip": "10.250.0.254/24", 07:41:07 "hosts": [ 07:41:07 "tcp://0.0.0.0:5555", 07:41:07 "unix:///var/run/docker.sock" 07:41:07 ], 07:41:07 "mtu": 1458, 07:41:07 "selinux-enabled": true, 07:41:07 "seccomp-profile": "/etc/docker/seccomp.json" 07:41:07 } [Pipeline] sh 07:41:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:41:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:41:26 provisioning config files... 07:41:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/59@tmp/config649799630838322541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:26 ---> docker-login.sh 07:41:26 nexus3.edgexfoundry.org:10001 07:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:27 Configure a credential helper to remove this warning. See 07:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:27 07:41:27 Login Succeeded 07:41:27 nexus3.edgexfoundry.org:10002 07:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:28 Configure a credential helper to remove this warning. See 07:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:28 07:41:28 Login Succeeded 07:41:28 nexus3.edgexfoundry.org:10003 07:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:28 Configure a credential helper to remove this warning. See 07:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:28 07:41:28 Login Succeeded 07:41:28 nexus3.edgexfoundry.org:10004 07:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:28 Configure a credential helper to remove this warning. See 07:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:28 07:41:28 Login Succeeded 07:41:28 docker.io 07:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:29 Configure a credential helper to remove this warning. See 07:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:29 07:41:29 Login Succeeded 07:41:29 ---> docker-login.sh ends [Pipeline] } 07:41:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:41:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:29 ========================================================= 07:41:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:41:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:41:30 Sending build context to Docker daemon 3.222MB 07:41:30 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:41:30 Step 2/11 : FROM ${BASE} AS builder 07:41:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:41:30 9b18e9b68314: Pulling fs layer 07:41:30 d32db5db7311: Pulling fs layer 07:41:30 d0c4b47475fc: Pulling fs layer 07:41:30 5831b945b038: Pulling fs layer 07:41:30 86bbec2aaacd: Pulling fs layer 07:41:30 e10730c5d714: Pulling fs layer 07:41:30 5dd5c2283517: Pulling fs layer 07:41:30 d5ac0230b979: Pulling fs layer 07:41:30 e10730c5d714: Waiting 07:41:30 5dd5c2283517: Waiting 07:41:30 86bbec2aaacd: Waiting 07:41:30 d5ac0230b979: Waiting 07:41:30 d0c4b47475fc: Verifying Checksum 07:41:30 d0c4b47475fc: Download complete 07:41:30 d32db5db7311: Download complete 07:41:30 86bbec2aaacd: Verifying Checksum 07:41:30 86bbec2aaacd: Download complete 07:41:30 e10730c5d714: Verifying Checksum 07:41:30 e10730c5d714: Download complete 07:41:30 9b18e9b68314: Verifying Checksum 07:41:31 9b18e9b68314: Pull complete 07:41:32 d32db5db7311: Pull complete 07:41:32 d5ac0230b979: Verifying Checksum 07:41:32 d5ac0230b979: Download complete 07:41:32 d0c4b47475fc: Pull complete 07:41:33 5dd5c2283517: Verifying Checksum 07:41:33 5dd5c2283517: Download complete 07:41:34 5831b945b038: Verifying Checksum 07:41:34 5831b945b038: Download complete 07:41:49 5831b945b038: Pull complete 07:41:49 86bbec2aaacd: Pull complete 07:41:49 e10730c5d714: Pull complete 07:41:54 5dd5c2283517: Pull complete 07:41:56 d5ac0230b979: Pull complete 07:41:56 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 07:41:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:41:56 ---> 59b3b1a385d4 07:41:56 Step 3/11 : ARG ADD_BUILD_TAGS="" 07:41:59 ---> Running in ee2bf7dff314 07:41:59 Removing intermediate container ee2bf7dff314 07:41:59 ---> f51144a81a76 07:41:59 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:41:59 ---> Running in 5f536a9c089d 07:42:00 Removing intermediate container 5f536a9c089d 07:42:00 ---> 859d11e5b028 07:42:00 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:42:00 ---> Running in a109911122f8 07:42:02 Removing intermediate container a109911122f8 07:42:02 ---> 8adcea3b77e0 07:42:02 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:42:02 ---> Running in cadb0de61c18 07:42:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:42:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:42:05 (1/8) Installing openssh-keygen (9.0_p1-r2) 07:42:05 (2/8) Installing libedit (20210910.3.1-r0) 07:42:05 (3/8) Installing openssh-client-common (9.0_p1-r2) 07:42:05 (4/8) Installing openssh-client-default (9.0_p1-r2) 07:42:05 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 07:42:05 (6/8) Installing openssh-server-common (9.0_p1-r2) 07:42:06 (7/8) Installing openssh-server (9.0_p1-r2) 07:42:06 (8/8) Installing openssh (9.0_p1-r2) 07:42:06 Executing busybox-1.35.0-r17.trigger 07:42:06 OK: 228 MiB in 59 packages 07:42:07 Removing intermediate container cadb0de61c18 07:42:07 ---> 7914dda302e2 07:42:07 Step 7/11 : WORKDIR /device-modbus-go 07:42:07 ---> Running in 7bd9e1d95fee 07:42:07 Removing intermediate container 7bd9e1d95fee 07:42:07 ---> f172d0a31311 07:42:07 Step 8/11 : COPY go.mod vendor* ./ 07:42:08 ---> 04527628ab2b 07:42:08 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:42:08 ---> Running in 5e340a0f119d 07:43:05 Removing intermediate container 5e340a0f119d 07:43:05 ---> 201e175b59db 07:43:05 Step 10/11 : COPY . . 07:43:05 ---> 449d4bbae737 07:43:05 Step 11/11 : RUN ${MAKE} 07:43:05 ---> Running in 888c3981e2eb 07:43:05 noop 07:43:05 Removing intermediate container 888c3981e2eb 07:43:05 ---> fedb897d97b7 07:43:05 Successfully built fedb897d97b7 07:43:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:05 + docker inspect -f . ci-base-image-arm64 07:43:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:05 prd-ubuntu20.04-docker-arm64-4c-16g-9262 does not seem to be running inside a container 07:43:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/59 -v /w/workspace/device-modbus-go/59:/w/workspace/device-modbus-go/59:rw,z -v /w/workspace/device-modbus-go/59@tmp:/w/workspace/device-modbus-go/59@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:43:07 $ docker top 365544d2871a73d83a75153947101cfc3c44399ed5d48529c717b3f6c243d2f9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:08 + go version 07:43:08 go version go1.18.7 linux/arm64 [Pipeline] } 07:43:08 $ docker stop --time=1 365544d2871a73d83a75153947101cfc3c44399ed5d48529c717b3f6c243d2f9 07:43:09 $ docker rm -f 365544d2871a73d83a75153947101cfc3c44399ed5d48529c717b3f6c243d2f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:10 + docker inspect -f . ci-base-image-arm64 07:43:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:10 prd-ubuntu20.04-docker-arm64-4c-16g-9262 does not seem to be running inside a container 07:43:10 $ 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/59 -v /w/workspace/device-modbus-go/59:/w/workspace/device-modbus-go/59:rw,z -v /w/workspace/device-modbus-go/59@tmp:/w/workspace/device-modbus-go/59@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:43:12 $ docker top fe87c73fd9ade52d9366ede7b90de2a80454cf9975d1a444c21b992c3ef7a9b7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:12 + git config --global --add safe.directory /w/workspace/device-modbus-go/59 [Pipeline] fileExists [Pipeline] sh 07:43:13 + make test 07:43:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:43:15 ? github.com/edgexfoundry/device-modbus-go [no test files] 07:44:52 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 07:44:52 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements 07:44:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:44:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:45:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:45:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:45:18 ./bin/test-attribution-txt.sh [Pipeline] echo 07:45:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:45:18 $ docker stop --time=1 fe87c73fd9ade52d9366ede7b90de2a80454cf9975d1a444c21b992c3ef7a9b7 07:45:20 $ docker rm -f fe87c73fd9ade52d9366ede7b90de2a80454cf9975d1a444c21b992c3ef7a9b7 [Pipeline] // withDockerContainer [Pipeline] sh 07:45:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:45:22 Warning: overwriting stash ‘coverage-report’ 07:45:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:45:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:45:23 + ls -al . 07:45:23 total 184 07:45:23 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 07:43 . 07:45:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:41 .. 07:45:23 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 07:41 .dockerignore 07:45:23 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:41 .git 07:45:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:41 .github 07:45:23 -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 07:41 .gitignore 07:45:23 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 07:41 .golangci.yml 07:45:23 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 07:41 Attribution.txt 07:45:23 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 07:41 CHANGELOG.md 07:45:23 -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 07:41 Dockerfile 07:45:23 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:41 GOVERNANCE.md 07:45:23 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 07:41 Jenkinsfile 07:45:23 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 07:41 LICENSE 07:45:23 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 07:41 Makefile 07:45:23 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 07:41 OWNERS.md 07:45:23 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 07:41 README.md 07:45:23 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 07:33 VERSION 07:45:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:41 bin 07:45:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:41 cmd 07:45:23 -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 07:44 coverage.out 07:45:23 -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 07:41 go.mod 07:45:23 -rw-rw-r-- 1 jenkins jenkins 38288 Oct 24 07:41 go.sum 07:45:23 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:41 internal 07:45:23 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:41 simulator 07:45:23 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:41 snap 07:45:23 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:24 + 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=0402772c8535e80a39149c240333cd83d56188f2 --label arch=arm64 --label version=2.3.0-dev.20 . 07:45:24 Sending build context to Docker daemon 3.246MB 07:45:24 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 07:45:24 Step 2/24 : FROM ${BASE} AS builder 07:45:24 ---> fedb897d97b7 07:45:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:45:24 ---> Running in 155dfadf7330 07:45:25 Removing intermediate container 155dfadf7330 07:45:25 ---> 422862e262ae 07:45:25 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:45:25 ---> Running in 83cc157bf485 07:45:26 Removing intermediate container 83cc157bf485 07:45:26 ---> c162ad34996e 07:45:26 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:45:26 ---> Running in ecf729d61a02 07:45:28 Removing intermediate container ecf729d61a02 07:45:28 ---> 491fdb01979d 07:45:28 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 07:45:28 ---> Running in dc280cd71680 07:45:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:45:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:45:31 OK: 228 MiB in 59 packages 07:45:34 Removing intermediate container dc280cd71680 07:45:34 ---> fd4b7c52fdc8 07:45:34 Step 7/24 : WORKDIR /device-modbus-go 07:45:34 ---> Running in afe228e61df3 07:45:34 Removing intermediate container afe228e61df3 07:45:34 ---> 7ff57f39aa2a 07:45:34 Step 8/24 : COPY go.mod vendor* ./ 07:45:35 ---> f171bfbbe2a2 07:45:35 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:45:35 ---> Running in a98486e96b77 07:45:37 Removing intermediate container a98486e96b77 07:45:37 ---> 0d3019dc0488 07:45:37 Step 10/24 : COPY . . 07:45:38 ---> 1c5cc8972d2b 07:45:38 Step 11/24 : RUN ${MAKE} 07:45:38 ---> Running in ee6783432d61 07:45:39 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 07:48:16 Removing intermediate container ee6783432d61 07:48:16 ---> 61b615ca4be0 07:48:16 Step 12/24 : FROM alpine:3.14 07:48:16 3.14: Pulling from library/alpine 07:48:16 90cda3b7c325: Pulling fs layer 07:48:16 90cda3b7c325: Verifying Checksum 07:48:16 90cda3b7c325: Download complete 07:48:16 90cda3b7c325: Pull complete 07:48:17 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 07:48:17 Status: Downloaded newer image for alpine:3.14 07:48:17 ---> 376ba31ae3da 07:48:17 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 07:48:17 ---> Running in b9d1d09ffdd1 07:48:17 Removing intermediate container b9d1d09ffdd1 07:48:17 ---> ebbaacfdbcd6 07:48:17 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:48:17 ---> Running in da15d1bc9939 07:48:19 Removing intermediate container da15d1bc9939 07:48:19 ---> 9d13cf2a18fd 07:48:19 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 07:48:19 ---> Running in 5440977134c2 07:48:20 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:48:21 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:48:22 (1/6) Installing dumb-init (1.2.5-r1) 07:48:22 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:48:22 (3/6) Installing libsodium (1.0.18-r0) 07:48:22 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:48:22 (5/6) Installing libzmq (4.3.4-r0) 07:48:22 (6/6) Installing zeromq (4.3.4-r0) 07:48:22 Executing busybox-1.33.1-r8.trigger 07:48:22 OK: 8 MiB in 20 packages 07:48:23 Removing intermediate container 5440977134c2 07:48:23 ---> 47664adaf6d7 07:48:23 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 07:48:25 ---> 7e14b1477370 07:48:25 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 07:48:25 ---> 9e3e27d4fc2a 07:48:25 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 07:48:26 ---> 4dbf07f9ce47 07:48:26 Step 19/24 : EXPOSE 59901 07:48:26 ---> Running in e4612cde3407 07:48:26 Removing intermediate container e4612cde3407 07:48:26 ---> fb8e21e1c685 07:48:26 Step 20/24 : ENTRYPOINT ["/device-modbus"] 07:48:26 ---> Running in 98f86f7d2173 07:48:26 Removing intermediate container 98f86f7d2173 07:48:26 ---> bf8740bdda8c 07:48:26 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:48:27 ---> Running in 1b549a24799d 07:48:27 Removing intermediate container 1b549a24799d 07:48:27 ---> bed10d0f2daa 07:48:27 Step 22/24 : LABEL arch=arm64 07:48:27 ---> Running in 250ce62fcb74 07:48:27 Removing intermediate container 250ce62fcb74 07:48:27 ---> b6c93684c144 07:48:27 Step 23/24 : LABEL git_sha=0402772c8535e80a39149c240333cd83d56188f2 07:48:27 ---> Running in e587626f75a0 07:48:28 Removing intermediate container e587626f75a0 07:48:28 ---> 4820b980bf06 07:48:28 Step 24/24 : LABEL version=2.3.0-dev.20 07:48:28 ---> Running in 1fd88f391ea2 07:48:28 Removing intermediate container 1fd88f391ea2 07:48:28 ---> e866d14f7022 07:48:28 [Warning] One or more build-args [ARCH] were not consumed 07:48:28 Successfully built e866d14f7022 07:48:28 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:28 provisioning config files... 07:48:28 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/59@tmp/config17683798367697690689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:28 ---> docker-login.sh 07:48:28 nexus3.edgexfoundry.org:10001 07:48:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:29 Configure a credential helper to remove this warning. See 07:48:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:29 07:48:29 Login Succeeded 07:48:29 nexus3.edgexfoundry.org:10002 07:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:29 Configure a credential helper to remove this warning. See 07:48:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:29 07:48:29 Login Succeeded 07:48:29 nexus3.edgexfoundry.org:10003 07:48:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:30 Configure a credential helper to remove this warning. See 07:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:30 07:48:30 Login Succeeded 07:48:30 nexus3.edgexfoundry.org:10004 07:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:30 Configure a credential helper to remove this warning. See 07:48:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:30 07:48:30 Login Succeeded 07:48:30 docker.io 07:48:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:31 Configure a credential helper to remove this warning. See 07:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:31 07:48:31 Login Succeeded 07:48:31 ---> docker-login.sh ends [Pipeline] } 07:48:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:48:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:48:31 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 07:48:31 0402772c8535e80a39149c240333cd83d56188f2 07:48:31 latest 07:48:31 2.3.0-dev.20 07:48:31 0402772c8535e80a39149c240333cd83d56188f2-2.3.0-dev.20 07:48:31 main 07:48:31 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:31 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0402772c8535e80a39149c240333cd83d56188f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:32 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0402772c8535e80a39149c240333cd83d56188f2 07:48:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:48:32 432253eea506: Preparing 07:48:32 28e467b4d590: Preparing 07:48:32 34f83737adbd: Preparing 07:48:32 9ff9db658b70: Preparing 07:48:32 5e15af677656: Preparing 07:48:32 28c3ef001483: Preparing 07:48:32 28c3ef001483: Waiting 07:48:32 28e467b4d590: Pushed 07:48:32 5e15af677656: Pushed 07:48:32 432253eea506: Pushed 07:48:32 28c3ef001483: Layer already exists 07:48:32 9ff9db658b70: Pushed 07:48:38 34f83737adbd: Pushed 07:48:38 0402772c8535e80a39149c240333cd83d56188f2: digest: sha256:0cc9548cbabb22cefaf8d2fa11a8c16909882d5fb5b6192c25861760c9b1cd97 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:38 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:38 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:48:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:48:38 432253eea506: Preparing 07:48:38 28e467b4d590: Preparing 07:48:38 34f83737adbd: Preparing 07:48:38 9ff9db658b70: Preparing 07:48:38 5e15af677656: Preparing 07:48:38 28c3ef001483: Preparing 07:48:38 28c3ef001483: Waiting 07:48:38 28e467b4d590: Layer already exists 07:48:38 5e15af677656: Layer already exists 07:48:38 9ff9db658b70: Layer already exists 07:48:38 34f83737adbd: Layer already exists 07:48:38 432253eea506: Layer already exists 07:48:38 28c3ef001483: Layer already exists 07:48:39 latest: digest: sha256:0cc9548cbabb22cefaf8d2fa11a8c16909882d5fb5b6192c25861760c9b1cd97 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:39 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:39 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.20 07:48:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:48:39 432253eea506: Preparing 07:48:39 28e467b4d590: Preparing 07:48:39 34f83737adbd: Preparing 07:48:39 9ff9db658b70: Preparing 07:48:39 5e15af677656: Preparing 07:48:39 28c3ef001483: Preparing 07:48:39 28c3ef001483: Waiting 07:48:39 28e467b4d590: Layer already exists 07:48:39 9ff9db658b70: Layer already exists 07:48:39 34f83737adbd: Layer already exists 07:48:39 5e15af677656: Layer already exists 07:48:39 432253eea506: Layer already exists 07:48:39 28c3ef001483: Layer already exists 07:48:39 2.3.0-dev.20: digest: sha256:0cc9548cbabb22cefaf8d2fa11a8c16909882d5fb5b6192c25861760c9b1cd97 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:40 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:0402772c8535e80a39149c240333cd83d56188f2-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:40 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:0402772c8535e80a39149c240333cd83d56188f2-2.3.0-dev.20 07:48:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:48:40 432253eea506: Preparing 07:48:40 28e467b4d590: Preparing 07:48:40 34f83737adbd: Preparing 07:48:40 9ff9db658b70: Preparing 07:48:40 5e15af677656: Preparing 07:48:40 28c3ef001483: Preparing 07:48:40 28c3ef001483: Waiting 07:48:40 34f83737adbd: Layer already exists 07:48:40 5e15af677656: Layer already exists 07:48:40 28e467b4d590: Layer already exists 07:48:40 432253eea506: Layer already exists 07:48:40 9ff9db658b70: Layer already exists 07:48:40 28c3ef001483: Layer already exists 07:48:41 0402772c8535e80a39149c240333cd83d56188f2-2.3.0-dev.20: digest: sha256:0cc9548cbabb22cefaf8d2fa11a8c16909882d5fb5b6192c25861760c9b1cd97 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:41 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:41 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 07:48:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 07:48:41 432253eea506: Preparing 07:48:41 28e467b4d590: Preparing 07:48:41 34f83737adbd: Preparing 07:48:41 9ff9db658b70: Preparing 07:48:41 5e15af677656: Preparing 07:48:41 28c3ef001483: Preparing 07:48:41 28c3ef001483: Waiting 07:48:41 28e467b4d590: Layer already exists 07:48:41 5e15af677656: Layer already exists 07:48:41 432253eea506: Layer already exists 07:48:41 9ff9db658b70: Layer already exists 07:48:41 34f83737adbd: Layer already exists 07:48:41 28c3ef001483: Layer already exists 07:48:42 main: digest: sha256:0cc9548cbabb22cefaf8d2fa11a8c16909882d5fb5b6192c25861760c9b1cd97 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:48:42 ===================================================== [Pipeline] echo 07:48:42 taggedImages: 07:48:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0402772c8535e80a39149c240333cd83d56188f2 07:48:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 07:48:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.20 07:48:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:0402772c8535e80a39149c240333cd83d56188f2-2.3.0-dev.20 07:48:42 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:42 07:48:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:43 arm64: Pulling from edgex-lftools-log-publisher 07:48:43 8998bd30e6a1: Pulling fs layer 07:48:43 04944245beec: Pulling fs layer 07:48:43 699f458cf7ca: Pulling fs layer 07:48:43 765212b225bb: Pulling fs layer 07:48:43 f23df028b6ca: Pulling fs layer 07:48:43 d65c8cfc05b1: Pulling fs layer 07:48:43 2437ff75d9bd: Pulling fs layer 07:48:43 f23df028b6ca: Waiting 07:48:43 d65c8cfc05b1: Waiting 07:48:43 2437ff75d9bd: Waiting 07:48:43 04944245beec: Verifying Checksum 07:48:43 04944245beec: Download complete 07:48:43 765212b225bb: Verifying Checksum 07:48:43 765212b225bb: Download complete 07:48:43 f23df028b6ca: Verifying Checksum 07:48:43 f23df028b6ca: Download complete 07:48:43 d65c8cfc05b1: Verifying Checksum 07:48:43 d65c8cfc05b1: Download complete 07:48:43 699f458cf7ca: Download complete 07:48:43 8998bd30e6a1: Verifying Checksum 07:48:43 8998bd30e6a1: Download complete 07:48:46 2437ff75d9bd: Verifying Checksum 07:48:46 2437ff75d9bd: Download complete 07:48:47 8998bd30e6a1: Pull complete 07:48:48 04944245beec: Pull complete 07:48:49 699f458cf7ca: Pull complete 07:48:49 765212b225bb: Pull complete 07:48:50 f23df028b6ca: Pull complete 07:48:50 d65c8cfc05b1: Pull complete 07:49:05 2437ff75d9bd: Pull complete 07:49:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:49:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:49:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:05 prd-ubuntu20.04-docker-arm64-4c-16g-9262 does not seem to be running inside a container 07:49:05 $ 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/59 -v /w/workspace/device-modbus-go/59:/w/workspace/device-modbus-go/59:rw,z -v /w/workspace/device-modbus-go/59@tmp:/w/workspace/device-modbus-go/59@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:49:08 $ docker top 9c191d39cde8776b48873d2729484f25b10190dfc232101c8d32dc180eae8248 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:09 ---> job-cost.sh 07:49:09 lf-activate-venv: SKIPPING 07:49:09 INFO: No Stack... 07:49:09 INFO: Retrieving Pricing Info for: v3-standard-4 07:49:10 INFO: Archiving Costs [Pipeline] sh 07:49:10 + cut -d, -f6 07:49:10 + cat /w/workspace/device-modbus-go/59/archives/cost.csv [Pipeline] lock 07:49:10 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-59-stack-cost] 07:49:10 Resource [jenkins-edgexfoundry-device-modbus-go-main-59-stack-cost] did not exist. Created. 07:49:10 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:49:11 /w/workspace/device-modbus-go/59@tmp/durable-033fc779/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:49:11 + echo total: 0.10999999940395355 [Pipeline] stash 07:49:12 Warning: overwriting stash ‘stack-cost’ 07:49:12 Stashed 1 file(s) [Pipeline] } 07:49:12 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-59-stack-cost] [Pipeline] // lock [Pipeline] } 07:49:12 $ docker stop --time=1 9c191d39cde8776b48873d2729484f25b10190dfc232101c8d32dc180eae8248 07:49:13 $ docker rm -f 9c191d39cde8776b48873d2729484f25b10190dfc232101c8d32dc180eae8248 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:49:14 provisioning config files... 07:49:14 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14852310767261388160tmp [Pipeline] { [Pipeline] sh 07:49:14 + set +x 07:49:14 + curl -s https://codecov.io/bash 07:49:14 + bash -s -- 07:49:14 07:49:14 _____ _ 07:49:14 / ____| | | 07:49:14 | | ___ __| | ___ ___ _____ __ 07:49:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:49:14 | |___| (_) | (_| | __/ (_| (_) \ V / 07:49:14 \_____\___/ \__,_|\___|\___\___/ \_/ 07:49:14 Bash-1.0.6 07:49:14 07:49:14 07:49:14 ==> git version 2.25.1 found 07:49:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:49:14 Release-Date: 2020-01-08 07:49:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:49:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:49:14 ==> Jenkins CI detected. 07:49:14 current dir:  /w/workspace/gexfoundry_device-modbus-go_main 07:49:14 project root: . 07:49:14 --> token set from env 07:49:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:49:14 ==> Running gcov in . (disable via -X gcov) 07:49:14 ==> Python coveragepy not found 07:49:14 ==> Searching for coverage reports in: 07:49:14 + . 07:49:14 -> Found 1 reports 07:49:14 ==> Detecting git/mercurial file structure 07:49:14 ==> Reading reports 07:49:14 + ./coverage.out bytes=23241 07:49:14 ==> Appending adjustments 07:49:14 https://docs.codecov.io/docs/fixing-reports 07:49:14 + Found adjustments 07:49:14 ==> Gzipping contents 07:49:14 4.0K /tmp/codecov.uyfjHk.gz 07:49:14 ==> Uploading reports 07:49:14 url: https://codecov.io 07:49:14 query: branch=main&commit=0402772c8535e80a39149c240333cd83d56188f2&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:49:14 -> Pinging Codecov 07:49:14 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=0402772c8535e80a39149c240333cd83d56188f2&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:49:15 -> Uploading to 07:49:15 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/55DBCA73C666E3227836607328DD7E49/0402772c8535e80a39149c240333cd83d56188f2/506fb514-5dc2-41fe-9438-08383a96e4c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T074915Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4b32ba79d400059ec5e4c31fa5d3b36918489fbad8d7b596905d7f656da51afc 07:49:15 % Total % Received % Xferd Average Speed Time Time Time Current 07:49:15 Dload Upload Total Spent Left Speed 07:49:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 17086 --:--:-- --:--:-- --:--:-- 17086 07:49:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/0402772c8535e80a39149c240333cd83d56188f2 [Pipeline] } 07:49:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:49:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:49:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:49:16 07:49:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:49:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:49:16 df9b9388f04a: Pulling fs layer 07:49:16 52dc419b0ee2: Pulling fs layer 07:49:16 25bc292e5bac: Pulling fs layer 07:49:16 114826534d7a: Pulling fs layer 07:49:16 4657fd5d0bcf: Pulling fs layer 07:49:16 6ad1cebc031e: Pulling fs layer 07:49:16 8a3aa393b2d8: Pulling fs layer 07:49:16 4657fd5d0bcf: Waiting 07:49:16 6ad1cebc031e: Waiting 07:49:16 8a3aa393b2d8: Waiting 07:49:16 114826534d7a: Waiting 07:49:16 25bc292e5bac: Verifying Checksum 07:49:16 25bc292e5bac: Download complete 07:49:16 52dc419b0ee2: Verifying Checksum 07:49:16 52dc419b0ee2: Download complete 07:49:16 4657fd5d0bcf: Verifying Checksum 07:49:16 4657fd5d0bcf: Download complete 07:49:16 df9b9388f04a: Verifying Checksum 07:49:16 df9b9388f04a: Download complete 07:49:17 df9b9388f04a: Pull complete 07:49:17 6ad1cebc031e: Verifying Checksum 07:49:17 6ad1cebc031e: Download complete 07:49:17 52dc419b0ee2: Pull complete 07:49:18 25bc292e5bac: Pull complete 07:49:18 8a3aa393b2d8: Verifying Checksum 07:49:18 8a3aa393b2d8: Download complete 07:49:18 114826534d7a: Verifying Checksum 07:49:18 114826534d7a: Download complete 07:49:22 114826534d7a: Pull complete 07:49:22 4657fd5d0bcf: Pull complete 07:49:22 6ad1cebc031e: Pull complete 07:49:29 8a3aa393b2d8: Pull complete 07:49:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:49:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:49:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:29 prd-ubuntu20.04-docker-8c-8g-9201 does not seem to be running inside a container 07:49:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:49:34 $ docker top d307659e424cbfc9f3bca0f8ca953b213948212db4619950584fde23ebf70527 -eo pid,comm [Pipeline] { [Pipeline] echo 07:49:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh 07:49:34 + set -o pipefail 07:49:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' 07:49:39 07:49:39 Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... 07:49:39 07:49:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/59191bf5-df03-4a4a-b188-3feb62eaa315 07:49:39 07:49:39 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 07:49:39 07:49:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:49:39 07:49:39 07:49:39 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:49:39 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:49:39 More details here: https://snyk.co/ue1NS [Pipeline] } 07:49:39 $ docker stop --time=1 d307659e424cbfc9f3bca0f8ca953b213948212db4619950584fde23ebf70527 07:49:48 $ docker rm -f d307659e424cbfc9f3bca0f8ca953b213948212db4619950584fde23ebf70527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:49:48 + git log --format=format:%s -1 0402772c8535e80a39149c240333cd83d56188f2 [Pipeline] sh 07:49:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:49:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:49 prd-ubuntu20.04-docker-8c-8g-9201 does not seem to be running inside a container 07:49:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:49:50 $ docker top 4b16e4081bcdc02f707322d7f50199251fc043da11c744e6b37a4ccf18b297aa -eo pid,comm 07:49:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:49:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:50 [ssh-agent] Looking for ssh-agent implementation... 07:49:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:50 $ docker exec 4b16e4081bcdc02f707322d7f50199251fc043da11c744e6b37a4ccf18b297aa ssh-agent 07:49:50 SSH_AUTH_SOCK=/tmp/ssh-mrny2efQqjdH/agent.13 07:49:50 SSH_AGENT_PID=19 07:49:50 Running ssh-add (command line suppressed) 07:49:50 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_414237238029526778.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_414237238029526778.key) 07:49:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:50 + git semver tag 07:49:51 2022-10-24 07:49:50,996 [run_tag] DEBUG tag force:False 07:49:51 2022-10-24 07:49:50,996 [check_head_tag] DEBUG check head tag 07:49:51 2022-10-24 07:49:50,997 [execute] INFO git cat-file --batch-check 07:49:51 2022-10-24 07:49:50,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:49:51 2022-10-24 07:49:51,001 [execute] INFO git cat-file --batch 07:49:51 2022-10-24 07:49:51,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) 07:49:51 2022-10-24 07:49:51,017 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:49:51 2022-10-24 07:49:51,017 [execute] INFO git tag -a v2.3.0-dev.20 -m v2.3.0-dev.20 07:49:51 2022-10-24 07:49:51,018 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.20', '-m', 'v2.3.0-dev.20'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:49:51 2022-10-24 07:49:51,024 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:49:51 2.3.0-dev.20 [Pipeline] } 07:49:51 $ docker exec --env ******** --env ******** 4b16e4081bcdc02f707322d7f50199251fc043da11c744e6b37a4ccf18b297aa ssh-agent -k 07:49:51 unset SSH_AUTH_SOCK; 07:49:51 unset SSH_AGENT_PID; 07:49:51 echo Agent pid 19 killed; 07:49:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:51 + git semver [Pipeline] } 07:49:51 $ docker stop --time=1 4b16e4081bcdc02f707322d7f50199251fc043da11c744e6b37a4ccf18b297aa 07:49:53 $ docker rm -f 4b16e4081bcdc02f707322d7f50199251fc043da11c744e6b37a4ccf18b297aa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:49:54 07:49:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:49:54 0.23.1-centos7: Pulling from edgex-lftools 07:49:54 ab5ef0e58194: Pulling fs layer 07:49:54 9712f1f96733: Pulling fs layer 07:49:54 63f879dbbcfc: Pulling fs layer 07:49:54 0d9ebad4ef96: Pulling fs layer 07:49:54 e9a5061849ea: Pulling fs layer 07:49:54 d747dcd14b5f: Pulling fs layer 07:49:54 2de7ff778b66: Pulling fs layer 07:49:54 0d9ebad4ef96: Waiting 07:49:54 2de7ff778b66: Waiting 07:49:54 e9a5061849ea: Waiting 07:49:54 d747dcd14b5f: Waiting 07:49:54 9712f1f96733: Verifying Checksum 07:49:54 9712f1f96733: Download complete 07:49:54 63f879dbbcfc: Verifying Checksum 07:49:54 63f879dbbcfc: Download complete 07:49:55 0d9ebad4ef96: Verifying Checksum 07:49:55 0d9ebad4ef96: Download complete 07:49:55 d747dcd14b5f: Download complete 07:49:55 ab5ef0e58194: Verifying Checksum 07:49:55 ab5ef0e58194: Download complete 07:49:55 e9a5061849ea: Verifying Checksum 07:49:55 e9a5061849ea: Download complete 07:49:55 2de7ff778b66: Verifying Checksum 07:49:55 2de7ff778b66: Download complete 07:49:58 ab5ef0e58194: Pull complete 07:49:58 9712f1f96733: Pull complete 07:49:59 63f879dbbcfc: Pull complete 07:50:03 0d9ebad4ef96: Pull complete 07:50:03 e9a5061849ea: Pull complete 07:50:03 d747dcd14b5f: Pull complete 07:50:04 2de7ff778b66: Pull complete 07:50:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:50:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:50:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:04 prd-ubuntu20.04-docker-8c-8g-9201 does not seem to be running inside a container 07:50:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:50:11 $ docker top 4c843bfb5859fd6b4d5138d9c76b9c943afb9bb552de391fdb7a247f26f6e623 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:50:11 provisioning config files... 07:50:11 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5707948961353162099tmp 07:50:11 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4316644622126529860tmp 07:50:11 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11749229026756077736tmp [Pipeline] { [Pipeline] echo 07:50:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:50:12 ---> sigul-configuration.sh 07:50:12 gpg: directory `/root/.gnupg' created 07:50:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:50:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:50:12 gpg: keyring `/root/.gnupg/secring.gpg' created 07:50:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:50:12 gpg: CAST5 encrypted data 07:50:12 gpg: encrypted with 1 passphrase 07:50:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:50:12 + mkdir /home/jenkins 07:50:12 + mkdir /home/jenkins/sigul [Pipeline] sh 07:50:12 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:50:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:50:12 ---> sigul-install.sh 07:50:12 Sigul already installed; skipping installation. [Pipeline] sh 07:50:13 + git tag --list 07:50:13 0.7.1 07:50:13 v1.0.0 07:50:13 v1.1.0 07:50:13 v1.1.1 07:50:13 v1.2.2 07:50:13 v1.3.0 07:50:13 v1.3.1 07:50:13 v2.0.0 07:50:13 v2.1.0 07:50:13 v2.1.1 07:50:13 v2.1.1-dev.1 07:50:13 v2.1.1-dev.2 07:50:13 v2.1.1-dev.3 07:50:13 v2.2.0 07:50:13 v2.2.1-dev.1 07:50:13 v2.2.1-dev.2 07:50:13 v2.2.1-dev.3 07:50:13 v2.2.1-dev.4 07:50:13 v2.2.1-dev.5 07:50:13 v2.2.1-dev.6 07:50:13 v2.2.1-dev.7 07:50:13 v2.3.0-dev.10 07:50:13 v2.3.0-dev.11 07:50:13 v2.3.0-dev.12 07:50:13 v2.3.0-dev.13 07:50:13 v2.3.0-dev.14 07:50:13 v2.3.0-dev.15 07:50:13 v2.3.0-dev.16 07:50:13 v2.3.0-dev.17 07:50:13 v2.3.0-dev.18 07:50:13 v2.3.0-dev.19 07:50:13 v2.3.0-dev.20 07:50:13 v2.3.0-dev.7 07:50:13 v2.3.0-dev.8 07:50:13 v2.3.0-dev.9 [Pipeline] sh 07:50:13 + lftools sign git-tag v2.3.0-dev.20 07:50:14 Signing Git tag with Sigul... 07:50:14 Signing v2.3.0-dev.20 [Pipeline] echo 07:50:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:50:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:50:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:50:14 $ docker stop --time=1 4c843bfb5859fd6b4d5138d9c76b9c943afb9bb552de391fdb7a247f26f6e623 07:50:15 $ docker rm -f 4c843bfb5859fd6b4d5138d9c76b9c943afb9bb552de391fdb7a247f26f6e623 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:50:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:50:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:16 prd-ubuntu20.04-docker-8c-8g-9201 does not seem to be running inside a container 07:50:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:50:17 $ docker top 9222fdb7a86abca1f6d0b8b41eb8d91e86fcc5d6882fccbdc0333d9373a93ff5 -eo pid,comm 07:50:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:50:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:50:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:17 [ssh-agent] Looking for ssh-agent implementation... 07:50:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:17 $ docker exec 9222fdb7a86abca1f6d0b8b41eb8d91e86fcc5d6882fccbdc0333d9373a93ff5 ssh-agent 07:50:17 SSH_AUTH_SOCK=/tmp/ssh-rFrcbeEHc6Nz/agent.32 07:50:17 SSH_AGENT_PID=38 07:50:17 Running ssh-add (command line suppressed) 07:50:17 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3523107094680260043.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3523107094680260043.key) 07:50:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:17 + git semver bump pre 07:50:18 2022-10-24 07:50:18,015 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:50:18 2022-10-24 07:50:18,016 [bump_version] DEBUG bumping version:2.3.0-dev.20 on axis:pre with prefix:dev 07:50:18 2022-10-24 07:50:18,016 [bump_version] DEBUG bumped version:2.3.0-dev.21 07:50:18 2022-10-24 07:50:18,016 [write_version] DEBUG write version:2.3.0-dev.21 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True 07:50:18 2022-10-24 07:50:18,016 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:50:18 2022-10-24 07:50:18,016 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:50:18 2022-10-24 07:50:18,017 [execute] INFO git cat-file --batch-check 07:50:18 2022-10-24 07:50:18,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:50:18 2022-10-24 07:50:18,023 [execute] INFO git cat-file --batch 07:50:18 2022-10-24 07:50:18,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:50:18 2022-10-24 07:50:18,028 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:50:18 2.3.0-dev.21 [Pipeline] } 07:50:18 $ docker exec --env ******** --env ******** 9222fdb7a86abca1f6d0b8b41eb8d91e86fcc5d6882fccbdc0333d9373a93ff5 ssh-agent -k 07:50:18 unset SSH_AUTH_SOCK; 07:50:18 unset SSH_AGENT_PID; 07:50:18 echo Agent pid 38 killed; 07:50:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:50:18 + git semver [Pipeline] } 07:50:18 $ docker stop --time=1 9222fdb7a86abca1f6d0b8b41eb8d91e86fcc5d6882fccbdc0333d9373a93ff5 07:50:20 $ docker rm -f 9222fdb7a86abca1f6d0b8b41eb8d91e86fcc5d6882fccbdc0333d9373a93ff5 [Pipeline] // withDockerContainer [Pipeline] sh 07:50:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:50:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:20 prd-ubuntu20.04-docker-8c-8g-9201 does not seem to be running inside a container 07:50:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:50:21 $ docker top beffc00ef62e7d46a1c73c2f4cc0a878e79bc8350224116d5e1a931bdaaa007b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:50:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:21 [ssh-agent] Looking for ssh-agent implementation... 07:50:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:21 $ docker exec beffc00ef62e7d46a1c73c2f4cc0a878e79bc8350224116d5e1a931bdaaa007b ssh-agent 07:50:21 SSH_AUTH_SOCK=/tmp/ssh-EKL1X5EzCfIn/agent.32 07:50:21 SSH_AGENT_PID=38 07:50:21 Running ssh-add (command line suppressed) 07:50:21 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2294231600398867910.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2294231600398867910.key) 07:50:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:21 + git semver push 07:50:22 2022-10-24 07:50:22,002 [run_push] DEBUG push 07:50:22 2022-10-24 07:50:22,003 [execute] INFO git cat-file --batch-check 07:50:22 2022-10-24 07:50:22,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:50:22 2022-10-24 07:50:22,006 [execute] INFO git rev-list 80cacb31b6ca0469ae0d23da46e69d1e0b88cb60 -- 07:50:22 2022-10-24 07:50:22,007 [execute] DEBUG Popen(['git', 'rev-list', '80cacb31b6ca0469ae0d23da46e69d1e0b88cb60', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:50:22 2022-10-24 07:50:22,015 [execute] INFO git fetch -v origin 07:50:22 2022-10-24 07:50:22,015 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:50:22 2022-10-24 07:50:22,604 [run_push] DEBUG no remote changes detected 07:50:22 2022-10-24 07:50:22,605 [execute] INFO git push origin semver 07:50:22 2022-10-24 07:50:22,605 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:50:23 2022-10-24 07:50:23,484 [run_push] DEBUG push all version tags 07:50:23 2022-10-24 07:50:23,486 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:50:23 2022-10-24 07:50:23,486 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) 07:50:24 2022-10-24 07:50:24,346 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 07:50:24 2.3.0-dev.21 [Pipeline] } 07:50:24 $ docker exec --env ******** --env ******** beffc00ef62e7d46a1c73c2f4cc0a878e79bc8350224116d5e1a931bdaaa007b ssh-agent -k 07:50:24 unset SSH_AUTH_SOCK; 07:50:24 unset SSH_AGENT_PID; 07:50:24 echo Agent pid 38 killed; 07:50:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:50:24 + git semver [Pipeline] } 07:50:25 $ docker stop --time=1 beffc00ef62e7d46a1c73c2f4cc0a878e79bc8350224116d5e1a931bdaaa007b 07:50:27 $ docker rm -f beffc00ef62e7d46a1c73c2f4cc0a878e79bc8350224116d5e1a931bdaaa007b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:50:27 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 07:50:27 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:50:27 total 16 07:50:27 drwxr-xr-x 3 root root 4096 Oct 24 07:35 . 07:50:27 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 07:50 .. 07:50:27 drwxr-xr-x 2 root root 4096 Oct 24 07:35 cost 07:50:27 -rw-r--r-- 1 root root 87 Oct 24 07:35 cost.csv 07:50:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 07:50:27 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 07:50:27 total 16 07:50:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:35 . 07:50:27 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 07:50 .. 07:50:27 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 07:35 cost 07:50:27 -rw-r--r-- 1 jenkins jenkins 87 Oct 24 07:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:50:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:50:28 ---> package-listing.sh 07:50:28 ++ facter osfamily 07:50:28 ++ tr '[:upper:]' '[:lower:]' 07:50:29 + OS_FAMILY=debian 07:50:29 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 07:50:29 + START_PACKAGES=/tmp/packages_start.txt 07:50:29 + END_PACKAGES=/tmp/packages_end.txt 07:50:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:50:29 + PACKAGES=/tmp/packages_start.txt 07:50:29 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:50:29 + PACKAGES=/tmp/packages_end.txt 07:50:29 + case "${OS_FAMILY}" in 07:50:29 + dpkg -l 07:50:29 + grep '^ii' 07:50:29 + '[' -f /tmp/packages_start.txt ']' 07:50:29 + '[' -f /tmp/packages_end.txt ']' 07:50:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:50:29 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 07:50:29 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 07:50:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 07:50:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:50:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:50:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:29 prd-ubuntu20.04-docker-8c-8g-9201 does not seem to be running inside a container 07:50:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:50:30 $ docker top 910cee7fa07a829fb55f54913da401372f714a98db427d96c43fb569fa5fcd6e -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:30 + touch /tmp/pre-build-complete [Pipeline] sh 07:50:30 + mkdir -p /var/log/sysstat [Pipeline] sh 07:50:31 + ls /var/log/sa-host 07:50:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:31 provisioning config files... 07:50:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7036977219062211805tmp [Pipeline] { [Pipeline] echo 07:50:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:50:31 ---> create-netrc.sh [Pipeline] } 07:50:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:50:31 ---> python-tools-install.sh [Pipeline] echo 07:50:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:50:32 ---> sudo-logs.sh 07:50:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:50:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:50:32 ---> job-cost.sh 07:50:32 lf-activate-venv: SKIPPING 07:50:32 DEBUG: total: 0.2199999988079071 07:50:32 INFO: Retrieving Stack Cost... 07:50:33 INFO: Retrieving Pricing Info for: v3-standard-8 07:50:33 INFO: Archiving Costs [Pipeline] echo 07:50:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:50:33 ---> logs-deploy.sh 07:50:33 lf-activate-venv: SKIPPING 07:50:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/59 07:50:33 INFO: archiving workspace using pattern(s): 07:50:34 Archives upload complete. 07:50:34 INFO: archiving logs to Nexus