Pull request #387 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-modbus-go Loading trusted files from base branch main at fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc rather than ea7c50db823aeb547d8670b347cdae8782e0fe4c Obtained Jenkinsfile from fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc 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-ssh7815430726786393008.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14946708690373796119.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh958098001399962879.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13437813766769557948.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7464343957049422337.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117290 in /w/workspace/xfoundry_device-modbus-go_PR-387 [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-387 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit ea7c50db823aeb547d8670b347cdae8782e0fe4c Merge succeeded, producing ea7c50db823aeb547d8670b347cdae8782e0fe4c Checking out Revision ea7c50db823aeb547d8670b347cdae8782e0fe4c (PR-387) > git config core.sparsecheckout # timeout=10 > git checkout -f ea7c50db823aeb547d8670b347cdae8782e0fe4c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea7c50db823aeb547d8670b347cdae8782e0fe4c # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T20:11:05.003Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T20:11:05.058Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T20:11:05.070Z] ========================================================= [2022-10-26T20:11:05.070Z] EdgeX Global Pipelines Version Info [2022-10-26T20:11:05.070Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:11:05.785Z] ------------------- [2022-10-26T20:11:05.785Z] stable info: [2022-10-26T20:11:05.785Z] ------------------- [2022-10-26T20:11:05.785Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T20:11:05.785Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:11:05.785Z] Message: update stable to v1.0.243 > git rev-list --no-walk cab30485145600e8ca5f7b38626c1c86f31feec3 # timeout=10 [2022-10-26T20:11:06.356Z] ------------------- [2022-10-26T20:11:06.356Z] experimental info: [2022-10-26T20:11:06.356Z] ------------------- [2022-10-26T20:11:06.356Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T20:11:06.356Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:11:06.356Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T20:11:06.570Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-26T20:11:06.584Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-26T20:11:06.601Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T20:11:06.618Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T20:11:06.633Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T20:11:06.644Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T20:11:06.658Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T20:11:06.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T20:11:06.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T20:11:06.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T20:11:06.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T20:11:06.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-26T20:11:06.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T20:11:06.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T20:11:06.756Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:11:06.768Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:11:06.779Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:11:06.790Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:11:06.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T20:11:06.813Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T20:11:06.827Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T20:11:06.844Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T20:11:06.856Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T20:11:06.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T20:11:06.877Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T20:11:06.888Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T20:11:06.899Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T20:11:06.912Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-387 [Pipeline] echo [2022-10-26T20:11:06.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-387 [Pipeline] echo [2022-10-26T20:11:06.934Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-387 [Pipeline] echo [2022-10-26T20:11:06.944Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea7c50db823aeb547d8670b347cdae8782e0fe4c [Pipeline] echo [2022-10-26T20:11:06.955Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea7c50d [Pipeline] echo [2022-10-26T20:11:06.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:11:07.010Z] provisioning config files... [2022-10-26T20:11:07.023Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config8279797261069173908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:11:07.324Z] ---> docker-login.sh [2022-10-26T20:11:07.324Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:11:07.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:11:07.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:11:07.846Z] Configure a credential helper to remove this warning. See [2022-10-26T20:11:07.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:11:07.846Z] [2022-10-26T20:11:07.846Z] Login Succeeded [2022-10-26T20:11:07.846Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:11:07.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:11:07.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:11:07.846Z] Configure a credential helper to remove this warning. See [2022-10-26T20:11:07.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:11:07.846Z] [2022-10-26T20:11:07.846Z] Login Succeeded [2022-10-26T20:11:07.846Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:11:07.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:11:08.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:11:08.105Z] Configure a credential helper to remove this warning. See [2022-10-26T20:11:08.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:11:08.105Z] [2022-10-26T20:11:08.105Z] Login Succeeded [2022-10-26T20:11:08.105Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:11:08.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:11:08.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:11:08.105Z] Configure a credential helper to remove this warning. See [2022-10-26T20:11:08.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:11:08.105Z] [2022-10-26T20:11:08.105Z] Login Succeeded [2022-10-26T20:11:08.105Z] docker.io [2022-10-26T20:11:08.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:11:08.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:11:08.673Z] Configure a credential helper to remove this warning. See [2022-10-26T20:11:08.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:11:08.673Z] [2022-10-26T20:11:08.673Z] Login Succeeded [2022-10-26T20:11:08.673Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:11:08.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T20:11:09.048Z] + git rev-list -1 --merges ea7c50db823aeb547d8670b347cdae8782e0fe4c~1..ea7c50db823aeb547d8670b347cdae8782e0fe4c [Pipeline] echo [2022-10-26T20:11:09.078Z] -----------> git rev-list -1 --merges ea7c50db823aeb547d8670b347cdae8782e0fe4c~1..ea7c50db823aeb547d8670b347cdae8782e0fe4c ea7c50db823aeb547d8670b347cdae8782e0fe4c [false] [Pipeline] sh [2022-10-26T20:11:09.365Z] + git log --format=format:%s -1 ea7c50db823aeb547d8670b347cdae8782e0fe4c [Pipeline] echo [2022-10-26T20:11:09.378Z] ========================================================= [2022-10-26T20:11:09.378Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T20:11:09.378Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:11:09.695Z] + git log --format=format:%s -1 ea7c50db823aeb547d8670b347cdae8782e0fe4c [Pipeline] echo [2022-10-26T20:11:09.705Z] [semverPrep] GIT_COMMIT: ea7c50db823aeb547d8670b347cdae8782e0fe4c, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo [2022-10-26T20:11:09.715Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T20:11:10.050Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:11:10.050Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T20:11:10.050Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T20:11:10.050Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T20:11:10.050Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T20:11:10.050Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T20:11:10.050Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:10.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:11:10.399Z] [2022-10-26T20:11:10.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:10.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:11:10.706Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T20:11:10.706Z] b85a868b505f: Pulling fs layer [2022-10-26T20:11:10.706Z] e2be974225ed: Pulling fs layer [2022-10-26T20:11:10.707Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T20:11:10.707Z] 988bab9f4d93: Pulling fs layer [2022-10-26T20:11:10.707Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T20:11:10.707Z] eaf3925da568: Pulling fs layer [2022-10-26T20:11:10.707Z] bab4dde63d76: Pulling fs layer [2022-10-26T20:11:10.707Z] bde34c3a00c8: Pulling fs layer [2022-10-26T20:11:10.707Z] b352a97aabf1: Pulling fs layer [2022-10-26T20:11:10.707Z] 4872d77fe225: Pulling fs layer [2022-10-26T20:11:10.707Z] 5851b861e8e6: Pulling fs layer [2022-10-26T20:11:10.707Z] 988bab9f4d93: Waiting [2022-10-26T20:11:10.707Z] 1469e6f7b9e6: Waiting [2022-10-26T20:11:10.707Z] eaf3925da568: Waiting [2022-10-26T20:11:10.707Z] b352a97aabf1: Waiting [2022-10-26T20:11:10.707Z] bab4dde63d76: Waiting [2022-10-26T20:11:10.707Z] 4872d77fe225: Waiting [2022-10-26T20:11:10.707Z] bde34c3a00c8: Waiting [2022-10-26T20:11:10.707Z] e2be974225ed: Verifying Checksum [2022-10-26T20:11:10.707Z] e2be974225ed: Download complete [2022-10-26T20:11:10.707Z] 988bab9f4d93: Verifying Checksum [2022-10-26T20:11:10.967Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T20:11:10.967Z] 1469e6f7b9e6: Download complete [2022-10-26T20:11:10.967Z] eaf3925da568: Verifying Checksum [2022-10-26T20:11:10.967Z] eaf3925da568: Download complete [2022-10-26T20:11:10.967Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T20:11:10.967Z] 339a4e72a1f5: Download complete [2022-10-26T20:11:10.967Z] bde34c3a00c8: Verifying Checksum [2022-10-26T20:11:10.967Z] bde34c3a00c8: Download complete [2022-10-26T20:11:10.967Z] b352a97aabf1: Verifying Checksum [2022-10-26T20:11:10.967Z] b352a97aabf1: Download complete [2022-10-26T20:11:10.967Z] 4872d77fe225: Verifying Checksum [2022-10-26T20:11:10.967Z] 4872d77fe225: Download complete [2022-10-26T20:11:10.967Z] 5851b861e8e6: Download complete [2022-10-26T20:11:10.967Z] b85a868b505f: Verifying Checksum [2022-10-26T20:11:10.967Z] b85a868b505f: Download complete [2022-10-26T20:11:11.226Z] bab4dde63d76: Verifying Checksum [2022-10-26T20:11:11.226Z] bab4dde63d76: Download complete [2022-10-26T20:11:12.606Z] b85a868b505f: Pull complete [2022-10-26T20:11:12.606Z] e2be974225ed: Pull complete [2022-10-26T20:11:12.864Z] 339a4e72a1f5: Pull complete [2022-10-26T20:11:13.123Z] 988bab9f4d93: Pull complete [2022-10-26T20:11:13.381Z] 1469e6f7b9e6: Pull complete [2022-10-26T20:11:13.381Z] eaf3925da568: Pull complete [2022-10-26T20:11:15.284Z] bab4dde63d76: Pull complete [2022-10-26T20:11:15.284Z] bde34c3a00c8: Pull complete [2022-10-26T20:11:15.284Z] b352a97aabf1: Pull complete [2022-10-26T20:11:15.546Z] 4872d77fe225: Pull complete [2022-10-26T20:11:15.546Z] 5851b861e8e6: Pull complete [2022-10-26T20:11:15.546Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T20:11:15.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:11:15.546Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:11:15.640Z] prd-ubuntu20.04-docker-8c-8g-117290 does not seem to be running inside a container [2022-10-26T20:11:15.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T20:11:17.045Z] $ docker top 368fd4b03230048169975745f1229c9bd5be1548fc15d5e1e238b93079cca83b -eo pid,comm [2022-10-26T20:11:17.105Z] 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). [2022-10-26T20:11:17.105Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:11:17.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:11:17.149Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:11:17.269Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:11:17.273Z] $ docker exec 368fd4b03230048169975745f1229c9bd5be1548fc15d5e1e238b93079cca83b ssh-agent [2022-10-26T20:11:17.394Z] SSH_AUTH_SOCK=/tmp/ssh-S5louxPkcxyn/agent.32 [2022-10-26T20:11:17.394Z] SSH_AGENT_PID=38 [2022-10-26T20:11:17.400Z] Running ssh-add (command line suppressed) [2022-10-26T20:11:17.503Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_17378401982241569832.key (/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_17378401982241569832.key) [2022-10-26T20:11:17.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:11:17.804Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T20:11:17.816Z] $ docker exec --env ******** --env ******** 368fd4b03230048169975745f1229c9bd5be1548fc15d5e1e238b93079cca83b ssh-agent -k [2022-10-26T20:11:17.925Z] unset SSH_AUTH_SOCK; [2022-10-26T20:11:17.926Z] unset SSH_AGENT_PID; [2022-10-26T20:11:17.926Z] echo Agent pid 38 killed; [2022-10-26T20:11:17.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T20:11:17.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:11:17.957Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:11:18.091Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:11:18.095Z] $ docker exec 368fd4b03230048169975745f1229c9bd5be1548fc15d5e1e238b93079cca83b ssh-agent [2022-10-26T20:11:18.196Z] SSH_AUTH_SOCK=/tmp/ssh-fi7LMhorytbK/agent.70 [2022-10-26T20:11:18.196Z] SSH_AGENT_PID=76 [2022-10-26T20:11:18.200Z] Running ssh-add (command line suppressed) [2022-10-26T20:11:18.329Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_14462967210267706591.key (/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/private_key_14462967210267706591.key) [2022-10-26T20:11:18.343Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:11:18.635Z] + git semver init [2022-10-26T20:11:18.893Z] 2022-10-26 20:11:18,827 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T20:11:18.893Z] 2022-10-26 20:11:18,828 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver [2022-10-26T20:11:18.893Z] 2022-10-26 20:11:18,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-387/.semver [2022-10-26T20:11:18.893Z] 2022-10-26 20:11:18,829 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-387/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387, universal_newlines=False, shell=None, istream=None) [2022-10-26T20:11:19.831Z] 2022-10-26 20:11:19,782 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-387/.git/info/exclude [2022-10-26T20:11:19.831Z] 2022-10-26 20:11:19,782 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 with force:False [2022-10-26T20:11:19.831Z] 2022-10-26 20:11:19,783 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 [2022-10-26T20:11:19.831Z] 2022-10-26 20:11:19,787 [execute] INFO git cat-file --batch-check [2022-10-26T20:11:19.831Z] 2022-10-26 20:11:19,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:11:19.831Z] 2022-10-26 20:11:19,794 [execute] INFO git cat-file --batch [2022-10-26T20:11:19.831Z] 2022-10-26 20:11:19,795 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-387/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:11:19.831Z] 2022-10-26 20:11:19,801 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-387/.semver/PR-387 [2022-10-26T20:11:19.831Z] 0.0.0 [Pipeline] } [2022-10-26T20:11:19.843Z] $ docker exec --env ******** --env ******** 368fd4b03230048169975745f1229c9bd5be1548fc15d5e1e238b93079cca83b ssh-agent -k [2022-10-26T20:11:19.948Z] unset SSH_AUTH_SOCK; [2022-10-26T20:11:19.949Z] unset SSH_AGENT_PID; [2022-10-26T20:11:19.949Z] echo Agent pid 76 killed; [2022-10-26T20:11:19.963Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:11:20.266Z] + git semver [Pipeline] } [2022-10-26T20:11:20.540Z] $ docker stop --time=1 368fd4b03230048169975745f1229c9bd5be1548fc15d5e1e238b93079cca83b [2022-10-26T20:11:21.900Z] $ docker rm -f 368fd4b03230048169975745f1229c9bd5be1548fc15d5e1e238b93079cca83b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:11:22.242Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T20:11:22.417Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T20:11:22.420Z] [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 [2022-10-26T20:11:22.575Z] provisioning config files... [2022-10-26T20:11:22.585Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config14012309427052046749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:11:22.884Z] ---> docker-login.sh [2022-10-26T20:11:22.885Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:11:22.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:11:22.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:11:22.885Z] Configure a credential helper to remove this warning. See [2022-10-26T20:11:22.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:11:22.885Z] [2022-10-26T20:11:22.885Z] Login Succeeded [2022-10-26T20:11:22.885Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:11:22.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:11:22.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:11:22.885Z] Configure a credential helper to remove this warning. See [2022-10-26T20:11:22.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:11:22.885Z] [2022-10-26T20:11:22.885Z] Login Succeeded [2022-10-26T20:11:23.149Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:11:23.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:11:23.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:11:23.149Z] Configure a credential helper to remove this warning. See [2022-10-26T20:11:23.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:11:23.149Z] [2022-10-26T20:11:23.149Z] Login Succeeded [2022-10-26T20:11:23.149Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:11:23.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:11:23.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:11:23.149Z] Configure a credential helper to remove this warning. See [2022-10-26T20:11:23.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:11:23.149Z] [2022-10-26T20:11:23.149Z] Login Succeeded [2022-10-26T20:11:23.149Z] docker.io [2022-10-26T20:11:23.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:11:23.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:11:23.669Z] Configure a credential helper to remove this warning. See [2022-10-26T20:11:23.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:11:23.669Z] [2022-10-26T20:11:23.669Z] Login Succeeded [2022-10-26T20:11:23.669Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:11:23.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:11:23.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:11:23.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:11:23.769Z] ========================================================= [2022-10-26T20:11:23.769Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T20:11:23.769Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:24.084Z] + 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 . [2022-10-26T20:11:24.085Z] Sending build context to Docker daemon 6.24MB [2022-10-26T20:11:24.085Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:11:24.085Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T20:11:24.085Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T20:11:24.085Z] 213ec9aee27d: Pulling fs layer [2022-10-26T20:11:24.085Z] 4583459ba037: Pulling fs layer [2022-10-26T20:11:24.085Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T20:11:24.085Z] 53926ce57604: Pulling fs layer [2022-10-26T20:11:24.085Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T20:11:24.085Z] 30f14e443154: Pulling fs layer [2022-10-26T20:11:24.085Z] 801331c1e519: Pulling fs layer [2022-10-26T20:11:24.085Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T20:11:24.085Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T20:11:24.085Z] 801331c1e519: Waiting [2022-10-26T20:11:24.085Z] 53926ce57604: Waiting [2022-10-26T20:11:24.085Z] 21b2b0c7a3f4: Waiting [2022-10-26T20:11:24.085Z] 30f14e443154: Waiting [2022-10-26T20:11:24.085Z] 7d9ed39f4882: Waiting [2022-10-26T20:11:24.085Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T20:11:24.085Z] 93c1e223e6f2: Download complete [2022-10-26T20:11:24.085Z] 4583459ba037: Verifying Checksum [2022-10-26T20:11:24.085Z] 4583459ba037: Download complete [2022-10-26T20:11:24.347Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T20:11:24.347Z] 21b2b0c7a3f4: Download complete [2022-10-26T20:11:24.347Z] 30f14e443154: Download complete [2022-10-26T20:11:24.347Z] 213ec9aee27d: Verifying Checksum [2022-10-26T20:11:24.347Z] 213ec9aee27d: Download complete [2022-10-26T20:11:24.347Z] 801331c1e519: Verifying Checksum [2022-10-26T20:11:24.347Z] 801331c1e519: Download complete [2022-10-26T20:11:24.347Z] 213ec9aee27d: Pull complete [2022-10-26T20:11:24.613Z] 4583459ba037: Pull complete [2022-10-26T20:11:24.613Z] 93c1e223e6f2: Pull complete [2022-10-26T20:11:24.873Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T20:11:24.873Z] 7d9ed39f4882: Download complete [2022-10-26T20:11:24.873Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T20:11:24.873Z] 99cc6dd402b0: Download complete [2022-10-26T20:11:25.132Z] 53926ce57604: Verifying Checksum [2022-10-26T20:11:25.132Z] 53926ce57604: Download complete [2022-10-26T20:11:29.313Z] 53926ce57604: Pull complete [2022-10-26T20:11:29.313Z] 21b2b0c7a3f4: Pull complete [2022-10-26T20:11:29.313Z] 30f14e443154: Pull complete [2022-10-26T20:11:29.313Z] 801331c1e519: Pull complete [2022-10-26T20:11:31.217Z] 99cc6dd402b0: Pull complete [2022-10-26T20:11:32.149Z] 7d9ed39f4882: Pull complete [2022-10-26T20:11:32.149Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T20:11:32.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T20:11:32.149Z] ---> 1dedd983c030 [2022-10-26T20:11:32.149Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:11:34.055Z] ---> Running in 7cd163041bcc [2022-10-26T20:11:34.055Z] Removing intermediate container 7cd163041bcc [2022-10-26T20:11:34.055Z] ---> 62ce4bc8f85e [2022-10-26T20:11:34.055Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:11:34.055Z] ---> Running in 375405e0ede8 [2022-10-26T20:11:34.055Z] Removing intermediate container 375405e0ede8 [2022-10-26T20:11:34.055Z] ---> d9e8ec7e40a9 [2022-10-26T20:11:34.055Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:11:34.055Z] ---> Running in 6f1aab489293 [2022-10-26T20:11:34.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:11:34.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:11:34.573Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:11:34.573Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-26T20:11:34.573Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:11:34.573Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:11:34.573Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-26T20:11:34.573Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-26T20:11:34.573Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-26T20:11:34.573Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-26T20:11:34.868Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:11:34.868Z] OK: 217 MiB in 59 packages [2022-10-26T20:11:35.127Z] Removing intermediate container 6f1aab489293 [2022-10-26T20:11:35.127Z] ---> b1c18336d1ba [2022-10-26T20:11:35.127Z] Step 6/10 : WORKDIR /device-modbus-go [2022-10-26T20:11:35.385Z] ---> Running in 474a81deaa83 [2022-10-26T20:11:35.385Z] Removing intermediate container 474a81deaa83 [2022-10-26T20:11:35.385Z] ---> a83960524dc7 [2022-10-26T20:11:35.385Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T20:11:35.385Z] ---> 266a8a593eeb [2022-10-26T20:11:35.385Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:11:35.644Z] ---> Running in a4cbacc23549 [2022-10-26T20:11:37.536Z] Still waiting to schedule task [2022-10-26T20:11:37.536Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:11:53.745Z] Removing intermediate container a4cbacc23549 [2022-10-26T20:11:53.745Z] ---> 25df22cca690 [2022-10-26T20:11:53.745Z] Step 9/10 : COPY . . [2022-10-26T20:11:53.745Z] ---> 3aff30887c90 [2022-10-26T20:11:53.745Z] Step 10/10 : RUN ${MAKE} [2022-10-26T20:11:53.745Z] ---> Running in 5470ca369c3c [2022-10-26T20:11:53.745Z] noop [2022-10-26T20:11:53.745Z] Removing intermediate container 5470ca369c3c [2022-10-26T20:11:53.745Z] ---> adaf11a44c64 [2022-10-26T20:11:53.745Z] Successfully built adaf11a44c64 [2022-10-26T20:11:53.745Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:54.047Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:11:54.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:11:54.104Z] prd-ubuntu20.04-docker-8c-8g-117290 does not seem to be running inside a container [2022-10-26T20:11:54.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:11:54.532Z] $ docker top dd61a2020eeac03cf73e47d143c5f515e74aef4085a217c40481f9c12068c3bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:11:54.869Z] + go version [2022-10-26T20:11:54.869Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T20:11:54.880Z] $ docker stop --time=1 dd61a2020eeac03cf73e47d143c5f515e74aef4085a217c40481f9c12068c3bd [2022-10-26T20:11:56.233Z] $ docker rm -f dd61a2020eeac03cf73e47d143c5f515e74aef4085a217c40481f9c12068c3bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:56.645Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:11:56.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:11:56.712Z] prd-ubuntu20.04-docker-8c-8g-117290 does not seem to be running inside a container [2022-10-26T20:11:56.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:11:57.068Z] $ docker top 7b1e8198cc25fef00c96a7d1c8b2c4c03877fd0d58113484072723611b237136 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:11:57.409Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-387 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:11:57.705Z] + make test [2022-10-26T20:11:57.705Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:11:57.963Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-26T20:12:07.927Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-26T20:12:07.927Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2022-10-26T20:12:13.185Z] 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." [2022-10-26T20:12:13.185Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:12:16.463Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:12:16.463Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:12:16.463Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:12:16.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:12:16.484Z] $ docker stop --time=1 7b1e8198cc25fef00c96a7d1c8b2c4c03877fd0d58113484072723611b237136 [2022-10-26T20:12:18.401Z] $ docker rm -f 7b1e8198cc25fef00c96a7d1c8b2c4c03877fd0d58113484072723611b237136 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:12:18.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:12:18.860Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T20:12:19.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:12:19.574Z] + ls -al . [2022-10-26T20:12:19.574Z] total 196 [2022-10-26T20:12:19.574Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:11 . [2022-10-26T20:12:19.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:10 .. [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 20:11 .dockerignore [2022-10-26T20:12:19.574Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:12 .git [2022-10-26T20:12:19.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:11 .github [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 20:11 .gitignore [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:11 .golangci.yml [2022-10-26T20:12:19.574Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:11 .semver [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 20:11 Attribution.txt [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 20:11 CHANGELOG.md [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 1517 Oct 26 20:11 Dockerfile [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:11 GOVERNANCE.md [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:11 Jenkinsfile [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:11 LICENSE [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 20:11 Makefile [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:11 OWNERS.md [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 20:11 README.md [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:11 VERSION [2022-10-26T20:12:19.574Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:11 bin [2022-10-26T20:12:19.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:11 cmd [2022-10-26T20:12:19.574Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 20:12 coverage.out [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 20:11 go.mod [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 45309 Oct 26 20:11 go.sum [2022-10-26T20:12:19.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:11 internal [2022-10-26T20:12:19.574Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:11 simulator [2022-10-26T20:12:19.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:11 snap [2022-10-26T20:12:19.574Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 20:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:12:19.873Z] + 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=ea7c50db823aeb547d8670b347cdae8782e0fe4c --label arch=amd64 --label version=0.0.0 . [2022-10-26T20:12:19.873Z] Sending build context to Docker daemon 6.264MB [2022-10-26T20:12:19.873Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:12:19.873Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T20:12:19.873Z] ---> adaf11a44c64 [2022-10-26T20:12:19.873Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:12:19.873Z] ---> Running in b581bd0a9223 [2022-10-26T20:12:20.131Z] Removing intermediate container b581bd0a9223 [2022-10-26T20:12:20.131Z] ---> 128606ebbf3a [2022-10-26T20:12:20.131Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:12:20.131Z] ---> Running in 0cbbf9e7ec32 [2022-10-26T20:12:20.131Z] Removing intermediate container 0cbbf9e7ec32 [2022-10-26T20:12:20.131Z] ---> 36924e671358 [2022-10-26T20:12:20.131Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:12:20.131Z] ---> Running in a65894116748 [2022-10-26T20:12:20.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:12:20.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:12:20.650Z] OK: 217 MiB in 59 packages [2022-10-26T20:12:20.908Z] Removing intermediate container a65894116748 [2022-10-26T20:12:20.908Z] ---> 082cb46feedf [2022-10-26T20:12:20.908Z] Step 6/23 : WORKDIR /device-modbus-go [2022-10-26T20:12:21.166Z] ---> Running in 2245d7a597e1 [2022-10-26T20:12:21.166Z] Removing intermediate container 2245d7a597e1 [2022-10-26T20:12:21.166Z] ---> 5aad383e3e05 [2022-10-26T20:12:21.166Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T20:12:21.166Z] ---> 960d64f50d67 [2022-10-26T20:12:21.166Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:12:21.166Z] ---> Running in ef90bb0ccd3e [2022-10-26T20:12:22.098Z] Removing intermediate container ef90bb0ccd3e [2022-10-26T20:12:22.098Z] ---> b9318f0755e6 [2022-10-26T20:12:22.098Z] Step 9/23 : COPY . . [2022-10-26T20:12:22.098Z] ---> 38c48476f055 [2022-10-26T20:12:22.098Z] Step 10/23 : RUN ${MAKE} [2022-10-26T20:12:22.357Z] ---> Running in f058b4376cd1 [2022-10-26T20:12:22.614Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-26T20:12:44.532Z] Removing intermediate container f058b4376cd1 [2022-10-26T20:12:44.532Z] ---> 8235945cc0fa [2022-10-26T20:12:44.532Z] Step 11/23 : FROM alpine:3.14 [2022-10-26T20:12:44.532Z] 3.14: Pulling from library/alpine [2022-10-26T20:12:44.532Z] c7ed990a2339: Pulling fs layer [2022-10-26T20:12:44.532Z] c7ed990a2339: Verifying Checksum [2022-10-26T20:12:44.532Z] c7ed990a2339: Download complete [2022-10-26T20:12:44.532Z] c7ed990a2339: Pull complete [2022-10-26T20:12:44.532Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-26T20:12:44.532Z] Status: Downloaded newer image for alpine:3.14 [2022-10-26T20:12:44.532Z] ---> dd53f409bf0b [2022-10-26T20:12:44.532Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-26T20:12:44.532Z] ---> Running in 65567db08d2c [2022-10-26T20:12:44.532Z] Removing intermediate container 65567db08d2c [2022-10-26T20:12:44.532Z] ---> e1cd87b1f7a0 [2022-10-26T20:12:44.532Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T20:12:44.532Z] ---> Running in 1479993887d0 [2022-10-26T20:12:44.532Z] Removing intermediate container 1479993887d0 [2022-10-26T20:12:44.532Z] ---> 2ad7b1df61ec [2022-10-26T20:12:44.532Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:12:44.532Z] ---> Running in cdaef4334e65 [2022-10-26T20:12:44.532Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:12:44.791Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:12:45.431Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:12:45.691Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-26T20:12:46.260Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:12:46.518Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-26T20:12:47.086Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:12:47.346Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:12:47.605Z] Executing busybox-1.33.1-r8.trigger [2022-10-26T20:12:47.605Z] OK: 8 MiB in 20 packages [2022-10-26T20:12:48.173Z] Removing intermediate container cdaef4334e65 [2022-10-26T20:12:48.173Z] ---> da2cf83df241 [2022-10-26T20:12:48.173Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-10-26T20:12:48.741Z] ---> 9501450ecc0d [2022-10-26T20:12:48.741Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-26T20:12:48.741Z] ---> 627a529268de [2022-10-26T20:12:48.741Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-26T20:12:48.999Z] ---> d921f9214d86 [2022-10-26T20:12:48.999Z] Step 18/23 : EXPOSE 59901 [2022-10-26T20:12:48.999Z] ---> Running in 977bbe065fee [2022-10-26T20:12:48.999Z] Removing intermediate container 977bbe065fee [2022-10-26T20:12:48.999Z] ---> 47d264312ff2 [2022-10-26T20:12:49.000Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-10-26T20:12:49.260Z] ---> Running in 53cfcd673fd8 [2022-10-26T20:12:49.260Z] Removing intermediate container 53cfcd673fd8 [2022-10-26T20:12:49.260Z] ---> 1b3f0c47193e [2022-10-26T20:12:49.260Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:12:49.260Z] ---> Running in 1dc2b3bc01f3 [2022-10-26T20:12:49.260Z] Removing intermediate container 1dc2b3bc01f3 [2022-10-26T20:12:49.260Z] ---> 20577dddabaf [2022-10-26T20:12:49.260Z] Step 21/23 : LABEL arch=amd64 [2022-10-26T20:12:49.522Z] ---> Running in 30c32bca8775 [2022-10-26T20:12:49.522Z] Removing intermediate container 30c32bca8775 [2022-10-26T20:12:49.522Z] ---> b8c4d68925ed [2022-10-26T20:12:49.522Z] Step 22/23 : LABEL git_sha=ea7c50db823aeb547d8670b347cdae8782e0fe4c [2022-10-26T20:12:49.522Z] ---> Running in 477e3acd0041 [2022-10-26T20:12:49.522Z] Removing intermediate container 477e3acd0041 [2022-10-26T20:12:49.522Z] ---> 6b8cc5bcef76 [2022-10-26T20:12:49.522Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T20:12:49.522Z] ---> Running in 73d03ad73241 [2022-10-26T20:12:49.781Z] Removing intermediate container 73d03ad73241 [2022-10-26T20:12:49.781Z] ---> 4f1a6449dbee [2022-10-26T20:12:49.781Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:12:49.781Z] Successfully built 4f1a6449dbee [2022-10-26T20:12:49.781Z] 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 [2022-10-26T20:12:50.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:12:50.225Z] [2022-10-26T20:12:50.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:12:50.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:12:50.528Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T20:12:50.528Z] 5eb5b503b376: Pulling fs layer [2022-10-26T20:12:50.528Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T20:12:50.528Z] ec43610c2a17: Pulling fs layer [2022-10-26T20:12:50.528Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T20:12:50.528Z] 33b1e0a273af: Pulling fs layer [2022-10-26T20:12:50.528Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T20:12:50.528Z] 2f39f015ded8: Pulling fs layer [2022-10-26T20:12:50.528Z] 33b1e0a273af: Waiting [2022-10-26T20:12:50.528Z] 3a2ae6a8a46f: Waiting [2022-10-26T20:12:50.528Z] 5d3b04190fa2: Waiting [2022-10-26T20:12:50.528Z] 2f39f015ded8: Waiting [2022-10-26T20:12:50.528Z] 5c69ac0246d0: Download complete [2022-10-26T20:12:50.528Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T20:12:50.528Z] 3a2ae6a8a46f: Download complete [2022-10-26T20:12:50.798Z] 33b1e0a273af: Verifying Checksum [2022-10-26T20:12:50.798Z] 33b1e0a273af: Download complete [2022-10-26T20:12:50.798Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T20:12:50.798Z] 5d3b04190fa2: Download complete [2022-10-26T20:12:50.798Z] ec43610c2a17: Verifying Checksum [2022-10-26T20:12:50.798Z] ec43610c2a17: Download complete [2022-10-26T20:12:51.065Z] 5eb5b503b376: Verifying Checksum [2022-10-26T20:12:51.065Z] 5eb5b503b376: Download complete [2022-10-26T20:12:51.633Z] 2f39f015ded8: Download complete [2022-10-26T20:12:52.199Z] 5eb5b503b376: Pull complete [2022-10-26T20:12:52.199Z] 5c69ac0246d0: Pull complete [2022-10-26T20:12:52.763Z] ec43610c2a17: Pull complete [2022-10-26T20:12:52.763Z] 3a2ae6a8a46f: Pull complete [2022-10-26T20:12:52.763Z] 33b1e0a273af: Pull complete [2022-10-26T20:12:53.021Z] 5d3b04190fa2: Pull complete [2022-10-26T20:12:57.207Z] 2f39f015ded8: Pull complete [2022-10-26T20:12:57.207Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T20:12:57.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:12:57.207Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:12:57.276Z] prd-ubuntu20.04-docker-8c-8g-117290 does not seem to be running inside a container [2022-10-26T20:12:57.303Z] $ 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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:12:59.193Z] $ docker top 2cbb3227ee4835d614495e7bcfccf93894fbfe14cd499014b878f1fe4637ee3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:12:59.569Z] ---> job-cost.sh [2022-10-26T20:12:59.569Z] lf-activate-venv: SKIPPING [2022-10-26T20:12:59.569Z] INFO: No Stack... [2022-10-26T20:12:59.827Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:13:00.087Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:13:00.379Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-387/archives/cost.csv [2022-10-26T20:13:00.379Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:13:00.392Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-387-5-stack-cost] [2022-10-26T20:13:00.401Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-387-5-stack-cost] did not exist. Created. [2022-10-26T20:13:00.401Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-387-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:13:00.708Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T20:13:00.739Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:13:00.745Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-387-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:13:00.762Z] $ docker stop --time=1 2cbb3227ee4835d614495e7bcfccf93894fbfe14cd499014b878f1fe4637ee3c [2022-10-26T20:13:01.938Z] $ docker rm -f 2cbb3227ee4835d614495e7bcfccf93894fbfe14cd499014b878f1fe4637ee3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T20:14:30.177Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117296 in /w/workspace/xfoundry_device-modbus-go_PR-387 [Pipeline] { [Pipeline] ws [2022-10-26T20:14:30.191Z] Running in /w/workspace/device-modbus-go/5 [Pipeline] { [Pipeline] checkout [2022-10-26T20:14:30.226Z] Selected Git installation does not exist. Using Default [2022-10-26T20:14:30.226Z] The recommended git tool is: NONE [2022-10-26T20:14:36.272Z] using credential edgex-jenkins-ssh [2022-10-26T20:14:36.292Z] Cloning the remote Git repository [2022-10-26T20:14:36.342Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T20:14:36.419Z] > git init /w/workspace/device-modbus-go/5 # timeout=10 [2022-10-26T20:14:36.588Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T20:14:36.589Z] > git --version # timeout=10 [2022-10-26T20:14:36.613Z] > git --version # 'git version 2.25.1' [2022-10-26T20:14:36.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:14:36.664Z] Verifying host key using known hosts file [2022-10-26T20:14:36.915Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T20:14:36.927Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:14:38.755Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-26T20:14:38.778Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:14:40.486Z] Merging remotes/origin/main commit fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc into PR head commit ea7c50db823aeb547d8670b347cdae8782e0fe4c [2022-10-26T20:14:39.738Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-26T20:14:39.795Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-26T20:14:39.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:14:39.802Z] Verifying host key using known hosts file [2022-10-26T20:14:39.810Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T20:14:39.822Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/387/head:refs/remotes/origin/PR-387 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T20:14:40.776Z] Merge succeeded, producing ea7c50db823aeb547d8670b347cdae8782e0fe4c [2022-10-26T20:14:40.777Z] Checking out Revision ea7c50db823aeb547d8670b347cdae8782e0fe4c (PR-387) [2022-10-26T20:14:40.513Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:14:40.536Z] > git checkout -f ea7c50db823aeb547d8670b347cdae8782e0fe4c # timeout=10 [2022-10-26T20:14:40.657Z] > git remote # timeout=10 [2022-10-26T20:14:40.679Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T20:14:40.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:14:40.708Z] Verifying host key using known hosts file [2022-10-26T20:14:40.712Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T20:14:40.726Z] > git merge fda9d1ea1beae025ec627ac6a2e5bcc8b822e5cc # timeout=10 [2022-10-26T20:14:40.756Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T20:14:40.788Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:14:40.808Z] > git checkout -f ea7c50db823aeb547d8670b347cdae8782e0fe4c # timeout=10 [2022-10-26T20:14:44.442Z] Commit message: "build: Latest go-mods, config and Dockerfile fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:14:45.321Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T20:14:45.321Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:14:45.321Z] Dload Upload Total Spent Left Speed [2022-10-26T20:14:45.321Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2022-10-26T20:14:46.060Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T20:14:46.399Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T20:14:46.399Z] + sudo tee /etc/docker/daemon.new [2022-10-26T20:14:46.399Z] { [2022-10-26T20:14:46.399Z] "registry-mirrors": [ [2022-10-26T20:14:46.399Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T20:14:46.399Z] ], [2022-10-26T20:14:46.399Z] "bip": "10.250.0.254/24", [2022-10-26T20:14:46.399Z] "hosts": [ [2022-10-26T20:14:46.399Z] "tcp://0.0.0.0:5555", [2022-10-26T20:14:46.399Z] "unix:///var/run/docker.sock" [2022-10-26T20:14:46.399Z] ], [2022-10-26T20:14:46.400Z] "mtu": 1458, [2022-10-26T20:14:46.400Z] "selinux-enabled": true, [2022-10-26T20:14:46.400Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T20:14:46.400Z] } [Pipeline] sh [2022-10-26T20:14:46.741Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T20:14:47.072Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:15:05.361Z] provisioning config files... [2022-10-26T20:15:05.392Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/5@tmp/config4097778653448434346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:15:05.769Z] ---> docker-login.sh [2022-10-26T20:15:05.769Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:15:06.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:15:06.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:15:06.361Z] Configure a credential helper to remove this warning. See [2022-10-26T20:15:06.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:15:06.361Z] [2022-10-26T20:15:06.361Z] Login Succeeded [2022-10-26T20:15:06.361Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:15:06.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:15:06.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:15:06.952Z] Configure a credential helper to remove this warning. See [2022-10-26T20:15:06.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:15:06.952Z] [2022-10-26T20:15:06.952Z] Login Succeeded [2022-10-26T20:15:06.952Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:15:07.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:15:07.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:15:07.224Z] Configure a credential helper to remove this warning. See [2022-10-26T20:15:07.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:15:07.224Z] [2022-10-26T20:15:07.224Z] Login Succeeded [2022-10-26T20:15:07.224Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:15:07.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:15:07.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:15:07.783Z] Configure a credential helper to remove this warning. See [2022-10-26T20:15:07.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:15:07.783Z] [2022-10-26T20:15:07.783Z] Login Succeeded [2022-10-26T20:15:07.783Z] docker.io [2022-10-26T20:15:08.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:15:08.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:15:08.325Z] Configure a credential helper to remove this warning. See [2022-10-26T20:15:08.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:15:08.325Z] [2022-10-26T20:15:08.325Z] Login Succeeded [2022-10-26T20:15:08.325Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:15:08.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:15:08.517Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:15:08.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:15:08.543Z] ========================================================= [2022-10-26T20:15:08.543Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T20:15:08.543Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:15:08.893Z] + 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 . [2022-10-26T20:15:09.161Z] Sending build context to Docker daemon 3.265MB [2022-10-26T20:15:09.161Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:15:09.161Z] Step 2/10 : FROM ${BASE} AS builder [2022-10-26T20:15:09.443Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T20:15:09.443Z] 9b18e9b68314: Pulling fs layer [2022-10-26T20:15:09.443Z] d32db5db7311: Pulling fs layer [2022-10-26T20:15:09.443Z] d0c4b47475fc: Pulling fs layer [2022-10-26T20:15:09.443Z] 5831b945b038: Pulling fs layer [2022-10-26T20:15:09.443Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T20:15:09.443Z] e10730c5d714: Pulling fs layer [2022-10-26T20:15:09.443Z] 5dd5c2283517: Pulling fs layer [2022-10-26T20:15:09.443Z] d5ac0230b979: Pulling fs layer [2022-10-26T20:15:09.443Z] 5831b945b038: Waiting [2022-10-26T20:15:09.443Z] 86bbec2aaacd: Waiting [2022-10-26T20:15:09.443Z] e10730c5d714: Waiting [2022-10-26T20:15:09.443Z] 5dd5c2283517: Waiting [2022-10-26T20:15:09.443Z] d5ac0230b979: Waiting [2022-10-26T20:15:09.443Z] d0c4b47475fc: Verifying Checksum [2022-10-26T20:15:09.443Z] d0c4b47475fc: Download complete [2022-10-26T20:15:09.443Z] d32db5db7311: Verifying Checksum [2022-10-26T20:15:09.443Z] d32db5db7311: Download complete [2022-10-26T20:15:09.443Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T20:15:09.443Z] 86bbec2aaacd: Download complete [2022-10-26T20:15:09.443Z] e10730c5d714: Verifying Checksum [2022-10-26T20:15:09.443Z] e10730c5d714: Download complete [2022-10-26T20:15:09.443Z] 9b18e9b68314: Download complete [2022-10-26T20:15:10.877Z] 9b18e9b68314: Pull complete [2022-10-26T20:15:10.877Z] d5ac0230b979: Verifying Checksum [2022-10-26T20:15:10.877Z] d5ac0230b979: Download complete [2022-10-26T20:15:11.150Z] d32db5db7311: Pull complete [2022-10-26T20:15:11.752Z] d0c4b47475fc: Pull complete [2022-10-26T20:15:12.025Z] 5dd5c2283517: Verifying Checksum [2022-10-26T20:15:12.025Z] 5dd5c2283517: Download complete [2022-10-26T20:15:12.998Z] 5831b945b038: Verifying Checksum [2022-10-26T20:15:12.998Z] 5831b945b038: Download complete [2022-10-26T20:15:25.386Z] 5831b945b038: Pull complete [2022-10-26T20:15:25.386Z] 86bbec2aaacd: Pull complete [2022-10-26T20:15:25.386Z] e10730c5d714: Pull complete [2022-10-26T20:15:30.752Z] 5dd5c2283517: Pull complete [2022-10-26T20:15:32.716Z] d5ac0230b979: Pull complete [2022-10-26T20:15:32.716Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T20:15:32.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T20:15:32.716Z] ---> 59b3b1a385d4 [2022-10-26T20:15:32.716Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:15:35.317Z] ---> Running in de1dd4735b73 [2022-10-26T20:15:35.317Z] Removing intermediate container de1dd4735b73 [2022-10-26T20:15:35.317Z] ---> 7254e1c0567c [2022-10-26T20:15:35.317Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:15:35.317Z] ---> Running in 5e2c5964f608 [2022-10-26T20:15:35.587Z] Removing intermediate container 5e2c5964f608 [2022-10-26T20:15:35.587Z] ---> bd95fb6f1715 [2022-10-26T20:15:35.587Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:15:35.859Z] ---> Running in 42301fbac9b4 [2022-10-26T20:15:37.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:15:37.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:15:38.714Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:15:38.714Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-26T20:15:38.714Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:15:38.714Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:15:38.714Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-26T20:15:38.714Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-26T20:15:38.714Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-26T20:15:38.714Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-26T20:15:38.714Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:15:38.714Z] OK: 228 MiB in 59 packages [2022-10-26T20:15:40.149Z] Removing intermediate container 42301fbac9b4 [2022-10-26T20:15:40.149Z] ---> 9b50feb83042 [2022-10-26T20:15:40.149Z] Step 6/10 : WORKDIR /device-modbus-go [2022-10-26T20:15:40.149Z] ---> Running in b480ae92cc58 [2022-10-26T20:15:40.458Z] Removing intermediate container b480ae92cc58 [2022-10-26T20:15:40.458Z] ---> dcb3d7dd6ba8 [2022-10-26T20:15:40.458Z] Step 7/10 : COPY go.mod vendor* ./ [2022-10-26T20:15:41.054Z] ---> d1c97ca28f78 [2022-10-26T20:15:41.054Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:15:41.054Z] ---> Running in 603fb272c93c [2022-10-26T20:16:37.598Z] Removing intermediate container 603fb272c93c [2022-10-26T20:16:37.598Z] ---> 7c4264ff5e04 [2022-10-26T20:16:37.598Z] Step 9/10 : COPY . . [2022-10-26T20:16:37.598Z] ---> 564500700cf5 [2022-10-26T20:16:37.598Z] Step 10/10 : RUN ${MAKE} [2022-10-26T20:16:37.598Z] ---> Running in 06c3f0a0d7c7 [2022-10-26T20:16:38.187Z] noop [2022-10-26T20:16:39.160Z] Removing intermediate container 06c3f0a0d7c7 [2022-10-26T20:16:39.160Z] ---> 01a21d7e09f7 [2022-10-26T20:16:39.160Z] Successfully built 01a21d7e09f7 [2022-10-26T20:16:39.160Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:16:39.510Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:16:39.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:16:39.711Z] prd-ubuntu20.04-docker-arm64-4c-16g-117296 does not seem to be running inside a container [2022-10-26T20:16:39.792Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T20:16:41.155Z] $ docker top eec074129671e0d017453bb0a46659338537e692966169943d90f14623421f94 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:16:42.053Z] + go version [2022-10-26T20:16:42.053Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T20:16:42.076Z] $ docker stop --time=1 eec074129671e0d017453bb0a46659338537e692966169943d90f14623421f94 [2022-10-26T20:16:43.833Z] $ docker rm -f eec074129671e0d017453bb0a46659338537e692966169943d90f14623421f94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:16:44.394Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:16:44.394Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:16:44.589Z] prd-ubuntu20.04-docker-arm64-4c-16g-117296 does not seem to be running inside a container [2022-10-26T20:16:44.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T20:16:45.987Z] $ docker top d292e5ac24c80fa6db43d96132f8840700b4262b1235f7862c0068255522c36e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:16:46.852Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/5 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:16:47.509Z] + make test [2022-10-26T20:16:47.509Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:16:49.462Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-26T20:18:41.254Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-26T20:18:41.254Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.097s coverage: 47.7% of statements [2022-10-26T20:18:41.254Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T20:18:41.254Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:19:08.071Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:19:08.071Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:19:08.071Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:19:08.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:19:08.102Z] $ docker stop --time=1 d292e5ac24c80fa6db43d96132f8840700b4262b1235f7862c0068255522c36e [2022-10-26T20:19:10.128Z] $ docker rm -f d292e5ac24c80fa6db43d96132f8840700b4262b1235f7862c0068255522c36e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:19:11.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:19:11.242Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T20:19:11.838Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:19:12.243Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:19:12.580Z] + ls -al . [2022-10-26T20:19:12.580Z] total 192 [2022-10-26T20:19:12.580Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:16 . [2022-10-26T20:19:12.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:14 .. [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 20:14 .dockerignore [2022-10-26T20:19:12.580Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:14 .git [2022-10-26T20:19:12.580Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:14 .github [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 26 20:14 .gitignore [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:14 .golangci.yml [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 26 20:14 Attribution.txt [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 26 20:14 CHANGELOG.md [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 1517 Oct 26 20:14 Dockerfile [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:14 GOVERNANCE.md [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:14 Jenkinsfile [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:14 LICENSE [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 26 20:14 Makefile [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 26 20:14 OWNERS.md [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 26 20:14 README.md [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:11 VERSION [2022-10-26T20:19:12.580Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:14 bin [2022-10-26T20:19:12.580Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:14 cmd [2022-10-26T20:19:12.580Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 26 20:18 coverage.out [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 3632 Oct 26 20:14 go.mod [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 45309 Oct 26 20:14 go.sum [2022-10-26T20:19:12.580Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:14 internal [2022-10-26T20:19:12.580Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:14 simulator [2022-10-26T20:19:12.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:14 snap [2022-10-26T20:19:12.580Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 26 20:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:19:12.931Z] + 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=ea7c50db823aeb547d8670b347cdae8782e0fe4c --label arch=arm64 --label version=0.0.0 . [2022-10-26T20:19:13.203Z] Sending build context to Docker daemon 3.289MB [2022-10-26T20:19:13.472Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:19:13.472Z] Step 2/23 : FROM ${BASE} AS builder [2022-10-26T20:19:13.472Z] ---> 01a21d7e09f7 [2022-10-26T20:19:13.472Z] Step 3/23 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:19:13.743Z] ---> Running in 0fc0c0e2b8d5 [2022-10-26T20:19:14.017Z] Removing intermediate container 0fc0c0e2b8d5 [2022-10-26T20:19:14.017Z] ---> 9b25cce54640 [2022-10-26T20:19:14.017Z] Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:19:14.310Z] ---> Running in 79c13bef693f [2022-10-26T20:19:14.716Z] Removing intermediate container 79c13bef693f [2022-10-26T20:19:14.717Z] ---> 762dd9ec25e9 [2022-10-26T20:19:14.717Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-26T20:19:14.717Z] ---> Running in 9cc903e6c4d3 [2022-10-26T20:19:15.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:19:16.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:19:17.702Z] OK: 228 MiB in 59 packages [2022-10-26T20:19:18.679Z] Removing intermediate container 9cc903e6c4d3 [2022-10-26T20:19:18.679Z] ---> ddf4d9a7a83c [2022-10-26T20:19:18.679Z] Step 6/23 : WORKDIR /device-modbus-go [2022-10-26T20:19:18.679Z] ---> Running in b45398f8918a [2022-10-26T20:19:18.952Z] Removing intermediate container b45398f8918a [2022-10-26T20:19:18.952Z] ---> 2af92227fc4e [2022-10-26T20:19:18.952Z] Step 7/23 : COPY go.mod vendor* ./ [2022-10-26T20:19:19.545Z] ---> 2011abece854 [2022-10-26T20:19:19.545Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:19:19.545Z] ---> Running in 716e1d12faaf [2022-10-26T20:19:22.947Z] Removing intermediate container 716e1d12faaf [2022-10-26T20:19:22.947Z] ---> cf6a63119e33 [2022-10-26T20:19:22.947Z] Step 9/23 : COPY . . [2022-10-26T20:19:24.025Z] ---> 87dbbaa84f9c [2022-10-26T20:19:24.025Z] Step 10/23 : RUN ${MAKE} [2022-10-26T20:19:24.313Z] ---> Running in e0f5b629b69f [2022-10-26T20:19:25.333Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-26T20:22:17.593Z] Removing intermediate container e0f5b629b69f [2022-10-26T20:22:17.593Z] ---> 306798b996c0 [2022-10-26T20:22:17.593Z] Step 11/23 : FROM alpine:3.14 [2022-10-26T20:22:17.593Z] 3.14: Pulling from library/alpine [2022-10-26T20:22:17.863Z] 90cda3b7c325: Pulling fs layer [2022-10-26T20:22:18.130Z] 90cda3b7c325: Verifying Checksum [2022-10-26T20:22:18.130Z] 90cda3b7c325: Download complete [2022-10-26T20:22:18.399Z] 90cda3b7c325: Pull complete [2022-10-26T20:22:18.399Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-26T20:22:18.399Z] Status: Downloaded newer image for alpine:3.14 [2022-10-26T20:22:18.399Z] ---> 376ba31ae3da [2022-10-26T20:22:18.399Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-26T20:22:18.676Z] ---> Running in 18de6ad92583 [2022-10-26T20:22:18.946Z] Removing intermediate container 18de6ad92583 [2022-10-26T20:22:18.946Z] ---> ba5486c29bae [2022-10-26T20:22:18.946Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T20:22:18.946Z] ---> Running in 0c7d972383ba [2022-10-26T20:22:20.902Z] Removing intermediate container 0c7d972383ba [2022-10-26T20:22:20.902Z] ---> 2a247287b46c [2022-10-26T20:22:20.902Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:22:20.902Z] ---> Running in 785e7a4083f5 [2022-10-26T20:22:22.319Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:22:22.589Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:22:24.001Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:22:24.269Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-26T20:22:24.854Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:22:25.121Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-26T20:22:25.705Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:22:26.292Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:22:26.560Z] Executing busybox-1.33.1-r8.trigger [2022-10-26T20:22:26.560Z] OK: 8 MiB in 20 packages [2022-10-26T20:22:27.525Z] Removing intermediate container 785e7a4083f5 [2022-10-26T20:22:27.525Z] ---> 1f522e5c6916 [2022-10-26T20:22:27.525Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-10-26T20:22:28.939Z] ---> d99795eab19e [2022-10-26T20:22:28.939Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-26T20:22:29.528Z] ---> f6b0bf303877 [2022-10-26T20:22:29.528Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-26T20:22:30.117Z] ---> 385f4185faa7 [2022-10-26T20:22:30.117Z] Step 18/23 : EXPOSE 59901 [2022-10-26T20:22:30.117Z] ---> Running in e19aba704b99 [2022-10-26T20:22:30.440Z] Removing intermediate container e19aba704b99 [2022-10-26T20:22:30.440Z] ---> 5978a7d9e26e [2022-10-26T20:22:30.440Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-10-26T20:22:30.440Z] ---> Running in 20f684d6b752 [2022-10-26T20:22:30.707Z] Removing intermediate container 20f684d6b752 [2022-10-26T20:22:30.707Z] ---> 81c98a29b09e [2022-10-26T20:22:30.707Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:22:30.975Z] ---> Running in 78df96050e71 [2022-10-26T20:22:31.245Z] Removing intermediate container 78df96050e71 [2022-10-26T20:22:31.245Z] ---> b02806a475f1 [2022-10-26T20:22:31.245Z] Step 21/23 : LABEL arch=arm64 [2022-10-26T20:22:31.245Z] ---> Running in e8b8ba008247 [2022-10-26T20:22:31.900Z] Removing intermediate container e8b8ba008247 [2022-10-26T20:22:31.900Z] ---> 2f4bedfd739f [2022-10-26T20:22:31.900Z] Step 22/23 : LABEL git_sha=ea7c50db823aeb547d8670b347cdae8782e0fe4c [2022-10-26T20:22:31.900Z] ---> Running in e51708d5c99b [2022-10-26T20:22:32.170Z] Removing intermediate container e51708d5c99b [2022-10-26T20:22:32.170Z] ---> d6568613a5ce [2022-10-26T20:22:32.170Z] Step 23/23 : LABEL version=0.0.0 [2022-10-26T20:22:32.170Z] ---> Running in 769e10cc8f22 [2022-10-26T20:22:32.438Z] Removing intermediate container 769e10cc8f22 [2022-10-26T20:22:32.438Z] ---> 86496afae346 [2022-10-26T20:22:32.438Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:22:32.438Z] Successfully built 86496afae346 [2022-10-26T20:22:32.438Z] 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 [2022-10-26T20:22:32.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:22:32.916Z] [2022-10-26T20:22:32.916Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:22:33.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:22:33.533Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T20:22:33.533Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T20:22:33.533Z] 04944245beec: Pulling fs layer [2022-10-26T20:22:33.533Z] 699f458cf7ca: Pulling fs layer [2022-10-26T20:22:33.533Z] 765212b225bb: Pulling fs layer [2022-10-26T20:22:33.533Z] f23df028b6ca: Pulling fs layer [2022-10-26T20:22:33.533Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T20:22:33.533Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T20:22:33.533Z] 765212b225bb: Waiting [2022-10-26T20:22:33.533Z] f23df028b6ca: Waiting [2022-10-26T20:22:33.533Z] d65c8cfc05b1: Waiting [2022-10-26T20:22:33.533Z] 2437ff75d9bd: Waiting [2022-10-26T20:22:33.533Z] 04944245beec: Verifying Checksum [2022-10-26T20:22:33.533Z] 04944245beec: Download complete [2022-10-26T20:22:33.533Z] 765212b225bb: Verifying Checksum [2022-10-26T20:22:33.533Z] 765212b225bb: Download complete [2022-10-26T20:22:33.533Z] f23df028b6ca: Verifying Checksum [2022-10-26T20:22:33.533Z] f23df028b6ca: Download complete [2022-10-26T20:22:33.533Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T20:22:33.533Z] d65c8cfc05b1: Download complete [2022-10-26T20:22:33.806Z] 699f458cf7ca: Verifying Checksum [2022-10-26T20:22:33.806Z] 699f458cf7ca: Download complete [2022-10-26T20:22:34.079Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T20:22:34.079Z] 8998bd30e6a1: Download complete [2022-10-26T20:22:36.685Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T20:22:36.685Z] 2437ff75d9bd: Download complete [2022-10-26T20:22:38.101Z] 8998bd30e6a1: Pull complete [2022-10-26T20:22:38.686Z] 04944245beec: Pull complete [2022-10-26T20:22:40.101Z] 699f458cf7ca: Pull complete [2022-10-26T20:22:40.372Z] 765212b225bb: Pull complete [2022-10-26T20:22:41.349Z] f23df028b6ca: Pull complete [2022-10-26T20:22:41.622Z] d65c8cfc05b1: Pull complete [2022-10-26T20:22:56.641Z] 2437ff75d9bd: Pull complete [2022-10-26T20:22:56.642Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T20:22:56.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:22:56.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:22:56.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-117296 does not seem to be running inside a container [2022-10-26T20:22:56.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/5 -v /w/workspace/device-modbus-go/5:/w/workspace/device-modbus-go/5:rw,z -v /w/workspace/device-modbus-go/5@tmp:/w/workspace/device-modbus-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T20:22:59.889Z] $ docker top fd5501b5752426f5702c865d3de449a619adeba940c8eceeb35012ad2cc5d770 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:00.748Z] ---> job-cost.sh [2022-10-26T20:23:00.748Z] lf-activate-venv: SKIPPING [2022-10-26T20:23:00.748Z] INFO: No Stack... [2022-10-26T20:23:01.014Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T20:23:01.979Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:23:02.631Z] + cat /w/workspace/device-modbus-go/5/archives/cost.csv [2022-10-26T20:23:02.632Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:23:02.673Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-387-5-stack-cost] [2022-10-26T20:23:02.683Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-387-5-stack-cost] did not exist. Created. [2022-10-26T20:23:02.683Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-387-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:23:03.349Z] /w/workspace/device-modbus-go/5@tmp/durable-e1a44819/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T20:23:03.684Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T20:23:03.709Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T20:23:03.754Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:23:03.760Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-387-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:23:03.764Z] $ docker stop --time=1 fd5501b5752426f5702c865d3de449a619adeba940c8eceeb35012ad2cc5d770 [2022-10-26T20:23:05.286Z] $ docker rm -f fd5501b5752426f5702c865d3de449a619adeba940c8eceeb35012ad2cc5d770 [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 [2022-10-26T20:23:05.654Z] provisioning config files... [2022-10-26T20:23:05.660Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config9177219969732755478tmp [Pipeline] { [Pipeline] sh [2022-10-26T20:23:05.949Z] + set +x [2022-10-26T20:23:05.949Z] + bash -s -- [2022-10-26T20:23:05.949Z] + curl -s https://codecov.io/bash [2022-10-26T20:23:05.949Z] [2022-10-26T20:23:05.949Z] _____ _ [2022-10-26T20:23:05.949Z] / ____| | | [2022-10-26T20:23:05.949Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T20:23:05.949Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T20:23:05.949Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T20:23:05.949Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T20:23:05.949Z] Bash-1.0.6 [2022-10-26T20:23:05.949Z] [2022-10-26T20:23:05.949Z] [2022-10-26T20:23:05.949Z] ==> git version 2.25.1 found [2022-10-26T20:23:05.949Z] ==> 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 [2022-10-26T20:23:05.949Z] Release-Date: 2020-01-08 [2022-10-26T20:23:05.949Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-26T20:23:05.949Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T20:23:05.949Z] ==> Jenkins CI detected. [2022-10-26T20:23:05.949Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-387 [2022-10-26T20:23:05.949Z] project root: . [2022-10-26T20:23:05.949Z] --> token set from env [2022-10-26T20:23:05.949Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T20:23:05.949Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T20:23:05.949Z] ==> Python coveragepy not found [2022-10-26T20:23:05.949Z] ==> Searching for coverage reports in: [2022-10-26T20:23:05.949Z] + . [2022-10-26T20:23:05.949Z] -> Found 1 reports [2022-10-26T20:23:05.950Z] ==> Detecting git/mercurial file structure [2022-10-26T20:23:05.950Z] ==> Reading reports [2022-10-26T20:23:05.950Z] + ./coverage.out bytes=23241 [2022-10-26T20:23:05.950Z] ==> Appending adjustments [2022-10-26T20:23:05.950Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T20:23:06.209Z] + Found adjustments [2022-10-26T20:23:06.209Z] ==> Gzipping contents [2022-10-26T20:23:06.209Z] 4.0K /tmp/codecov.AH5u8I.gz [2022-10-26T20:23:06.209Z] ==> Uploading reports [2022-10-26T20:23:06.209Z] url: https://codecov.io [2022-10-26T20:23:06.209Z] query: branch=PR-387&commit=ea7c50db823aeb547d8670b347cdae8782e0fe4c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-387%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=387&job=&cmd_args= [2022-10-26T20:23:06.209Z] -> Pinging Codecov [2022-10-26T20:23:06.209Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-387&commit=ea7c50db823aeb547d8670b347cdae8782e0fe4c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-387%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=387&job=&cmd_args= [2022-10-26T20:23:06.468Z] -> Uploading to [2022-10-26T20:23:06.468Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/55DBCA73C666E3227836607328DD7E49/ea7c50db823aeb547d8670b347cdae8782e0fe4c/0e9d3c19-c3f4-4583-b8c8-a211f1fcd2dc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T202306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=049c404792048be91d607741716db92804cf33a1caa271c946e0da9ebc09b644 [2022-10-26T20:23:06.468Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:23:06.468Z] Dload Upload Total Spent Left Speed [2022-10-26T20:23:06.726Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 19231 --:--:-- --:--:-- --:--:-- 19137 100 3904 0 0 100 3904 0 17665 --:--:-- --:--:-- --:--:-- 17585 [2022-10-26T20:23:06.726Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ea7c50db823aeb547d8670b347cdae8782e0fe4c [Pipeline] } [2022-10-26T20:23:06.733Z] 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 [2022-10-26T20:23:07.404Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-387/archives ] [2022-10-26T20:23:07.404Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-387/archives [2022-10-26T20:23:07.404Z] total 16 [2022-10-26T20:23:07.404Z] drwxr-xr-x 3 root root 4096 Oct 26 20:13 . [2022-10-26T20:23:07.404Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:13 .. [2022-10-26T20:23:07.404Z] drwxr-xr-x 2 root root 4096 Oct 26 20:13 cost [2022-10-26T20:23:07.404Z] -rw-r--r-- 1 root root 88 Oct 26 20:13 cost.csv [2022-10-26T20:23:07.404Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-387/archives [2022-10-26T20:23:07.404Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-387/archives [2022-10-26T20:23:07.404Z] total 16 [2022-10-26T20:23:07.404Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:13 . [2022-10-26T20:23:07.404Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:13 .. [2022-10-26T20:23:07.404Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:13 cost [2022-10-26T20:23:07.404Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 26 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:07.690Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:08.541Z] ---> package-listing.sh [2022-10-26T20:23:08.541Z] ++ facter osfamily [2022-10-26T20:23:08.541Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T20:23:08.799Z] + OS_FAMILY=debian [2022-10-26T20:23:08.799Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-387 [2022-10-26T20:23:08.799Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T20:23:08.799Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T20:23:08.799Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T20:23:08.799Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T20:23:08.799Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-387 ']' [2022-10-26T20:23:08.799Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T20:23:08.799Z] + case "${OS_FAMILY}" in [2022-10-26T20:23:08.799Z] + dpkg -l [2022-10-26T20:23:08.799Z] + grep '^ii' [2022-10-26T20:23:08.799Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T20:23:08.799Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T20:23:08.799Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T20:23:08.799Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-387 ']' [2022-10-26T20:23:08.799Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-387/archives/ [2022-10-26T20:23:08.799Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-387/archives/ [Pipeline] echo [2022-10-26T20:23:08.809Z] 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-387/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T20:23:09.084Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:23:09.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:23:09.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:23:09.710Z] prd-ubuntu20.04-docker-8c-8g-117290 does not seem to be running inside a container [2022-10-26T20:23:09.737Z] $ 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-387/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-387 -v /w/workspace/xfoundry_device-modbus-go_PR-387:/w/workspace/xfoundry_device-modbus-go_PR-387:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-387@tmp:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:23:09.952Z] $ docker top 39944fa1381bbc54c630b63b3b634d51f9a56f2c9e5dfdff5fb6e8bcd213ffa0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:23:10.298Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T20:23:10.590Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T20:23:10.876Z] + ls /var/log/sa-host [2022-10-26T20:23:10.876Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:23:10.947Z] provisioning config files... [2022-10-26T20:23:10.956Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-387@tmp/config8865833604390839491tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:23:10.968Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:11.249Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T20:23:11.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:11.574Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T20:23:11.581Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:11.861Z] ---> sudo-logs.sh [2022-10-26T20:23:11.861Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T20:23:11.886Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:12.168Z] ---> job-cost.sh [2022-10-26T20:23:12.168Z] lf-activate-venv: SKIPPING [2022-10-26T20:23:12.168Z] DEBUG: total: 0.2199999988079071 [2022-10-26T20:23:12.168Z] INFO: Retrieving Stack Cost... [2022-10-26T20:23:12.426Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:23:12.992Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T20:23:13.003Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:13.281Z] ---> logs-deploy.sh [2022-10-26T20:23:13.281Z] lf-activate-venv: SKIPPING [2022-10-26T20:23:13.281Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-387/5 [2022-10-26T20:23:13.281Z] INFO: archiving workspace using pattern(s): [2022-10-26T20:23:14.215Z] Archives upload complete. [2022-10-26T20:23:14.215Z] INFO: archiving logs to Nexus [2022-10-26T20:23:14.782Z] ---> uname -a: [2022-10-26T20:23:14.782Z] Linux prd-ubuntu20-04-docker-8c-8g-117290 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-26T20:23:14.782Z] [2022-10-26T20:23:14.782Z] [2022-10-26T20:23:14.782Z] ---> lscpu: [2022-10-26T20:23:14.782Z] Architecture: x86_64 [2022-10-26T20:23:14.782Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-26T20:23:14.782Z] Byte Order: Little Endian [2022-10-26T20:23:14.782Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-26T20:23:14.782Z] CPU(s): 8 [2022-10-26T20:23:14.782Z] On-line CPU(s) list: 0-7 [2022-10-26T20:23:14.782Z] Thread(s) per core: 1 [2022-10-26T20:23:14.782Z] Core(s) per socket: 1 [2022-10-26T20:23:14.782Z] Socket(s): 8 [2022-10-26T20:23:14.782Z] NUMA node(s): 1 [2022-10-26T20:23:14.782Z] Vendor ID: AuthenticAMD [2022-10-26T20:23:14.782Z] CPU family: 23 [2022-10-26T20:23:14.782Z] Model: 49 [2022-10-26T20:23:14.782Z] Model name: AMD EPYC-Rome Processor [2022-10-26T20:23:14.782Z] Stepping: 0 [2022-10-26T20:23:14.782Z] CPU MHz: 2799.998 [2022-10-26T20:23:14.782Z] BogoMIPS: 5599.99 [2022-10-26T20:23:14.782Z] Virtualization: AMD-V [2022-10-26T20:23:14.782Z] Hypervisor vendor: KVM [2022-10-26T20:23:14.782Z] Virtualization type: full [2022-10-26T20:23:14.782Z] L1d cache: 256 KiB [2022-10-26T20:23:14.782Z] L1i cache: 256 KiB [2022-10-26T20:23:14.782Z] L2 cache: 4 MiB [2022-10-26T20:23:14.782Z] L3 cache: 128 MiB [2022-10-26T20:23:14.782Z] NUMA node0 CPU(s): 0-7 [2022-10-26T20:23:14.782Z] Vulnerability Itlb multihit: Not affected [2022-10-26T20:23:14.782Z] Vulnerability L1tf: Not affected [2022-10-26T20:23:14.782Z] Vulnerability Mds: Not affected [2022-10-26T20:23:14.782Z] Vulnerability Meltdown: Not affected [2022-10-26T20:23:14.782Z] Vulnerability Mmio stale data: Not affected [2022-10-26T20:23:14.782Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-26T20:23:14.782Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-26T20:23:14.782Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-26T20:23:14.782Z] Vulnerability Srbds: Not affected [2022-10-26T20:23:14.782Z] Vulnerability Tsx async abort: Not affected [2022-10-26T20:23:14.782Z] 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 [2022-10-26T20:23:14.782Z] [2022-10-26T20:23:14.782Z]