Pull request #385 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eaaa96216d254802e4dc56b9feee2ee1b24579f4+aaadd7fbda2364c2efb57d494d7ebea4b574ed12 (c950fc4f9a5c95aaa191c631f671a02762fd22b9) 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-ssh16888144502717207386.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-ssh3607556410883247133.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/PR-385/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/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13453354319683043317.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-ssh16750897022230629303.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/PR-385/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/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11305690467685932274.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-117323 in /w/workspace/xfoundry_device-modbus-go_PR-385 [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/xfoundry_device-modbus-go_PR-385 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 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/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aaadd7fbda2364c2efb57d494d7ebea4b574ed12 into PR head commit eaaa96216d254802e4dc56b9feee2ee1b24579f4 Merge succeeded, producing eaaa96216d254802e4dc56b9feee2ee1b24579f4 Checking out Revision eaaa96216d254802e4dc56b9feee2ee1b24579f4 (PR-385) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:41:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:41:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:41:17 ========================================================= 20:41:17 EdgeX Global Pipelines Version Info 20:41:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f eaaa96216d254802e4dc56b9feee2ee1b24579f4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 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 merge aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eaaa96216d254802e4dc56b9feee2ee1b24579f4 # timeout=10 > git rev-list --no-walk 22aa8c183b26e4a16e52f2baeddb31158928fe47 # timeout=10 20:41:18 ------------------- 20:41:18 stable info: 20:41:18 ------------------- 20:41:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:41:18 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:41:18 Message: update stable to v1.0.243 20:41:18 ------------------- 20:41:18 experimental info: 20:41:18 ------------------- 20:41:18 Commited By: **** collab-it+edgex@linuxfoundation.org 20:41:18 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:41:18 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:41:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eaaa96216d254802e4dc56b9feee2ee1b24579f4 [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eaaa962 [Pipeline] echo 20:41:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:19 provisioning config files... 20:41:19 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config5512375640835015292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:19 ---> docker-login.sh 20:41:19 nexus3.edgexfoundry.org:10001 20:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:19 Configure a credential helper to remove this warning. See 20:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:19 20:41:19 Login Succeeded 20:41:19 nexus3.edgexfoundry.org:10002 20:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:19 Configure a credential helper to remove this warning. See 20:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:19 20:41:19 Login Succeeded 20:41:19 nexus3.edgexfoundry.org:10003 20:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:19 Configure a credential helper to remove this warning. See 20:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:19 20:41:19 Login Succeeded 20:41:19 nexus3.edgexfoundry.org:10004 20:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:19 Configure a credential helper to remove this warning. See 20:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:19 20:41:19 Login Succeeded 20:41:19 docker.io 20:41:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:20 Configure a credential helper to remove this warning. See 20:41:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:20 20:41:20 Login Succeeded 20:41:20 ---> docker-login.sh ends [Pipeline] } 20:41:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:41:20 + git rev-list -1 --merges eaaa96216d254802e4dc56b9feee2ee1b24579f4~1..eaaa96216d254802e4dc56b9feee2ee1b24579f4 [Pipeline] echo 20:41:20 -----------> git rev-list -1 --merges eaaa96216d254802e4dc56b9feee2ee1b24579f4~1..eaaa96216d254802e4dc56b9feee2ee1b24579f4 eaaa96216d254802e4dc56b9feee2ee1b24579f4 [false] [Pipeline] sh 20:41:21 + git log --format=format:%s -1 eaaa96216d254802e4dc56b9feee2ee1b24579f4 [Pipeline] echo 20:41:21 ========================================================= 20:41:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:41:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:41:21 + git log --format=format:%s -1 eaaa96216d254802e4dc56b9feee2ee1b24579f4 [Pipeline] echo 20:41:21 [semverPrep] GIT_COMMIT: eaaa96216d254802e4dc56b9feee2ee1b24579f4, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo 20:41:21 [semverPrep] This is not a build commit. [Pipeline] sh 20:41:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:41:21 + grep -v github /etc/ssh/ssh_known_hosts 20:41:21 + [ -e /tmp/ssh_known_hosts ] 20:41:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:41:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:41:21 + sudo tee -a /etc/ssh/ssh_known_hosts 20:41:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:22 20:41:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:22 0.1.4: Pulling from edgex-devops/py-git-semver 20:41:22 b85a868b505f: Pulling fs layer 20:41:22 e2be974225ed: Pulling fs layer 20:41:22 339a4e72a1f5: Pulling fs layer 20:41:22 988bab9f4d93: Pulling fs layer 20:41:22 1469e6f7b9e6: Pulling fs layer 20:41:22 eaf3925da568: Pulling fs layer 20:41:22 bab4dde63d76: Pulling fs layer 20:41:22 bde34c3a00c8: Pulling fs layer 20:41:22 988bab9f4d93: Waiting 20:41:22 1469e6f7b9e6: Waiting 20:41:22 eaf3925da568: Waiting 20:41:22 bab4dde63d76: Waiting 20:41:22 b352a97aabf1: Pulling fs layer 20:41:22 4872d77fe225: Pulling fs layer 20:41:22 5851b861e8e6: Pulling fs layer 20:41:22 b352a97aabf1: Waiting 20:41:22 4872d77fe225: Waiting 20:41:22 5851b861e8e6: Waiting 20:41:22 bde34c3a00c8: Waiting 20:41:22 e2be974225ed: Verifying Checksum 20:41:22 e2be974225ed: Download complete 20:41:22 988bab9f4d93: Download complete 20:41:22 1469e6f7b9e6: Verifying Checksum 20:41:22 1469e6f7b9e6: Download complete 20:41:22 eaf3925da568: Download complete 20:41:22 339a4e72a1f5: Verifying Checksum 20:41:22 339a4e72a1f5: Download complete 20:41:22 bde34c3a00c8: Verifying Checksum 20:41:22 bde34c3a00c8: Download complete 20:41:22 b352a97aabf1: Download complete 20:41:22 4872d77fe225: Verifying Checksum 20:41:22 4872d77fe225: Download complete 20:41:22 5851b861e8e6: Verifying Checksum 20:41:22 5851b861e8e6: Download complete 20:41:22 b85a868b505f: Verifying Checksum 20:41:22 b85a868b505f: Download complete 20:41:23 bab4dde63d76: Verifying Checksum 20:41:23 bab4dde63d76: Download complete 20:41:23 b85a868b505f: Pull complete 20:41:24 e2be974225ed: Pull complete 20:41:24 339a4e72a1f5: Pull complete 20:41:24 988bab9f4d93: Pull complete 20:41:25 1469e6f7b9e6: Pull complete 20:41:25 eaf3925da568: Pull complete 20:41:26 bab4dde63d76: Pull complete 20:41:26 bde34c3a00c8: Pull complete 20:41:26 b352a97aabf1: Pull complete 20:41:27 4872d77fe225: Pull complete 20:41:27 5851b861e8e6: Pull complete 20:41:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:41:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:41:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:27 prd-ubuntu20.04-docker-8c-8g-117323 does not seem to be running inside a container 20:41:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:41:30 $ docker top 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 -eo pid,comm 20:41: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). 20:41:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:41:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:41:30 [ssh-agent] Looking for ssh-agent implementation... 20:41:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:41:30 $ docker exec 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 ssh-agent 20:41:30 SSH_AUTH_SOCK=/tmp/ssh-ysyNo9pg0W1G/agent.31 20:41:30 SSH_AGENT_PID=37 20:41:30 Running ssh-add (command line suppressed) 20:41:30 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_15308982743104979101.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_15308982743104979101.key) 20:41:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:41:30 + git tag --points-at HEAD [Pipeline] } 20:41:30 $ docker exec --env ******** --env ******** 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 ssh-agent -k 20:41:31 unset SSH_AUTH_SOCK; 20:41:31 unset SSH_AGENT_PID; 20:41:31 echo Agent pid 37 killed; 20:41:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:41:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:41:31 [ssh-agent] Looking for ssh-agent implementation... 20:41:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:41:31 $ docker exec 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 ssh-agent 20:41:31 SSH_AUTH_SOCK=/tmp/ssh-I0CfSuy69i1l/agent.69 20:41:31 SSH_AGENT_PID=75 20:41:31 Running ssh-add (command line suppressed) 20:41:31 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_2661656149236165785.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_2661656149236165785.key) 20:41:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:41:31 + git semver init 20:41:32 2022-10-26 20:41:31,934 [run_init] DEBUG init version:0.0.0 force:False 20:41:32 2022-10-26 20:41:31,935 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver 20:41:32 2022-10-26 20:41:31,935 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver 20:41:32 2022-10-26 20:41:31,935 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-385/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385, universal_newlines=False, shell=None, istream=None) 20:41:32 2022-10-26 20:41:32,865 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude 20:41:32 2022-10-26 20:41:32,865 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False 20:41:32 2022-10-26 20:41:32,866 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 20:41:32 2022-10-26 20:41:32,870 [execute] INFO git cat-file --batch-check 20:41:32 2022-10-26 20:41:32,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 20:41:32 2022-10-26 20:41:32,876 [execute] INFO git cat-file --batch 20:41:32 2022-10-26 20:41:32,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 20:41:32 2022-10-26 20:41:32,883 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 20:41:32 0.0.0 [Pipeline] } 20:41:32 $ docker exec --env ******** --env ******** 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 ssh-agent -k 20:41:33 unset SSH_AUTH_SOCK; 20:41:33 unset SSH_AGENT_PID; 20:41:33 echo Agent pid 75 killed; 20:41:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:41:33 + git semver [Pipeline] } 20:41:33 $ docker stop --time=1 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 20:41:34 $ docker rm -f 1711fa8693d995897c7f69bf69b05619e872ffd0382539b9d3d6c7cdcb309f62 [Pipeline] // withDockerContainer [Pipeline] sh 20:41:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:41:35 Stashed 1 file(s) [Pipeline] echo 20:41:35 [edgeXSemver]: initialized semver on version 0.0.0 [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 20:41:35 provisioning config files... 20:41:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config9688699892600454608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:41:35 ---> docker-login.sh 20:41:35 nexus3.edgexfoundry.org:10001 20:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:35 Configure a credential helper to remove this warning. See 20:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:35 20:41:35 Login Succeeded 20:41:35 nexus3.edgexfoundry.org:10002 20:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:35 Configure a credential helper to remove this warning. See 20:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:35 20:41:35 Login Succeeded 20:41:35 nexus3.edgexfoundry.org:10003 20:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:36 Configure a credential helper to remove this warning. See 20:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:36 20:41:36 Login Succeeded 20:41:36 nexus3.edgexfoundry.org:10004 20:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:36 Configure a credential helper to remove this warning. See 20:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:36 20:41:36 Login Succeeded 20:41:36 docker.io 20:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:41:36 Configure a credential helper to remove this warning. See 20:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:41:36 20:41:36 Login Succeeded 20:41:36 ---> docker-login.sh ends [Pipeline] } 20:41:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:41:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:41:36 ========================================================= 20:41:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:41:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41: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 . 20:41:37 Sending build context to Docker daemon 6.226MB 20:41:37 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:41:37 Step 2/10 : FROM ${BASE} AS builder 20:41:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:41:37 213ec9aee27d: Pulling fs layer 20:41:37 4583459ba037: Pulling fs layer 20:41:37 93c1e223e6f2: Pulling fs layer 20:41:37 53926ce57604: Pulling fs layer 20:41:37 21b2b0c7a3f4: Pulling fs layer 20:41:37 30f14e443154: Pulling fs layer 20:41:37 801331c1e519: Pulling fs layer 20:41:37 99cc6dd402b0: Pulling fs layer 20:41:37 7d9ed39f4882: Pulling fs layer 20:41:37 53926ce57604: Waiting 20:41:37 99cc6dd402b0: Waiting 20:41:37 21b2b0c7a3f4: Waiting 20:41:37 30f14e443154: Waiting 20:41:37 7d9ed39f4882: Waiting 20:41:37 801331c1e519: Waiting 20:41:37 93c1e223e6f2: Verifying Checksum 20:41:37 93c1e223e6f2: Download complete 20:41:37 4583459ba037: Verifying Checksum 20:41:37 4583459ba037: Download complete 20:41:37 21b2b0c7a3f4: Verifying Checksum 20:41:37 21b2b0c7a3f4: Download complete 20:41:37 30f14e443154: Download complete 20:41:37 213ec9aee27d: Verifying Checksum 20:41:37 213ec9aee27d: Download complete 20:41:37 801331c1e519: Download complete 20:41:37 213ec9aee27d: Pull complete 20:41:37 4583459ba037: Pull complete 20:41:37 93c1e223e6f2: Pull complete 20:41:37 7d9ed39f4882: Download complete 20:41:37 99cc6dd402b0: Verifying Checksum 20:41:37 99cc6dd402b0: Download complete 20:41:38 53926ce57604: Verifying Checksum 20:41:38 53926ce57604: Download complete 20:41:42 53926ce57604: Pull complete 20:41:42 21b2b0c7a3f4: Pull complete 20:41:42 30f14e443154: Pull complete 20:41:42 801331c1e519: Pull complete 20:41:44 99cc6dd402b0: Pull complete 20:41:44 7d9ed39f4882: Pull complete 20:41:45 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:41:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:41:45 ---> 1dedd983c030 20:41:45 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:41:49 ---> Running in ebf6fa636dc4 20:41:49 Removing intermediate container ebf6fa636dc4 20:41:49 ---> 76f0ee38cc18 20:41:49 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:49 ---> Running in 2051f0cc068e 20:41:49 Removing intermediate container 2051f0cc068e 20:41:49 ---> 2d1cbcf7e761 20:41:49 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:41:49 ---> Running in c35b997eea13 20:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:41:50 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:41:50 (2/8) Installing libedit (20210910.3.1-r0) 20:41:50 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:41:50 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:41:50 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:41:50 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:41:50 (7/8) Installing openssh-server (9.0_p1-r2) 20:41:50 (8/8) Installing openssh (9.0_p1-r2) 20:41:50 Executing busybox-1.35.0-r17.trigger 20:41:50 OK: 217 MiB in 59 packages 20:41:50 Still waiting to schedule task 20:41:50 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:41:50 Removing intermediate container c35b997eea13 20:41:50 ---> 58aba9f7d276 20:41:50 Step 6/10 : WORKDIR /device-modbus-go 20:41:50 ---> Running in 9666f427a84d 20:41:50 Removing intermediate container 9666f427a84d 20:41:50 ---> 73ed64bf80a2 20:41:50 Step 7/10 : COPY go.mod vendor* ./ 20:41:50 ---> 1efc738e0071 20:41:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:50 ---> Running in 3ec78bf6fda3 20:42:12 Removing intermediate container 3ec78bf6fda3 20:42:12 ---> 3bcd1a62fbfe 20:42:12 Step 9/10 : COPY . . 20:42:13 ---> 5089dc2f1d46 20:42:13 Step 10/10 : RUN ${MAKE} 20:42:13 ---> Running in e4c221d3604a 20:42:13 noop 20:42:14 Removing intermediate container e4c221d3604a 20:42:14 ---> 9527787d88a0 20:42:14 Successfully built 9527787d88a0 20:42:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:14 + docker inspect -f . ci-base-image-x86_64 20:42:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:14 prd-ubuntu20.04-docker-8c-8g-117323 does not seem to be running inside a container 20:42:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:42:14 $ docker top d0820ff1eca9741e25c8a72c7c8c17f7748919c1d3cf45827fe771e67a2e7257 -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:15 + go version 20:42:15 go version go1.18.7 linux/amd64 [Pipeline] } 20:42:15 $ docker stop --time=1 d0820ff1eca9741e25c8a72c7c8c17f7748919c1d3cf45827fe771e67a2e7257 20:42:16 $ docker rm -f d0820ff1eca9741e25c8a72c7c8c17f7748919c1d3cf45827fe771e67a2e7257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:16 + docker inspect -f . ci-base-image-x86_64 20:42:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:16 prd-ubuntu20.04-docker-8c-8g-117323 does not seem to be running inside a container 20:42:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:42:17 $ docker top 148966901f790ce3f72c18670d3cfaa1b4223a6076b14a9591fc20a6923f464c -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:17 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh 20:42:17 + make test 20:42:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:42:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:42:28 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:42:28 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements 20:42:34 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." 20:42:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:42:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:42:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:42:37 ./bin/test-attribution-txt.sh [Pipeline] echo 20:42:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:42:37 $ docker stop --time=1 148966901f790ce3f72c18670d3cfaa1b4223a6076b14a9591fc20a6923f464c 20:42:40 $ docker rm -f 148966901f790ce3f72c18670d3cfaa1b4223a6076b14a9591fc20a6923f464c [Pipeline] // withDockerContainer [Pipeline] sh 20:42:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:42:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:42:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:42:41 + ls -al . 20:42:41 total 196 20:42:41 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:42 . 20:42:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:41 .. 20:42:41 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 20:41 .dockerignore 20:42:41 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:42 .git 20:42:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 .github 20:42:41 -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 20:41 .gitignore 20:42:41 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:41 .golangci.yml 20:42:41 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:41 .semver 20:42:41 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 20:41 Attribution.txt 20:42:41 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 20:41 CHANGELOG.md 20:42:41 -rw-rw-r-- 1 jenkins jenkins 1428 Oct 26 20:41 Dockerfile 20:42:41 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:41 GOVERNANCE.md 20:42:41 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:41 Jenkinsfile 20:42:41 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:41 LICENSE 20:42:41 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 20:41 Makefile 20:42:41 -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:41 OWNERS.md 20:42:41 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 20:41 README.md 20:42:41 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:41 VERSION 20:42:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:41 bin 20:42:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 cmd 20:42:41 -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 20:42 coverage.out 20:42:41 -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 20:41 go.mod 20:42:41 -rw-rw-r-- 1 jenkins jenkins 45486 Oct 26 20:41 go.sum 20:42:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:41 internal 20:42:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:41 simulator 20:42:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:41 snap 20:42:41 -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 20:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:41 + 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=eaaa96216d254802e4dc56b9feee2ee1b24579f4 --label arch=amd64 --label version=0.0.0 . 20:42:41 Sending build context to Docker daemon 6.25MB 20:42:41 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:42:41 Step 2/22 : FROM ${BASE} AS builder 20:42:41 ---> 9527787d88a0 20:42:41 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:42:42 ---> Running in 324c55de7fcd 20:42:42 Removing intermediate container 324c55de7fcd 20:42:42 ---> 8f140a577c42 20:42:42 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:42 ---> Running in 249f44e84ea3 20:42:42 Removing intermediate container 249f44e84ea3 20:42:42 ---> 29e9e3359460 20:42:42 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:42:42 ---> Running in 0d4b3b7f35f5 20:42:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:42:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:42:42 OK: 217 MiB in 59 packages 20:42:43 Removing intermediate container 0d4b3b7f35f5 20:42:43 ---> e766550e0408 20:42:43 Step 6/22 : WORKDIR /device-modbus-go 20:42:43 ---> Running in 4a757fe5f220 20:42:43 Removing intermediate container 4a757fe5f220 20:42:43 ---> ffc822cca176 20:42:43 Step 7/22 : COPY go.mod vendor* ./ 20:42:43 ---> dd9c7229a5ba 20:42:43 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:43 ---> Running in 4af5d6d7df83 20:42:43 Removing intermediate container 4af5d6d7df83 20:42:43 ---> 12fb00bc18ac 20:42:43 Step 9/22 : COPY . . 20:42:44 ---> b718ec02ea68 20:42:44 Step 10/22 : RUN ${MAKE} 20:42:44 ---> Running in 7fd2896a2b10 20:42:44 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 20:43:06 Removing intermediate container 7fd2896a2b10 20:43:06 ---> e351495d0ee0 20:43:06 Step 11/22 : FROM alpine:3.14 20:43:06 3.14: Pulling from library/alpine 20:43:06 c7ed990a2339: Pulling fs layer 20:43:06 c7ed990a2339: Verifying Checksum 20:43:06 c7ed990a2339: Download complete 20:43:06 c7ed990a2339: Pull complete 20:43:06 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:43:06 Status: Downloaded newer image for alpine:3.14 20:43:06 ---> dd53f409bf0b 20:43:06 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:43:06 ---> Running in 2b90063d2d22 20:43:06 Removing intermediate container 2b90063d2d22 20:43:06 ---> c8f72d541512 20:43:06 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 20:43:06 ---> Running in 093f7170ea94 20:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:43:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:43:06 (1/6) Installing dumb-init (1.2.5-r1) 20:43:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:43:06 (3/6) Installing libsodium (1.0.18-r0) 20:43:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:43:06 (5/6) Installing libzmq (4.3.4-r0) 20:43:06 (6/6) Installing zeromq (4.3.4-r0) 20:43:06 Executing busybox-1.33.1-r8.trigger 20:43:06 OK: 8 MiB in 20 packages 20:43:07 Removing intermediate container 093f7170ea94 20:43:07 ---> 34a5ea2bb13d 20:43:07 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:43:08 ---> f94604b494fa 20:43:08 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:43:08 ---> 31b6faff5c5f 20:43:08 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:43:08 ---> 07c7e605d0e1 20:43:08 Step 17/22 : EXPOSE 59901 20:43:08 ---> Running in 5e54154bb172 20:43:08 Removing intermediate container 5e54154bb172 20:43:08 ---> 48c3a9e0f676 20:43:08 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:43:08 ---> Running in ffca7e04f951 20:43:08 Removing intermediate container ffca7e04f951 20:43:08 ---> 41ef2a94cb2e 20:43:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:43:08 ---> Running in 48bab60eb9dc 20:43:08 Removing intermediate container 48bab60eb9dc 20:43:08 ---> 473a904847b5 20:43:08 Step 20/22 : LABEL arch=amd64 20:43:08 ---> Running in 78a15aa3f82a 20:43:08 Removing intermediate container 78a15aa3f82a 20:43:08 ---> 40b42301a97e 20:43:08 Step 21/22 : LABEL git_sha=eaaa96216d254802e4dc56b9feee2ee1b24579f4 20:43:08 ---> Running in 038f0d2299de 20:43:08 Removing intermediate container 038f0d2299de 20:43:08 ---> 323630abca98 20:43:08 Step 22/22 : LABEL version=0.0.0 20:43:08 ---> Running in 87083810bc7b 20:43:08 Removing intermediate container 87083810bc7b 20:43:08 ---> f52fbd508a25 20:43:08 [Warning] One or more build-args [ARCH] were not consumed 20:43:08 Successfully built f52fbd508a25 20:43:09 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 20:43:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:09 20:43:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:09 latest: Pulling from edgex-lftools-log-publisher 20:43:09 5eb5b503b376: Pulling fs layer 20:43:09 5c69ac0246d0: Pulling fs layer 20:43:09 ec43610c2a17: Pulling fs layer 20:43:09 3a2ae6a8a46f: Pulling fs layer 20:43:09 33b1e0a273af: Pulling fs layer 20:43:09 5d3b04190fa2: Pulling fs layer 20:43:09 2f39f015ded8: Pulling fs layer 20:43:09 3a2ae6a8a46f: Waiting 20:43:09 33b1e0a273af: Waiting 20:43:09 5d3b04190fa2: Waiting 20:43:09 2f39f015ded8: Waiting 20:43:09 5c69ac0246d0: Verifying Checksum 20:43:09 5c69ac0246d0: Download complete 20:43:09 3a2ae6a8a46f: Verifying Checksum 20:43:09 3a2ae6a8a46f: Download complete 20:43:09 33b1e0a273af: Verifying Checksum 20:43:09 33b1e0a273af: Download complete 20:43:09 5d3b04190fa2: Verifying Checksum 20:43:09 5d3b04190fa2: Download complete 20:43:10 ec43610c2a17: Verifying Checksum 20:43:10 5eb5b503b376: Verifying Checksum 20:43:10 5eb5b503b376: Download complete 20:43:10 2f39f015ded8: Download complete 20:43:11 5eb5b503b376: Pull complete 20:43:11 5c69ac0246d0: Pull complete 20:43:11 ec43610c2a17: Pull complete 20:43:11 3a2ae6a8a46f: Pull complete 20:43:11 33b1e0a273af: Pull complete 20:43:11 5d3b04190fa2: Pull complete 20:43:16 2f39f015ded8: Pull complete 20:43:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:43:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:16 prd-ubuntu20.04-docker-8c-8g-117323 does not seem to be running inside a container 20:43:16 $ 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/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:43:20 $ docker top 081366e670811481cd06ed5c3bff70d4e8e51cc7b1359f6c30e2871b9fbb09a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:21 ---> job-cost.sh 20:43:21 lf-activate-venv: SKIPPING 20:43:21 INFO: No Stack... 20:43:21 INFO: Retrieving Pricing Info for: v3-standard-8 20:43:21 INFO: Archiving Costs [Pipeline] sh 20:43:22 + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv 20:43:22 + cut -d, -f6 [Pipeline] lock 20:43:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] 20:43:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] did not exist. Created. 20:43:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:43:22 + echo total: 0.2199999988079071 [Pipeline] stash 20:43:22 Stashed 1 file(s) [Pipeline] } 20:43:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:43:22 $ docker stop --time=1 081366e670811481cd06ed5c3bff70d4e8e51cc7b1359f6c30e2871b9fbb09a2 20:43:23 $ docker rm -f 081366e670811481cd06ed5c3bff70d4e8e51cc7b1359f6c30e2871b9fbb09a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:45:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117328 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws 20:45:06 Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout 20:45:06 Selected Git installation does not exist. Using Default 20:45:06 The recommended git tool is: NONE 20:45:15 using credential edgex-jenkins-ssh 20:45:15 Cloning the remote Git repository 20:45:15 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:45:15 > git init /w/workspace/device-modbus-go/5 # timeout=10 20:45:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:45:15 > git --version # timeout=10 20:45:15 > git --version # 'git version 2.25.1' 20:45:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:15 Verifying host key using known hosts file 20:45:16 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. 20:45:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:45:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:18 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:45:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:45:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:18 Verifying host key using known hosts file 20:45:18 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. 20:45:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:45:19 Merging remotes/origin/main commit aaadd7fbda2364c2efb57d494d7ebea4b574ed12 into PR head commit eaaa96216d254802e4dc56b9feee2ee1b24579f4 20:45:19 Merge succeeded, producing eaaa96216d254802e4dc56b9feee2ee1b24579f4 20:45:19 Checking out Revision eaaa96216d254802e4dc56b9feee2ee1b24579f4 (PR-385) 20:45:19 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:19 > git config core.sparsecheckout # timeout=10 20:45:19 > git checkout -f eaaa96216d254802e4dc56b9feee2ee1b24579f4 # timeout=10 20:45:19 > git remote # timeout=10 20:45:19 > git config --get remote.origin.url # timeout=10 20:45:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:19 Verifying host key using known hosts file 20:45:19 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. 20:45:19 > git merge aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 20:45:19 > git rev-parse HEAD^{commit} # timeout=10 20:45:19 > git config core.sparsecheckout # timeout=10 20:45:19 > git checkout -f eaaa96216d254802e4dc56b9feee2ee1b24579f4 # timeout=10 20:45:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:20 Dload Upload Total Spent Left Speed 20:45:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 164k 0 --:--:-- --:--:-- --:--:-- 164k [Pipeline] sh 20:45:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:21 + sudo tee /etc/docker/daemon.new 20:45:21 { 20:45:21 "registry-mirrors": [ 20:45:21 "https://nexus3.edgexfoundry.org:10001" 20:45:21 ], 20:45:21 "bip": "10.250.0.254/24", 20:45:21 "hosts": [ 20:45:21 "tcp://0.0.0.0:5555", 20:45:21 "unix:///var/run/docker.sock" 20:45:21 ], 20:45:21 "mtu": 1458, 20:45:21 "selinux-enabled": true, 20:45:21 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:21 } [Pipeline] sh 20:45:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:40 provisioning config files... 20:45:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config3875060641368839297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:41 ---> docker-login.sh 20:45:41 nexus3.edgexfoundry.org:10001 20:45:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:42 Configure a credential helper to remove this warning. See 20:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:42 20:45:42 Login Succeeded 20:45:42 nexus3.edgexfoundry.org:10002 20:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:42 Configure a credential helper to remove this warning. See 20:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:42 20:45:42 Login Succeeded 20:45:42 nexus3.edgexfoundry.org:10003 20:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:43 Configure a credential helper to remove this warning. See 20:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:43 20:45:43 Login Succeeded 20:45:43 nexus3.edgexfoundry.org:10004 20:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:43 Configure a credential helper to remove this warning. See 20:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:43 20:45:43 Login Succeeded 20:45:43 docker.io 20:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:44 Configure a credential helper to remove this warning. See 20:45:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:44 20:45:44 Login Succeeded 20:45:44 ---> docker-login.sh ends [Pipeline] } 20:45:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:44 ========================================================= 20:45:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:45:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:44 + 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 . 20:45:45 Sending build context to Docker daemon 3.239MB 20:45:45 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:45:45 Step 2/10 : FROM ${BASE} AS builder 20:45:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:45 9b18e9b68314: Pulling fs layer 20:45:45 d32db5db7311: Pulling fs layer 20:45:45 d0c4b47475fc: Pulling fs layer 20:45:45 5831b945b038: Pulling fs layer 20:45:45 86bbec2aaacd: Pulling fs layer 20:45:45 e10730c5d714: Pulling fs layer 20:45:45 5dd5c2283517: Pulling fs layer 20:45:45 d5ac0230b979: Pulling fs layer 20:45:45 5dd5c2283517: Waiting 20:45:45 5831b945b038: Waiting 20:45:45 d5ac0230b979: Waiting 20:45:45 86bbec2aaacd: Waiting 20:45:45 d0c4b47475fc: Verifying Checksum 20:45:45 d0c4b47475fc: Download complete 20:45:45 d32db5db7311: Verifying Checksum 20:45:45 d32db5db7311: Download complete 20:45:45 86bbec2aaacd: Verifying Checksum 20:45:45 86bbec2aaacd: Download complete 20:45:45 e10730c5d714: Verifying Checksum 20:45:45 e10730c5d714: Download complete 20:45:45 9b18e9b68314: Verifying Checksum 20:45:45 9b18e9b68314: Download complete 20:45:46 d5ac0230b979: Verifying Checksum 20:45:46 d5ac0230b979: Download complete 20:45:46 9b18e9b68314: Pull complete 20:45:47 d32db5db7311: Pull complete 20:45:47 d0c4b47475fc: Pull complete 20:45:47 5dd5c2283517: Verifying Checksum 20:45:47 5dd5c2283517: Download complete 20:45:48 5831b945b038: Verifying Checksum 20:45:48 5831b945b038: Download complete 20:46:00 5831b945b038: Pull complete 20:46:00 86bbec2aaacd: Pull complete 20:46:00 e10730c5d714: Pull complete 20:46:07 5dd5c2283517: Pull complete 20:46:09 d5ac0230b979: Pull complete 20:46:09 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:46:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:46:09 ---> 59b3b1a385d4 20:46:09 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:46:10 ---> Running in 1c760113acac 20:46:10 Removing intermediate container 1c760113acac 20:46:10 ---> a2668ee1a806 20:46:10 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:46:11 ---> Running in 32dfb9e788f1 20:46:11 Removing intermediate container 32dfb9e788f1 20:46:11 ---> 2db594dcbb4e 20:46:11 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:46:11 ---> Running in bc84f0885902 20:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:46:14 (1/8) Installing openssh-keygen (9.0_p1-r2) 20:46:14 (2/8) Installing libedit (20210910.3.1-r0) 20:46:14 (3/8) Installing openssh-client-common (9.0_p1-r2) 20:46:14 (4/8) Installing openssh-client-default (9.0_p1-r2) 20:46:14 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 20:46:14 (6/8) Installing openssh-server-common (9.0_p1-r2) 20:46:14 (7/8) Installing openssh-server (9.0_p1-r2) 20:46:14 (8/8) Installing openssh (9.0_p1-r2) 20:46:14 Executing busybox-1.35.0-r17.trigger 20:46:14 OK: 228 MiB in 59 packages 20:46:16 Removing intermediate container bc84f0885902 20:46:16 ---> 8f697a55bda2 20:46:16 Step 6/10 : WORKDIR /device-modbus-go 20:46:16 ---> Running in 9e4c8e2be9fd 20:46:16 Removing intermediate container 9e4c8e2be9fd 20:46:16 ---> d05f6df0f359 20:46:16 Step 7/10 : COPY go.mod vendor* ./ 20:46:17 ---> bbf11aa4a05a 20:46:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:17 ---> Running in 2a72038d7b15 20:47:13 Removing intermediate container 2a72038d7b15 20:47:13 ---> f572b22d221e 20:47:13 Step 9/10 : COPY . . 20:47:13 ---> 77dd47b86509 20:47:13 Step 10/10 : RUN ${MAKE} 20:47:13 ---> Running in 17623f407d57 20:47:13 noop 20:47:13 Removing intermediate container 17623f407d57 20:47:13 ---> e70a1184d5a8 20:47:13 Successfully built e70a1184d5a8 20:47:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:14 + docker inspect -f . ci-base-image-arm64 20:47:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:14 prd-ubuntu20.04-docker-arm64-4c-16g-117328 does not seem to be running inside a container 20:47:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:47:15 $ docker top f45c931bded2b4514664d20b90a6b6b43e41cc4ed474320782786588de65ea10 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:16 + go version 20:47:16 go version go1.18.7 linux/arm64 [Pipeline] } 20:47:16 $ docker stop --time=1 f45c931bded2b4514664d20b90a6b6b43e41cc4ed474320782786588de65ea10 20:47:18 $ docker rm -f f45c931bded2b4514664d20b90a6b6b43e41cc4ed474320782786588de65ea10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:18 + docker inspect -f . ci-base-image-arm64 20:47:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:18 prd-ubuntu20.04-docker-arm64-4c-16g-117328 does not seem to be running inside a container 20:47:18 $ 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/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:47:20 $ docker top b0e3284840c50be50888f8d1bd467d924aa6f3d64e1f0e82861800b7694a7c2d -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:21 + git config --global --add safe.directory /w/workspace/device-modbus-go/5 [Pipeline] fileExists [Pipeline] sh 20:47:21 + make test 20:47:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:47:23 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:48:59 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:48:59 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.065s coverage: 47.7% of statements 20:48:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:48:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:49:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:49:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:49:17 ./bin/test-attribution-txt.sh [Pipeline] echo 20:49:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:49:17 $ docker stop --time=1 b0e3284840c50be50888f8d1bd467d924aa6f3d64e1f0e82861800b7694a7c2d 20:49:19 $ docker rm -f b0e3284840c50be50888f8d1bd467d924aa6f3d64e1f0e82861800b7694a7c2d [Pipeline] // withDockerContainer [Pipeline] sh 20:49:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:20 Warning: overwriting stash ‘coverage-report’ 20:49:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:21 + ls -al . 20:49:21 total 192 20:49:21 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:47 . 20:49:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:45 .. 20:49:21 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 20:45 .dockerignore 20:49:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:45 .git 20:49:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 .github 20:49:21 -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 20:45 .gitignore 20:49:21 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:45 .golangci.yml 20:49:21 -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 20:45 Attribution.txt 20:49:21 -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 20:45 CHANGELOG.md 20:49:21 -rw-rw-r-- 1 jenkins jenkins 1428 Oct 26 20:45 Dockerfile 20:49:21 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:45 GOVERNANCE.md 20:49:21 -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:45 Jenkinsfile 20:49:21 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:45 LICENSE 20:49:21 -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 20:45 Makefile 20:49:21 -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:45 OWNERS.md 20:49:21 -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 20:45 README.md 20:49:21 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:41 VERSION 20:49:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:45 bin 20:49:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 cmd 20:49:21 -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 20:48 coverage.out 20:49:21 -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 20:45 go.mod 20:49:21 -rw-rw-r-- 1 jenkins jenkins 45486 Oct 26 20:45 go.sum 20:49:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:45 internal 20:49:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:45 simulator 20:49:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:45 snap 20:49:21 -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:22 + 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=eaaa96216d254802e4dc56b9feee2ee1b24579f4 --label arch=arm64 --label version=0.0.0 . 20:49:22 Sending build context to Docker daemon 3.263MB 20:49:22 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 20:49:22 Step 2/22 : FROM ${BASE} AS builder 20:49:22 ---> e70a1184d5a8 20:49:22 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:49:22 ---> Running in 4ab7e3bedc14 20:49:23 Removing intermediate container 4ab7e3bedc14 20:49:23 ---> d607a347ff49 20:49:23 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:23 ---> Running in 2df15a3c1bd0 20:49:23 Removing intermediate container 2df15a3c1bd0 20:49:23 ---> c9788689a29b 20:49:23 Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:49:23 ---> Running in 54b55c90ee4c 20:49:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:49:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:49:25 OK: 228 MiB in 59 packages 20:49:26 Removing intermediate container 54b55c90ee4c 20:49:26 ---> fe5c62b28ea5 20:49:26 Step 6/22 : WORKDIR /device-modbus-go 20:49:26 ---> Running in ee3ebfdc2e4c 20:49:26 Removing intermediate container ee3ebfdc2e4c 20:49:26 ---> 59cb764e3274 20:49:26 Step 7/22 : COPY go.mod vendor* ./ 20:49:27 ---> d70060b80d4b 20:49:27 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:27 ---> Running in 5ea5479c4757 20:49:29 Removing intermediate container 5ea5479c4757 20:49:29 ---> bdbbc8e18c18 20:49:29 Step 9/22 : COPY . . 20:49:30 ---> 1a1191dc1653 20:49:30 Step 10/22 : RUN ${MAKE} 20:49:30 ---> Running in 4f86dcb5abf5 20:49:31 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 20:52:07 Removing intermediate container 4f86dcb5abf5 20:52:07 ---> c0d99c9d08ca 20:52:07 Step 11/22 : FROM alpine:3.14 20:52:07 3.14: Pulling from library/alpine 20:52:07 90cda3b7c325: Pulling fs layer 20:52:07 90cda3b7c325: Verifying Checksum 20:52:07 90cda3b7c325: Download complete 20:52:07 90cda3b7c325: Pull complete 20:52:07 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 20:52:07 Status: Downloaded newer image for alpine:3.14 20:52:07 ---> 376ba31ae3da 20:52:07 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:52:07 ---> Running in daa7e2814378 20:52:07 Removing intermediate container daa7e2814378 20:52:07 ---> bad647fe5fc3 20:52:07 Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init 20:52:07 ---> Running in f5cedac44608 20:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:52:07 (1/6) Installing dumb-init (1.2.5-r1) 20:52:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:52:07 (3/6) Installing libsodium (1.0.18-r0) 20:52:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:52:07 (5/6) Installing libzmq (4.3.4-r0) 20:52:07 (6/6) Installing zeromq (4.3.4-r0) 20:52:07 Executing busybox-1.33.1-r8.trigger 20:52:07 OK: 8 MiB in 20 packages 20:52:07 Removing intermediate container f5cedac44608 20:52:07 ---> a6d37fcb3f0d 20:52:07 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:52:07 ---> 073873507d4e 20:52:07 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:52:07 ---> 82ae36d8de67 20:52:07 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:52:07 ---> ca16e565c07a 20:52:07 Step 17/22 : EXPOSE 59901 20:52:07 ---> Running in 7c35c1aa6569 20:52:07 Removing intermediate container 7c35c1aa6569 20:52:07 ---> aa627e5d6620 20:52:07 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:52:07 ---> Running in 008b9efd6b61 20:52:07 Removing intermediate container 008b9efd6b61 20:52:07 ---> 89d4cdfa8c49 20:52:07 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:52:07 ---> Running in 0f7d2453c056 20:52:07 Removing intermediate container 0f7d2453c056 20:52:07 ---> bfe671583dfd 20:52:07 Step 20/22 : LABEL arch=arm64 20:52:07 ---> Running in 90ef466b121b 20:52:07 Removing intermediate container 90ef466b121b 20:52:07 ---> f10630ecbf52 20:52:07 Step 21/22 : LABEL git_sha=eaaa96216d254802e4dc56b9feee2ee1b24579f4 20:52:07 ---> Running in 93748ec47511 20:52:07 Removing intermediate container 93748ec47511 20:52:07 ---> 62f9874e835c 20:52:07 Step 22/22 : LABEL version=0.0.0 20:52:07 ---> Running in ec42184ef62c 20:52:07 Removing intermediate container ec42184ef62c 20:52:07 ---> c72a8fb8f8bc 20:52:07 [Warning] One or more build-args [ARCH] were not consumed 20:52:07 Successfully built c72a8fb8f8bc 20:52:07 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:08 20:52:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:08 arm64: Pulling from edgex-lftools-log-publisher 20:52:08 8998bd30e6a1: Pulling fs layer 20:52:08 04944245beec: Pulling fs layer 20:52:08 699f458cf7ca: Pulling fs layer 20:52:08 765212b225bb: Pulling fs layer 20:52:08 f23df028b6ca: Pulling fs layer 20:52:08 d65c8cfc05b1: Pulling fs layer 20:52:08 2437ff75d9bd: Pulling fs layer 20:52:08 f23df028b6ca: Waiting 20:52:08 d65c8cfc05b1: Waiting 20:52:08 2437ff75d9bd: Waiting 20:52:08 765212b225bb: Waiting 20:52:08 04944245beec: Verifying Checksum 20:52:08 04944245beec: Download complete 20:52:08 765212b225bb: Verifying Checksum 20:52:08 765212b225bb: Download complete 20:52:09 f23df028b6ca: Verifying Checksum 20:52:09 f23df028b6ca: Download complete 20:52:09 d65c8cfc05b1: Verifying Checksum 20:52:09 699f458cf7ca: Verifying Checksum 20:52:09 699f458cf7ca: Download complete 20:52:09 8998bd30e6a1: Download complete 20:52:12 2437ff75d9bd: Verifying Checksum 20:52:12 2437ff75d9bd: Download complete 20:52:13 8998bd30e6a1: Pull complete 20:52:14 04944245beec: Pull complete 20:52:15 699f458cf7ca: Pull complete 20:52:16 765212b225bb: Pull complete 20:52:16 f23df028b6ca: Pull complete 20:52:17 d65c8cfc05b1: Pull complete 20:52:32 2437ff75d9bd: Pull complete 20:52:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:52:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:32 prd-ubuntu20.04-docker-arm64-4c-16g-117328 does not seem to be running inside a container 20:52:32 $ 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/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:52:35 $ docker top ce47a9f0a5e2e54863a42b96d6e55a1f866f96e4439c38839908bfd17fc61b8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:36 ---> job-cost.sh 20:52:36 lf-activate-venv: SKIPPING 20:52:36 INFO: No Stack... 20:52:36 INFO: Retrieving Pricing Info for: v3-standard-4 20:52:37 INFO: Archiving Costs [Pipeline] sh 20:52:38 + cut -d, -f6 20:52:38 + cat /w/workspace/device-modbus-go/5/archives/cost.csv [Pipeline] lock 20:52:38 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] 20:52:38 Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] did not exist. Created. 20:52:38 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:38 /w/workspace/device-modbus-go/5@tmp/durable-05af20cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:52:39 + echo total: 0.10999999940395355 [Pipeline] stash 20:52:39 Warning: overwriting stash ‘stack-cost’ 20:52:39 Stashed 1 file(s) [Pipeline] } 20:52:39 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:39 $ docker stop --time=1 ce47a9f0a5e2e54863a42b96d6e55a1f866f96e4439c38839908bfd17fc61b8b 20:52:41 $ docker rm -f ce47a9f0a5e2e54863a42b96d6e55a1f866f96e4439c38839908bfd17fc61b8b [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 20:52:41 provisioning config files... 20:52:41 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config2893194586505036002tmp [Pipeline] { [Pipeline] sh 20:52:41 + set +x 20:52:41 + curl -s https://codecov.io/bash 20:52:41 + bash -s -- 20:52:41 20:52:41 _____ _ 20:52:41 / ____| | | 20:52:41 | | ___ __| | ___ ___ _____ __ 20:52:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:52:41 | |___| (_) | (_| | __/ (_| (_) \ V / 20:52:41 \_____\___/ \__,_|\___|\___\___/ \_/ 20:52:41 Bash-1.0.6 20:52:41 20:52:41 20:52:41 ==> git version 2.25.1 found 20:52:41 ==> 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 20:52:41 Release-Date: 2020-01-08 20:52:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:52:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:52:41 ==> Jenkins CI detected. 20:52:41 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 20:52:41 project root: . 20:52:41 --> token set from env 20:52:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:52:41 ==> Running gcov in . (disable via -X gcov) 20:52:41 ==> Python coveragepy not found 20:52:41 ==> Searching for coverage reports in: 20:52:41 + . 20:52:41 -> Found 1 reports 20:52:41 ==> Detecting git/mercurial file structure 20:52:41 ==> Reading reports 20:52:41 + ./coverage.out bytes=23241 20:52:41 ==> Appending adjustments 20:52:41 https://docs.codecov.io/docs/fixing-reports 20:52:42 + Found adjustments 20:52:42 ==> Gzipping contents 20:52:42 4.0K /tmp/codecov.WXXacW.gz 20:52:42 ==> Uploading reports 20:52:42 url: https://codecov.io 20:52:42 query: branch=PR-385&commit=eaaa96216d254802e4dc56b9feee2ee1b24579f4&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= 20:52:42 -> Pinging Codecov 20:52:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-385&commit=eaaa96216d254802e4dc56b9feee2ee1b24579f4&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= 20:52:42 -> Uploading to 20:52:42 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/55DBCA73C666E3227836607328DD7E49/eaaa96216d254802e4dc56b9feee2ee1b24579f4/0dcfbce7-933c-4908-9abc-939005a7a413.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T205242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb5afbfaf7a879fda834b3b130af554e38b9168cce530c75a8fb1c8c357b7063 20:52:42 % Total % Received % Xferd Average Speed Time Time Time Current 20:52:42 Dload Upload Total Spent Left Speed 20:52:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3923 0 0 100 3923 0 17751 --:--:-- --:--:-- --:--:-- 17751 20:52:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/eaaa96216d254802e4dc56b9feee2ee1b24579f4 [Pipeline] } 20:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 20:52:43 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] 20:52:43 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives 20:52:43 total 16 20:52:43 drwxr-xr-x 3 root root 4096 Oct 26 20:43 . 20:52:43 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:43 .. 20:52:43 drwxr-xr-x 2 root root 4096 Oct 26 20:43 cost 20:52:43 -rw-r--r-- 1 root root 88 Oct 26 20:43 cost.csv 20:52:43 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives 20:52:43 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives 20:52:43 total 16 20:52:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:43 . 20:52:43 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:43 .. 20:52:43 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:43 cost 20:52:43 -rw-r--r-- 1 jenkins jenkins 88 Oct 26 20:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:52:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:52:44 ---> package-listing.sh 20:52:44 ++ facter osfamily 20:52:44 ++ tr '[:upper:]' '[:lower:]' 20:52:44 + OS_FAMILY=debian 20:52:44 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 20:52:44 + START_PACKAGES=/tmp/packages_start.txt 20:52:44 + END_PACKAGES=/tmp/packages_end.txt 20:52:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:52:44 + PACKAGES=/tmp/packages_start.txt 20:52:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' 20:52:44 + PACKAGES=/tmp/packages_end.txt 20:52:44 + case "${OS_FAMILY}" in 20:52:44 + dpkg -l 20:52:44 + grep '^ii' 20:52:44 + '[' -f /tmp/packages_start.txt ']' 20:52:44 + '[' -f /tmp/packages_end.txt ']' 20:52:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:52:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' 20:52:44 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ 20:52:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [Pipeline] echo 20:52:44 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/xfoundry_device-modbus-go_PR-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:52:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:45 prd-ubuntu20.04-docker-8c-8g-117323 does not seem to be running inside a container 20:52:45 $ 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/xfoundry_device-modbus-go_PR-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:52:45 $ docker top 8fbddc48f48c7bc6f40d2115bec5cac18d330d3646e5716f5e38b138e01095a6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:46 + touch /tmp/pre-build-complete [Pipeline] sh 20:52:46 + mkdir -p /var/log/sysstat [Pipeline] sh 20:52:46 + ls /var/log/sa-host 20:52:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:46 provisioning config files... 20:52:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config4137779514362205948tmp [Pipeline] { [Pipeline] echo 20:52:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:52:47 ---> create-netrc.sh [Pipeline] } 20:52:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:52:47 ---> python-tools-install.sh [Pipeline] echo 20:52:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:52:47 ---> sudo-logs.sh 20:52:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:52:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:52:48 ---> job-cost.sh 20:52:48 lf-activate-venv: SKIPPING 20:52:48 DEBUG: total: 0.2199999988079071 20:52:48 INFO: Retrieving Stack Cost... 20:52:48 INFO: Retrieving Pricing Info for: v3-standard-8 20:52:49 INFO: Archiving Costs [Pipeline] echo 20:52:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:52:49 ---> logs-deploy.sh 20:52:49 lf-activate-venv: SKIPPING 20:52:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/5 20:52:49 INFO: archiving workspace using pattern(s): 20:52:50 Archives upload complete. 20:52:50 INFO: archiving logs to Nexus 20:52:50 ---> uname -a: 20:52:50 Linux prd-ubuntu20-04-docker-8c-8g-117323 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:52:50 20:52:50 20:52:50 ---> lscpu: 20:52:50 Architecture: x86_64 20:52:50 CPU op-mode(s): 32-bit, 64-bit 20:52:50 Byte Order: Little Endian 20:52:50 Address sizes: 40 bits physical, 48 bits virtual 20:52:50 CPU(s): 8 20:52:50 On-line CPU(s) list: 0-7 20:52:50 Thread(s) per core: 1 20:52:50 Core(s) per socket: 1 20:52:50 Socket(s): 8 20:52:50 NUMA node(s): 1 20:52:50 Vendor ID: AuthenticAMD 20:52:50 CPU family: 23 20:52:50 Model: 49 20:52:50 Model name: AMD EPYC-Rome Processor 20:52:50 Stepping: 0 20:52:50 CPU MHz: 2799.998 20:52:50 BogoMIPS: 5599.99 20:52:50 Virtualization: AMD-V 20:52:50 Hypervisor vendor: KVM 20:52:50 Virtualization type: full 20:52:50 L1d cache: 256 KiB 20:52:50 L1i cache: 256 KiB 20:52:50 L2 cache: 4 MiB 20:52:50 L3 cache: 128 MiB 20:52:50 NUMA node0 CPU(s): 0-7 20:52:50 Vulnerability Itlb multihit: Not affected 20:52:50 Vulnerability L1tf: Not affected 20:52:50 Vulnerability Mds: Not affected 20:52:50 Vulnerability Meltdown: Not affected 20:52:50 Vulnerability Mmio stale data: Not affected 20:52:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:52:50 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:52:50 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:52:50 Vulnerability Srbds: Not affected 20:52:50 Vulnerability Tsx async abort: Not affected 20:52:50 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:52:50 20:52:50