Pull request #368 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f34201dff3c9d418dc6545b7c257665b66b00a63+bb07e7e09273fde4df233cc08be8d273e9c828cd (535b76fe86db77f0228b909625e55ac3a8ec6c8e) 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-ssh1017140881632078417.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh16859094220381228900.key > 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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11541157190016983043.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3576238621709368871.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3056929982051844846.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1205084514059303004.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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 Running on prd-ubuntu20.04-docker-8c-8g-22772 in /w/workspace/xfoundry_device-modbus-go_PR-368 [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-368 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bb07e7e09273fde4df233cc08be8d273e9c828cd into PR head commit f34201dff3c9d418dc6545b7c257665b66b00a63 Merge succeeded, producing f34201dff3c9d418dc6545b7c257665b66b00a63 Checking out Revision f34201dff3c9d418dc6545b7c257665b66b00a63 (PR-368) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f34201dff3c9d418dc6545b7c257665b66b00a63 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bb07e7e09273fde4df233cc08be8d273e9c828cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f34201dff3c9d418dc6545b7c257665b66b00a63 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:03:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:48 ========================================================= 05:03:48 EdgeX Global Pipelines Version Info 05:03:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:48 ------------------- 05:03:48 stable info: 05:03:48 ------------------- 05:03:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:48 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:03:48 Message: update stable to v1.0.238 05:03:49 ------------------- 05:03:49 experimental info: 05:03:49 ------------------- 05:03:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:03:49 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 05:03:49 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:03:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:03:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo 05:03:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f34201dff3c9d418dc6545b7c257665b66b00a63 [Pipeline] echo 05:03:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f34201d [Pipeline] echo 05:03:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:51 provisioning config files... 05:03:51 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/config4797533494648196704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:51 ---> docker-login.sh 05:03:51 nexus3.edgexfoundry.org:10001 05:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:52 Configure a credential helper to remove this warning. See 05:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:52 05:03:52 Login Succeeded 05:03:52 nexus3.edgexfoundry.org:10002 05:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:52 Configure a credential helper to remove this warning. See 05:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:52 05:03:52 Login Succeeded 05:03:52 nexus3.edgexfoundry.org:10003 05:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:52 Configure a credential helper to remove this warning. See 05:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:52 05:03:52 Login Succeeded 05:03:52 nexus3.edgexfoundry.org:10004 05:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:52 Configure a credential helper to remove this warning. See 05:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:52 05:03:52 Login Succeeded 05:03:52 docker.io 05:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:03:52 Configure a credential helper to remove this warning. See 05:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:03:52 05:03:52 Login Succeeded 05:03:52 ---> docker-login.sh ends [Pipeline] } 05:03:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:53 + git rev-list -1 --merges f34201dff3c9d418dc6545b7c257665b66b00a63~1..f34201dff3c9d418dc6545b7c257665b66b00a63 [Pipeline] echo 05:03:53 -----------> git rev-list -1 --merges f34201dff3c9d418dc6545b7c257665b66b00a63~1..f34201dff3c9d418dc6545b7c257665b66b00a63 f34201dff3c9d418dc6545b7c257665b66b00a63 [false] [Pipeline] sh 05:03:53 + git log --format=format:%s -1 f34201dff3c9d418dc6545b7c257665b66b00a63 [Pipeline] echo 05:03:53 ========================================================= 05:03:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:54 + git log --format=format:%s -1 f34201dff3c9d418dc6545b7c257665b66b00a63 [Pipeline] echo 05:03:54 [semverPrep] GIT_COMMIT: f34201dff3c9d418dc6545b7c257665b66b00a63, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:03:54 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:54 + grep -v github /etc/ssh/ssh_known_hosts 05:03:54 + [ -e /tmp/ssh_known_hosts ] 05:03:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:03:54 + sudo tee -a /etc/ssh/ssh_known_hosts 05:03:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:55 05:03:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:55 0.1.4: Pulling from edgex-devops/py-git-semver 05:03:55 b85a868b505f: Pulling fs layer 05:03:55 e2be974225ed: Pulling fs layer 05:03:55 339a4e72a1f5: Pulling fs layer 05:03:55 988bab9f4d93: Pulling fs layer 05:03:55 1469e6f7b9e6: Pulling fs layer 05:03:55 eaf3925da568: Pulling fs layer 05:03:55 bab4dde63d76: Pulling fs layer 05:03:55 bde34c3a00c8: Pulling fs layer 05:03:55 b352a97aabf1: Pulling fs layer 05:03:55 4872d77fe225: Pulling fs layer 05:03:55 988bab9f4d93: Waiting 05:03:55 5851b861e8e6: Pulling fs layer 05:03:55 bab4dde63d76: Waiting 05:03:55 b352a97aabf1: Waiting 05:03:55 bde34c3a00c8: Waiting 05:03:55 5851b861e8e6: Waiting 05:03:55 4872d77fe225: Waiting 05:03:55 1469e6f7b9e6: Waiting 05:03:55 eaf3925da568: Waiting 05:03:55 e2be974225ed: Download complete 05:03:55 988bab9f4d93: Verifying Checksum 05:03:55 988bab9f4d93: Download complete 05:03:55 1469e6f7b9e6: Verifying Checksum 05:03:55 1469e6f7b9e6: Download complete 05:03:55 eaf3925da568: Verifying Checksum 05:03:55 eaf3925da568: Download complete 05:03:55 339a4e72a1f5: Verifying Checksum 05:03:55 339a4e72a1f5: Download complete 05:03:55 bde34c3a00c8: Verifying Checksum 05:03:55 bde34c3a00c8: Download complete 05:03:55 b352a97aabf1: Verifying Checksum 05:03:55 b352a97aabf1: Download complete 05:03:55 4872d77fe225: Verifying Checksum 05:03:55 4872d77fe225: Download complete 05:03:55 5851b861e8e6: Download complete 05:03:55 b85a868b505f: Download complete 05:03:56 bab4dde63d76: Verifying Checksum 05:03:56 bab4dde63d76: Download complete 05:03:57 b85a868b505f: Pull complete 05:03:57 e2be974225ed: Pull complete 05:03:58 339a4e72a1f5: Pull complete 05:03:58 988bab9f4d93: Pull complete 05:03:58 1469e6f7b9e6: Pull complete 05:03:58 eaf3925da568: Pull complete 05:04:00 bab4dde63d76: Pull complete 05:04:00 bde34c3a00c8: Pull complete 05:04:00 b352a97aabf1: Pull complete 05:04:00 4872d77fe225: Pull complete 05:04:00 5851b861e8e6: Pull complete 05:04:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:04:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:04:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:01 prd-ubuntu20.04-docker-8c-8g-22772 does not seem to be running inside a container 05:04:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-368 -v /w/workspace/xfoundry_device-modbus-go_PR-368:/w/workspace/xfoundry_device-modbus-go_PR-368:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-368@tmp:/w/workspace/xfoundry_device-modbus-go_PR-368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:04:02 $ docker top ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db -eo pid,comm 05:04:02 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). 05:04:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:02 [ssh-agent] Looking for ssh-agent implementation... 05:04:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:02 $ docker exec ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db ssh-agent 05:04:02 SSH_AUTH_SOCK=/tmp/ssh-CCHA0U30jELo/agent.33 05:04:02 SSH_AGENT_PID=40 05:04:02 Running ssh-add (command line suppressed) 05:04:02 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-368@tmp/private_key_7370701035112941572.key (/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/private_key_7370701035112941572.key) 05:04:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:03 + git tag --points-at HEAD [Pipeline] } 05:04:03 $ docker exec --env ******** --env ******** ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db ssh-agent -k 05:04:03 unset SSH_AUTH_SOCK; 05:04:03 unset SSH_AGENT_PID; 05:04:03 echo Agent pid 40 killed; 05:04:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:03 [ssh-agent] Looking for ssh-agent implementation... 05:04:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:03 $ docker exec ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db ssh-agent 05:04:03 SSH_AUTH_SOCK=/tmp/ssh-vu0ClwREm5Pz/agent.74 05:04:03 SSH_AGENT_PID=81 05:04:03 Running ssh-add (command line suppressed) 05:04:03 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-368@tmp/private_key_3036897443516091597.key (/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/private_key_3036897443516091597.key) 05:04:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:04 + git semver init 05:04:04 2022-08-15 05:04:04,494 [run_init] DEBUG init version:0.0.0 force:False 05:04:04 2022-08-15 05:04:04,495 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-368/.semver 05:04:04 2022-08-15 05:04:04,495 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-368/.semver 05:04:04 2022-08-15 05:04:04,495 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-368/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-368, universal_newlines=False, shell=None, istream=None) 05:04:05 2022-08-15 05:04:05,211 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-368/.git/info/exclude 05:04:05 2022-08-15 05:04:05,212 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-368/.semver/PR-368 with force:False 05:04:05 2022-08-15 05:04:05,212 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-368/.semver/PR-368 05:04:05 2022-08-15 05:04:05,216 [execute] INFO git cat-file --batch-check 05:04:05 2022-08-15 05:04:05,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) 05:04:05 2022-08-15 05:04:05,223 [execute] INFO git cat-file --batch 05:04:05 2022-08-15 05:04:05,223 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) 05:04:05 2022-08-15 05:04:05,228 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-368/.semver/PR-368 05:04:05 0.0.0 [Pipeline] } 05:04:05 $ docker exec --env ******** --env ******** ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db ssh-agent -k 05:04:05 unset SSH_AUTH_SOCK; 05:04:05 unset SSH_AGENT_PID; 05:04:05 echo Agent pid 81 killed; 05:04:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:06 + git semver [Pipeline] } 05:04:06 $ docker stop --time=1 ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db 05:04:07 $ docker rm -f ddb70140ade40f5e1e8560bc5e43e11665861bd43420a77ae36a799e4d8b69db [Pipeline] // withDockerContainer [Pipeline] sh 05:04:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:08 Stashed 1 file(s) [Pipeline] echo 05:04:08 [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 05:04:09 provisioning config files... 05:04:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/config4612398861818312468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:09 ---> docker-login.sh 05:04:09 nexus3.edgexfoundry.org:10001 05:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:09 Configure a credential helper to remove this warning. See 05:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:09 05:04:09 Login Succeeded 05:04:09 nexus3.edgexfoundry.org:10002 05:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:09 Configure a credential helper to remove this warning. See 05:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:09 05:04:09 Login Succeeded 05:04:09 nexus3.edgexfoundry.org:10003 05:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:09 Configure a credential helper to remove this warning. See 05:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:09 05:04:09 Login Succeeded 05:04:09 nexus3.edgexfoundry.org:10004 05:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:09 Configure a credential helper to remove this warning. See 05:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:09 05:04:09 Login Succeeded 05:04:09 docker.io 05:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:10 Configure a credential helper to remove this warning. See 05:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:10 05:04:10 Login Succeeded 05:04:10 ---> docker-login.sh ends [Pipeline] } 05:04:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:10 ========================================================= 05:04:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:04:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 05:04:10 Sending build context to Docker daemon 6.118MB 05:04:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:04:10 Step 2/10 : FROM ${BASE} AS builder 05:04:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:10 2408cc74d12b: Pulling fs layer 05:04:10 ea60b727a1ce: Pulling fs layer 05:04:10 30c4a7721957: Pulling fs layer 05:04:10 370296b7ddb6: Pulling fs layer 05:04:10 7c6cee850709: Pulling fs layer 05:04:10 39a5fcdaea64: Pulling fs layer 05:04:10 d94ebbe4e438: Pulling fs layer 05:04:10 bcfd1f05c69d: Pulling fs layer 05:04:10 59ccb84bbe0f: Pulling fs layer 05:04:10 7c6cee850709: Waiting 05:04:10 39a5fcdaea64: Waiting 05:04:10 bcfd1f05c69d: Waiting 05:04:10 d94ebbe4e438: Waiting 05:04:10 59ccb84bbe0f: Waiting 05:04:10 370296b7ddb6: Waiting 05:04:11 30c4a7721957: Download complete 05:04:11 ea60b727a1ce: Verifying Checksum 05:04:11 ea60b727a1ce: Download complete 05:04:11 7c6cee850709: Verifying Checksum 05:04:11 7c6cee850709: Download complete 05:04:11 39a5fcdaea64: Verifying Checksum 05:04:11 39a5fcdaea64: Download complete 05:04:11 2408cc74d12b: Verifying Checksum 05:04:11 d94ebbe4e438: Download complete 05:04:11 2408cc74d12b: Pull complete 05:04:11 ea60b727a1ce: Pull complete 05:04:11 30c4a7721957: Pull complete 05:04:11 59ccb84bbe0f: Verifying Checksum 05:04:11 59ccb84bbe0f: Download complete 05:04:11 bcfd1f05c69d: Verifying Checksum 05:04:11 bcfd1f05c69d: Download complete 05:04:11 370296b7ddb6: Verifying Checksum 05:04:11 370296b7ddb6: Download complete 05:04:16 370296b7ddb6: Pull complete 05:04:16 7c6cee850709: Pull complete 05:04:16 39a5fcdaea64: Pull complete 05:04:16 d94ebbe4e438: Pull complete 05:04:18 bcfd1f05c69d: Pull complete 05:04:19 59ccb84bbe0f: Pull complete 05:04:19 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 05:04:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:04:19 ---> a4fb48ad2a94 05:04:19 Step 3/10 : ARG MAKE='make build' 05:04:20 ---> Running in b9f03da34e62 05:04:20 Removing intermediate container b9f03da34e62 05:04:20 ---> 29a47ffcdd4d 05:04:20 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:20 ---> Running in fec22fd4d138 05:04:21 Removing intermediate container fec22fd4d138 05:04:21 ---> 488fd53d89b3 05:04:21 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:04:21 ---> Running in 5d4515128394 05:04:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:04:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:04:22 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:04:23 (2/8) Installing libedit (20210910.3.1-r0) 05:04:23 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:04:23 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:04:23 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:04:23 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:04:23 (7/8) Installing openssh-server (9.0_p1-r2) 05:04:23 (8/8) Installing openssh (9.0_p1-r2) 05:04:23 Executing busybox-1.35.0-r13.trigger 05:04:23 OK: 217 MiB in 59 packages 05:04:23 Still waiting to schedule task 05:04:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:04:24 Removing intermediate container 5d4515128394 05:04:24 ---> b1e0a4e0652d 05:04:24 Step 6/10 : WORKDIR /device-modbus-go 05:04:24 ---> Running in 892c2ca156b2 05:04:24 Removing intermediate container 892c2ca156b2 05:04:24 ---> b58c3a840983 05:04:24 Step 7/10 : COPY go.mod vendor* ./ 05:04:24 ---> ca56d08e3b61 05:04:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:24 ---> Running in 317032e18f12 05:04:46 Removing intermediate container 317032e18f12 05:04:46 ---> 5bc549837d14 05:04:46 Step 9/10 : COPY . . 05:04:46 ---> b70701440747 05:04:46 Step 10/10 : RUN ${MAKE} 05:04:46 ---> Running in 24f1af89e2db 05:04:46 noop 05:04:46 Removing intermediate container 24f1af89e2db 05:04:46 ---> d0e4e1ac58c0 05:04:46 Successfully built d0e4e1ac58c0 05:04:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:46 + docker inspect -f . ci-base-image-x86_64 05:04:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:46 prd-ubuntu20.04-docker-8c-8g-22772 does not seem to be running inside a container 05:04:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-368 -v /w/workspace/xfoundry_device-modbus-go_PR-368:/w/workspace/xfoundry_device-modbus-go_PR-368:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-368@tmp:/w/workspace/xfoundry_device-modbus-go_PR-368@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 ******** ci-base-image-x86_64 cat 05:04:47 $ docker top f045fac59ddc8559a231637e9cd6c9a7223e26889220d0c32a34759b4567cd51 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:47 + go version 05:04:47 go version go1.18.3 linux/amd64 [Pipeline] } 05:04:47 $ docker stop --time=1 f045fac59ddc8559a231637e9cd6c9a7223e26889220d0c32a34759b4567cd51 05:04:49 $ docker rm -f f045fac59ddc8559a231637e9cd6c9a7223e26889220d0c32a34759b4567cd51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:49 + docker inspect -f . ci-base-image-x86_64 05:04:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:49 prd-ubuntu20.04-docker-8c-8g-22772 does not seem to be running inside a container 05:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-modbus-go_PR-368 -v /w/workspace/xfoundry_device-modbus-go_PR-368:/w/workspace/xfoundry_device-modbus-go_PR-368:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-368@tmp:/w/workspace/xfoundry_device-modbus-go_PR-368@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 ******** ci-base-image-x86_64 cat 05:04:50 $ docker top 06eccc64a3716805d6b5ef3262a003498a61d5b92fe8c014f993830f690e7d2f -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:50 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-368 [Pipeline] fileExists [Pipeline] sh 05:04:51 + make test 05:04:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:04:51 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:05:01 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:05:01 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements 05:05:07 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." 05:05:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:11 ./bin/test-attribution-txt.sh 05:05:11 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:05:11 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:11 $ docker stop --time=1 06eccc64a3716805d6b5ef3262a003498a61d5b92fe8c014f993830f690e7d2f 05:05:13 $ docker rm -f 06eccc64a3716805d6b5ef3262a003498a61d5b92fe8c014f993830f690e7d2f [Pipeline] // withDockerContainer [Pipeline] sh 05:05:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:15 + ls -al . 05:05:15 total 188 05:05:15 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 05:04 . 05:05:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:03 .. 05:05:15 -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 05:03 .dockerignore 05:05:15 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:05 .git 05:05:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:03 .github 05:05:15 -rw-rw-r-- 1 jenkins jenkins 331 Aug 15 05:03 .gitignore 05:05:15 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:03 .golangci.yml 05:05:15 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:04 .semver 05:05:15 -rw-rw-r-- 1 jenkins jenkins 9744 Aug 15 05:03 Attribution.txt 05:05:15 -rw-rw-r-- 1 jenkins jenkins 10001 Aug 15 05:03 CHANGELOG.md 05:05:15 -rw-rw-r-- 1 jenkins jenkins 1550 Aug 15 05:03 Dockerfile 05:05:15 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:03 GOVERNANCE.md 05:05:15 -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 05:03 Jenkinsfile 05:05:15 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:03 LICENSE 05:05:15 -rw-rw-r-- 1 jenkins jenkins 1892 Aug 15 05:03 Makefile 05:05:15 -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 05:03 OWNERS.md 05:05:15 -rw-rw-r-- 1 jenkins jenkins 3397 Aug 15 05:03 README.md 05:05:15 -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 05:04 VERSION 05:05:15 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:03 bin 05:05:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:03 cmd 05:05:15 -rw-r--r-- 1 jenkins jenkins 23241 Aug 15 05:05 coverage.out 05:05:15 -rw-rw-r-- 1 jenkins jenkins 3572 Aug 15 05:03 go.mod 05:05:15 -rw-rw-r-- 1 jenkins jenkins 37058 Aug 15 05:03 go.sum 05:05:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:03 internal 05:05:15 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:03 simulator 05:05:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:03 snap 05:05:15 -rw-rw-r-- 1 jenkins jenkins 229 Aug 15 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:15 + 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=f34201dff3c9d418dc6545b7c257665b66b00a63 --label arch=amd64 --label version=0.0.0 . 05:05:15 Sending build context to Docker daemon 6.142MB 05:05:15 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:05:15 Step 2/23 : FROM ${BASE} AS builder 05:05:15 ---> d0e4e1ac58c0 05:05:15 Step 3/23 : ARG MAKE='make build' 05:05:15 ---> Running in e046a3a99525 05:05:15 Removing intermediate container e046a3a99525 05:05:15 ---> 9fb7d0c87641 05:05:15 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:15 ---> Running in 85b8e629c907 05:05:16 Removing intermediate container 85b8e629c907 05:05:16 ---> 20dffc9b6236 05:05:16 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:05:16 ---> Running in 6b7ae1bfbf69 05:05:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:05:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:05:17 OK: 217 MiB in 59 packages 05:05:18 Removing intermediate container 6b7ae1bfbf69 05:05:18 ---> b6d8023895ad 05:05:18 Step 6/23 : WORKDIR /device-modbus-go 05:05:18 ---> Running in 36c9c5b1d236 05:05:18 Removing intermediate container 36c9c5b1d236 05:05:18 ---> d6bd0cb53394 05:05:18 Step 7/23 : COPY go.mod vendor* ./ 05:05:18 ---> 7b8684d1fb77 05:05:18 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:18 ---> Running in 163dab0f4803 05:05:19 Removing intermediate container 163dab0f4803 05:05:19 ---> 6f901925ee8f 05:05:19 Step 9/23 : COPY . . 05:05:19 ---> 1672512d2501 05:05:19 Step 10/23 : RUN ${MAKE} 05:05:19 ---> Running in 6c323116094e 05:05:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:05:41 Removing intermediate container 6c323116094e 05:05:41 ---> 4a0d00183969 05:05:41 Step 11/23 : FROM alpine:3.14 05:05:41 3.14: Pulling from library/alpine 05:05:41 c7ed990a2339: Pulling fs layer 05:05:41 c7ed990a2339: Download complete 05:05:41 c7ed990a2339: Pull complete 05:05:41 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:05:41 Status: Downloaded newer image for alpine:3.14 05:05:41 ---> dd53f409bf0b 05:05:41 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:05:41 ---> Running in 0660af43e0ac 05:05:41 Removing intermediate container 0660af43e0ac 05:05:41 ---> b9be6802d16c 05:05:41 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:41 ---> Running in df6d1be9fdae 05:05:42 Removing intermediate container df6d1be9fdae 05:05:42 ---> b76935c5af8e 05:05:42 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:05:42 ---> Running in 337f7564835e 05:05:42 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:05:43 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:05:43 (1/6) Installing dumb-init (1.2.5-r1) 05:05:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:05:43 (3/6) Installing libsodium (1.0.18-r0) 05:05:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:05:44 (5/6) Installing libzmq (4.3.4-r0) 05:05:44 (6/6) Installing zeromq (4.3.4-r0) 05:05:44 Executing busybox-1.33.1-r8.trigger 05:05:44 OK: 8 MiB in 20 packages 05:05:44 Removing intermediate container 337f7564835e 05:05:44 ---> 4be4c1b42187 05:05:44 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:05:45 ---> f7cd534370c5 05:05:45 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:05:45 ---> 7ccbfc595454 05:05:45 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:05:45 ---> 7c6ff84eceba 05:05:45 Step 18/23 : EXPOSE 59901 05:05:45 ---> Running in 2987f1824e53 05:05:45 Removing intermediate container 2987f1824e53 05:05:45 ---> 18fe3e86cec0 05:05:45 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:05:45 ---> Running in 48af060fa73e 05:05:45 Removing intermediate container 48af060fa73e 05:05:45 ---> 8886a0855549 05:05:45 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:05:45 ---> Running in 032eeb5a08ae 05:05:45 Removing intermediate container 032eeb5a08ae 05:05:45 ---> cbf540f497f8 05:05:45 Step 21/23 : LABEL arch=amd64 05:05:45 ---> Running in c1b2b319f67c 05:05:45 Removing intermediate container c1b2b319f67c 05:05:45 ---> e383ff88806b 05:05:45 Step 22/23 : LABEL git_sha=f34201dff3c9d418dc6545b7c257665b66b00a63 05:05:45 ---> Running in 5c2d5f021b76 05:05:46 Removing intermediate container 5c2d5f021b76 05:05:46 ---> 477cad4109bb 05:05:46 Step 23/23 : LABEL version=0.0.0 05:05:46 ---> Running in 38408e3f753c 05:05:46 Removing intermediate container 38408e3f753c 05:05:46 ---> 5c8a3c3b9026 05:05:46 [Warning] One or more build-args [ARCH] were not consumed 05:05:46 Successfully built 5c8a3c3b9026 05:05:46 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 05:05:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:46 05:05:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:47 latest: Pulling from edgex-lftools-log-publisher 05:05:47 5eb5b503b376: Pulling fs layer 05:05:47 5c69ac0246d0: Pulling fs layer 05:05:47 ec43610c2a17: Pulling fs layer 05:05:47 3a2ae6a8a46f: Pulling fs layer 05:05:47 33b1e0a273af: Pulling fs layer 05:05:47 5d3b04190fa2: Pulling fs layer 05:05:47 2f39f015ded8: Pulling fs layer 05:05:47 33b1e0a273af: Waiting 05:05:47 5d3b04190fa2: Waiting 05:05:47 3a2ae6a8a46f: Waiting 05:05:47 5c69ac0246d0: Verifying Checksum 05:05:47 5c69ac0246d0: Download complete 05:05:47 3a2ae6a8a46f: Verifying Checksum 05:05:47 3a2ae6a8a46f: Download complete 05:05:47 33b1e0a273af: Verifying Checksum 05:05:47 33b1e0a273af: Download complete 05:05:47 ec43610c2a17: Verifying Checksum 05:05:47 ec43610c2a17: Download complete 05:05:47 5d3b04190fa2: Verifying Checksum 05:05:47 5d3b04190fa2: Download complete 05:05:47 5eb5b503b376: Verifying Checksum 05:05:47 5eb5b503b376: Download complete 05:05:48 2f39f015ded8: Download complete 05:05:48 5eb5b503b376: Pull complete 05:05:48 5c69ac0246d0: Pull complete 05:05:49 ec43610c2a17: Pull complete 05:05:49 3a2ae6a8a46f: Pull complete 05:05:49 33b1e0a273af: Pull complete 05:05:49 5d3b04190fa2: Pull complete 05:05:55 2f39f015ded8: Pull complete 05:05:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:05:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:55 prd-ubuntu20.04-docker-8c-8g-22772 does not seem to be running inside a container 05:05:55 $ 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-368 -v /w/workspace/xfoundry_device-modbus-go_PR-368:/w/workspace/xfoundry_device-modbus-go_PR-368:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-368@tmp:/w/workspace/xfoundry_device-modbus-go_PR-368@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:05:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22775 in /w/workspace/xfoundry_device-modbus-go_PR-368 05:05:57 $ docker top c6af74a81e5b227bd0c5ce257af789a4f6fe231d326f00390a2cfc312f9cbcda -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 05:05:57 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:05:57 Selected Git installation does not exist. Using Default 05:05:57 The recommended git tool is: NONE 05:05:57 ---> job-cost.sh 05:05:57 lf-activate-venv: SKIPPING 05:05:57 INFO: No Stack... 05:05:58 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:58 INFO: Archiving Costs [Pipeline] sh 05:05:58 + cat /w/workspace/xfoundry_device-modbus-go_PR-368/archives/cost.csv 05:05:58 + cut -d, -f6 [Pipeline] lock 05:05:58 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] 05:05:58 Resource [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] did not exist. Created. 05:05:58 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:59 + echo total: 0.2199999988079071 [Pipeline] stash 05:05:59 Stashed 1 file(s) [Pipeline] } 05:05:59 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:59 $ docker stop --time=1 c6af74a81e5b227bd0c5ce257af789a4f6fe231d326f00390a2cfc312f9cbcda 05:06:00 $ docker rm -f c6af74a81e5b227bd0c5ce257af789a4f6fe231d326f00390a2cfc312f9cbcda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:04 using credential edgex-jenkins-ssh 05:06:04 Cloning the remote Git repository 05:06:04 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:06:04 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:06:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:06:04 > git --version # timeout=10 05:06:04 > git --version # 'git version 2.25.1' 05:06:04 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:06 Merging remotes/origin/main commit bb07e7e09273fde4df233cc08be8d273e9c828cd into PR head commit f34201dff3c9d418dc6545b7c257665b66b00a63 05:06:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:06:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:06:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:06:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:06:06 Merge succeeded, producing f34201dff3c9d418dc6545b7c257665b66b00a63 05:06:06 Checking out Revision f34201dff3c9d418dc6545b7c257665b66b00a63 (PR-368) 05:06:06 > git config core.sparsecheckout # timeout=10 05:06:06 > git checkout -f f34201dff3c9d418dc6545b7c257665b66b00a63 # timeout=10 05:06:06 > git remote # timeout=10 05:06:06 > git config --get remote.origin.url # timeout=10 05:06:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:06 > git merge bb07e7e09273fde4df233cc08be8d273e9c828cd # timeout=10 05:06:06 > git rev-parse HEAD^{commit} # timeout=10 05:06:06 > git config core.sparsecheckout # timeout=10 05:06:06 > git checkout -f f34201dff3c9d418dc6545b7c257665b66b00a63 # timeout=10 05:06:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 05:06:11 > git --version # timeout=10 05:06:11 > git --version # 'git version 2.25.1' 05:06:11 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:06:12 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:12 Dload Upload Total Spent Left Speed 05:06:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 82213 0 --:--:-- --:--:-- --:--:-- 82213 [Pipeline] sh 05:06:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:06:13 + + sudo tee /etc/docker/daemon.new 05:06:13 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:06:13 { 05:06:13 "registry-mirrors": [ 05:06:13 "https://nexus3.edgexfoundry.org:10001" 05:06:13 ], 05:06:13 "bip": "10.250.0.254/24", 05:06:13 "hosts": [ 05:06:13 "tcp://0.0.0.0:5555", 05:06:13 "unix:///var/run/docker.sock" 05:06:13 ], 05:06:13 "mtu": 1458, 05:06:13 "selinux-enabled": true, 05:06:13 "seccomp-profile": "/etc/docker/seccomp.json" 05:06:13 } [Pipeline] sh 05:06:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:06:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:32 provisioning config files... 05:06:32 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config6901249464437006616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:32 ---> docker-login.sh 05:06:32 nexus3.edgexfoundry.org:10001 05:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:34 Configure a credential helper to remove this warning. See 05:06:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:34 05:06:34 Login Succeeded 05:06:34 nexus3.edgexfoundry.org:10002 05:06:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:34 Configure a credential helper to remove this warning. See 05:06:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:34 05:06:34 Login Succeeded 05:06:34 nexus3.edgexfoundry.org:10003 05:06:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:35 Configure a credential helper to remove this warning. See 05:06:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:35 05:06:35 Login Succeeded 05:06:35 nexus3.edgexfoundry.org:10004 05:06:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:35 Configure a credential helper to remove this warning. See 05:06:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:35 05:06:35 Login Succeeded 05:06:35 docker.io 05:06:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:36 Configure a credential helper to remove this warning. See 05:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:36 05:06:36 Login Succeeded 05:06:36 ---> docker-login.sh ends [Pipeline] } 05:06:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:06:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:37 ========================================================= 05:06:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:06:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:37 + 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 . 05:06:37 Sending build context to Docker daemon 3.179MB 05:06:37 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:06:37 Step 2/10 : FROM ${BASE} AS builder 05:06:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:06:38 b3c136eddcbf: Pulling fs layer 05:06:38 c0a3192eca97: Pulling fs layer 05:06:38 a050256f5b6f: Pulling fs layer 05:06:38 656be50a0ddc: Pulling fs layer 05:06:38 2bbca73fdf42: Pulling fs layer 05:06:38 46d945488cbd: Pulling fs layer 05:06:38 8a5474983e97: Pulling fs layer 05:06:38 329c88fbcd65: Pulling fs layer 05:06:38 656be50a0ddc: Waiting 05:06:38 2bbca73fdf42: Waiting 05:06:38 46d945488cbd: Waiting 05:06:38 8a5474983e97: Waiting 05:06:38 329c88fbcd65: Waiting 05:06:38 a050256f5b6f: Verifying Checksum 05:06:38 a050256f5b6f: Download complete 05:06:38 c0a3192eca97: Download complete 05:06:38 2bbca73fdf42: Verifying Checksum 05:06:38 2bbca73fdf42: Download complete 05:06:38 46d945488cbd: Verifying Checksum 05:06:38 46d945488cbd: Download complete 05:06:38 b3c136eddcbf: Verifying Checksum 05:06:38 b3c136eddcbf: Download complete 05:06:39 b3c136eddcbf: Pull complete 05:06:39 329c88fbcd65: Verifying Checksum 05:06:39 329c88fbcd65: Download complete 05:06:39 c0a3192eca97: Pull complete 05:06:39 a050256f5b6f: Pull complete 05:06:40 8a5474983e97: Verifying Checksum 05:06:40 8a5474983e97: Download complete 05:06:41 656be50a0ddc: Verifying Checksum 05:06:41 656be50a0ddc: Download complete 05:06:56 656be50a0ddc: Pull complete 05:06:56 2bbca73fdf42: Pull complete 05:06:56 46d945488cbd: Pull complete 05:07:01 8a5474983e97: Pull complete 05:07:03 329c88fbcd65: Pull complete 05:07:03 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 05:07:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:07:03 ---> ff4287adb874 05:07:03 Step 3/10 : ARG MAKE='make build' 05:07:04 ---> Running in e4ecf6ce6bea 05:07:04 Removing intermediate container e4ecf6ce6bea 05:07:04 ---> 80c93ec36c76 05:07:04 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:04 ---> Running in f605f21d0625 05:07:07 Removing intermediate container f605f21d0625 05:07:07 ---> b9800678ee42 05:07:07 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:07:07 ---> Running in 5cfaea19267b 05:07:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:07:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:07:10 (1/8) Installing openssh-keygen (9.0_p1-r2) 05:07:10 (2/8) Installing libedit (20210910.3.1-r0) 05:07:10 (3/8) Installing openssh-client-common (9.0_p1-r2) 05:07:10 (4/8) Installing openssh-client-default (9.0_p1-r2) 05:07:10 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 05:07:10 (6/8) Installing openssh-server-common (9.0_p1-r2) 05:07:10 (7/8) Installing openssh-server (9.0_p1-r2) 05:07:10 (8/8) Installing openssh (9.0_p1-r2) 05:07:11 Executing busybox-1.35.0-r13.trigger 05:07:11 OK: 228 MiB in 59 packages 05:07:12 Removing intermediate container 5cfaea19267b 05:07:12 ---> 23e875dbd569 05:07:12 Step 6/10 : WORKDIR /device-modbus-go 05:07:12 ---> Running in 40f4798a6c66 05:07:12 Removing intermediate container 40f4798a6c66 05:07:12 ---> 7fdfafab8678 05:07:12 Step 7/10 : COPY go.mod vendor* ./ 05:07:12 ---> 07fc5568b4a7 05:07:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:12 ---> Running in 009eaccd69d3 05:07:59 Removing intermediate container 009eaccd69d3 05:07:59 ---> f9f8f923175e 05:07:59 Step 9/10 : COPY . . 05:07:59 ---> 2a224ed6a904 05:07:59 Step 10/10 : RUN ${MAKE} 05:07:59 ---> Running in e974c27f8faa 05:07:59 noop 05:08:00 Removing intermediate container e974c27f8faa 05:08:00 ---> 6a849d8b2536 05:08:00 Successfully built 6a849d8b2536 05:08:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:01 + docker inspect -f . ci-base-image-arm64 05:08:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:01 prd-ubuntu20.04-docker-arm64-4c-16g-22775 does not seem to be running inside a container 05:08:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 05:08:02 $ docker top c2307b0c162914eebca0265d3ceef669a902f80299ad451c3a81889f8369020e -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:03 + go version 05:08:03 go version go1.18.3 linux/arm64 [Pipeline] } 05:08:03 $ docker stop --time=1 c2307b0c162914eebca0265d3ceef669a902f80299ad451c3a81889f8369020e 05:08:05 $ docker rm -f c2307b0c162914eebca0265d3ceef669a902f80299ad451c3a81889f8369020e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:06 + docker inspect -f . ci-base-image-arm64 05:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:06 prd-ubuntu20.04-docker-arm64-4c-16g-22775 does not seem to be running inside a container 05:08:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 05:08:07 $ docker top 8c7a412a7681ce1d7f0fd8e33cbec02bd5ea661e835f88737ef2f8abad287224 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:08 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:08:09 + make test 05:08:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:09:32 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:09:32 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements 05:09:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:09:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:09:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:09:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:09:54 ./bin/test-attribution-txt.sh 05:09:54 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:09:54 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:09:54 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:09:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:09:55 $ docker stop --time=1 8c7a412a7681ce1d7f0fd8e33cbec02bd5ea661e835f88737ef2f8abad287224 05:09:56 $ docker rm -f 8c7a412a7681ce1d7f0fd8e33cbec02bd5ea661e835f88737ef2f8abad287224 [Pipeline] // withDockerContainer [Pipeline] sh 05:09:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:09:57 Warning: overwriting stash ‘coverage-report’ 05:09:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:09:59 + ls -al . 05:09:59 total 184 05:09:59 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 05:08 . 05:09:59 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:06 .. 05:09:59 -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 05:06 .dockerignore 05:09:59 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 05:06 .git 05:09:59 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:06 .github 05:09:59 -rw-rw-r-- 1 jenkins jenkins 331 Aug 15 05:06 .gitignore 05:09:59 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 05:06 .golangci.yml 05:09:59 -rw-rw-r-- 1 jenkins jenkins 9744 Aug 15 05:06 Attribution.txt 05:09:59 -rw-rw-r-- 1 jenkins jenkins 10001 Aug 15 05:06 CHANGELOG.md 05:09:59 -rw-rw-r-- 1 jenkins jenkins 1550 Aug 15 05:06 Dockerfile 05:09:59 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 05:06 GOVERNANCE.md 05:09:59 -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 05:06 Jenkinsfile 05:09:59 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 05:06 LICENSE 05:09:59 -rw-rw-r-- 1 jenkins jenkins 1892 Aug 15 05:06 Makefile 05:09:59 -rw-rw-r-- 1 jenkins jenkins 622 Aug 15 05:06 OWNERS.md 05:09:59 -rw-rw-r-- 1 jenkins jenkins 3397 Aug 15 05:06 README.md 05:09:59 -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 05:04 VERSION 05:09:59 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:06 bin 05:09:59 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:06 cmd 05:09:59 -rw-r--r-- 1 jenkins jenkins 23241 Aug 15 05:09 coverage.out 05:09:59 -rw-rw-r-- 1 jenkins jenkins 3572 Aug 15 05:06 go.mod 05:09:59 -rw-rw-r-- 1 jenkins jenkins 37058 Aug 15 05:06 go.sum 05:09:59 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 05:06 internal 05:09:59 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 05:06 simulator 05:09:59 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 05:06 snap 05:09:59 -rw-rw-r-- 1 jenkins jenkins 229 Aug 15 05:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:59 + 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=f34201dff3c9d418dc6545b7c257665b66b00a63 --label arch=arm64 --label version=0.0.0 . 05:10:00 Sending build context to Docker daemon 3.203MB 05:10:00 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:10:00 Step 2/23 : FROM ${BASE} AS builder 05:10:00 ---> 6a849d8b2536 05:10:00 Step 3/23 : ARG MAKE='make build' 05:10:00 ---> Running in b438116d8ed9 05:10:00 Removing intermediate container b438116d8ed9 05:10:00 ---> 633a74f1e6e7 05:10:00 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:01 ---> Running in cb5162e878ff 05:10:03 Removing intermediate container cb5162e878ff 05:10:03 ---> 9deedd7f6a3f 05:10:03 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 05:10:03 ---> Running in 76031211aaec 05:10:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:10:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:10:06 OK: 228 MiB in 59 packages 05:10:06 Removing intermediate container 76031211aaec 05:10:06 ---> 04bdc7ba7846 05:10:06 Step 6/23 : WORKDIR /device-modbus-go 05:10:06 ---> Running in 7fe54366524b 05:10:07 Removing intermediate container 7fe54366524b 05:10:07 ---> 26f8dcee9d4e 05:10:07 Step 7/23 : COPY go.mod vendor* ./ 05:10:07 ---> 61f873d39343 05:10:07 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:07 ---> Running in de1d37486536 05:10:09 Removing intermediate container de1d37486536 05:10:09 ---> e37fdc95f292 05:10:09 Step 9/23 : COPY . . 05:10:10 ---> b53d1a0f0363 05:10:10 Step 10/23 : RUN ${MAKE} 05:10:10 ---> Running in 0aa05829a137 05:10:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 05:12:33 Removing intermediate container 0aa05829a137 05:12:33 ---> 5732e57c5857 05:12:33 Step 11/23 : FROM alpine:3.14 05:12:33 3.14: Pulling from library/alpine 05:12:33 90cda3b7c325: Pulling fs layer 05:12:33 90cda3b7c325: Verifying Checksum 05:12:33 90cda3b7c325: Download complete 05:12:33 90cda3b7c325: Pull complete 05:12:33 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 05:12:33 Status: Downloaded newer image for alpine:3.14 05:12:33 ---> 376ba31ae3da 05:12:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:12:33 ---> Running in 1a55765648ba 05:12:33 Removing intermediate container 1a55765648ba 05:12:33 ---> 73c658690f00 05:12:33 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:12:33 ---> Running in d68999ce00c3 05:12:33 Removing intermediate container d68999ce00c3 05:12:33 ---> 0a795a72dab1 05:12:33 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 05:12:33 ---> Running in 3688b0e2de58 05:12:33 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:12:33 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:12:33 (1/6) Installing dumb-init (1.2.5-r1) 05:12:33 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:12:33 (3/6) Installing libsodium (1.0.18-r0) 05:12:33 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:12:33 (5/6) Installing libzmq (4.3.4-r0) 05:12:33 (6/6) Installing zeromq (4.3.4-r0) 05:12:33 Executing busybox-1.33.1-r8.trigger 05:12:33 OK: 8 MiB in 20 packages 05:12:33 Removing intermediate container 3688b0e2de58 05:12:33 ---> 575b734c857b 05:12:33 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 05:12:34 ---> a213f23ab287 05:12:34 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 05:12:35 ---> b6129b77ffb5 05:12:35 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:12:35 ---> 4962537abfb5 05:12:35 Step 18/23 : EXPOSE 59901 05:12:35 ---> Running in 3161ba5b189a 05:12:35 Removing intermediate container 3161ba5b189a 05:12:35 ---> f9852231a7f7 05:12:35 Step 19/23 : ENTRYPOINT ["/device-modbus"] 05:12:35 ---> Running in ec8d16f97cfd 05:12:36 Removing intermediate container ec8d16f97cfd 05:12:36 ---> 972fcd5f2003 05:12:36 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:12:36 ---> Running in c3cb2b747e88 05:12:36 Removing intermediate container c3cb2b747e88 05:12:36 ---> e02bd704ea53 05:12:36 Step 21/23 : LABEL arch=arm64 05:12:36 ---> Running in 304ed2529ef9 05:12:37 Removing intermediate container 304ed2529ef9 05:12:37 ---> 3c1793f50cdd 05:12:37 Step 22/23 : LABEL git_sha=f34201dff3c9d418dc6545b7c257665b66b00a63 05:12:37 ---> Running in 9e276ab93100 05:12:37 Removing intermediate container 9e276ab93100 05:12:37 ---> 4313014d1af8 05:12:37 Step 23/23 : LABEL version=0.0.0 05:12:37 ---> Running in 90e97252f9b3 05:12:37 Removing intermediate container 90e97252f9b3 05:12:37 ---> 6e00a0588a2e 05:12:37 [Warning] One or more build-args [ARCH] were not consumed 05:12:37 Successfully built 6e00a0588a2e 05:12:37 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 05:12:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:38 05:12:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:39 arm64: Pulling from edgex-lftools-log-publisher 05:12:39 8998bd30e6a1: Pulling fs layer 05:12:39 04944245beec: Pulling fs layer 05:12:39 699f458cf7ca: Pulling fs layer 05:12:39 765212b225bb: Pulling fs layer 05:12:39 f23df028b6ca: Pulling fs layer 05:12:39 d65c8cfc05b1: Pulling fs layer 05:12:39 2437ff75d9bd: Pulling fs layer 05:12:39 765212b225bb: Waiting 05:12:39 f23df028b6ca: Waiting 05:12:39 d65c8cfc05b1: Waiting 05:12:39 2437ff75d9bd: Waiting 05:12:39 04944245beec: Verifying Checksum 05:12:39 04944245beec: Download complete 05:12:39 765212b225bb: Verifying Checksum 05:12:39 765212b225bb: Download complete 05:12:39 f23df028b6ca: Verifying Checksum 05:12:39 f23df028b6ca: Download complete 05:12:39 d65c8cfc05b1: Verifying Checksum 05:12:39 d65c8cfc05b1: Download complete 05:12:39 699f458cf7ca: Verifying Checksum 05:12:39 699f458cf7ca: Download complete 05:12:40 8998bd30e6a1: Verifying Checksum 05:12:40 8998bd30e6a1: Download complete 05:12:42 2437ff75d9bd: Verifying Checksum 05:12:42 2437ff75d9bd: Download complete 05:12:44 8998bd30e6a1: Pull complete 05:12:44 04944245beec: Pull complete 05:12:46 699f458cf7ca: Pull complete 05:12:46 765212b225bb: Pull complete 05:12:47 f23df028b6ca: Pull complete 05:12:47 d65c8cfc05b1: Pull complete 05:13:03 2437ff75d9bd: Pull complete 05:13:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:13:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:03 prd-ubuntu20.04-docker-arm64-4c-16g-22775 does not seem to be running inside a container 05:13:03 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:13:06 $ docker top 2e987a7ff100c67b1fa45dc68f6e770ef7d1ac7cad23c902cc28a6fc152e0280 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:07 ---> job-cost.sh 05:13:07 lf-activate-venv: SKIPPING 05:13:07 INFO: No Stack... 05:13:07 INFO: Retrieving Pricing Info for: v3-standard-4 05:13:08 INFO: Archiving Costs [Pipeline] sh 05:13:09 + cut -d, -f6 05:13:09 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:13:09 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] 05:13:09 Resource [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] did not exist. Created. 05:13:09 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:09 /w/workspace/device-modbus-go/1@tmp/durable-836e95c7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:10 + echo total: 0.10999999940395355 [Pipeline] stash 05:13:10 Warning: overwriting stash ‘stack-cost’ 05:13:10 Stashed 1 file(s) [Pipeline] } 05:13:10 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:10 $ docker stop --time=1 2e987a7ff100c67b1fa45dc68f6e770ef7d1ac7cad23c902cc28a6fc152e0280 05:13:12 $ docker rm -f 2e987a7ff100c67b1fa45dc68f6e770ef7d1ac7cad23c902cc28a6fc152e0280 [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 05:13:13 provisioning config files... 05:13:13 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/config5039167961110425431tmp [Pipeline] { [Pipeline] sh 05:13:13 + set +x 05:13:13 + curl -s https://codecov.io/bash 05:13:13 + bash -s -- 05:13:13 05:13:13 _____ _ 05:13:13 / ____| | | 05:13:13 | | ___ __| | ___ ___ _____ __ 05:13:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:13 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:13 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:13 Bash-1.0.6 05:13:13 05:13:13 05:13:13 ==> git version 2.25.1 found 05:13:13 ==> 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 05:13:13 Release-Date: 2020-01-08 05:13:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:13:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:13 ==> Jenkins CI detected. 05:13:13 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-368 05:13:13 project root: . 05:13:13 --> token set from env 05:13:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:13 ==> Running gcov in . (disable via -X gcov) 05:13:13 ==> Python coveragepy not found 05:13:13 ==> Searching for coverage reports in: 05:13:13 + . 05:13:14 -> Found 1 reports 05:13:14 ==> Detecting git/mercurial file structure 05:13:14 ==> Reading reports 05:13:14 + ./coverage.out bytes=23241 05:13:14 ==> Appending adjustments 05:13:14 https://docs.codecov.io/docs/fixing-reports 05:13:14 + Found adjustments 05:13:14 ==> Gzipping contents 05:13:14 4.0K /tmp/codecov.ZGNOqS.gz 05:13:14 ==> Uploading reports 05:13:14 url: https://codecov.io 05:13:14 query: branch=PR-368&commit=f34201dff3c9d418dc6545b7c257665b66b00a63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-368%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=368&job=&cmd_args= 05:13:14 -> Pinging Codecov 05:13:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-368&commit=f34201dff3c9d418dc6545b7c257665b66b00a63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-368%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=368&job=&cmd_args= 05:13:14 -> Uploading to 05:13:14 https://storage.googleapis.com/codecov/v4/raw/2022-08-15/55DBCA73C666E3227836607328DD7E49/f34201dff3c9d418dc6545b7c257665b66b00a63/7fdc2bd4-64dc-4a17-bb7a-5e634eb427aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T051314Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcdebccccbbaea08c4d0b98bf37a70a8b4ff539a0e9afa6059e571d1ddc21f53 05:13:14 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:14 Dload Upload Total Spent Left Speed 05:13:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3937 0 0 100 3937 0 16404 --:--:-- --:--:-- --:--:-- 16404 05:13:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/f34201dff3c9d418dc6545b7c257665b66b00a63 [Pipeline] } 05:13:14 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 05:13:16 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-368/archives ] 05:13:16 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-368/archives 05:13:16 total 16 05:13:16 drwxr-xr-x 3 root root 4096 Aug 15 05:05 . 05:13:16 drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 05:05 .. 05:13:16 drwxr-xr-x 2 root root 4096 Aug 15 05:05 cost 05:13:16 -rw-r--r-- 1 root root 88 Aug 15 05:05 cost.csv 05:13:16 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-368/archives 05:13:16 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-368/archives 05:13:16 total 16 05:13:16 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 05:05 . 05:13:16 drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 05:05 .. 05:13:16 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 05:05 cost 05:13:16 -rw-r--r-- 1 jenkins jenkins 88 Aug 15 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:17 ---> package-listing.sh 05:13:17 ++ facter osfamily 05:13:17 ++ tr '[:upper:]' '[:lower:]' 05:13:17 + OS_FAMILY=debian 05:13:17 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-368 05:13:17 + START_PACKAGES=/tmp/packages_start.txt 05:13:17 + END_PACKAGES=/tmp/packages_end.txt 05:13:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:17 + PACKAGES=/tmp/packages_start.txt 05:13:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-368 ']' 05:13:17 + PACKAGES=/tmp/packages_end.txt 05:13:17 + case "${OS_FAMILY}" in 05:13:17 + dpkg -l 05:13:17 + grep '^ii' 05:13:17 + '[' -f /tmp/packages_start.txt ']' 05:13:17 + '[' -f /tmp/packages_end.txt ']' 05:13:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:17 + '[' /w/workspace/xfoundry_device-modbus-go_PR-368 ']' 05:13:17 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-368/archives/ 05:13:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-368/archives/ [Pipeline] echo 05:13:17 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-368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:18 prd-ubuntu20.04-docker-8c-8g-22772 does not seem to be running inside a container 05:13:18 $ 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-368/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-368 -v /w/workspace/xfoundry_device-modbus-go_PR-368:/w/workspace/xfoundry_device-modbus-go_PR-368:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-368@tmp:/w/workspace/xfoundry_device-modbus-go_PR-368@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-lftools-log-publisher:latest cat 05:13:19 $ docker top 9c6a5eda81f03518eeb783592d24047062cdb21e37e7de41edde194f58f9c0b2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:19 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:19 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:20 + ls /var/log/sa-host 05:13:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:20 provisioning config files... 05:13:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-368@tmp/config2269237125313839716tmp [Pipeline] { [Pipeline] echo 05:13:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:20 ---> create-netrc.sh [Pipeline] } 05:13:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:21 ---> python-tools-install.sh [Pipeline] echo 05:13:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:21 ---> sudo-logs.sh 05:13:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:21 ---> job-cost.sh 05:13:21 lf-activate-venv: SKIPPING 05:13:21 DEBUG: total: 0.2199999988079071 05:13:21 INFO: Retrieving Stack Cost... 05:13:22 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:22 INFO: Archiving Costs [Pipeline] echo 05:13:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:40 ---> logs-deploy.sh 05:13:40 lf-activate-venv: SKIPPING 05:13:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-368/1 05:13:40 INFO: archiving workspace using pattern(s): 05:13:41 Archives upload complete. 05:13:41 INFO: archiving logs to Nexus 05:13:42 ---> uname -a: 05:13:42 Linux prd-ubuntu20-04-docker-8c-8g-22772 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 05:13:42 05:13:42 05:13:42 ---> lscpu: 05:13:42 Architecture: x86_64 05:13:42 CPU op-mode(s): 32-bit, 64-bit 05:13:42 Byte Order: Little Endian 05:13:42 Address sizes: 40 bits physical, 48 bits virtual 05:13:42 CPU(s): 8 05:13:42 On-line CPU(s) list: 0-7 05:13:42 Thread(s) per core: 1 05:13:42 Core(s) per socket: 1 05:13:42 Socket(s): 8 05:13:42 NUMA node(s): 1 05:13:42 Vendor ID: AuthenticAMD 05:13:42 CPU family: 23 05:13:42 Model: 49 05:13:42 Model name: AMD EPYC-Rome Processor 05:13:42 Stepping: 0 05:13:42 CPU MHz: 2799.998 05:13:42 BogoMIPS: 5599.99 05:13:42 Virtualization: AMD-V 05:13:42 Hypervisor vendor: KVM 05:13:42 Virtualization type: full 05:13:42 L1d cache: 256 KiB 05:13:42 L1i cache: 256 KiB 05:13:42 L2 cache: 4 MiB 05:13:42 L3 cache: 128 MiB 05:13:42 NUMA node0 CPU(s): 0-7 05:13:42 Vulnerability Itlb multihit: Not affected 05:13:42 Vulnerability L1tf: Not affected 05:13:42 Vulnerability Mds: Not affected 05:13:42 Vulnerability Meltdown: Not affected 05:13:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:13:42 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:13:42 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:13:42 Vulnerability Srbds: Not affected 05:13:42 Vulnerability Tsx async abort: Not affected 05:13:42 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 05:13:42 05:13:42 05:13:42 ---> nproc: 05:13:42 8 05:13:42 05:13:42 05:13:42 ---> df -h: 05:13:42 Filesystem Size Used Avail Use% Mounted on 05:13:42 overlay 155G 11G 145G 7% / 05:13:42 tmpfs 64M 0 64M 0% /dev 05:13:42 tmpfs 16G 0 16G 0% /sys/fs/cgroup 05:13:42 shm 64M 0 64M 0% /dev/shm 05:13:42 /dev/vda1 155G 11G 145G 7% /facter-os 05:13:42 05:13:42 05:13:42 ---> sar -b -r -n DEV: 05:13:42 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22772) 08/15/22 _x86_64_ (8 CPU) 05:13:42 05:13:42 05:03:10 LINUX RESTART (8 CPU) 05:13:42 05:13:42 05:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:13:42 05:05:01 171.93 3.88 168.05 0.00 384.53 125420.93 0.00 05:13:42 05:06:01 174.29 0.10 174.19 0.00 4.00 71687.17 0.00 05:13:42 05:07:01 1.68 0.00 1.68 0.00 0.00 23.75 0.00 05:13:42 05:08:01 1.62 0.00 1.62 0.00 0.00 18.26 0.00 05:13:42 05:09:01 2.45 0.18 2.27 0.00 18.40 27.20 0.00 05:13:42 05:10:01 1.58 0.00 1.58 0.00 0.00 18.40 0.00 05:13:42 05:11:01 2.50 0.87 1.63 0.00 18.39 23.73 0.00 05:13:42 05:12:01 1.92 0.00 1.92 0.00 0.00 22.26 0.00 05:13:42 05:13:02 0.97 0.00 0.97 0.00 0.00 11.33 0.00 05:13:42 Average: 39.88 0.56 39.32 0.00 47.25 21915.20 0.00 05:13:42 05:13:42 05:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:13:42 05:05:01 28172824 31686800 603512 1.84 160784 3546044 2050052 6.04 1313852 2930016 115704 05:13:42 05:06:01 27633492 31777668 512720 1.56 173620 4119136 1841796 5.43 1280848 3458588 380 05:13:42 05:07:01 27639760 31783944 506744 1.54 173648 4119140 1841796 5.43 1270956 3458592 20 05:13:42 05:08:01 27640096 31784352 506128 1.54 173684 4119140 1841796 5.43 1270852 3458592 24 05:13:42 05:09:01 27642384 31787736 502896 1.53 173740 4119700 1874584 5.52 1266220 3459540 16 05:13:42 05:10:01 27644012 31789448 501068 1.52 173780 4119700 1874584 5.52 1264768 3459540 20 05:13:42 05:11:01 27646532 31792812 497380 1.51 173856 4120216 1902148 5.61 1261108 3459996 168 05:13:42 05:12:01 27647028 31793356 496748 1.51 173900 4120212 1902148 5.61 1260588 3460000 28 05:13:42 05:13:02 27647484 31793820 496200 1.51 173924 4120220 1902148 5.61 1260288 3460000 12 05:13:42 Average: 27701512 31776660 513711 1.56 172326 4055945 1892339 5.58 1272164 3400540 12930 05:13:42 05:13:42 05:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:13:42 05:05:01 docker0 126.45 150.05 10.32 1535.77 0.00 0.00 0.00 0.00 05:13:42 05:05:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 05:13:42 05:05:01 ens3 356.80 273.38 5524.51 91.73 0.00 0.00 0.00 0.00 05:13:42 05:05:01 veth1b4ae54 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 05:13:42 05:06:01 docker0 17.76 22.36 1.04 92.72 0.00 0.00 0.00 0.00 05:13:42 05:06:01 lo 2.13 2.13 0.20 0.20 0.00 0.00 0.00 0.00 05:13:42 05:06:01 ens3 163.73 117.01 2683.95 66.98 0.00 0.00 0.00 0.00 05:13:42 05:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 05:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 05:07:01 ens3 1.28 0.67 0.10 0.06 0.00 0.00 0.00 0.00 05:13:42 05:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 05:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:13:42 05:08:01 ens3 1.02 0.72 0.38 0.29 0.00 0.00 0.00 0.00 05:13:42 05:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 05:09:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 05:13:42 05:09:01 ens3 0.35 0.32 0.18 0.09 0.00 0.00 0.00 0.00 05:13:42 05:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 05:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:13:42 05:10:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:13:42 05:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 05:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 05:11:01 ens3 1.02 0.55 2.35 0.22 0.00 0.00 0.00 0.00 05:13:42 05:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 05:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 05:13:42 05:12:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 05:13:42 05:13:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 05:13:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 05:13:02 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:13:42 Average: docker0 16.02 19.15 1.26 180.91 0.00 0.00 0.00 0.00 05:13:42 Average: lo 0.61 0.61 0.06 0.06 0.00 0.00 0.00 0.00 05:13:42 Average: ens3 58.27 43.65 912.30 17.71 0.00 0.00 0.00 0.00 05:13:42 05:13:42 05:13:42 ---> sar -P ALL: 05:13:42 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22772) 08/15/22 _x86_64_ (8 CPU) 05:13:42 05:13:42 05:03:10 LINUX RESTART (8 CPU) 05:13:42 05:13:42 05:04:01 CPU %user %nice %system %iowait %steal %idle 05:13:42 05:05:01 all 20.63 0.00 5.82 1.50 0.08 71.96 05:13:42 05:05:01 0 21.82 0.00 6.05 0.61 0.07 71.45 05:13:42 05:05:01 1 20.41 0.00 5.59 0.20 0.07 73.73 05:13:42 05:05:01 2 20.92 0.00 5.59 0.52 0.07 72.90 05:13:42 05:05:01 3 19.68 0.00 5.43 1.76 0.07 73.06 05:13:42 05:05:01 4 20.79 0.00 5.89 2.63 0.07 70.62 05:13:42 05:05:01 5 20.54 0.00 6.78 3.09 0.17 69.42 05:13:42 05:05:01 6 20.82 0.00 5.70 2.92 0.05 70.50 05:13:42 05:05:01 7 20.05 0.00 5.55 0.27 0.08 74.04 05:13:42 05:06:01 all 29.88 0.00 5.56 1.14 0.07 63.35 05:13:42 05:06:01 0 30.99 0.00 5.50 0.81 0.07 62.64 05:13:42 05:06:01 1 30.29 0.00 5.70 0.17 0.08 63.76 05:13:42 05:06:01 2 28.98 0.00 6.03 4.96 0.05 59.98 05:13:42 05:06:01 3 29.83 0.00 5.22 0.34 0.07 64.55 05:13:42 05:06:01 4 28.71 0.00 4.73 0.27 0.05 66.25 05:13:42 05:06:01 5 29.80 0.00 5.34 1.01 0.05 63.80 05:13:42 05:06:01 6 30.96 0.00 5.82 0.22 0.08 62.91 05:13:42 05:06:01 7 29.51 0.00 6.16 1.36 0.08 62.89 05:13:42 05:07:01 all 0.03 0.00 0.01 0.00 0.01 99.95 05:13:42 05:07:01 0 0.02 0.00 0.00 0.00 0.00 99.98 05:13:42 05:07:01 1 0.02 0.00 0.02 0.00 0.02 99.95 05:13:42 05:07:01 2 0.07 0.00 0.02 0.02 0.05 99.85 05:13:42 05:07:01 3 0.02 0.00 0.03 0.00 0.00 99.95 05:13:42 05:07:01 4 0.00 0.00 0.00 0.00 0.00 100.00 05:13:42 05:07:01 5 0.03 0.00 0.03 0.00 0.03 99.90 05:13:42 05:07:01 6 0.05 0.00 0.00 0.00 0.02 99.93 05:13:42 05:07:01 7 0.00 0.00 0.00 0.00 0.00 100.00 05:13:42 05:08:01 all 0.02 0.00 0.01 0.01 0.01 99.95 05:13:42 05:08:01 0 0.02 0.00 0.02 0.00 0.02 99.95 05:13:42 05:08:01 1 0.00 0.00 0.00 0.00 0.00 100.00 05:13:42 05:08:01 2 0.02 0.00 0.00 0.07 0.02 99.90 05:13:42 05:08:01 3 0.02 0.00 0.00 0.03 0.02 99.93 05:13:42 05:08:01 4 0.02 0.00 0.00 0.00 0.00 99.98 05:13:42 05:08:01 5 0.02 0.00 0.02 0.00 0.03 99.93 05:13:42 05:08:01 6 0.07 0.00 0.02 0.00 0.00 99.92 05:13:42 05:08:01 7 0.03 0.00 0.00 0.00 0.02 99.95 05:13:42 05:09:01 all 0.08 0.00 0.05 0.01 0.01 99.85 05:13:42 05:09:01 0 0.02 0.00 0.07 0.00 0.00 99.92 05:13:42 05:09:01 1 0.42 0.00 0.12 0.00 0.02 99.45 05:13:42 05:09:01 2 0.02 0.00 0.02 0.02 0.00 99.95 05:13:42 05:09:01 3 0.05 0.00 0.05 0.03 0.00 99.87 05:13:42 05:09:01 4 0.03 0.00 0.03 0.00 0.02 99.92 05:13:42 05:09:01 5 0.05 0.00 0.03 0.00 0.03 99.88 05:13:42 05:09:01 6 0.02 0.00 0.05 0.00 0.02 99.92 05:13:42 05:09:01 7 0.03 0.00 0.07 0.02 0.00 99.88 05:13:42 05:10:01 all 0.01 0.00 0.01 0.01 0.00 99.96 05:13:42 05:10:01 0 0.00 0.00 0.02 0.00 0.00 99.98 05:13:42 05:10:01 1 0.00 0.00 0.02 0.00 0.00 99.98 05:13:42 05:10:01 2 0.02 0.00 0.00 0.03 0.00 99.95 05:13:42 05:10:01 3 0.02 0.00 0.03 0.02 0.00 99.93 05:13:42 05:10:01 4 0.00 0.00 0.02 0.00 0.02 99.97 05:13:42 05:10:01 5 0.02 0.00 0.02 0.00 0.02 99.95 05:13:42 05:10:01 6 0.02 0.00 0.02 0.00 0.00 99.97 05:13:42 05:10:01 7 0.02 0.00 0.00 0.00 0.00 99.98 05:13:42 05:11:01 all 0.06 0.00 0.04 0.01 0.01 99.88 05:13:42 05:11:01 0 0.02 0.00 0.03 0.00 0.00 99.95 05:13:42 05:11:01 1 0.22 0.00 0.08 0.03 0.00 99.67 05:13:42 05:11:01 2 0.05 0.00 0.05 0.02 0.00 99.88 05:13:42 05:11:01 3 0.07 0.00 0.03 0.05 0.02 99.83 05:13:42 05:11:01 4 0.03 0.00 0.03 0.00 0.00 99.93 05:13:42 05:11:01 5 0.02 0.00 0.03 0.00 0.03 99.92 05:13:42 05:11:01 6 0.02 0.00 0.02 0.00 0.00 99.97 05:13:42 05:11:01 7 0.05 0.00 0.03 0.00 0.02 99.90 05:13:42 05:12:01 all 0.01 0.00 0.01 0.01 0.01 99.97 05:13:42 05:12:01 0 0.00 0.00 0.00 0.00 0.00 100.00 05:13:42 05:12:01 1 0.02 0.00 0.02 0.00 0.00 99.97 05:13:42 05:12:01 2 0.02 0.00 0.02 0.03 0.02 99.92 05:13:42 05:12:01 3 0.00 0.00 0.00 0.02 0.00 99.98 05:13:42 05:12:01 4 0.00 0.00 0.02 0.00 0.02 99.97 05:13:42 05:12:01 5 0.00 0.00 0.00 0.00 0.00 100.00 05:13:42 05:12:01 6 0.02 0.00 0.00 0.00 0.00 99.98 05:13:42 05:12:01 7 0.03 0.00 0.02 0.00 0.02 99.93 05:13:42 05:13:02 all 0.02 0.00 0.01 0.00 0.01 99.97 05:13:42 05:13:02 0 0.00 0.00 0.00 0.00 0.00 100.00 05:13:42 05:13:02 1 0.02 0.00 0.00 0.00 0.02 99.97 05:13:42 05:13:02 2 0.02 0.00 0.00 0.00 0.00 99.98 05:13:42 05:13:02 3 0.03 0.00 0.02 0.00 0.00 99.95 05:13:42 05:13:02 4 0.02 0.00 0.02 0.00 0.00 99.97 05:13:42 05:13:02 5 0.03 0.00 0.00 0.00 0.02 99.95 05:13:42 05:13:02 6 0.00 0.00 0.00 0.00 0.00 100.00 05:13:42 05:13:02 7 0.02 0.00 0.03 0.00 0.03 99.92 05:13:42 Average: all 5.59 0.00 1.27 0.30 0.02 92.82 05:13:42 Average: 0 5.83 0.00 1.29 0.16 0.02 92.71 05:13:42 Average: 1 5.66 0.00 1.27 0.04 0.02 93.00 05:13:42 Average: 2 5.50 0.00 1.29 0.62 0.02 92.57 05:13:42 Average: 3 5.47 0.00 1.19 0.25 0.02 93.07 05:13:42 Average: 4 5.47 0.00 1.18 0.32 0.02 93.01 05:13:42 Average: 5 5.57 0.00 1.35 0.45 0.04 92.58 05:13:42 Average: 6 5.72 0.00 1.28 0.35 0.02 92.64 05:13:42 Average: 7 5.47 0.00 1.30 0.18 0.03 93.01 05:13:42 05:13:42 05:13:42