Pull request #371 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5aae84ece3ba8927df2a466f6d353c8d0718271e+19276090c2e057c4cba34782a88296b78f541de3 (4b92610df4f7cc3e4ce69913aadd2535c1a7764c) 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-ssh3229353077680199692.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3225345651224528889.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-371/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-371/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1792202663073012277.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-371/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4157231298329616799.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14214346022664819935.key > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-371/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-371/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5836475581412586282.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 ‘prd-ubuntu20.04-docker-8c-8g-24591’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24592 in /w/workspace/xfoundry_device-modbus-go_PR-371 [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-371 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 19276090c2e057c4cba34782a88296b78f541de3 into PR head commit 5aae84ece3ba8927df2a466f6d353c8d0718271e Merge succeeded, producing 5aae84ece3ba8927df2a466f6d353c8d0718271e Checking out Revision 5aae84ece3ba8927df2a466f6d353c8d0718271e (PR-371) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/371/head:refs/remotes/origin/PR-371 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5aae84ece3ba8927df2a466f6d353c8d0718271e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 19276090c2e057c4cba34782a88296b78f541de3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5aae84ece3ba8927df2a466f6d353c8d0718271e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-05T13:56:12.696Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-05T13:56:12.861Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-05T13:56:12.960Z] ========================================================= [2022-09-05T13:56:12.960Z] EdgeX Global Pipelines Version Info [2022-09-05T13:56:12.960Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:56:13.738Z] ------------------- [2022-09-05T13:56:13.738Z] stable info: [2022-09-05T13:56:13.738Z] ------------------- [2022-09-05T13:56:13.738Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-05T13:56:13.738Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T13:56:13.738Z] Message: update stable to v1.0.239 [2022-09-05T13:56:14.312Z] ------------------- [2022-09-05T13:56:14.312Z] experimental info: [2022-09-05T13:56:14.312Z] ------------------- [2022-09-05T13:56:14.312Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-05T13:56:14.312Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T13:56:14.312Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-05T13:56:14.704Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-09-05T13:56:14.751Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-09-05T13:56:14.789Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-05T13:56:14.829Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-05T13:56:14.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-05T13:56:14.915Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-05T13:56:14.958Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-05T13:56:15.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-05T13:56:15.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-05T13:56:15.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-05T13:56:15.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-05T13:56:15.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-09-05T13:56:15.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-05T13:56:15.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-05T13:56:15.283Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-05T13:56:15.319Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-05T13:56:15.355Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-05T13:56:15.393Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-05T13:56:15.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-05T13:56:15.476Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-05T13:56:15.513Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-05T13:56:15.551Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-05T13:56:15.597Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-05T13:56:15.633Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-05T13:56:15.677Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-05T13:56:15.717Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-05T13:56:15.759Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-05T13:56:15.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-371 [Pipeline] echo [2022-09-05T13:56:15.844Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-371 [Pipeline] echo [2022-09-05T13:56:15.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-371 [Pipeline] echo [2022-09-05T13:56:15.925Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5aae84ece3ba8927df2a466f6d353c8d0718271e [Pipeline] echo [2022-09-05T13:56:15.969Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5aae84e [Pipeline] echo [2022-09-05T13:56:16.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T13:56:16.128Z] provisioning config files... [2022-09-05T13:56:16.143Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-371@tmp/config8167245387802391590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:56:16.502Z] ---> docker-login.sh [2022-09-05T13:56:16.502Z] nexus3.edgexfoundry.org:10001 [2022-09-05T13:56:16.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:56:16.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:56:16.763Z] Configure a credential helper to remove this warning. See [2022-09-05T13:56:16.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:56:16.764Z] [2022-09-05T13:56:16.764Z] Login Succeeded [2022-09-05T13:56:16.764Z] nexus3.edgexfoundry.org:10002 [2022-09-05T13:56:16.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:56:17.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:56:17.037Z] Configure a credential helper to remove this warning. See [2022-09-05T13:56:17.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:56:17.037Z] [2022-09-05T13:56:17.037Z] Login Succeeded [2022-09-05T13:56:17.037Z] nexus3.edgexfoundry.org:10003 [2022-09-05T13:56:17.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:56:17.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:56:17.037Z] Configure a credential helper to remove this warning. See [2022-09-05T13:56:17.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:56:17.037Z] [2022-09-05T13:56:17.037Z] Login Succeeded [2022-09-05T13:56:17.037Z] nexus3.edgexfoundry.org:10004 [2022-09-05T13:56:17.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:56:17.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:56:17.298Z] Configure a credential helper to remove this warning. See [2022-09-05T13:56:17.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:56:17.298Z] [2022-09-05T13:56:17.298Z] Login Succeeded [2022-09-05T13:56:17.298Z] docker.io [2022-09-05T13:56:17.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:56:17.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:56:17.560Z] Configure a credential helper to remove this warning. See [2022-09-05T13:56:17.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:56:17.560Z] [2022-09-05T13:56:17.560Z] Login Succeeded [2022-09-05T13:56:17.560Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T13:56:17.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-05T13:56:18.217Z] + git rev-list -1 --merges 5aae84ece3ba8927df2a466f6d353c8d0718271e~1..5aae84ece3ba8927df2a466f6d353c8d0718271e [Pipeline] echo [2022-09-05T13:56:18.262Z] -----------> git rev-list -1 --merges 5aae84ece3ba8927df2a466f6d353c8d0718271e~1..5aae84ece3ba8927df2a466f6d353c8d0718271e 5aae84ece3ba8927df2a466f6d353c8d0718271e [false] [Pipeline] sh [2022-09-05T13:56:18.577Z] + git log --format=format:%s -1 5aae84ece3ba8927df2a466f6d353c8d0718271e [Pipeline] echo [2022-09-05T13:56:18.611Z] ========================================================= [2022-09-05T13:56:18.611Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-05T13:56:18.611Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T13:56:19.052Z] + git log --format=format:%s -1 5aae84ece3ba8927df2a466f6d353c8d0718271e [Pipeline] echo [2022-09-05T13:56:19.090Z] [semverPrep] GIT_COMMIT: 5aae84ece3ba8927df2a466f6d353c8d0718271e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-05T13:56:19.122Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-05T13:56:19.495Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-05T13:56:19.495Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-05T13:56:19.495Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-05T13:56:19.495Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-05T13:56:19.495Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-05T13:56:19.495Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-05T13:56:19.495Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:56:19.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T13:56:19.931Z] [2022-09-05T13:56:19.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:56:20.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T13:56:20.306Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-05T13:56:20.306Z] b85a868b505f: Pulling fs layer [2022-09-05T13:56:20.306Z] e2be974225ed: Pulling fs layer [2022-09-05T13:56:20.306Z] 339a4e72a1f5: Pulling fs layer [2022-09-05T13:56:20.306Z] 988bab9f4d93: Pulling fs layer [2022-09-05T13:56:20.306Z] 1469e6f7b9e6: Pulling fs layer [2022-09-05T13:56:20.306Z] eaf3925da568: Pulling fs layer [2022-09-05T13:56:20.306Z] 1469e6f7b9e6: Waiting [2022-09-05T13:56:20.306Z] 988bab9f4d93: Waiting [2022-09-05T13:56:20.306Z] eaf3925da568: Waiting [2022-09-05T13:56:20.306Z] bab4dde63d76: Pulling fs layer [2022-09-05T13:56:20.306Z] bde34c3a00c8: Pulling fs layer [2022-09-05T13:56:20.306Z] b352a97aabf1: Pulling fs layer [2022-09-05T13:56:20.306Z] 4872d77fe225: Pulling fs layer [2022-09-05T13:56:20.306Z] 5851b861e8e6: Pulling fs layer [2022-09-05T13:56:20.306Z] bde34c3a00c8: Waiting [2022-09-05T13:56:20.306Z] b352a97aabf1: Waiting [2022-09-05T13:56:20.306Z] bab4dde63d76: Waiting [2022-09-05T13:56:20.306Z] 5851b861e8e6: Waiting [2022-09-05T13:56:20.306Z] 4872d77fe225: Waiting [2022-09-05T13:56:20.306Z] e2be974225ed: Verifying Checksum [2022-09-05T13:56:20.306Z] e2be974225ed: Download complete [2022-09-05T13:56:20.306Z] 988bab9f4d93: Download complete [2022-09-05T13:56:20.306Z] 1469e6f7b9e6: Verifying Checksum [2022-09-05T13:56:20.306Z] 1469e6f7b9e6: Download complete [2022-09-05T13:56:20.574Z] eaf3925da568: Verifying Checksum [2022-09-05T13:56:20.574Z] eaf3925da568: Download complete [2022-09-05T13:56:20.574Z] 339a4e72a1f5: Verifying Checksum [2022-09-05T13:56:20.574Z] 339a4e72a1f5: Download complete [2022-09-05T13:56:20.574Z] bde34c3a00c8: Verifying Checksum [2022-09-05T13:56:20.574Z] bde34c3a00c8: Download complete [2022-09-05T13:56:20.574Z] b352a97aabf1: Download complete [2022-09-05T13:56:20.574Z] 4872d77fe225: Verifying Checksum [2022-09-05T13:56:20.574Z] 4872d77fe225: Download complete [2022-09-05T13:56:20.574Z] 5851b861e8e6: Verifying Checksum [2022-09-05T13:56:20.574Z] 5851b861e8e6: Download complete [2022-09-05T13:56:20.574Z] b85a868b505f: Download complete [2022-09-05T13:56:20.835Z] bab4dde63d76: Verifying Checksum [2022-09-05T13:56:20.835Z] bab4dde63d76: Download complete [2022-09-05T13:56:21.771Z] b85a868b505f: Pull complete [2022-09-05T13:56:22.031Z] e2be974225ed: Pull complete [2022-09-05T13:56:22.290Z] 339a4e72a1f5: Pull complete [2022-09-05T13:56:22.290Z] 988bab9f4d93: Pull complete [2022-09-05T13:56:22.550Z] 1469e6f7b9e6: Pull complete [2022-09-05T13:56:22.809Z] eaf3925da568: Pull complete [2022-09-05T13:56:24.722Z] bab4dde63d76: Pull complete [2022-09-05T13:56:24.722Z] bde34c3a00c8: Pull complete [2022-09-05T13:56:24.722Z] b352a97aabf1: Pull complete [2022-09-05T13:56:24.722Z] 4872d77fe225: Pull complete [2022-09-05T13:56:24.722Z] 5851b861e8e6: Pull complete [2022-09-05T13:56:24.722Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-05T13:56:24.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T13:56:24.722Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:56:24.955Z] prd-ubuntu20.04-docker-8c-8g-24592 does not seem to be running inside a container [2022-09-05T13:56:24.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-371 -v /w/workspace/xfoundry_device-modbus-go_PR-371:/w/workspace/xfoundry_device-modbus-go_PR-371:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-371@tmp:/w/workspace/xfoundry_device-modbus-go_PR-371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-05T13:56:27.500Z] $ docker top 1c118eaed9cc8c5fb34e10371f03bd8f93bd1e01bf40230a2b62e5363ea53bf3 -eo pid,comm [2022-09-05T13:56:27.563Z] 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-09-05T13:56:27.563Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-05T13:56:27.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-05T13:56:27.701Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-05T13:56:27.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-05T13:56:27.828Z] $ docker exec 1c118eaed9cc8c5fb34e10371f03bd8f93bd1e01bf40230a2b62e5363ea53bf3 ssh-agent [2022-09-05T13:56:27.942Z] SSH_AUTH_SOCK=/tmp/ssh-9xzjaxvDdxIy/agent.32 [2022-09-05T13:56:27.942Z] SSH_AGENT_PID=39 [2022-09-05T13:56:27.949Z] Running ssh-add (command line suppressed) [2022-09-05T13:56:28.066Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-371@tmp/private_key_2875826409449442201.key (/w/workspace/xfoundry_device-modbus-go_PR-371@tmp/private_key_2875826409449442201.key) [2022-09-05T13:56:28.082Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-05T13:56:28.420Z] + git tag --points-at HEAD [Pipeline] } [2022-09-05T13:56:28.444Z] $ docker exec --env ******** --env ******** 1c118eaed9cc8c5fb34e10371f03bd8f93bd1e01bf40230a2b62e5363ea53bf3 ssh-agent -k [2022-09-05T13:56:28.559Z] unset SSH_AUTH_SOCK; [2022-09-05T13:56:28.559Z] unset SSH_AGENT_PID; [2022-09-05T13:56:28.560Z] echo Agent pid 39 killed; [2022-09-05T13:56:28.570Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-05T13:56:28.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-05T13:56:28.659Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-05T13:56:28.784Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-05T13:56:28.789Z] $ docker exec 1c118eaed9cc8c5fb34e10371f03bd8f93bd1e01bf40230a2b62e5363ea53bf3 ssh-agent [2022-09-05T13:56:28.910Z] SSH_AUTH_SOCK=/tmp/ssh-W6Mi0Pcvgffz/agent.71 [2022-09-05T13:56:28.910Z] SSH_AGENT_PID=78 [2022-09-05T13:56:28.915Z] Running ssh-add (command line suppressed) [2022-09-05T13:56:29.027Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-371@tmp/private_key_732818403800749210.key (/w/workspace/xfoundry_device-modbus-go_PR-371@tmp/private_key_732818403800749210.key) [2022-09-05T13:56:29.041Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-05T13:56:29.376Z] + git semver init [2022-09-05T13:56:29.636Z] 2022-09-05 13:56:29,565 [run_init] DEBUG init version:0.0.0 force:False [2022-09-05T13:56:29.636Z] 2022-09-05 13:56:29,566 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-371/.semver [2022-09-05T13:56:29.636Z] 2022-09-05 13:56:29,566 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-371/.semver [2022-09-05T13:56:29.636Z] 2022-09-05 13:56:29,566 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-371/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-371, universal_newlines=False, shell=None, istream=None) [2022-09-05T13:56:30.578Z] 2022-09-05 13:56:30,492 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-371/.git/info/exclude [2022-09-05T13:56:30.578Z] 2022-09-05 13:56:30,493 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-371/.semver/PR-371 with force:False [2022-09-05T13:56:30.578Z] 2022-09-05 13:56:30,493 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-371/.semver/PR-371 [2022-09-05T13:56:30.578Z] 2022-09-05 13:56:30,497 [execute] INFO git cat-file --batch-check [2022-09-05T13:56:30.578Z] 2022-09-05 13:56:30,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-371/.semver, universal_newlines=False, shell=None, istream=) [2022-09-05T13:56:30.578Z] 2022-09-05 13:56:30,503 [execute] INFO git cat-file --batch [2022-09-05T13:56:30.578Z] 2022-09-05 13:56:30,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-371/.semver, universal_newlines=False, shell=None, istream=) [2022-09-05T13:56:30.578Z] 2022-09-05 13:56:30,507 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-371/.semver/PR-371 [2022-09-05T13:56:30.578Z] 0.0.0 [Pipeline] } [2022-09-05T13:56:30.610Z] $ docker exec --env ******** --env ******** 1c118eaed9cc8c5fb34e10371f03bd8f93bd1e01bf40230a2b62e5363ea53bf3 ssh-agent -k [2022-09-05T13:56:30.707Z] unset SSH_AUTH_SOCK; [2022-09-05T13:56:30.707Z] unset SSH_AGENT_PID; [2022-09-05T13:56:30.707Z] echo Agent pid 78 killed; [2022-09-05T13:56:30.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-05T13:56:31.140Z] + git semver [Pipeline] } [2022-09-05T13:56:31.435Z] $ docker stop --time=1 1c118eaed9cc8c5fb34e10371f03bd8f93bd1e01bf40230a2b62e5363ea53bf3 [2022-09-05T13:56:32.756Z] $ docker rm -f 1c118eaed9cc8c5fb34e10371f03bd8f93bd1e01bf40230a2b62e5363ea53bf3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T13:56:33.166Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-05T13:56:33.460Z] Stashed 1 file(s) [Pipeline] echo [2022-09-05T13:56:33.476Z] [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-09-05T13:56:34.048Z] provisioning config files... [2022-09-05T13:56:34.058Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-371@tmp/config1410504195789583303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:56:34.405Z] ---> docker-login.sh [2022-09-05T13:56:34.405Z] nexus3.edgexfoundry.org:10001 [2022-09-05T13:56:34.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:56:34.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:56:34.405Z] Configure a credential helper to remove this warning. See [2022-09-05T13:56:34.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:56:34.405Z] [2022-09-05T13:56:34.405Z] Login Succeeded [2022-09-05T13:56:34.405Z] nexus3.edgexfoundry.org:10002 [2022-09-05T13:56:34.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:56:34.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:56:34.405Z] Configure a credential helper to remove this warning. See [2022-09-05T13:56:34.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:56:34.405Z] [2022-09-05T13:56:34.405Z] Login Succeeded [2022-09-05T13:56:34.405Z] nexus3.edgexfoundry.org:10003 [2022-09-05T13:56:34.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:56:34.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:56:34.665Z] Configure a credential helper to remove this warning. See [2022-09-05T13:56:34.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:56:34.665Z] [2022-09-05T13:56:34.665Z] Login Succeeded [2022-09-05T13:56:34.665Z] nexus3.edgexfoundry.org:10004 [2022-09-05T13:56:34.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:56:34.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:56:34.923Z] Configure a credential helper to remove this warning. See [2022-09-05T13:56:34.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:56:34.923Z] [2022-09-05T13:56:34.924Z] Login Succeeded [2022-09-05T13:56:34.924Z] docker.io [2022-09-05T13:56:34.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:56:35.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:56:35.183Z] Configure a credential helper to remove this warning. See [2022-09-05T13:56:35.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:56:35.183Z] [2022-09-05T13:56:35.183Z] Login Succeeded [2022-09-05T13:56:35.183Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T13:56:35.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-05T13:56:35.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:56:35.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:56:35.482Z] ========================================================= [2022-09-05T13:56:35.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-05T13:56:35.482Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:56:35.964Z] + 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-09-05T13:56:35.964Z] Sending build context to Docker daemon 6.125MB [2022-09-05T13:56:35.964Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T13:56:35.964Z] Step 2/10 : FROM ${BASE} AS builder [2022-09-05T13:56:35.964Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-05T13:56:35.964Z] 2408cc74d12b: Pulling fs layer [2022-09-05T13:56:35.964Z] ea60b727a1ce: Pulling fs layer [2022-09-05T13:56:35.964Z] 30c4a7721957: Pulling fs layer [2022-09-05T13:56:35.964Z] 370296b7ddb6: Pulling fs layer [2022-09-05T13:56:35.964Z] 7c6cee850709: Pulling fs layer [2022-09-05T13:56:35.964Z] 39a5fcdaea64: Pulling fs layer [2022-09-05T13:56:35.964Z] d94ebbe4e438: Pulling fs layer [2022-09-05T13:56:35.964Z] bcfd1f05c69d: Pulling fs layer [2022-09-05T13:56:35.964Z] 59ccb84bbe0f: Pulling fs layer [2022-09-05T13:56:35.964Z] 7c6cee850709: Waiting [2022-09-05T13:56:35.964Z] 39a5fcdaea64: Waiting [2022-09-05T13:56:35.964Z] d94ebbe4e438: Waiting [2022-09-05T13:56:35.964Z] bcfd1f05c69d: Waiting [2022-09-05T13:56:35.964Z] 59ccb84bbe0f: Waiting [2022-09-05T13:56:35.964Z] 370296b7ddb6: Waiting [2022-09-05T13:56:35.964Z] 30c4a7721957: Download complete [2022-09-05T13:56:35.964Z] ea60b727a1ce: Verifying Checksum [2022-09-05T13:56:35.964Z] ea60b727a1ce: Download complete [2022-09-05T13:56:35.964Z] 7c6cee850709: Verifying Checksum [2022-09-05T13:56:35.964Z] 7c6cee850709: Download complete [2022-09-05T13:56:35.964Z] 39a5fcdaea64: Verifying Checksum [2022-09-05T13:56:35.964Z] 39a5fcdaea64: Download complete [2022-09-05T13:56:35.964Z] 2408cc74d12b: Verifying Checksum [2022-09-05T13:56:36.226Z] d94ebbe4e438: Verifying Checksum [2022-09-05T13:56:36.226Z] d94ebbe4e438: Download complete [2022-09-05T13:56:36.226Z] 2408cc74d12b: Pull complete [2022-09-05T13:56:36.495Z] ea60b727a1ce: Pull complete [2022-09-05T13:56:36.495Z] 30c4a7721957: Pull complete [2022-09-05T13:56:36.495Z] 59ccb84bbe0f: Verifying Checksum [2022-09-05T13:56:36.495Z] 59ccb84bbe0f: Download complete [2022-09-05T13:56:37.075Z] bcfd1f05c69d: Verifying Checksum [2022-09-05T13:56:37.075Z] bcfd1f05c69d: Download complete [2022-09-05T13:56:37.075Z] 370296b7ddb6: Verifying Checksum [2022-09-05T13:56:37.075Z] 370296b7ddb6: Download complete [2022-09-05T13:56:41.267Z] 370296b7ddb6: Pull complete [2022-09-05T13:56:41.267Z] 7c6cee850709: Pull complete [2022-09-05T13:56:41.267Z] 39a5fcdaea64: Pull complete [2022-09-05T13:56:41.267Z] d94ebbe4e438: Pull complete [2022-09-05T13:56:43.179Z] bcfd1f05c69d: Pull complete [2022-09-05T13:56:43.746Z] 59ccb84bbe0f: Pull complete [2022-09-05T13:56:43.746Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-05T13:56:43.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-05T13:56:43.746Z] ---> a4fb48ad2a94 [2022-09-05T13:56:43.746Z] Step 3/10 : ARG MAKE='make build' [2022-09-05T13:56:48.874Z] Still waiting to schedule task [2022-09-05T13:56:48.874Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24593’ is offline [2022-09-05T13:56:50.344Z] ---> Running in 58fe7c7357f8 [2022-09-05T13:56:50.604Z] Removing intermediate container 58fe7c7357f8 [2022-09-05T13:56:50.604Z] ---> 023deb3815a9 [2022-09-05T13:56:50.604Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T13:56:50.604Z] ---> Running in f68d9ba9fc49 [2022-09-05T13:56:51.543Z] Removing intermediate container f68d9ba9fc49 [2022-09-05T13:56:51.543Z] ---> 1b45ee31437c [2022-09-05T13:56:51.543Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-05T13:56:51.804Z] ---> Running in 82bd77757cf8 [2022-09-05T13:56:52.375Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T13:56:52.944Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T13:56:53.516Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-05T13:56:53.516Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-05T13:56:53.516Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-05T13:56:53.776Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-05T13:56:53.776Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-05T13:56:53.776Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-05T13:56:54.037Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-05T13:56:54.037Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-05T13:56:54.037Z] Executing busybox-1.35.0-r13.trigger [2022-09-05T13:56:54.037Z] OK: 217 MiB in 59 packages [2022-09-05T13:56:54.605Z] Removing intermediate container 82bd77757cf8 [2022-09-05T13:56:54.605Z] ---> a5a9976e9b4c [2022-09-05T13:56:54.605Z] Step 6/10 : WORKDIR /device-modbus-go [2022-09-05T13:56:54.605Z] ---> Running in 7c17ebce5aa9 [2022-09-05T13:56:54.605Z] Removing intermediate container 7c17ebce5aa9 [2022-09-05T13:56:54.605Z] ---> 0db724e6ea19 [2022-09-05T13:56:54.605Z] Step 7/10 : COPY go.mod vendor* ./ [2022-09-05T13:56:54.865Z] ---> 3e60530e4c3c [2022-09-05T13:56:54.865Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T13:56:54.865Z] ---> Running in 6dedc1b8a95d [2022-09-05T13:57:16.819Z] Removing intermediate container 6dedc1b8a95d [2022-09-05T13:57:16.819Z] ---> 75c57d16f150 [2022-09-05T13:57:16.819Z] Step 9/10 : COPY . . [2022-09-05T13:57:16.819Z] ---> 4ed5bc70417b [2022-09-05T13:57:16.819Z] Step 10/10 : RUN ${MAKE} [2022-09-05T13:57:16.819Z] ---> Running in 65834c74b671 [2022-09-05T13:57:16.819Z] noop [2022-09-05T13:57:16.819Z] Removing intermediate container 65834c74b671 [2022-09-05T13:57:16.819Z] ---> 0f36f79bced1 [2022-09-05T13:57:16.819Z] Successfully built 0f36f79bced1 [2022-09-05T13:57:16.819Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:57:17.256Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-05T13:57:17.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:57:17.415Z] prd-ubuntu20.04-docker-8c-8g-24592 does not seem to be running inside a container [2022-09-05T13:57:17.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-371 -v /w/workspace/xfoundry_device-modbus-go_PR-371:/w/workspace/xfoundry_device-modbus-go_PR-371:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-371@tmp:/w/workspace/xfoundry_device-modbus-go_PR-371@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 ******** ci-base-image-x86_64 cat [2022-09-05T13:57:17.791Z] $ docker top 7e323868e6e815cec41fde215744be90eec5a0bd2f3d092165b32b159c0b4b6c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:57:18.232Z] + go version [2022-09-05T13:57:18.233Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-05T13:57:18.265Z] $ docker stop --time=1 7e323868e6e815cec41fde215744be90eec5a0bd2f3d092165b32b159c0b4b6c [2022-09-05T13:57:19.519Z] $ docker rm -f 7e323868e6e815cec41fde215744be90eec5a0bd2f3d092165b32b159c0b4b6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:57:20.267Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-05T13:57:20.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:57:20.425Z] prd-ubuntu20.04-docker-8c-8g-24592 does not seem to be running inside a container [2022-09-05T13:57:20.459Z] $ 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-371 -v /w/workspace/xfoundry_device-modbus-go_PR-371:/w/workspace/xfoundry_device-modbus-go_PR-371:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-371@tmp:/w/workspace/xfoundry_device-modbus-go_PR-371@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 ******** ci-base-image-x86_64 cat [2022-09-05T13:57:20.799Z] $ docker top 96622f32b1b208aaeb416875d654fe5904b9b54b3cee6d992a1682970fc04477 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:57:21.204Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-371 [Pipeline] fileExists [Pipeline] sh [2022-09-05T13:57:21.561Z] + make test [2022-09-05T13:57:21.561Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-05T13:57:21.821Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-05T13:57:31.805Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-05T13:57:31.805Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements [2022-09-05T13:57:37.095Z] 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-09-05T13:57:37.095Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-05T13:57:40.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-05T13:57:40.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-05T13:57:40.394Z] ./bin/test-attribution-txt.sh [2022-09-05T13:57:40.394Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-05T13:57:40.394Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-05T13:57:40.394Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-05T13:57:40.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-05T13:57:40.465Z] $ docker stop --time=1 96622f32b1b208aaeb416875d654fe5904b9b54b3cee6d992a1682970fc04477 [2022-09-05T13:57:42.767Z] $ docker rm -f 96622f32b1b208aaeb416875d654fe5904b9b54b3cee6d992a1682970fc04477 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T13:57:43.268Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-05T13:57:43.336Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-05T13:57:43.940Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-05T13:57:44.253Z] + ls -al . [2022-09-05T13:57:44.253Z] total 188 [2022-09-05T13:57:44.253Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 13:57 . [2022-09-05T13:57:44.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:56 .. [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 13:56 .dockerignore [2022-09-05T13:57:44.253Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 13:57 .git [2022-09-05T13:57:44.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:56 .github [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 5 13:56 .gitignore [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 13:56 .golangci.yml [2022-09-05T13:57:44.253Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 13:56 .semver [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 9744 Sep 5 13:56 Attribution.txt [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 5 13:56 CHANGELOG.md [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 1550 Sep 5 13:56 Dockerfile [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 13:56 GOVERNANCE.md [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 13:56 Jenkinsfile [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 13:56 LICENSE [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 1892 Sep 5 13:56 Makefile [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 5 13:56 OWNERS.md [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 3397 Sep 5 13:56 README.md [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 13:56 VERSION [2022-09-05T13:57:44.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 13:56 bin [2022-09-05T13:57:44.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:56 cmd [2022-09-05T13:57:44.253Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 5 13:57 coverage.out [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 3572 Sep 5 13:56 go.mod [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 37058 Sep 5 13:56 go.sum [2022-09-05T13:57:44.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:56 internal [2022-09-05T13:57:44.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 13:56 simulator [2022-09-05T13:57:44.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:56 snap [2022-09-05T13:57:44.253Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 5 13:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:57:44.663Z] + 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=5aae84ece3ba8927df2a466f6d353c8d0718271e --label arch=amd64 --label version=0.0.0 . [2022-09-05T13:57:44.663Z] Sending build context to Docker daemon 6.149MB [2022-09-05T13:57:44.663Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T13:57:44.663Z] Step 2/23 : FROM ${BASE} AS builder [2022-09-05T13:57:44.663Z] ---> 0f36f79bced1 [2022-09-05T13:57:44.663Z] Step 3/23 : ARG MAKE='make build' [2022-09-05T13:57:44.924Z] ---> Running in 4fe139813e6c [2022-09-05T13:57:44.924Z] Removing intermediate container 4fe139813e6c [2022-09-05T13:57:44.924Z] ---> c20d3a7736db [2022-09-05T13:57:44.924Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T13:57:44.924Z] ---> Running in 2ed5073d69c8 [2022-09-05T13:57:45.494Z] Removing intermediate container 2ed5073d69c8 [2022-09-05T13:57:45.494Z] ---> 8a2e42eecb1f [2022-09-05T13:57:45.494Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-05T13:57:45.494Z] ---> Running in 331cf3ab419f [2022-09-05T13:57:45.753Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T13:57:46.698Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T13:57:46.961Z] OK: 217 MiB in 59 packages [2022-09-05T13:57:47.221Z] Removing intermediate container 331cf3ab419f [2022-09-05T13:57:47.221Z] ---> 66a2117445e3 [2022-09-05T13:57:47.221Z] Step 6/23 : WORKDIR /device-modbus-go [2022-09-05T13:57:47.221Z] ---> Running in 654c86a06545 [2022-09-05T13:57:47.221Z] Removing intermediate container 654c86a06545 [2022-09-05T13:57:47.221Z] ---> eee65aeb500e [2022-09-05T13:57:47.221Z] Step 7/23 : COPY go.mod vendor* ./ [2022-09-05T13:57:47.481Z] ---> 5ad8960ae1a4 [2022-09-05T13:57:47.481Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T13:57:47.481Z] ---> Running in 0bdf16f78215 [2022-09-05T13:57:48.061Z] Removing intermediate container 0bdf16f78215 [2022-09-05T13:57:48.061Z] ---> 5e76ea534c04 [2022-09-05T13:57:48.061Z] Step 9/23 : COPY . . [2022-09-05T13:57:48.398Z] ---> ee22dc1e735b [2022-09-05T13:57:48.398Z] Step 10/23 : RUN ${MAKE} [2022-09-05T13:57:48.663Z] ---> Running in c0a53e615cfa [2022-09-05T13:57:48.925Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-09-05T13:58:10.891Z] Removing intermediate container c0a53e615cfa [2022-09-05T13:58:10.891Z] ---> be2ab9b93ac9 [2022-09-05T13:58:10.891Z] Step 11/23 : FROM alpine:3.14 [2022-09-05T13:58:10.891Z] 3.14: Pulling from library/alpine [2022-09-05T13:58:10.891Z] c7ed990a2339: Pulling fs layer [2022-09-05T13:58:10.891Z] c7ed990a2339: Verifying Checksum [2022-09-05T13:58:10.891Z] c7ed990a2339: Download complete [2022-09-05T13:58:10.891Z] c7ed990a2339: Pull complete [2022-09-05T13:58:11.150Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-05T13:58:11.150Z] Status: Downloaded newer image for alpine:3.14 [2022-09-05T13:58:11.150Z] ---> dd53f409bf0b [2022-09-05T13:58:11.150Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-05T13:58:11.150Z] ---> Running in 151a04259b57 [2022-09-05T13:58:11.150Z] Removing intermediate container 151a04259b57 [2022-09-05T13:58:11.150Z] ---> baa4a467397f [2022-09-05T13:58:11.150Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T13:58:11.150Z] ---> Running in 7f9bb7d1d44d [2022-09-05T13:58:11.722Z] Removing intermediate container 7f9bb7d1d44d [2022-09-05T13:58:11.722Z] ---> dc1ab1247fc8 [2022-09-05T13:58:11.722Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-05T13:58:11.722Z] ---> Running in 5652539490ae [2022-09-05T13:58:11.983Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-09-05T13:58:12.925Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-09-05T13:58:13.185Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-05T13:58:13.185Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-05T13:58:13.185Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-05T13:58:13.447Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-05T13:58:13.447Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-05T13:58:13.447Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-05T13:58:13.707Z] Executing busybox-1.33.1-r8.trigger [2022-09-05T13:58:13.707Z] OK: 8 MiB in 20 packages [2022-09-05T13:58:13.971Z] Removing intermediate container 5652539490ae [2022-09-05T13:58:13.971Z] ---> 26717ec9851a [2022-09-05T13:58:13.971Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-09-05T13:58:14.913Z] ---> f194b3c6b127 [2022-09-05T13:58:14.913Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-05T13:58:15.175Z] ---> 2a9306c3447c [2022-09-05T13:58:15.175Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-05T13:58:15.175Z] ---> a39c2d8a3aa7 [2022-09-05T13:58:15.175Z] Step 18/23 : EXPOSE 59901 [2022-09-05T13:58:15.175Z] ---> Running in af6201cb056c [2022-09-05T13:58:15.175Z] Removing intermediate container af6201cb056c [2022-09-05T13:58:15.175Z] ---> 1ffa408dddb1 [2022-09-05T13:58:15.175Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-09-05T13:58:15.436Z] ---> Running in f4f04dd89787 [2022-09-05T13:58:15.436Z] Removing intermediate container f4f04dd89787 [2022-09-05T13:58:15.436Z] ---> cf0294118c47 [2022-09-05T13:58:15.436Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-05T13:58:15.436Z] ---> Running in 560e456b6a6f [2022-09-05T13:58:15.436Z] Removing intermediate container 560e456b6a6f [2022-09-05T13:58:15.436Z] ---> 7ccf8a749369 [2022-09-05T13:58:15.436Z] Step 21/23 : LABEL arch=amd64 [2022-09-05T13:58:15.436Z] ---> Running in 5103eb7f2670 [2022-09-05T13:58:15.696Z] Removing intermediate container 5103eb7f2670 [2022-09-05T13:58:15.697Z] ---> 8f03ae1b0dfc [2022-09-05T13:58:15.697Z] Step 22/23 : LABEL git_sha=5aae84ece3ba8927df2a466f6d353c8d0718271e [2022-09-05T13:58:15.697Z] ---> Running in 23f2f7755622 [2022-09-05T13:58:15.697Z] Removing intermediate container 23f2f7755622 [2022-09-05T13:58:15.697Z] ---> a35c26f97388 [2022-09-05T13:58:15.697Z] Step 23/23 : LABEL version=0.0.0 [2022-09-05T13:58:15.697Z] ---> Running in 05828d92afcb [2022-09-05T13:58:15.697Z] Removing intermediate container 05828d92afcb [2022-09-05T13:58:15.697Z] ---> 31903fb84146 [2022-09-05T13:58:15.697Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-05T13:58:15.958Z] Successfully built 31903fb84146 [2022-09-05T13:58:15.958Z] 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-09-05T13:58:16.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T13:58:16.842Z] [2022-09-05T13:58:16.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:58:17.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T13:58:17.229Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-05T13:58:17.229Z] 5eb5b503b376: Pulling fs layer [2022-09-05T13:58:17.229Z] 5c69ac0246d0: Pulling fs layer [2022-09-05T13:58:17.229Z] ec43610c2a17: Pulling fs layer [2022-09-05T13:58:17.229Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-05T13:58:17.229Z] 33b1e0a273af: Pulling fs layer [2022-09-05T13:58:17.229Z] 5d3b04190fa2: Pulling fs layer [2022-09-05T13:58:17.229Z] 2f39f015ded8: Pulling fs layer [2022-09-05T13:58:17.229Z] 33b1e0a273af: Waiting [2022-09-05T13:58:17.229Z] 3a2ae6a8a46f: Waiting [2022-09-05T13:58:17.229Z] 5d3b04190fa2: Waiting [2022-09-05T13:58:17.229Z] 2f39f015ded8: Waiting [2022-09-05T13:58:17.229Z] 5c69ac0246d0: Verifying Checksum [2022-09-05T13:58:17.229Z] 5c69ac0246d0: Download complete [2022-09-05T13:58:17.229Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-05T13:58:17.229Z] 3a2ae6a8a46f: Download complete [2022-09-05T13:58:17.229Z] 33b1e0a273af: Verifying Checksum [2022-09-05T13:58:17.229Z] 33b1e0a273af: Download complete [2022-09-05T13:58:17.229Z] 5d3b04190fa2: Download complete [2022-09-05T13:58:17.229Z] ec43610c2a17: Verifying Checksum [2022-09-05T13:58:17.229Z] ec43610c2a17: Download complete [2022-09-05T13:58:17.489Z] 5eb5b503b376: Verifying Checksum [2022-09-05T13:58:17.489Z] 5eb5b503b376: Download complete [2022-09-05T13:58:18.059Z] 2f39f015ded8: Verifying Checksum [2022-09-05T13:58:18.059Z] 2f39f015ded8: Download complete [2022-09-05T13:58:18.628Z] 5eb5b503b376: Pull complete [2022-09-05T13:58:18.888Z] 5c69ac0246d0: Pull complete [2022-09-05T13:58:19.149Z] ec43610c2a17: Pull complete [2022-09-05T13:58:19.409Z] 3a2ae6a8a46f: Pull complete [2022-09-05T13:58:19.669Z] 33b1e0a273af: Pull complete [2022-09-05T13:58:19.669Z] 5d3b04190fa2: Pull complete [2022-09-05T13:58:23.863Z] 2f39f015ded8: Pull complete [2022-09-05T13:58:23.863Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-05T13:58:23.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T13:58:23.863Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:58:24.075Z] prd-ubuntu20.04-docker-8c-8g-24592 does not seem to be running inside a container [2022-09-05T13:58:24.115Z] $ 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-371 -v /w/workspace/xfoundry_device-modbus-go_PR-371:/w/workspace/xfoundry_device-modbus-go_PR-371:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-371@tmp:/w/workspace/xfoundry_device-modbus-go_PR-371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-05T13:58:27.714Z] $ docker top 1847a248bb5e4cc331304089bd1e045e7719bc3850ec7190678c47bb8231d4b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:58:28.159Z] ---> job-cost.sh [2022-09-05T13:58:28.160Z] lf-activate-venv: SKIPPING [2022-09-05T13:58:28.160Z] INFO: No Stack... [2022-09-05T13:58:28.420Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-05T13:58:28.990Z] INFO: Archiving Costs [Pipeline] sh [2022-09-05T13:58:29.305Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-371/archives/cost.csv [2022-09-05T13:58:29.305Z] + cut -d, -f6 [Pipeline] lock [2022-09-05T13:58:29.343Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-371-1-stack-cost] [2022-09-05T13:58:29.347Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-371-1-stack-cost] did not exist. Created. [2022-09-05T13:58:29.347Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-371-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-05T13:58:29.735Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-05T13:58:29.789Z] Stashed 1 file(s) [Pipeline] } [2022-09-05T13:58:29.819Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-371-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-05T13:58:29.887Z] $ docker stop --time=1 1847a248bb5e4cc331304089bd1e045e7719bc3850ec7190678c47bb8231d4b2 [2022-09-05T13:58:31.049Z] $ docker rm -f 1847a248bb5e4cc331304089bd1e045e7719bc3850ec7190678c47bb8231d4b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-05T13:59:16.194Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24594 in /w/workspace/xfoundry_device-modbus-go_PR-371 [Pipeline] { [Pipeline] ws [2022-09-05T13:59:16.235Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-09-05T13:59:16.320Z] Selected Git installation does not exist. Using Default [2022-09-05T13:59:16.320Z] The recommended git tool is: NONE [2022-09-05T13:59:22.818Z] using credential edgex-jenkins-ssh [2022-09-05T13:59:22.836Z] Cloning the remote Git repository [2022-09-05T13:59:22.902Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-09-05T13:59:22.988Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-09-05T13:59:23.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-05T13:59:23.145Z] > git --version # timeout=10 [2022-09-05T13:59:23.167Z] > git --version # 'git version 2.25.1' [2022-09-05T13:59:23.170Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T13:59:23.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-05T13:59:25.064Z] Merging remotes/origin/main commit 19276090c2e057c4cba34782a88296b78f541de3 into PR head commit 5aae84ece3ba8927df2a466f6d353c8d0718271e [2022-09-05T13:59:25.280Z] Merge succeeded, producing 5aae84ece3ba8927df2a466f6d353c8d0718271e [2022-09-05T13:59:25.281Z] Checking out Revision 5aae84ece3ba8927df2a466f6d353c8d0718271e (PR-371) [2022-09-05T13:59:24.405Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-05T13:59:24.434Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-05T13:59:24.463Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-05T13:59:24.509Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-05T13:59:24.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T13:59:24.526Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/371/head:refs/remotes/origin/PR-371 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-05T13:59:25.082Z] > git config core.sparsecheckout # timeout=10 [2022-09-05T13:59:25.102Z] > git checkout -f 5aae84ece3ba8927df2a466f6d353c8d0718271e # timeout=10 [2022-09-05T13:59:25.192Z] > git remote # timeout=10 [2022-09-05T13:59:25.211Z] > git config --get remote.origin.url # timeout=10 [2022-09-05T13:59:25.228Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T13:59:25.240Z] > git merge 19276090c2e057c4cba34782a88296b78f541de3 # timeout=10 [2022-09-05T13:59:25.266Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-05T13:59:25.289Z] > git config core.sparsecheckout # timeout=10 [2022-09-05T13:59:25.305Z] > git checkout -f 5aae84ece3ba8927df2a466f6d353c8d0718271e # timeout=10 [2022-09-05T13:59:29.603Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-05T13:59:29.666Z] > git --version # timeout=10 [2022-09-05T13:59:29.677Z] > git --version # 'git version 2.25.1' [2022-09-05T13:59:29.694Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T13:59:31.027Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-05T13:59:31.027Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-05T13:59:31.027Z] Dload Upload Total Spent Left Speed [2022-09-05T13:59:31.027Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2022-09-05T13:59:31.755Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-05T13:59:32.132Z] + sudo tee /etc/docker/daemon.new [2022-09-05T13:59:32.132Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-05T13:59:32.132Z] { [2022-09-05T13:59:32.132Z] "registry-mirrors": [ [2022-09-05T13:59:32.132Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-05T13:59:32.132Z] ], [2022-09-05T13:59:32.132Z] "bip": "10.250.0.254/24", [2022-09-05T13:59:32.132Z] "hosts": [ [2022-09-05T13:59:32.132Z] "tcp://0.0.0.0:5555", [2022-09-05T13:59:32.132Z] "unix:///var/run/docker.sock" [2022-09-05T13:59:32.132Z] ], [2022-09-05T13:59:32.132Z] "mtu": 1458, [2022-09-05T13:59:32.132Z] "selinux-enabled": true, [2022-09-05T13:59:32.132Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-05T13:59:32.132Z] } [Pipeline] sh [2022-09-05T13:59:32.508Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-05T13:59:33.096Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T13:59:51.490Z] provisioning config files... [2022-09-05T13:59:51.518Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7265700437646509088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:59:51.910Z] ---> docker-login.sh [2022-09-05T13:59:51.910Z] nexus3.edgexfoundry.org:10001 [2022-09-05T13:59:52.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:59:52.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:59:52.774Z] Configure a credential helper to remove this warning. See [2022-09-05T13:59:52.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:59:52.774Z] [2022-09-05T13:59:52.774Z] Login Succeeded [2022-09-05T13:59:52.774Z] nexus3.edgexfoundry.org:10002 [2022-09-05T13:59:53.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:59:53.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:59:53.367Z] Configure a credential helper to remove this warning. See [2022-09-05T13:59:53.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:59:53.367Z] [2022-09-05T13:59:53.367Z] Login Succeeded [2022-09-05T13:59:53.367Z] nexus3.edgexfoundry.org:10003 [2022-09-05T13:59:53.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:59:53.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:59:53.912Z] Configure a credential helper to remove this warning. See [2022-09-05T13:59:53.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:59:53.912Z] [2022-09-05T13:59:53.912Z] Login Succeeded [2022-09-05T13:59:53.912Z] nexus3.edgexfoundry.org:10004 [2022-09-05T13:59:54.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:59:54.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:59:54.184Z] Configure a credential helper to remove this warning. See [2022-09-05T13:59:54.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:59:54.184Z] [2022-09-05T13:59:54.184Z] Login Succeeded [2022-09-05T13:59:54.184Z] docker.io [2022-09-05T13:59:54.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:59:55.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:59:55.053Z] Configure a credential helper to remove this warning. See [2022-09-05T13:59:55.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:59:55.053Z] [2022-09-05T13:59:55.053Z] Login Succeeded [2022-09-05T13:59:55.053Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T13:59:55.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-05T13:59:55.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:59:55.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:59:55.522Z] ========================================================= [2022-09-05T13:59:55.522Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-05T13:59:55.522Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:59:56.018Z] + 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-09-05T13:59:56.293Z] Sending build context to Docker daemon 3.184MB [2022-09-05T13:59:56.293Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T13:59:56.293Z] Step 2/10 : FROM ${BASE} AS builder [2022-09-05T13:59:56.569Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-05T13:59:56.569Z] b3c136eddcbf: Pulling fs layer [2022-09-05T13:59:56.569Z] c0a3192eca97: Pulling fs layer [2022-09-05T13:59:56.569Z] a050256f5b6f: Pulling fs layer [2022-09-05T13:59:56.569Z] 656be50a0ddc: Pulling fs layer [2022-09-05T13:59:56.569Z] 2bbca73fdf42: Pulling fs layer [2022-09-05T13:59:56.569Z] 46d945488cbd: Pulling fs layer [2022-09-05T13:59:56.569Z] 8a5474983e97: Pulling fs layer [2022-09-05T13:59:56.569Z] 656be50a0ddc: Waiting [2022-09-05T13:59:56.569Z] 329c88fbcd65: Pulling fs layer [2022-09-05T13:59:56.569Z] 2bbca73fdf42: Waiting [2022-09-05T13:59:56.569Z] a050256f5b6f: Verifying Checksum [2022-09-05T13:59:56.569Z] a050256f5b6f: Download complete [2022-09-05T13:59:56.569Z] c0a3192eca97: Verifying Checksum [2022-09-05T13:59:56.569Z] c0a3192eca97: Download complete [2022-09-05T13:59:56.569Z] 2bbca73fdf42: Verifying Checksum [2022-09-05T13:59:56.569Z] 2bbca73fdf42: Download complete [2022-09-05T13:59:56.569Z] 46d945488cbd: Verifying Checksum [2022-09-05T13:59:56.569Z] 46d945488cbd: Download complete [2022-09-05T13:59:56.569Z] b3c136eddcbf: Verifying Checksum [2022-09-05T13:59:56.569Z] b3c136eddcbf: Download complete [2022-09-05T13:59:57.557Z] b3c136eddcbf: Pull complete [2022-09-05T13:59:57.557Z] 329c88fbcd65: Verifying Checksum [2022-09-05T13:59:57.557Z] 329c88fbcd65: Download complete [2022-09-05T13:59:58.158Z] c0a3192eca97: Pull complete [2022-09-05T13:59:58.158Z] a050256f5b6f: Pull complete [2022-09-05T13:59:58.756Z] 8a5474983e97: Verifying Checksum [2022-09-05T13:59:58.756Z] 8a5474983e97: Download complete [2022-09-05T13:59:59.353Z] 656be50a0ddc: Verifying Checksum [2022-09-05T13:59:59.353Z] 656be50a0ddc: Download complete [2022-09-05T14:00:11.756Z] 656be50a0ddc: Pull complete [2022-09-05T14:00:11.756Z] 2bbca73fdf42: Pull complete [2022-09-05T14:00:11.756Z] 46d945488cbd: Pull complete [2022-09-05T14:00:18.487Z] 8a5474983e97: Pull complete [2022-09-05T14:00:20.470Z] 329c88fbcd65: Pull complete [2022-09-05T14:00:20.470Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-05T14:00:20.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-05T14:00:20.470Z] ---> ff4287adb874 [2022-09-05T14:00:20.470Z] Step 3/10 : ARG MAKE='make build' [2022-09-05T14:00:21.070Z] ---> Running in bce795615a66 [2022-09-05T14:00:21.345Z] Removing intermediate container bce795615a66 [2022-09-05T14:00:21.345Z] ---> 82e28acf9546 [2022-09-05T14:00:21.345Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T14:00:21.345Z] ---> Running in 6d2f886fd502 [2022-09-05T14:00:24.749Z] Removing intermediate container 6d2f886fd502 [2022-09-05T14:00:24.749Z] ---> 26b0a2fbb528 [2022-09-05T14:00:24.749Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-05T14:00:24.749Z] ---> Running in b2a46a6281e4 [2022-09-05T14:00:25.346Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T14:00:25.939Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T14:00:26.912Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-05T14:00:27.185Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-05T14:00:27.185Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-05T14:00:27.459Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-05T14:00:27.459Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-05T14:00:27.732Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-05T14:00:27.732Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-05T14:00:27.732Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-05T14:00:28.004Z] Executing busybox-1.35.0-r13.trigger [2022-09-05T14:00:28.004Z] OK: 228 MiB in 59 packages [2022-09-05T14:00:28.990Z] Removing intermediate container b2a46a6281e4 [2022-09-05T14:00:28.990Z] ---> 7172039f7712 [2022-09-05T14:00:28.990Z] Step 6/10 : WORKDIR /device-modbus-go [2022-09-05T14:00:28.990Z] ---> Running in ad84fc8b8b74 [2022-09-05T14:00:29.266Z] Removing intermediate container ad84fc8b8b74 [2022-09-05T14:00:29.266Z] ---> 9f61d1058d7c [2022-09-05T14:00:29.266Z] Step 7/10 : COPY go.mod vendor* ./ [2022-09-05T14:00:29.877Z] ---> 24f445c6ac81 [2022-09-05T14:00:29.877Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T14:00:29.877Z] ---> Running in ee585be85603 [2022-09-05T14:01:26.424Z] Removing intermediate container ee585be85603 [2022-09-05T14:01:26.424Z] ---> 3046324250ef [2022-09-05T14:01:26.424Z] Step 9/10 : COPY . . [2022-09-05T14:01:26.424Z] ---> f267eb459ecb [2022-09-05T14:01:26.424Z] Step 10/10 : RUN ${MAKE} [2022-09-05T14:01:26.424Z] ---> Running in c0691d971c94 [2022-09-05T14:01:26.424Z] noop [2022-09-05T14:01:26.424Z] Removing intermediate container c0691d971c94 [2022-09-05T14:01:26.424Z] ---> b44c61ea17d6 [2022-09-05T14:01:26.424Z] Successfully built b44c61ea17d6 [2022-09-05T14:01:26.424Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T14:01:26.914Z] + docker inspect -f . ci-base-image-arm64 [2022-09-05T14:01:26.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T14:01:27.251Z] prd-ubuntu20.04-docker-arm64-4c-16g-24594 does not seem to be running inside a container [2022-09-05T14:01:27.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-05T14:01:28.692Z] $ docker top 6c1144f496b1e770fc9786eda5d7092b9277a0810f6775a5d398f39639e9f0b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T14:01:29.678Z] + go version [2022-09-05T14:01:29.678Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-05T14:01:29.711Z] $ docker stop --time=1 6c1144f496b1e770fc9786eda5d7092b9277a0810f6775a5d398f39639e9f0b5 [2022-09-05T14:01:31.404Z] $ docker rm -f 6c1144f496b1e770fc9786eda5d7092b9277a0810f6775a5d398f39639e9f0b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T14:01:32.363Z] + docker inspect -f . ci-base-image-arm64 [2022-09-05T14:01:32.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T14:01:32.699Z] prd-ubuntu20.04-docker-arm64-4c-16g-24594 does not seem to be running inside a container [2022-09-05T14:01:32.785Z] $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-05T14:01:34.194Z] $ docker top cb38c8468b366196f0ef981ffa3e555790b6b54509ea212c20911bb075084d32 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T14:01:35.171Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-05T14:01:35.901Z] + make test [2022-09-05T14:01:35.901Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-05T14:01:37.351Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-05T14:02:59.202Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-05T14:02:59.475Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 47.7% of statements [2022-09-05T14:03:00.074Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-05T14:03:00.074Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-05T14:03:22.278Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-05T14:03:22.279Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-05T14:03:22.279Z] ./bin/test-attribution-txt.sh [2022-09-05T14:03:22.279Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-05T14:03:22.279Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-05T14:03:22.279Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-05T14:03:22.318Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-05T14:03:22.353Z] $ docker stop --time=1 cb38c8468b366196f0ef981ffa3e555790b6b54509ea212c20911bb075084d32 [2022-09-05T14:03:24.176Z] $ docker rm -f cb38c8468b366196f0ef981ffa3e555790b6b54509ea212c20911bb075084d32 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T14:03:25.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-05T14:03:25.298Z] Warning: overwriting stash ‘coverage-report’ [2022-09-05T14:03:25.806Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T14:03:26.406Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-05T14:03:26.762Z] + ls -al . [2022-09-05T14:03:26.762Z] total 184 [2022-09-05T14:03:26.762Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 14:01 . [2022-09-05T14:03:26.762Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:59 .. [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 13:59 .dockerignore [2022-09-05T14:03:26.762Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 13:59 .git [2022-09-05T14:03:26.762Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:59 .github [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 5 13:59 .gitignore [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 13:59 .golangci.yml [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 9744 Sep 5 13:59 Attribution.txt [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 5 13:59 CHANGELOG.md [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 1550 Sep 5 13:59 Dockerfile [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 13:59 GOVERNANCE.md [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 13:59 Jenkinsfile [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 13:59 LICENSE [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 1892 Sep 5 13:59 Makefile [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 5 13:59 OWNERS.md [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 3397 Sep 5 13:59 README.md [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 13:56 VERSION [2022-09-05T14:03:26.762Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 13:59 bin [2022-09-05T14:03:26.762Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:59 cmd [2022-09-05T14:03:26.762Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 5 14:02 coverage.out [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 3572 Sep 5 13:59 go.mod [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 37058 Sep 5 13:59 go.sum [2022-09-05T14:03:26.762Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:59 internal [2022-09-05T14:03:26.762Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 13:59 simulator [2022-09-05T14:03:26.762Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:59 snap [2022-09-05T14:03:26.762Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 5 13:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T14:03:27.215Z] + 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=5aae84ece3ba8927df2a466f6d353c8d0718271e --label arch=arm64 --label version=0.0.0 . [2022-09-05T14:03:27.491Z] Sending build context to Docker daemon 3.208MB [2022-09-05T14:03:27.780Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T14:03:27.780Z] Step 2/23 : FROM ${BASE} AS builder [2022-09-05T14:03:27.780Z] ---> b44c61ea17d6 [2022-09-05T14:03:27.780Z] Step 3/23 : ARG MAKE='make build' [2022-09-05T14:03:27.780Z] ---> Running in 9399a23ac3eb [2022-09-05T14:03:28.058Z] Removing intermediate container 9399a23ac3eb [2022-09-05T14:03:28.058Z] ---> 02c277033421 [2022-09-05T14:03:28.058Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T14:03:28.058Z] ---> Running in b52635954dc7 [2022-09-05T14:03:30.052Z] Removing intermediate container b52635954dc7 [2022-09-05T14:03:30.052Z] ---> 305d93a79e29 [2022-09-05T14:03:30.052Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-05T14:03:30.052Z] ---> Running in 1daed785e3e5 [2022-09-05T14:03:31.037Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T14:03:32.015Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T14:03:32.613Z] OK: 228 MiB in 59 packages [2022-09-05T14:03:33.597Z] Removing intermediate container 1daed785e3e5 [2022-09-05T14:03:33.597Z] ---> bebfdd0a0aff [2022-09-05T14:03:33.597Z] Step 6/23 : WORKDIR /device-modbus-go [2022-09-05T14:03:33.597Z] ---> Running in b49dadc89219 [2022-09-05T14:03:33.874Z] Removing intermediate container b49dadc89219 [2022-09-05T14:03:33.874Z] ---> 7e640a56f95d [2022-09-05T14:03:33.874Z] Step 7/23 : COPY go.mod vendor* ./ [2022-09-05T14:03:34.479Z] ---> 6e0ab12963b3 [2022-09-05T14:03:34.479Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T14:03:34.774Z] ---> Running in de50e51142ed [2022-09-05T14:03:36.763Z] Removing intermediate container de50e51142ed [2022-09-05T14:03:36.763Z] ---> fac739eb5127 [2022-09-05T14:03:36.763Z] Step 9/23 : COPY . . [2022-09-05T14:03:37.745Z] ---> f119cea874ac [2022-09-05T14:03:37.745Z] Step 10/23 : RUN ${MAKE} [2022-09-05T14:03:37.745Z] ---> Running in 5327c88d221b [2022-09-05T14:03:38.727Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-09-05T14:05:45.640Z] Removing intermediate container 5327c88d221b [2022-09-05T14:05:45.640Z] ---> d8708f65eb3c [2022-09-05T14:05:45.640Z] Step 11/23 : FROM alpine:3.14 [2022-09-05T14:05:45.640Z] 3.14: Pulling from library/alpine [2022-09-05T14:05:45.640Z] 90cda3b7c325: Pulling fs layer [2022-09-05T14:05:45.640Z] 90cda3b7c325: Download complete [2022-09-05T14:05:45.640Z] 90cda3b7c325: Pull complete [2022-09-05T14:05:45.640Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-05T14:05:45.640Z] Status: Downloaded newer image for alpine:3.14 [2022-09-05T14:05:45.640Z] ---> 376ba31ae3da [2022-09-05T14:05:45.640Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-05T14:05:45.640Z] ---> Running in a69165cbd0a7 [2022-09-05T14:05:45.640Z] Removing intermediate container a69165cbd0a7 [2022-09-05T14:05:45.640Z] ---> 739f5e7bb68c [2022-09-05T14:05:45.640Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T14:05:45.640Z] ---> Running in 5e49a9e49c9f [2022-09-05T14:05:45.640Z] Removing intermediate container 5e49a9e49c9f [2022-09-05T14:05:45.640Z] ---> ca7b7a487bbb [2022-09-05T14:05:45.640Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-05T14:05:45.640Z] ---> Running in f490a91cb398 [2022-09-05T14:05:46.625Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-09-05T14:05:47.600Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-09-05T14:05:48.575Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-05T14:05:48.575Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-05T14:05:48.575Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-05T14:05:48.575Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-05T14:05:48.847Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-05T14:05:48.847Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-05T14:05:49.119Z] Executing busybox-1.33.1-r8.trigger [2022-09-05T14:05:49.119Z] OK: 8 MiB in 20 packages [2022-09-05T14:05:49.718Z] Removing intermediate container f490a91cb398 [2022-09-05T14:05:49.718Z] ---> 2ec82b1810b9 [2022-09-05T14:05:49.718Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-09-05T14:05:51.151Z] ---> 6ea10d119821 [2022-09-05T14:05:51.151Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-05T14:05:51.756Z] ---> af899c373b6b [2022-09-05T14:05:51.756Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-05T14:05:52.354Z] ---> 0b832c35f2cb [2022-09-05T14:05:52.354Z] Step 18/23 : EXPOSE 59901 [2022-09-05T14:05:52.354Z] ---> Running in 37dd892a5cdd [2022-09-05T14:05:52.628Z] Removing intermediate container 37dd892a5cdd [2022-09-05T14:05:52.628Z] ---> 8fd006ffb444 [2022-09-05T14:05:52.628Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-09-05T14:05:52.628Z] ---> Running in 81c49b2dbf0d [2022-09-05T14:05:52.906Z] Removing intermediate container 81c49b2dbf0d [2022-09-05T14:05:52.906Z] ---> 97659271c816 [2022-09-05T14:05:52.906Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-05T14:05:52.906Z] ---> Running in f94c52254312 [2022-09-05T14:05:53.517Z] Removing intermediate container f94c52254312 [2022-09-05T14:05:53.517Z] ---> c2cd4c02ca39 [2022-09-05T14:05:53.517Z] Step 21/23 : LABEL arch=arm64 [2022-09-05T14:05:53.517Z] ---> Running in 5b79c6dab974 [2022-09-05T14:05:53.791Z] Removing intermediate container 5b79c6dab974 [2022-09-05T14:05:53.791Z] ---> d9771cb9e83e [2022-09-05T14:05:53.791Z] Step 22/23 : LABEL git_sha=5aae84ece3ba8927df2a466f6d353c8d0718271e [2022-09-05T14:05:53.791Z] ---> Running in b238c8b00893 [2022-09-05T14:05:54.063Z] Removing intermediate container b238c8b00893 [2022-09-05T14:05:54.063Z] ---> d2892a28cf06 [2022-09-05T14:05:54.063Z] Step 23/23 : LABEL version=0.0.0 [2022-09-05T14:05:54.063Z] ---> Running in db52c2982544 [2022-09-05T14:05:54.338Z] Removing intermediate container db52c2982544 [2022-09-05T14:05:54.338Z] ---> 6c924f078b44 [2022-09-05T14:05:54.338Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-05T14:05:54.338Z] Successfully built 6c924f078b44 [2022-09-05T14:05:54.338Z] 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-09-05T14:05:55.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T14:05:55.494Z] [2022-09-05T14:05:55.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T14:05:55.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T14:05:56.179Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-05T14:05:56.179Z] 8998bd30e6a1: Pulling fs layer [2022-09-05T14:05:56.179Z] 04944245beec: Pulling fs layer [2022-09-05T14:05:56.179Z] 699f458cf7ca: Pulling fs layer [2022-09-05T14:05:56.179Z] 765212b225bb: Pulling fs layer [2022-09-05T14:05:56.179Z] f23df028b6ca: Pulling fs layer [2022-09-05T14:05:56.179Z] d65c8cfc05b1: Pulling fs layer [2022-09-05T14:05:56.179Z] 2437ff75d9bd: Pulling fs layer [2022-09-05T14:05:56.179Z] f23df028b6ca: Waiting [2022-09-05T14:05:56.179Z] 765212b225bb: Waiting [2022-09-05T14:05:56.179Z] d65c8cfc05b1: Waiting [2022-09-05T14:05:56.179Z] 2437ff75d9bd: Waiting [2022-09-05T14:05:56.179Z] 04944245beec: Verifying Checksum [2022-09-05T14:05:56.179Z] 04944245beec: Download complete [2022-09-05T14:05:56.179Z] 765212b225bb: Verifying Checksum [2022-09-05T14:05:56.179Z] 765212b225bb: Download complete [2022-09-05T14:05:56.179Z] f23df028b6ca: Verifying Checksum [2022-09-05T14:05:56.179Z] f23df028b6ca: Download complete [2022-09-05T14:05:56.179Z] d65c8cfc05b1: Verifying Checksum [2022-09-05T14:05:56.179Z] d65c8cfc05b1: Download complete [2022-09-05T14:05:56.457Z] 699f458cf7ca: Verifying Checksum [2022-09-05T14:05:56.457Z] 699f458cf7ca: Download complete [2022-09-05T14:05:56.733Z] 8998bd30e6a1: Download complete [2022-09-05T14:05:59.361Z] 2437ff75d9bd: Verifying Checksum [2022-09-05T14:05:59.361Z] 2437ff75d9bd: Download complete [2022-09-05T14:06:01.345Z] 8998bd30e6a1: Pull complete [2022-09-05T14:06:01.620Z] 04944245beec: Pull complete [2022-09-05T14:06:03.066Z] 699f458cf7ca: Pull complete [2022-09-05T14:06:03.339Z] 765212b225bb: Pull complete [2022-09-05T14:06:04.323Z] f23df028b6ca: Pull complete [2022-09-05T14:06:04.323Z] d65c8cfc05b1: Pull complete [2022-09-05T14:06:19.428Z] 2437ff75d9bd: Pull complete [2022-09-05T14:06:19.428Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-05T14:06:19.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T14:06:19.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T14:06:19.826Z] prd-ubuntu20.04-docker-arm64-4c-16g-24594 does not seem to be running inside a container [2022-09-05T14:06:19.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-05T14:06:22.547Z] $ docker top b9bdfd01be6e7a5cf8fc25c6de4e3e4e675a02aab9e5bfa82fbd56ea873c3dc7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:06:23.537Z] ---> job-cost.sh [2022-09-05T14:06:23.537Z] lf-activate-venv: SKIPPING [2022-09-05T14:06:23.537Z] INFO: No Stack... [2022-09-05T14:06:23.811Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-05T14:06:24.791Z] INFO: Archiving Costs [Pipeline] sh [2022-09-05T14:06:25.468Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-09-05T14:06:25.468Z] + cut -d, -f6 [Pipeline] lock [2022-09-05T14:06:25.547Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-371-1-stack-cost] [2022-09-05T14:06:25.553Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-371-1-stack-cost] did not exist. Created. [2022-09-05T14:06:25.553Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-371-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-05T14:06:26.304Z] /w/workspace/device-modbus-go/1@tmp/durable-e2a7e7c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-05T14:06:27.007Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-05T14:06:27.042Z] Warning: overwriting stash ‘stack-cost’ [2022-09-05T14:06:27.092Z] Stashed 1 file(s) [Pipeline] } [2022-09-05T14:06:27.106Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-371-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-05T14:06:27.189Z] $ docker stop --time=1 b9bdfd01be6e7a5cf8fc25c6de4e3e4e675a02aab9e5bfa82fbd56ea873c3dc7 [2022-09-05T14:06:28.691Z] $ docker rm -f b9bdfd01be6e7a5cf8fc25c6de4e3e4e675a02aab9e5bfa82fbd56ea873c3dc7 [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-09-05T14:06:29.713Z] provisioning config files... [2022-09-05T14:06:29.722Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-371@tmp/config1842350930232598371tmp [Pipeline] { [Pipeline] sh [2022-09-05T14:06:30.053Z] + set +x [2022-09-05T14:06:30.053Z] + bash -s -- [2022-09-05T14:06:30.053Z] + curl -s https://codecov.io/bash [2022-09-05T14:06:30.053Z] [2022-09-05T14:06:30.053Z] _____ _ [2022-09-05T14:06:30.053Z] / ____| | | [2022-09-05T14:06:30.053Z] | | ___ __| | ___ ___ _____ __ [2022-09-05T14:06:30.053Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-05T14:06:30.053Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-05T14:06:30.053Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-05T14:06:30.053Z] Bash-1.0.6 [2022-09-05T14:06:30.053Z] [2022-09-05T14:06:30.053Z] [2022-09-05T14:06:30.053Z] ==> git version 2.25.1 found [2022-09-05T14:06:30.053Z] ==> 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-09-05T14:06:30.053Z] Release-Date: 2020-01-08 [2022-09-05T14:06:30.053Z] 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-09-05T14:06:30.053Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-05T14:06:30.053Z] ==> Jenkins CI detected. [2022-09-05T14:06:30.053Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-371 [2022-09-05T14:06:30.053Z] project root: . [2022-09-05T14:06:30.053Z] --> token set from env [2022-09-05T14:06:30.053Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-05T14:06:30.053Z] ==> Running gcov in . (disable via -X gcov) [2022-09-05T14:06:30.053Z] ==> Python coveragepy not found [2022-09-05T14:06:30.053Z] ==> Searching for coverage reports in: [2022-09-05T14:06:30.053Z] + . [2022-09-05T14:06:30.053Z] -> Found 1 reports [2022-09-05T14:06:30.053Z] ==> Detecting git/mercurial file structure [2022-09-05T14:06:30.053Z] ==> Reading reports [2022-09-05T14:06:30.053Z] + ./coverage.out bytes=23241 [2022-09-05T14:06:30.053Z] ==> Appending adjustments [2022-09-05T14:06:30.053Z] https://docs.codecov.io/docs/fixing-reports [2022-09-05T14:06:30.314Z] + Found adjustments [2022-09-05T14:06:30.314Z] ==> Gzipping contents [2022-09-05T14:06:30.314Z] 4.0K /tmp/codecov.mLoc4b.gz [2022-09-05T14:06:30.314Z] ==> Uploading reports [2022-09-05T14:06:30.314Z] url: https://codecov.io [2022-09-05T14:06:30.314Z] query: branch=PR-371&commit=5aae84ece3ba8927df2a466f6d353c8d0718271e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-371%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=371&job=&cmd_args= [2022-09-05T14:06:30.314Z] -> Pinging Codecov [2022-09-05T14:06:30.314Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-371&commit=5aae84ece3ba8927df2a466f6d353c8d0718271e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-371%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=371&job=&cmd_args= [2022-09-05T14:06:30.575Z] -> Uploading to [2022-09-05T14:06:30.575Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-05/55DBCA73C666E3227836607328DD7E49/5aae84ece3ba8927df2a466f6d353c8d0718271e/ecb817a6-7f0b-47b5-834d-5a88fc980bad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220905T140630Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=492a97b85194bde46ea751edfc9b85f492003ed91d7de9388d3e0c92fbaf2cc4 [2022-09-05T14:06:30.575Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-05T14:06:30.575Z] Dload Upload Total Spent Left Speed [2022-09-05T14:06:30.838Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3914 0 0 100 3914 0 15053 --:--:-- --:--:-- --:--:-- 15053 [2022-09-05T14:06:30.838Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/5aae84ece3ba8927df2a466f6d353c8d0718271e [Pipeline] } [2022-09-05T14:06:30.873Z] 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-09-05T14:06:32.676Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-371/archives ] [2022-09-05T14:06:32.677Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-371/archives [2022-09-05T14:06:32.677Z] total 16 [2022-09-05T14:06:32.677Z] drwxr-xr-x 3 root root 4096 Sep 5 13:58 . [2022-09-05T14:06:32.677Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 13:58 .. [2022-09-05T14:06:32.677Z] drwxr-xr-x 2 root root 4096 Sep 5 13:58 cost [2022-09-05T14:06:32.677Z] -rw-r--r-- 1 root root 88 Sep 5 13:58 cost.csv [2022-09-05T14:06:32.677Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-371/archives [2022-09-05T14:06:32.677Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-371/archives [2022-09-05T14:06:32.677Z] total 16 [2022-09-05T14:06:32.677Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 13:58 . [2022-09-05T14:06:32.677Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 13:58 .. [2022-09-05T14:06:32.677Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 13:58 cost [2022-09-05T14:06:32.677Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 5 13:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:06:33.008Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:06:33.907Z] ---> package-listing.sh [2022-09-05T14:06:33.907Z] ++ facter osfamily [2022-09-05T14:06:33.907Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-05T14:06:34.168Z] + OS_FAMILY=debian [2022-09-05T14:06:34.168Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-371 [2022-09-05T14:06:34.168Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-05T14:06:34.168Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-05T14:06:34.168Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-05T14:06:34.168Z] + PACKAGES=/tmp/packages_start.txt [2022-09-05T14:06:34.168Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-371 ']' [2022-09-05T14:06:34.168Z] + PACKAGES=/tmp/packages_end.txt [2022-09-05T14:06:34.168Z] + case "${OS_FAMILY}" in [2022-09-05T14:06:34.168Z] + dpkg -l [2022-09-05T14:06:34.168Z] + grep '^ii' [2022-09-05T14:06:34.168Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-05T14:06:34.168Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-05T14:06:34.168Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-05T14:06:34.168Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-371 ']' [2022-09-05T14:06:34.168Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-371/archives/ [2022-09-05T14:06:34.169Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-371/archives/ [Pipeline] echo [2022-09-05T14:06:34.208Z] 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-371/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-05T14:06:34.499Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T14:06:35.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T14:06:35.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T14:06:35.297Z] prd-ubuntu20.04-docker-8c-8g-24592 does not seem to be running inside a container [2022-09-05T14:06:35.330Z] $ 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-371/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-371 -v /w/workspace/xfoundry_device-modbus-go_PR-371:/w/workspace/xfoundry_device-modbus-go_PR-371:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-371@tmp:/w/workspace/xfoundry_device-modbus-go_PR-371@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-05T14:06:35.552Z] $ docker top ee84ea0ec86851724870d1fb20cf668e6394a35a12dd0111336c82ca91988e74 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T14:06:35.954Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-05T14:06:36.268Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-05T14:06:36.587Z] + ls /var/log/sa-host [2022-09-05T14:06:36.587Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T14:06:36.721Z] provisioning config files... [2022-09-05T14:06:36.731Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-371@tmp/config6491773826705328401tmp [Pipeline] { [Pipeline] echo [2022-09-05T14:06:36.779Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:06:37.099Z] ---> create-netrc.sh [Pipeline] } [2022-09-05T14:06:37.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:06:37.519Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-05T14:06:37.553Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:06:37.870Z] ---> sudo-logs.sh [2022-09-05T14:06:37.870Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-05T14:06:37.947Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:06:38.264Z] ---> job-cost.sh [2022-09-05T14:06:38.264Z] lf-activate-venv: SKIPPING [2022-09-05T14:06:38.264Z] DEBUG: total: 0.2199999988079071 [2022-09-05T14:06:38.264Z] INFO: Retrieving Stack Cost... [2022-09-05T14:06:38.840Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-05T14:06:39.102Z] INFO: Archiving Costs [Pipeline] echo [2022-09-05T14:06:39.132Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:06:39.451Z] ---> logs-deploy.sh [2022-09-05T14:06:39.451Z] lf-activate-venv: SKIPPING [2022-09-05T14:06:39.451Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-371/1 [2022-09-05T14:06:39.451Z] INFO: archiving workspace using pattern(s): [2022-09-05T14:06:40.393Z] Archives upload complete. [2022-09-05T14:06:40.656Z] INFO: archiving logs to Nexus