Pull request #377 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a944992d1712af23156153d3e21f45f8a7ce1c14+53d947db5a4f9528d63bb92e74d3c6e84cd7a675 (bd1c15f9b356abc3df45d1839e021f57d590203d) 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-ssh318630871673786195.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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-ssh14858564309607151610.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-377/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-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3512960176991496987.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2335459048467280804.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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-ssh15001857674444125649.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-377/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-377/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4882926628999718891.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1126 in /w/workspace/xfoundry_device-modbus-go_PR-377 [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-377 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 into PR head commit a944992d1712af23156153d3e21f45f8a7ce1c14 Merge succeeded, producing a944992d1712af23156153d3e21f45f8a7ce1c14 Checking out Revision a944992d1712af23156153d3e21f45f8a7ce1c14 (PR-377) 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-26T05:04:32.863Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-26T05:04:33.040Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-26T05:04:33.125Z] ========================================================= [2022-09-26T05:04:33.125Z] EdgeX Global Pipelines Version Info [2022-09-26T05:04:33.125Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f a944992d1712af23156153d3e21f45f8a7ce1c14 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a944992d1712af23156153d3e21f45f8a7ce1c14 # timeout=10 [2022-09-26T05:04:33.857Z] ------------------- [2022-09-26T05:04:33.857Z] stable info: [2022-09-26T05:04:33.857Z] ------------------- [2022-09-26T05:04:33.857Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-26T05:04:33.857Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T05:04:33.857Z] Message: update stable to v1.0.239 [2022-09-26T05:04:34.429Z] ------------------- [2022-09-26T05:04:34.429Z] experimental info: [2022-09-26T05:04:34.429Z] ------------------- [2022-09-26T05:04:34.429Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-26T05:04:34.429Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T05:04:34.429Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-26T05:04:34.714Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-09-26T05:04:34.755Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-09-26T05:04:34.793Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-26T05:04:34.828Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-26T05:04:34.865Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-26T05:04:34.901Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-26T05:04:34.939Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-26T05:04:34.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-26T05:04:35.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-26T05:04:35.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-26T05:04:35.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-26T05:04:35.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-09-26T05:04:35.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-26T05:04:35.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-26T05:04:35.263Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T05:04:35.301Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T05:04:35.340Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T05:04:35.382Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T05:04:35.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-26T05:04:35.461Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-26T05:04:35.500Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-26T05:04:35.538Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-26T05:04:35.575Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-26T05:04:35.611Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-26T05:04:35.703Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-26T05:04:35.741Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-26T05:04:35.781Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-26T05:04:35.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-377 [Pipeline] echo [2022-09-26T05:04:35.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-377 [Pipeline] echo [2022-09-26T05:04:35.896Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-377 [Pipeline] echo [2022-09-26T05:04:35.937Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a944992d1712af23156153d3e21f45f8a7ce1c14 [Pipeline] echo [2022-09-26T05:04:35.975Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a944992 [Pipeline] echo [2022-09-26T05:04:36.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T05:04:36.134Z] provisioning config files... [2022-09-26T05:04:36.149Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/config9673312478396259402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:04:36.499Z] ---> docker-login.sh [2022-09-26T05:04:36.499Z] nexus3.edgexfoundry.org:10001 [2022-09-26T05:04:36.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:04:36.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:04:36.760Z] Configure a credential helper to remove this warning. See [2022-09-26T05:04:36.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:04:36.760Z] [2022-09-26T05:04:36.760Z] Login Succeeded [2022-09-26T05:04:36.760Z] nexus3.edgexfoundry.org:10002 [2022-09-26T05:04:36.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:04:36.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:04:36.760Z] Configure a credential helper to remove this warning. See [2022-09-26T05:04:36.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:04:36.760Z] [2022-09-26T05:04:36.760Z] Login Succeeded [2022-09-26T05:04:36.760Z] nexus3.edgexfoundry.org:10003 [2022-09-26T05:04:37.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:04:37.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:04:37.042Z] Configure a credential helper to remove this warning. See [2022-09-26T05:04:37.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:04:37.042Z] [2022-09-26T05:04:37.042Z] Login Succeeded [2022-09-26T05:04:37.042Z] nexus3.edgexfoundry.org:10004 [2022-09-26T05:04:37.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:04:37.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:04:37.042Z] Configure a credential helper to remove this warning. See [2022-09-26T05:04:37.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:04:37.042Z] [2022-09-26T05:04:37.042Z] Login Succeeded [2022-09-26T05:04:37.042Z] docker.io [2022-09-26T05:04:37.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:04:37.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:04:37.565Z] Configure a credential helper to remove this warning. See [2022-09-26T05:04:37.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:04:37.565Z] [2022-09-26T05:04:37.565Z] Login Succeeded [2022-09-26T05:04:37.565Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T05:04:37.593Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-26T05:04:38.233Z] + git rev-list -1 --merges a944992d1712af23156153d3e21f45f8a7ce1c14~1..a944992d1712af23156153d3e21f45f8a7ce1c14 [Pipeline] echo [2022-09-26T05:04:38.286Z] -----------> git rev-list -1 --merges a944992d1712af23156153d3e21f45f8a7ce1c14~1..a944992d1712af23156153d3e21f45f8a7ce1c14 a944992d1712af23156153d3e21f45f8a7ce1c14 [false] [Pipeline] sh [2022-09-26T05:04:38.598Z] + git log --format=format:%s -1 a944992d1712af23156153d3e21f45f8a7ce1c14 [Pipeline] echo [2022-09-26T05:04:38.638Z] ========================================================= [2022-09-26T05:04:38.638Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-26T05:04:38.638Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T05:04:39.064Z] + git log --format=format:%s -1 a944992d1712af23156153d3e21f45f8a7ce1c14 [Pipeline] echo [2022-09-26T05:04:39.098Z] [semverPrep] GIT_COMMIT: a944992d1712af23156153d3e21f45f8a7ce1c14, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-26T05:04:39.127Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-26T05:04:39.492Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-26T05:04:39.492Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-26T05:04:39.492Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-26T05:04:39.492Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-26T05:04:39.492Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-26T05:04:39.492Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-26T05:04:39.492Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:04:39.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T05:04:39.927Z] [2022-09-26T05:04:39.927Z] 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-26T05:04:40.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T05:04:40.302Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-26T05:04:40.302Z] b85a868b505f: Pulling fs layer [2022-09-26T05:04:40.302Z] e2be974225ed: Pulling fs layer [2022-09-26T05:04:40.302Z] 339a4e72a1f5: Pulling fs layer [2022-09-26T05:04:40.302Z] 988bab9f4d93: Pulling fs layer [2022-09-26T05:04:40.302Z] 1469e6f7b9e6: Pulling fs layer [2022-09-26T05:04:40.302Z] eaf3925da568: Pulling fs layer [2022-09-26T05:04:40.302Z] bab4dde63d76: Pulling fs layer [2022-09-26T05:04:40.302Z] bde34c3a00c8: Pulling fs layer [2022-09-26T05:04:40.302Z] b352a97aabf1: Pulling fs layer [2022-09-26T05:04:40.302Z] 4872d77fe225: Pulling fs layer [2022-09-26T05:04:40.302Z] 5851b861e8e6: Pulling fs layer [2022-09-26T05:04:40.302Z] eaf3925da568: Waiting [2022-09-26T05:04:40.302Z] bab4dde63d76: Waiting [2022-09-26T05:04:40.302Z] bde34c3a00c8: Waiting [2022-09-26T05:04:40.302Z] b352a97aabf1: Waiting [2022-09-26T05:04:40.302Z] 4872d77fe225: Waiting [2022-09-26T05:04:40.302Z] 5851b861e8e6: Waiting [2022-09-26T05:04:40.302Z] 988bab9f4d93: Waiting [2022-09-26T05:04:40.302Z] 1469e6f7b9e6: Waiting [2022-09-26T05:04:40.302Z] e2be974225ed: Verifying Checksum [2022-09-26T05:04:40.302Z] e2be974225ed: Download complete [2022-09-26T05:04:40.302Z] 988bab9f4d93: Download complete [2022-09-26T05:04:40.563Z] 1469e6f7b9e6: Verifying Checksum [2022-09-26T05:04:40.563Z] 1469e6f7b9e6: Download complete [2022-09-26T05:04:40.563Z] eaf3925da568: Verifying Checksum [2022-09-26T05:04:40.563Z] eaf3925da568: Download complete [2022-09-26T05:04:40.563Z] 339a4e72a1f5: Verifying Checksum [2022-09-26T05:04:40.563Z] 339a4e72a1f5: Download complete [2022-09-26T05:04:40.563Z] bde34c3a00c8: Verifying Checksum [2022-09-26T05:04:40.563Z] bde34c3a00c8: Download complete [2022-09-26T05:04:40.563Z] b352a97aabf1: Verifying Checksum [2022-09-26T05:04:40.563Z] b352a97aabf1: Download complete [2022-09-26T05:04:40.563Z] 4872d77fe225: Verifying Checksum [2022-09-26T05:04:40.563Z] 4872d77fe225: Download complete [2022-09-26T05:04:40.563Z] 5851b861e8e6: Verifying Checksum [2022-09-26T05:04:40.563Z] 5851b861e8e6: Download complete [2022-09-26T05:04:40.563Z] b85a868b505f: Verifying Checksum [2022-09-26T05:04:40.563Z] b85a868b505f: Download complete [2022-09-26T05:04:40.823Z] bab4dde63d76: Verifying Checksum [2022-09-26T05:04:40.823Z] bab4dde63d76: Download complete [2022-09-26T05:04:41.762Z] b85a868b505f: Pull complete [2022-09-26T05:04:42.020Z] e2be974225ed: Pull complete [2022-09-26T05:04:42.588Z] 339a4e72a1f5: Pull complete [2022-09-26T05:04:42.588Z] 988bab9f4d93: Pull complete [2022-09-26T05:04:42.847Z] 1469e6f7b9e6: Pull complete [2022-09-26T05:04:42.847Z] eaf3925da568: Pull complete [2022-09-26T05:04:44.751Z] bab4dde63d76: Pull complete [2022-09-26T05:04:44.751Z] bde34c3a00c8: Pull complete [2022-09-26T05:04:44.751Z] b352a97aabf1: Pull complete [2022-09-26T05:04:44.751Z] 4872d77fe225: Pull complete [2022-09-26T05:04:44.751Z] 5851b861e8e6: Pull complete [2022-09-26T05:04:44.751Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-26T05:04:45.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T05:04:45.011Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:04:45.231Z] prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container [2022-09-26T05:04:45.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-377 -v /w/workspace/xfoundry_device-modbus-go_PR-377:/w/workspace/xfoundry_device-modbus-go_PR-377:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-377@tmp:/w/workspace/xfoundry_device-modbus-go_PR-377@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-26T05:04:47.115Z] $ docker top fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff -eo pid,comm [2022-09-26T05:04:47.171Z] 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-26T05:04:47.171Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-26T05:04:47.288Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T05:04:47.288Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T05:04:47.398Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T05:04:47.399Z] $ docker exec fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff ssh-agent [2022-09-26T05:04:47.525Z] SSH_AUTH_SOCK=/tmp/ssh-ReniJNrw1e0X/agent.32 [2022-09-26T05:04:47.525Z] SSH_AGENT_PID=38 [2022-09-26T05:04:47.530Z] Running ssh-add (command line suppressed) [2022-09-26T05:04:47.632Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-377@tmp/private_key_14309206283045989405.key (/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/private_key_14309206283045989405.key) [2022-09-26T05:04:47.648Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T05:04:47.977Z] + git tag --points-at HEAD [Pipeline] } [2022-09-26T05:04:48.002Z] $ docker exec --env ******** --env ******** fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff ssh-agent -k [2022-09-26T05:04:48.100Z] unset SSH_AUTH_SOCK; [2022-09-26T05:04:48.101Z] unset SSH_AGENT_PID; [2022-09-26T05:04:48.101Z] echo Agent pid 38 killed; [2022-09-26T05:04:48.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-26T05:04:48.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T05:04:48.200Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T05:04:48.314Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T05:04:48.315Z] $ docker exec fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff ssh-agent [2022-09-26T05:04:48.420Z] SSH_AUTH_SOCK=/tmp/ssh-TL5KyppLws6A/agent.70 [2022-09-26T05:04:48.420Z] SSH_AGENT_PID=76 [2022-09-26T05:04:48.425Z] Running ssh-add (command line suppressed) [2022-09-26T05:04:48.528Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-377@tmp/private_key_17419463956955559690.key (/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/private_key_17419463956955559690.key) [2022-09-26T05:04:48.543Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T05:04:48.870Z] + git semver init [2022-09-26T05:04:49.131Z] 2022-09-26 05:04:49,079 [run_init] DEBUG init version:0.0.0 force:False [2022-09-26T05:04:49.131Z] 2022-09-26 05:04:49,080 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-377/.semver [2022-09-26T05:04:49.131Z] 2022-09-26 05:04:49,080 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-377/.semver [2022-09-26T05:04:49.131Z] 2022-09-26 05:04:49,080 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-377/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-377, universal_newlines=False, shell=None, istream=None) [2022-09-26T05:04:50.075Z] 2022-09-26 05:04:49,943 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-377/.git/info/exclude [2022-09-26T05:04:50.075Z] 2022-09-26 05:04:49,945 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-377/.semver/PR-377 with force:False [2022-09-26T05:04:50.075Z] 2022-09-26 05:04:49,945 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-377/.semver/PR-377 [2022-09-26T05:04:50.075Z] 2022-09-26 05:04:49,951 [execute] INFO git cat-file --batch-check [2022-09-26T05:04:50.075Z] 2022-09-26 05:04:49,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T05:04:50.075Z] 2022-09-26 05:04:49,957 [execute] INFO git cat-file --batch [2022-09-26T05:04:50.075Z] 2022-09-26 05:04:49,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T05:04:50.075Z] 2022-09-26 05:04:49,961 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-377/.semver/PR-377 [2022-09-26T05:04:50.075Z] 0.0.0 [Pipeline] } [2022-09-26T05:04:50.100Z] $ docker exec --env ******** --env ******** fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff ssh-agent -k [2022-09-26T05:04:50.209Z] unset SSH_AUTH_SOCK; [2022-09-26T05:04:50.210Z] unset SSH_AGENT_PID; [2022-09-26T05:04:50.210Z] echo Agent pid 76 killed; [2022-09-26T05:04:50.222Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-26T05:04:50.647Z] + git semver [Pipeline] } [2022-09-26T05:04:50.931Z] $ docker stop --time=1 fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff [2022-09-26T05:04:52.242Z] $ docker rm -f fe52cd775935aeaab9f16b32b8b8a92cfa4833f7beb5ca1abcf6e2bb91611dff [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T05:04:52.656Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-26T05:04:52.913Z] Stashed 1 file(s) [Pipeline] echo [2022-09-26T05:04:52.929Z] [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-26T05:04:53.492Z] provisioning config files... [2022-09-26T05:04:53.500Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/config13531373596729340288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:04:53.837Z] ---> docker-login.sh [2022-09-26T05:04:53.837Z] nexus3.edgexfoundry.org:10001 [2022-09-26T05:04:53.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:04:53.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:04:53.837Z] Configure a credential helper to remove this warning. See [2022-09-26T05:04:53.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:04:53.837Z] [2022-09-26T05:04:53.837Z] Login Succeeded [2022-09-26T05:04:53.837Z] nexus3.edgexfoundry.org:10002 [2022-09-26T05:04:53.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:04:53.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:04:53.837Z] Configure a credential helper to remove this warning. See [2022-09-26T05:04:53.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:04:53.837Z] [2022-09-26T05:04:53.837Z] Login Succeeded [2022-09-26T05:04:53.837Z] nexus3.edgexfoundry.org:10003 [2022-09-26T05:04:54.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:04:54.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:04:54.095Z] Configure a credential helper to remove this warning. See [2022-09-26T05:04:54.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:04:54.095Z] [2022-09-26T05:04:54.095Z] Login Succeeded [2022-09-26T05:04:54.095Z] nexus3.edgexfoundry.org:10004 [2022-09-26T05:04:54.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:04:54.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:04:54.095Z] Configure a credential helper to remove this warning. See [2022-09-26T05:04:54.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:04:54.095Z] [2022-09-26T05:04:54.095Z] Login Succeeded [2022-09-26T05:04:54.095Z] docker.io [2022-09-26T05:04:54.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:04:54.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:04:54.614Z] Configure a credential helper to remove this warning. See [2022-09-26T05:04:54.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:04:54.614Z] [2022-09-26T05:04:54.614Z] Login Succeeded [2022-09-26T05:04:54.614Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T05:04:54.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T05:04:54.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T05:04:54.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T05:04:54.904Z] ========================================================= [2022-09-26T05:04:54.904Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-26T05:04:54.904Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:04:55.355Z] + 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-26T05:04:55.355Z] Sending build context to Docker daemon 6.141MB [2022-09-26T05:04:55.355Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T05:04:55.355Z] Step 2/10 : FROM ${BASE} AS builder [2022-09-26T05:04:55.355Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-26T05:04:55.355Z] 2408cc74d12b: Pulling fs layer [2022-09-26T05:04:55.355Z] ea60b727a1ce: Pulling fs layer [2022-09-26T05:04:55.355Z] 30c4a7721957: Pulling fs layer [2022-09-26T05:04:55.355Z] 370296b7ddb6: Pulling fs layer [2022-09-26T05:04:55.355Z] 7c6cee850709: Pulling fs layer [2022-09-26T05:04:55.355Z] 370296b7ddb6: Waiting [2022-09-26T05:04:55.355Z] 39a5fcdaea64: Pulling fs layer [2022-09-26T05:04:55.355Z] d94ebbe4e438: Pulling fs layer [2022-09-26T05:04:55.355Z] bcfd1f05c69d: Pulling fs layer [2022-09-26T05:04:55.355Z] 39a5fcdaea64: Waiting [2022-09-26T05:04:55.355Z] d94ebbe4e438: Waiting [2022-09-26T05:04:55.355Z] bcfd1f05c69d: Waiting [2022-09-26T05:04:55.355Z] 59ccb84bbe0f: Pulling fs layer [2022-09-26T05:04:55.355Z] 59ccb84bbe0f: Waiting [2022-09-26T05:04:55.355Z] 30c4a7721957: Download complete [2022-09-26T05:04:55.355Z] ea60b727a1ce: Download complete [2022-09-26T05:04:55.355Z] 7c6cee850709: Download complete [2022-09-26T05:04:55.355Z] 39a5fcdaea64: Verifying Checksum [2022-09-26T05:04:55.355Z] 39a5fcdaea64: Download complete [2022-09-26T05:04:55.617Z] 2408cc74d12b: Verifying Checksum [2022-09-26T05:04:55.617Z] d94ebbe4e438: Verifying Checksum [2022-09-26T05:04:55.617Z] d94ebbe4e438: Download complete [2022-09-26T05:04:55.617Z] 2408cc74d12b: Pull complete [2022-09-26T05:04:55.886Z] ea60b727a1ce: Pull complete [2022-09-26T05:04:55.887Z] 30c4a7721957: Pull complete [2022-09-26T05:04:55.887Z] 59ccb84bbe0f: Download complete [2022-09-26T05:04:56.472Z] bcfd1f05c69d: Verifying Checksum [2022-09-26T05:04:56.472Z] bcfd1f05c69d: Download complete [2022-09-26T05:04:56.472Z] 370296b7ddb6: Verifying Checksum [2022-09-26T05:04:56.472Z] 370296b7ddb6: Download complete [2022-09-26T05:05:00.661Z] 370296b7ddb6: Pull complete [2022-09-26T05:05:00.661Z] 7c6cee850709: Pull complete [2022-09-26T05:05:00.661Z] 39a5fcdaea64: Pull complete [2022-09-26T05:05:00.661Z] d94ebbe4e438: Pull complete [2022-09-26T05:05:02.591Z] bcfd1f05c69d: Pull complete [2022-09-26T05:05:03.529Z] 59ccb84bbe0f: Pull complete [2022-09-26T05:05:03.529Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-26T05:05:03.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-26T05:05:03.529Z] ---> a4fb48ad2a94 [2022-09-26T05:05:03.529Z] Step 3/10 : ARG MAKE='make build' [2022-09-26T05:05:06.070Z] ---> Running in b417244aab73 [2022-09-26T05:05:06.070Z] Removing intermediate container b417244aab73 [2022-09-26T05:05:06.070Z] ---> 7e10dae5d165 [2022-09-26T05:05:06.070Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T05:05:06.070Z] ---> Running in d123d3ba146b [2022-09-26T05:05:06.639Z] Removing intermediate container d123d3ba146b [2022-09-26T05:05:06.639Z] ---> 70befd16cc83 [2022-09-26T05:05:06.639Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-26T05:05:06.639Z] ---> Running in 3ad3ed0e9e8c [2022-09-26T05:05:06.900Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T05:05:07.835Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T05:05:08.095Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-26T05:05:08.095Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-26T05:05:08.095Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-26T05:05:08.336Z] Still waiting to schedule task [2022-09-26T05:05:08.336Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1127’ is offline [2022-09-26T05:05:08.354Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-26T05:05:08.354Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-26T05:05:08.354Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-26T05:05:08.612Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-26T05:05:08.612Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-26T05:05:08.875Z] Executing busybox-1.35.0-r13.trigger [2022-09-26T05:05:08.875Z] OK: 217 MiB in 59 packages [2022-09-26T05:05:09.133Z] Removing intermediate container 3ad3ed0e9e8c [2022-09-26T05:05:09.133Z] ---> b62bffafce10 [2022-09-26T05:05:09.133Z] Step 6/10 : WORKDIR /device-modbus-go [2022-09-26T05:05:09.133Z] ---> Running in 011104bb7445 [2022-09-26T05:05:09.400Z] Removing intermediate container 011104bb7445 [2022-09-26T05:05:09.400Z] ---> 24e12e1e6ddf [2022-09-26T05:05:09.400Z] Step 7/10 : COPY go.mod vendor* ./ [2022-09-26T05:05:09.400Z] ---> 051302aaa72f [2022-09-26T05:05:09.400Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T05:05:09.400Z] ---> Running in 75bb97567fb8 [2022-09-26T05:05:27.488Z] Removing intermediate container 75bb97567fb8 [2022-09-26T05:05:27.488Z] ---> 8cf37d9dacd0 [2022-09-26T05:05:27.488Z] Step 9/10 : COPY . . [2022-09-26T05:05:27.488Z] ---> b6732032bbe0 [2022-09-26T05:05:27.488Z] Step 10/10 : RUN ${MAKE} [2022-09-26T05:05:27.488Z] ---> Running in d9a5bc99d552 [2022-09-26T05:05:27.488Z] noop [2022-09-26T05:05:27.488Z] Removing intermediate container d9a5bc99d552 [2022-09-26T05:05:27.488Z] ---> 316c3becf1d2 [2022-09-26T05:05:27.488Z] Successfully built 316c3becf1d2 [2022-09-26T05:05:27.488Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:05:27.924Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T05:05:27.924Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:05:28.069Z] prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container [2022-09-26T05:05:28.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-377 -v /w/workspace/xfoundry_device-modbus-go_PR-377:/w/workspace/xfoundry_device-modbus-go_PR-377:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-377@tmp:/w/workspace/xfoundry_device-modbus-go_PR-377@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-26T05:05:28.486Z] $ docker top f38dd3d33aa5b0478cd101a2a41c49a822a5bc0d847803052842f4211309c69f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T05:05:28.905Z] + go version [2022-09-26T05:05:28.906Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-26T05:05:28.940Z] $ docker stop --time=1 f38dd3d33aa5b0478cd101a2a41c49a822a5bc0d847803052842f4211309c69f [2022-09-26T05:05:30.229Z] $ docker rm -f f38dd3d33aa5b0478cd101a2a41c49a822a5bc0d847803052842f4211309c69f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:05:30.929Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T05:05:30.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:05:31.073Z] prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container [2022-09-26T05:05:31.107Z] $ 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-377 -v /w/workspace/xfoundry_device-modbus-go_PR-377:/w/workspace/xfoundry_device-modbus-go_PR-377:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-377@tmp:/w/workspace/xfoundry_device-modbus-go_PR-377@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-26T05:05:31.466Z] $ docker top dd9d67ae9ace342ae15a65e06b8602da10fc21edb19c8703247cebe2d2110807 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T05:05:31.880Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-377 [Pipeline] fileExists [Pipeline] sh [2022-09-26T05:05:32.243Z] + make test [2022-09-26T05:05:32.243Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-26T05:05:32.502Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-26T05:05:42.479Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-26T05:05:42.479Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.009s coverage: 47.7% of statements [2022-09-26T05:05:50.588Z] 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-26T05:05:50.588Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T05:05:53.875Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T05:05:53.875Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T05:05:53.875Z] ./bin/test-attribution-txt.sh [2022-09-26T05:05:53.875Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-26T05:05:53.875Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-26T05:05:53.875Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-26T05:05:53.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T05:05:53.985Z] $ docker stop --time=1 dd9d67ae9ace342ae15a65e06b8602da10fc21edb19c8703247cebe2d2110807 [2022-09-26T05:05:56.075Z] $ docker rm -f dd9d67ae9ace342ae15a65e06b8602da10fc21edb19c8703247cebe2d2110807 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T05:05:56.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T05:05:56.693Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-26T05:05:57.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T05:05:57.581Z] + ls -al . [2022-09-26T05:05:57.581Z] total 188 [2022-09-26T05:05:57.581Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 05:05 . [2022-09-26T05:05:57.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:04 .. [2022-09-26T05:05:57.581Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 26 05:04 .dockerignore [2022-09-26T05:05:57.581Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 05:05 .git [2022-09-26T05:05:57.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:04 .github [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 26 05:04 .gitignore [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 05:04 .golangci.yml [2022-09-26T05:05:57.582Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 05:04 .semver [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 9744 Sep 26 05:04 Attribution.txt [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 26 05:04 CHANGELOG.md [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 1550 Sep 26 05:04 Dockerfile [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 05:04 GOVERNANCE.md [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 26 05:04 Jenkinsfile [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 05:04 LICENSE [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 1892 Sep 26 05:04 Makefile [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 26 05:04 OWNERS.md [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 3397 Sep 26 05:04 README.md [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 05:04 VERSION [2022-09-26T05:05:57.582Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 05:04 bin [2022-09-26T05:05:57.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:04 cmd [2022-09-26T05:05:57.582Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 26 05:05 coverage.out [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 3643 Sep 26 05:04 go.mod [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 38287 Sep 26 05:04 go.sum [2022-09-26T05:05:57.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:04 internal [2022-09-26T05:05:57.582Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 05:04 simulator [2022-09-26T05:05:57.582Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:04 snap [2022-09-26T05:05:57.582Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 26 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:05:57.966Z] + 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=a944992d1712af23156153d3e21f45f8a7ce1c14 --label arch=amd64 --label version=0.0.0 . [2022-09-26T05:05:57.967Z] Sending build context to Docker daemon 6.166MB [2022-09-26T05:05:57.967Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T05:05:57.967Z] Step 2/23 : FROM ${BASE} AS builder [2022-09-26T05:05:57.967Z] ---> 316c3becf1d2 [2022-09-26T05:05:57.967Z] Step 3/23 : ARG MAKE='make build' [2022-09-26T05:05:58.225Z] ---> Running in 68da56c29b1c [2022-09-26T05:05:58.225Z] Removing intermediate container 68da56c29b1c [2022-09-26T05:05:58.225Z] ---> 541e19b0cdf4 [2022-09-26T05:05:58.225Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T05:05:58.225Z] ---> Running in 210549425ecf [2022-09-26T05:05:58.796Z] Removing intermediate container 210549425ecf [2022-09-26T05:05:58.796Z] ---> ab46415f766a [2022-09-26T05:05:58.796Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-26T05:05:58.796Z] ---> Running in 9ebed6cf9c0c [2022-09-26T05:05:59.054Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T05:05:59.995Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T05:06:00.254Z] OK: 217 MiB in 59 packages [2022-09-26T05:06:00.515Z] Removing intermediate container 9ebed6cf9c0c [2022-09-26T05:06:00.515Z] ---> b6cdb82a6add [2022-09-26T05:06:00.515Z] Step 6/23 : WORKDIR /device-modbus-go [2022-09-26T05:06:00.515Z] ---> Running in 70596c7ed3d1 [2022-09-26T05:06:00.775Z] Removing intermediate container 70596c7ed3d1 [2022-09-26T05:06:00.775Z] ---> de8f19f40884 [2022-09-26T05:06:00.775Z] Step 7/23 : COPY go.mod vendor* ./ [2022-09-26T05:06:00.775Z] ---> e49b0d9a4cc0 [2022-09-26T05:06:00.775Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T05:06:00.775Z] ---> Running in d39e4e79bc2e [2022-09-26T05:06:01.343Z] Removing intermediate container d39e4e79bc2e [2022-09-26T05:06:01.343Z] ---> b2d6a60aa3c1 [2022-09-26T05:06:01.343Z] Step 9/23 : COPY . . [2022-09-26T05:06:01.914Z] ---> 7b861144bc36 [2022-09-26T05:06:01.914Z] Step 10/23 : RUN ${MAKE} [2022-09-26T05:06:01.914Z] ---> Running in 190dfab5d3dc [2022-09-26T05:06:02.173Z] 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-26T05:06:24.104Z] Removing intermediate container 190dfab5d3dc [2022-09-26T05:06:24.104Z] ---> 3071ba43ea29 [2022-09-26T05:06:24.104Z] Step 11/23 : FROM alpine:3.14 [2022-09-26T05:06:24.104Z] 3.14: Pulling from library/alpine [2022-09-26T05:06:24.104Z] c7ed990a2339: Pulling fs layer [2022-09-26T05:06:24.104Z] c7ed990a2339: Verifying Checksum [2022-09-26T05:06:24.104Z] c7ed990a2339: Download complete [2022-09-26T05:06:24.104Z] c7ed990a2339: Pull complete [2022-09-26T05:06:24.104Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-26T05:06:24.104Z] Status: Downloaded newer image for alpine:3.14 [2022-09-26T05:06:24.104Z] ---> dd53f409bf0b [2022-09-26T05:06:24.104Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-26T05:06:24.104Z] ---> Running in 98a890a28356 [2022-09-26T05:06:24.364Z] Removing intermediate container 98a890a28356 [2022-09-26T05:06:24.364Z] ---> 6c8f264450f6 [2022-09-26T05:06:24.364Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T05:06:24.364Z] ---> Running in 8462c7564b98 [2022-09-26T05:06:24.934Z] Removing intermediate container 8462c7564b98 [2022-09-26T05:06:24.934Z] ---> 64f7eb163bce [2022-09-26T05:06:24.934Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-26T05:06:24.934Z] ---> Running in 23a45330f98e [2022-09-26T05:06:25.193Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-09-26T05:06:26.129Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-09-26T05:06:26.387Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-26T05:06:26.387Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-26T05:06:26.387Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-26T05:06:26.645Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-26T05:06:26.645Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-26T05:06:26.645Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-26T05:06:26.904Z] Executing busybox-1.33.1-r8.trigger [2022-09-26T05:06:26.904Z] OK: 8 MiB in 20 packages [2022-09-26T05:06:27.168Z] Removing intermediate container 23a45330f98e [2022-09-26T05:06:27.168Z] ---> 71c22e99bce7 [2022-09-26T05:06:27.168Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-09-26T05:06:27.735Z] ---> 810859770a7b [2022-09-26T05:06:27.735Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-26T05:06:27.994Z] ---> ce9ed3c8570f [2022-09-26T05:06:27.994Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-26T05:06:27.994Z] ---> 2ce307449e18 [2022-09-26T05:06:27.994Z] Step 18/23 : EXPOSE 59901 [2022-09-26T05:06:27.994Z] ---> Running in b1428b71aaa7 [2022-09-26T05:06:28.253Z] Removing intermediate container b1428b71aaa7 [2022-09-26T05:06:28.253Z] ---> cc4f3d835833 [2022-09-26T05:06:28.253Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-09-26T05:06:28.253Z] ---> Running in 5a60daec68f0 [2022-09-26T05:06:28.253Z] Removing intermediate container 5a60daec68f0 [2022-09-26T05:06:28.253Z] ---> 5fcf5df5eb66 [2022-09-26T05:06:28.253Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-26T05:06:28.253Z] ---> Running in 0cf8276c9820 [2022-09-26T05:06:28.254Z] Removing intermediate container 0cf8276c9820 [2022-09-26T05:06:28.254Z] ---> ef4fb174adb1 [2022-09-26T05:06:28.254Z] Step 21/23 : LABEL arch=amd64 [2022-09-26T05:06:28.512Z] ---> Running in 570537f59755 [2022-09-26T05:06:28.512Z] Removing intermediate container 570537f59755 [2022-09-26T05:06:28.512Z] ---> f73b64333061 [2022-09-26T05:06:28.512Z] Step 22/23 : LABEL git_sha=a944992d1712af23156153d3e21f45f8a7ce1c14 [2022-09-26T05:06:28.512Z] ---> Running in b2498fa50896 [2022-09-26T05:06:28.512Z] Removing intermediate container b2498fa50896 [2022-09-26T05:06:28.512Z] ---> 120680553197 [2022-09-26T05:06:28.512Z] Step 23/23 : LABEL version=0.0.0 [2022-09-26T05:06:28.512Z] ---> Running in b2da7e45f333 [2022-09-26T05:06:28.771Z] Removing intermediate container b2da7e45f333 [2022-09-26T05:06:28.771Z] ---> 55ed146970c5 [2022-09-26T05:06:28.771Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T05:06:28.771Z] Successfully built 55ed146970c5 [2022-09-26T05:06:28.771Z] 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-26T05:06:29.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T05:06:29.591Z] [2022-09-26T05:06:29.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:06:29.962Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T05:06:29.962Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-26T05:06:29.962Z] 5eb5b503b376: Pulling fs layer [2022-09-26T05:06:29.962Z] 5c69ac0246d0: Pulling fs layer [2022-09-26T05:06:29.962Z] ec43610c2a17: Pulling fs layer [2022-09-26T05:06:29.962Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-26T05:06:29.962Z] 33b1e0a273af: Pulling fs layer [2022-09-26T05:06:29.962Z] 5d3b04190fa2: Pulling fs layer [2022-09-26T05:06:29.962Z] 2f39f015ded8: Pulling fs layer [2022-09-26T05:06:29.962Z] 33b1e0a273af: Waiting [2022-09-26T05:06:29.962Z] 5d3b04190fa2: Waiting [2022-09-26T05:06:29.962Z] 3a2ae6a8a46f: Waiting [2022-09-26T05:06:29.962Z] 2f39f015ded8: Waiting [2022-09-26T05:06:29.962Z] 5c69ac0246d0: Verifying Checksum [2022-09-26T05:06:29.962Z] 5c69ac0246d0: Download complete [2022-09-26T05:06:29.962Z] 3a2ae6a8a46f: Download complete [2022-09-26T05:06:29.962Z] 33b1e0a273af: Verifying Checksum [2022-09-26T05:06:29.962Z] 33b1e0a273af: Download complete [2022-09-26T05:06:29.962Z] 5d3b04190fa2: Verifying Checksum [2022-09-26T05:06:29.962Z] 5d3b04190fa2: Download complete [2022-09-26T05:06:30.222Z] ec43610c2a17: Verifying Checksum [2022-09-26T05:06:30.222Z] ec43610c2a17: Download complete [2022-09-26T05:06:30.222Z] 5eb5b503b376: Verifying Checksum [2022-09-26T05:06:30.222Z] 5eb5b503b376: Download complete [2022-09-26T05:06:30.788Z] 2f39f015ded8: Download complete [2022-09-26T05:06:31.354Z] 5eb5b503b376: Pull complete [2022-09-26T05:06:31.612Z] 5c69ac0246d0: Pull complete [2022-09-26T05:06:32.178Z] ec43610c2a17: Pull complete [2022-09-26T05:06:32.178Z] 3a2ae6a8a46f: Pull complete [2022-09-26T05:06:32.437Z] 33b1e0a273af: Pull complete [2022-09-26T05:06:32.437Z] 5d3b04190fa2: Pull complete [2022-09-26T05:06:36.621Z] 2f39f015ded8: Pull complete [2022-09-26T05:06:36.621Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-26T05:06:36.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T05:06:36.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:06:36.813Z] prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container [2022-09-26T05:06:36.846Z] $ 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-377 -v /w/workspace/xfoundry_device-modbus-go_PR-377:/w/workspace/xfoundry_device-modbus-go_PR-377:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-377@tmp:/w/workspace/xfoundry_device-modbus-go_PR-377@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-26T05:06:38.642Z] $ docker top c6b22d8d53dd591f97287d418da87527c2944591484777c10c9e20eb715f399f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:06:39.074Z] ---> job-cost.sh [2022-09-26T05:06:39.074Z] lf-activate-venv: SKIPPING [2022-09-26T05:06:39.074Z] INFO: No Stack... [2022-09-26T05:06:39.332Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T05:06:39.905Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T05:06:40.216Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-377/archives/cost.csv [2022-09-26T05:06:40.216Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T05:06:40.256Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] [2022-09-26T05:06:40.260Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] did not exist. Created. [2022-09-26T05:06:40.260Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T05:06:40.681Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-26T05:06:40.736Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T05:06:40.765Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T05:06:40.845Z] $ docker stop --time=1 c6b22d8d53dd591f97287d418da87527c2944591484777c10c9e20eb715f399f [2022-09-26T05:06:42.016Z] $ docker rm -f c6b22d8d53dd591f97287d418da87527c2944591484777c10c9e20eb715f399f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-26T05:07:30.220Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1128 in /w/workspace/xfoundry_device-modbus-go_PR-377 [Pipeline] { [Pipeline] ws [2022-09-26T05:07:30.262Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-09-26T05:07:30.343Z] Selected Git installation does not exist. Using Default [2022-09-26T05:07:30.343Z] The recommended git tool is: NONE [2022-09-26T05:07:35.667Z] using credential edgex-jenkins-ssh [2022-09-26T05:07:35.689Z] Cloning the remote Git repository [2022-09-26T05:07:35.738Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-09-26T05:07:35.810Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-09-26T05:07:35.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-26T05:07:35.959Z] > git --version # timeout=10 [2022-09-26T05:07:35.979Z] > git --version # 'git version 2.25.1' [2022-09-26T05:07:35.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T05:07:36.032Z] Verifying host key using known hosts file [2022-09-26T05:07:36.231Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T05:07:36.243Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T05:07:37.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-26T05:07:37.387Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T05:07:38.750Z] Merging remotes/origin/main commit 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 into PR head commit a944992d1712af23156153d3e21f45f8a7ce1c14 [2022-09-26T05:07:38.966Z] Merge succeeded, producing a944992d1712af23156153d3e21f45f8a7ce1c14 [2022-09-26T05:07:38.967Z] Checking out Revision a944992d1712af23156153d3e21f45f8a7ce1c14 (PR-377) [2022-09-26T05:07:38.155Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-09-26T05:07:38.193Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-09-26T05:07:38.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T05:07:38.199Z] Verifying host key using known hosts file [2022-09-26T05:07:38.206Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T05:07:38.216Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-26T05:07:38.771Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T05:07:38.787Z] > git checkout -f a944992d1712af23156153d3e21f45f8a7ce1c14 # timeout=10 [2022-09-26T05:07:38.871Z] > git remote # timeout=10 [2022-09-26T05:07:38.890Z] > git config --get remote.origin.url # timeout=10 [2022-09-26T05:07:38.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T05:07:38.915Z] Verifying host key using known hosts file [2022-09-26T05:07:38.918Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T05:07:38.926Z] > git merge 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 [2022-09-26T05:07:38.953Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-26T05:07:38.975Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T05:07:38.986Z] > git checkout -f a944992d1712af23156153d3e21f45f8a7ce1c14 # timeout=10 [2022-09-26T05:07:39.426Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-26T05:07:39.475Z] > git --version # timeout=10 [2022-09-26T05:07:39.484Z] > git --version # 'git version 2.25.1' [2022-09-26T05:07:39.500Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T05:07:40.553Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-26T05:07:40.554Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T05:07:40.554Z] Dload Upload Total Spent Left Speed [2022-09-26T05:07:40.554Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 241k 0 --:--:-- --:--:-- --:--:-- 241k [Pipeline] sh [2022-09-26T05:07:41.168Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-26T05:07:41.510Z] + sudo tee /etc/docker/daemon.new [2022-09-26T05:07:41.510Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-26T05:07:41.510Z] { [2022-09-26T05:07:41.510Z] "registry-mirrors": [ [2022-09-26T05:07:41.510Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-26T05:07:41.510Z] ], [2022-09-26T05:07:41.510Z] "bip": "10.250.0.254/24", [2022-09-26T05:07:41.510Z] "hosts": [ [2022-09-26T05:07:41.510Z] "tcp://0.0.0.0:5555", [2022-09-26T05:07:41.510Z] "unix:///var/run/docker.sock" [2022-09-26T05:07:41.510Z] ], [2022-09-26T05:07:41.510Z] "mtu": 1458, [2022-09-26T05:07:41.510Z] "selinux-enabled": true, [2022-09-26T05:07:41.510Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-26T05:07:41.510Z] } [Pipeline] sh [2022-09-26T05:07:41.853Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-26T05:07:42.203Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T05:08:00.510Z] provisioning config files... [2022-09-26T05:08:00.542Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16220182958100569029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:08:00.928Z] ---> docker-login.sh [2022-09-26T05:08:00.928Z] nexus3.edgexfoundry.org:10001 [2022-09-26T05:08:01.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:08:01.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:08:01.467Z] Configure a credential helper to remove this warning. See [2022-09-26T05:08:01.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:08:01.467Z] [2022-09-26T05:08:01.467Z] Login Succeeded [2022-09-26T05:08:01.467Z] nexus3.edgexfoundry.org:10002 [2022-09-26T05:08:01.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:08:01.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:08:01.734Z] Configure a credential helper to remove this warning. See [2022-09-26T05:08:01.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:08:01.734Z] [2022-09-26T05:08:01.734Z] Login Succeeded [2022-09-26T05:08:02.003Z] nexus3.edgexfoundry.org:10003 [2022-09-26T05:08:02.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:08:02.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:08:02.273Z] Configure a credential helper to remove this warning. See [2022-09-26T05:08:02.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:08:02.273Z] [2022-09-26T05:08:02.273Z] Login Succeeded [2022-09-26T05:08:02.273Z] nexus3.edgexfoundry.org:10004 [2022-09-26T05:08:02.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:08:02.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:08:02.543Z] Configure a credential helper to remove this warning. See [2022-09-26T05:08:02.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:08:02.543Z] [2022-09-26T05:08:02.543Z] Login Succeeded [2022-09-26T05:08:02.543Z] docker.io [2022-09-26T05:08:02.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:08:03.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:08:03.081Z] Configure a credential helper to remove this warning. See [2022-09-26T05:08:03.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:08:03.081Z] [2022-09-26T05:08:03.082Z] Login Succeeded [2022-09-26T05:08:03.082Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T05:08:03.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T05:08:03.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T05:08:03.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T05:08:03.460Z] ========================================================= [2022-09-26T05:08:03.460Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-26T05:08:03.460Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:08:03.945Z] + 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-26T05:08:04.215Z] Sending build context to Docker daemon 3.192MB [2022-09-26T05:08:04.215Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T05:08:04.215Z] Step 2/10 : FROM ${BASE} AS builder [2022-09-26T05:08:04.486Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-26T05:08:04.486Z] b3c136eddcbf: Pulling fs layer [2022-09-26T05:08:04.486Z] c0a3192eca97: Pulling fs layer [2022-09-26T05:08:04.486Z] a050256f5b6f: Pulling fs layer [2022-09-26T05:08:04.486Z] 656be50a0ddc: Pulling fs layer [2022-09-26T05:08:04.486Z] 2bbca73fdf42: Pulling fs layer [2022-09-26T05:08:04.486Z] 46d945488cbd: Pulling fs layer [2022-09-26T05:08:04.486Z] 8a5474983e97: Pulling fs layer [2022-09-26T05:08:04.486Z] 329c88fbcd65: Pulling fs layer [2022-09-26T05:08:04.486Z] 46d945488cbd: Waiting [2022-09-26T05:08:04.486Z] 8a5474983e97: Waiting [2022-09-26T05:08:04.486Z] 329c88fbcd65: Waiting [2022-09-26T05:08:04.486Z] 656be50a0ddc: Waiting [2022-09-26T05:08:04.486Z] 2bbca73fdf42: Waiting [2022-09-26T05:08:04.486Z] a050256f5b6f: Verifying Checksum [2022-09-26T05:08:04.486Z] a050256f5b6f: Download complete [2022-09-26T05:08:04.486Z] c0a3192eca97: Download complete [2022-09-26T05:08:04.486Z] 2bbca73fdf42: Verifying Checksum [2022-09-26T05:08:04.486Z] 2bbca73fdf42: Download complete [2022-09-26T05:08:04.486Z] 46d945488cbd: Verifying Checksum [2022-09-26T05:08:04.486Z] 46d945488cbd: Download complete [2022-09-26T05:08:04.486Z] b3c136eddcbf: Download complete [2022-09-26T05:08:05.498Z] b3c136eddcbf: Pull complete [2022-09-26T05:08:05.498Z] 329c88fbcd65: Verifying Checksum [2022-09-26T05:08:05.498Z] 329c88fbcd65: Download complete [2022-09-26T05:08:06.094Z] c0a3192eca97: Pull complete [2022-09-26T05:08:06.363Z] a050256f5b6f: Pull complete [2022-09-26T05:08:06.634Z] 8a5474983e97: Verifying Checksum [2022-09-26T05:08:06.634Z] 8a5474983e97: Download complete [2022-09-26T05:08:07.606Z] 656be50a0ddc: Verifying Checksum [2022-09-26T05:08:07.606Z] 656be50a0ddc: Download complete [2022-09-26T05:08:19.954Z] 656be50a0ddc: Pull complete [2022-09-26T05:08:19.954Z] 2bbca73fdf42: Pull complete [2022-09-26T05:08:19.954Z] 46d945488cbd: Pull complete [2022-09-26T05:08:25.432Z] 8a5474983e97: Pull complete [2022-09-26T05:08:27.389Z] 329c88fbcd65: Pull complete [2022-09-26T05:08:27.389Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-26T05:08:27.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-26T05:08:27.389Z] ---> ff4287adb874 [2022-09-26T05:08:27.389Z] Step 3/10 : ARG MAKE='make build' [2022-09-26T05:08:29.348Z] ---> Running in b6439a683c74 [2022-09-26T05:08:29.932Z] Removing intermediate container b6439a683c74 [2022-09-26T05:08:29.932Z] ---> bb9f4bffd50f [2022-09-26T05:08:29.932Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T05:08:29.932Z] ---> Running in 521276c39346 [2022-09-26T05:08:33.291Z] Removing intermediate container 521276c39346 [2022-09-26T05:08:33.291Z] ---> 353cb9f9d299 [2022-09-26T05:08:33.291Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-26T05:08:33.291Z] ---> Running in 1ac0429ff141 [2022-09-26T05:08:33.873Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T05:08:34.831Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T05:08:35.789Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-09-26T05:08:35.789Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-09-26T05:08:35.789Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-09-26T05:08:36.055Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-09-26T05:08:36.055Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-09-26T05:08:36.321Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-09-26T05:08:36.321Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-09-26T05:08:36.321Z] (8/8) Installing openssh (9.0_p1-r2) [2022-09-26T05:08:36.587Z] Executing busybox-1.35.0-r13.trigger [2022-09-26T05:08:36.587Z] OK: 228 MiB in 59 packages [2022-09-26T05:08:37.555Z] Removing intermediate container 1ac0429ff141 [2022-09-26T05:08:37.555Z] ---> 0c0dff48beb3 [2022-09-26T05:08:37.555Z] Step 6/10 : WORKDIR /device-modbus-go [2022-09-26T05:08:37.555Z] ---> Running in 42b50b8e69b3 [2022-09-26T05:08:37.833Z] Removing intermediate container 42b50b8e69b3 [2022-09-26T05:08:37.833Z] ---> 5960278337d8 [2022-09-26T05:08:37.833Z] Step 7/10 : COPY go.mod vendor* ./ [2022-09-26T05:08:38.420Z] ---> 797033914e77 [2022-09-26T05:08:38.420Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T05:08:38.420Z] ---> Running in 7aa2ea1df6ba [2022-09-26T05:09:25.281Z] Removing intermediate container 7aa2ea1df6ba [2022-09-26T05:09:25.281Z] ---> 74540c2df9be [2022-09-26T05:09:25.281Z] Step 9/10 : COPY . . [2022-09-26T05:09:25.281Z] ---> 6acf851d8dfa [2022-09-26T05:09:25.281Z] Step 10/10 : RUN ${MAKE} [2022-09-26T05:09:25.550Z] ---> Running in 4290bb3e6096 [2022-09-26T05:09:26.515Z] noop [2022-09-26T05:09:27.103Z] Removing intermediate container 4290bb3e6096 [2022-09-26T05:09:27.103Z] ---> 65bc8e04b77e [2022-09-26T05:09:27.103Z] Successfully built 65bc8e04b77e [2022-09-26T05:09:27.103Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:09:27.581Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T05:09:27.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:09:27.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container [2022-09-26T05:09:27.921Z] $ 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-26T05:09:29.160Z] $ docker top 2fc1c248a25b9a38cd5fd1104073c6c0a5ec8a33e80eb5c98d0ddcb89d5fc0dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T05:09:30.069Z] + go version [2022-09-26T05:09:30.069Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-26T05:09:30.108Z] $ docker stop --time=1 2fc1c248a25b9a38cd5fd1104073c6c0a5ec8a33e80eb5c98d0ddcb89d5fc0dd [2022-09-26T05:09:31.781Z] $ docker rm -f 2fc1c248a25b9a38cd5fd1104073c6c0a5ec8a33e80eb5c98d0ddcb89d5fc0dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:09:32.652Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T05:09:32.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:09:32.929Z] prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container [2022-09-26T05:09:33.001Z] $ 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-26T05:09:34.275Z] $ docker top d400b076f60571e171c7991fbb8d609397cc7c3bb2a72b35e69c50d1cd66a8e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T05:09:35.171Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-26T05:09:35.898Z] + make test [2022-09-26T05:09:35.898Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-26T05:09:37.854Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-09-26T05:11:14.531Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-09-26T05:11:14.531Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements [2022-09-26T05:11:14.531Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-26T05:11:14.531Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T05:11:29.545Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T05:11:29.545Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T05:11:29.545Z] ./bin/test-attribution-txt.sh [2022-09-26T05:11:29.545Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-26T05:11:29.545Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-26T05:11:29.545Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-26T05:11:29.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T05:11:29.620Z] $ docker stop --time=1 d400b076f60571e171c7991fbb8d609397cc7c3bb2a72b35e69c50d1cd66a8e9 [2022-09-26T05:11:31.413Z] $ docker rm -f d400b076f60571e171c7991fbb8d609397cc7c3bb2a72b35e69c50d1cd66a8e9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T05:11:32.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T05:11:32.454Z] Warning: overwriting stash ‘coverage-report’ [2022-09-26T05:11:32.891Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T05:11:33.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T05:11:33.799Z] + ls -al . [2022-09-26T05:11:33.799Z] total 184 [2022-09-26T05:11:33.799Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 05:09 . [2022-09-26T05:11:33.799Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:07 .. [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 26 05:07 .dockerignore [2022-09-26T05:11:33.799Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 05:07 .git [2022-09-26T05:11:33.799Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:07 .github [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 26 05:07 .gitignore [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 05:07 .golangci.yml [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 9744 Sep 26 05:07 Attribution.txt [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 10001 Sep 26 05:07 CHANGELOG.md [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 1550 Sep 26 05:07 Dockerfile [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 05:07 GOVERNANCE.md [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 26 05:07 Jenkinsfile [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 05:07 LICENSE [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 1892 Sep 26 05:07 Makefile [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 26 05:07 OWNERS.md [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 3397 Sep 26 05:07 README.md [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 05:04 VERSION [2022-09-26T05:11:33.799Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 05:07 bin [2022-09-26T05:11:33.799Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:07 cmd [2022-09-26T05:11:33.799Z] -rw-r--r-- 1 jenkins jenkins 23241 Sep 26 05:11 coverage.out [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 3643 Sep 26 05:07 go.mod [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 38287 Sep 26 05:07 go.sum [2022-09-26T05:11:33.799Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:07 internal [2022-09-26T05:11:33.799Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 05:07 simulator [2022-09-26T05:11:33.799Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:07 snap [2022-09-26T05:11:33.799Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 26 05:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:11:34.206Z] + 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=a944992d1712af23156153d3e21f45f8a7ce1c14 --label arch=arm64 --label version=0.0.0 . [2022-09-26T05:11:34.475Z] Sending build context to Docker daemon 3.216MB [2022-09-26T05:11:34.475Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T05:11:34.475Z] Step 2/23 : FROM ${BASE} AS builder [2022-09-26T05:11:34.475Z] ---> 65bc8e04b77e [2022-09-26T05:11:34.475Z] Step 3/23 : ARG MAKE='make build' [2022-09-26T05:11:34.744Z] ---> Running in aaa1e8d47402 [2022-09-26T05:11:35.011Z] Removing intermediate container aaa1e8d47402 [2022-09-26T05:11:35.011Z] ---> 2f1941989e39 [2022-09-26T05:11:35.011Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T05:11:35.011Z] ---> Running in 420af3dfc9c2 [2022-09-26T05:11:36.956Z] Removing intermediate container 420af3dfc9c2 [2022-09-26T05:11:36.956Z] ---> b374b5336691 [2022-09-26T05:11:36.956Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-09-26T05:11:36.956Z] ---> Running in d4158e5307be [2022-09-26T05:11:37.550Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T05:11:38.510Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T05:11:39.470Z] OK: 228 MiB in 59 packages [2022-09-26T05:11:40.431Z] Removing intermediate container d4158e5307be [2022-09-26T05:11:40.431Z] ---> ffa442d29bce [2022-09-26T05:11:40.431Z] Step 6/23 : WORKDIR /device-modbus-go [2022-09-26T05:11:40.431Z] ---> Running in 366a219c20fe [2022-09-26T05:11:40.698Z] Removing intermediate container 366a219c20fe [2022-09-26T05:11:40.698Z] ---> 1148aeaf3313 [2022-09-26T05:11:40.698Z] Step 7/23 : COPY go.mod vendor* ./ [2022-09-26T05:11:40.965Z] ---> 002a9df66d82 [2022-09-26T05:11:40.965Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T05:11:41.233Z] ---> Running in 10a554b0a16d [2022-09-26T05:11:43.178Z] Removing intermediate container 10a554b0a16d [2022-09-26T05:11:43.178Z] ---> 9a182c2f7911 [2022-09-26T05:11:43.178Z] Step 9/23 : COPY . . [2022-09-26T05:11:43.762Z] ---> f3d3cf8121ef [2022-09-26T05:11:43.762Z] Step 10/23 : RUN ${MAKE} [2022-09-26T05:11:43.762Z] ---> Running in a73dde9cf938 [2022-09-26T05:11:44.720Z] 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-26T05:14:21.467Z] Removing intermediate container a73dde9cf938 [2022-09-26T05:14:21.467Z] ---> 4a031062a3a8 [2022-09-26T05:14:21.467Z] Step 11/23 : FROM alpine:3.14 [2022-09-26T05:14:21.467Z] 3.14: Pulling from library/alpine [2022-09-26T05:14:21.467Z] 90cda3b7c325: Pulling fs layer [2022-09-26T05:14:21.467Z] 90cda3b7c325: Verifying Checksum [2022-09-26T05:14:21.467Z] 90cda3b7c325: Download complete [2022-09-26T05:14:21.467Z] 90cda3b7c325: Pull complete [2022-09-26T05:14:21.467Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-26T05:14:21.467Z] Status: Downloaded newer image for alpine:3.14 [2022-09-26T05:14:21.467Z] ---> 376ba31ae3da [2022-09-26T05:14:21.467Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-09-26T05:14:21.467Z] ---> Running in 5743dab595a4 [2022-09-26T05:14:21.467Z] Removing intermediate container 5743dab595a4 [2022-09-26T05:14:21.467Z] ---> 10e1d3905ab9 [2022-09-26T05:14:21.467Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T05:14:21.467Z] ---> Running in 5755d2ec5435 [2022-09-26T05:14:22.874Z] Removing intermediate container 5755d2ec5435 [2022-09-26T05:14:22.874Z] ---> 2c59c4d684bf [2022-09-26T05:14:22.874Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-26T05:14:22.874Z] ---> Running in 2f780c2e2fc8 [2022-09-26T05:14:23.828Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-09-26T05:14:24.782Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-09-26T05:14:25.363Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-26T05:14:25.363Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-09-26T05:14:25.629Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-26T05:14:25.629Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-26T05:14:25.895Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-26T05:14:25.895Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-26T05:14:25.895Z] Executing busybox-1.33.1-r8.trigger [2022-09-26T05:14:25.895Z] OK: 8 MiB in 20 packages [2022-09-26T05:14:26.854Z] Removing intermediate container 2f780c2e2fc8 [2022-09-26T05:14:26.854Z] ---> 7db9b474f5f2 [2022-09-26T05:14:26.854Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-09-26T05:14:28.265Z] ---> 4e2e9433041d [2022-09-26T05:14:28.265Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-09-26T05:14:28.532Z] ---> fafdcc77ee02 [2022-09-26T05:14:28.532Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-09-26T05:14:28.797Z] ---> 8b6b5b080e99 [2022-09-26T05:14:28.797Z] Step 18/23 : EXPOSE 59901 [2022-09-26T05:14:28.797Z] ---> Running in 1d287da67b7a [2022-09-26T05:14:29.063Z] Removing intermediate container 1d287da67b7a [2022-09-26T05:14:29.063Z] ---> 4923170d14b9 [2022-09-26T05:14:29.063Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-09-26T05:14:29.327Z] ---> Running in bc5d3df81089 [2022-09-26T05:14:29.593Z] Removing intermediate container bc5d3df81089 [2022-09-26T05:14:29.593Z] ---> 78a5ed2aaed0 [2022-09-26T05:14:29.593Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-26T05:14:29.593Z] ---> Running in a943d73bfb23 [2022-09-26T05:14:29.859Z] Removing intermediate container a943d73bfb23 [2022-09-26T05:14:29.859Z] ---> 764a7da02b73 [2022-09-26T05:14:29.859Z] Step 21/23 : LABEL arch=arm64 [2022-09-26T05:14:29.859Z] ---> Running in 264893f488ef [2022-09-26T05:14:30.125Z] Removing intermediate container 264893f488ef [2022-09-26T05:14:30.125Z] ---> beb31e371f0f [2022-09-26T05:14:30.125Z] Step 22/23 : LABEL git_sha=a944992d1712af23156153d3e21f45f8a7ce1c14 [2022-09-26T05:14:30.125Z] ---> Running in b89a6f79f388 [2022-09-26T05:14:30.390Z] Removing intermediate container b89a6f79f388 [2022-09-26T05:14:30.390Z] ---> 5e748f40d3cc [2022-09-26T05:14:30.390Z] Step 23/23 : LABEL version=0.0.0 [2022-09-26T05:14:30.390Z] ---> Running in 8e5574e12b24 [2022-09-26T05:14:30.656Z] Removing intermediate container 8e5574e12b24 [2022-09-26T05:14:30.656Z] ---> 338ebbfe43e3 [2022-09-26T05:14:30.656Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T05:14:30.922Z] Successfully built 338ebbfe43e3 [2022-09-26T05:14:30.922Z] 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-26T05:14:31.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T05:14:31.707Z] [2022-09-26T05:14:31.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:14:32.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T05:14:32.109Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-26T05:14:32.109Z] 8998bd30e6a1: Pulling fs layer [2022-09-26T05:14:32.109Z] 04944245beec: Pulling fs layer [2022-09-26T05:14:32.109Z] 699f458cf7ca: Pulling fs layer [2022-09-26T05:14:32.109Z] 765212b225bb: Pulling fs layer [2022-09-26T05:14:32.109Z] f23df028b6ca: Pulling fs layer [2022-09-26T05:14:32.109Z] d65c8cfc05b1: Pulling fs layer [2022-09-26T05:14:32.109Z] 2437ff75d9bd: Pulling fs layer [2022-09-26T05:14:32.109Z] 765212b225bb: Waiting [2022-09-26T05:14:32.109Z] f23df028b6ca: Waiting [2022-09-26T05:14:32.109Z] d65c8cfc05b1: Waiting [2022-09-26T05:14:32.376Z] 04944245beec: Verifying Checksum [2022-09-26T05:14:32.376Z] 04944245beec: Download complete [2022-09-26T05:14:32.376Z] 765212b225bb: Verifying Checksum [2022-09-26T05:14:32.376Z] 765212b225bb: Download complete [2022-09-26T05:14:32.376Z] f23df028b6ca: Download complete [2022-09-26T05:14:32.376Z] d65c8cfc05b1: Verifying Checksum [2022-09-26T05:14:32.376Z] d65c8cfc05b1: Download complete [2022-09-26T05:14:32.644Z] 699f458cf7ca: Verifying Checksum [2022-09-26T05:14:32.910Z] 8998bd30e6a1: Verifying Checksum [2022-09-26T05:14:32.910Z] 8998bd30e6a1: Download complete [2022-09-26T05:14:34.959Z] 2437ff75d9bd: Verifying Checksum [2022-09-26T05:14:34.959Z] 2437ff75d9bd: Download complete [2022-09-26T05:14:36.947Z] 8998bd30e6a1: Pull complete [2022-09-26T05:14:37.217Z] 04944245beec: Pull complete [2022-09-26T05:14:38.628Z] 699f458cf7ca: Pull complete [2022-09-26T05:14:38.628Z] 765212b225bb: Pull complete [2022-09-26T05:14:39.210Z] f23df028b6ca: Pull complete [2022-09-26T05:14:39.481Z] d65c8cfc05b1: Pull complete [2022-09-26T05:14:51.778Z] 2437ff75d9bd: Pull complete [2022-09-26T05:14:51.778Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-26T05:14:51.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T05:14:51.778Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:14:52.071Z] prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container [2022-09-26T05:14:52.131Z] $ 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-26T05:14:54.811Z] $ docker top 2847991f10c03c8feea5629a14f9d8d54401883a6bec3d80665a96381d77e504 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:14:55.718Z] ---> job-cost.sh [2022-09-26T05:14:55.718Z] lf-activate-venv: SKIPPING [2022-09-26T05:14:55.718Z] INFO: No Stack... [2022-09-26T05:14:55.985Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-26T05:14:56.945Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T05:14:57.291Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-09-26T05:14:57.291Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T05:14:57.373Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] [2022-09-26T05:14:57.378Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] did not exist. Created. [2022-09-26T05:14:57.378Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T05:14:57.782Z] /w/workspace/device-modbus-go/1@tmp/durable-f1e693a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-26T05:14:58.398Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-26T05:14:58.434Z] Warning: overwriting stash ‘stack-cost’ [2022-09-26T05:14:58.477Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T05:14:58.491Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-377-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T05:14:58.564Z] $ docker stop --time=1 2847991f10c03c8feea5629a14f9d8d54401883a6bec3d80665a96381d77e504 [2022-09-26T05:15:00.059Z] $ docker rm -f 2847991f10c03c8feea5629a14f9d8d54401883a6bec3d80665a96381d77e504 [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-26T05:15:00.986Z] provisioning config files... [2022-09-26T05:15:00.995Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/config6244479246620232956tmp [Pipeline] { [Pipeline] sh [2022-09-26T05:15:01.326Z] + set +x [2022-09-26T05:15:01.326Z] + curl -s https://codecov.io/bash [2022-09-26T05:15:01.326Z] + bash -s -- [2022-09-26T05:15:01.326Z] [2022-09-26T05:15:01.326Z] _____ _ [2022-09-26T05:15:01.326Z] / ____| | | [2022-09-26T05:15:01.326Z] | | ___ __| | ___ ___ _____ __ [2022-09-26T05:15:01.326Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-26T05:15:01.326Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-26T05:15:01.326Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-26T05:15:01.326Z] Bash-1.0.6 [2022-09-26T05:15:01.326Z] [2022-09-26T05:15:01.326Z] [2022-09-26T05:15:01.326Z] ==> git version 2.25.1 found [2022-09-26T05:15:01.326Z] ==> 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-26T05:15:01.326Z] Release-Date: 2020-01-08 [2022-09-26T05:15:01.326Z] 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-26T05:15:01.326Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-26T05:15:01.326Z] ==> Jenkins CI detected. [2022-09-26T05:15:01.326Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-377 [2022-09-26T05:15:01.326Z] project root: . [2022-09-26T05:15:01.326Z] --> token set from env [2022-09-26T05:15:01.326Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-26T05:15:01.326Z] ==> Running gcov in . (disable via -X gcov) [2022-09-26T05:15:01.326Z] ==> Python coveragepy not found [2022-09-26T05:15:01.326Z] ==> Searching for coverage reports in: [2022-09-26T05:15:01.326Z] + . [2022-09-26T05:15:01.326Z] -> Found 1 reports [2022-09-26T05:15:01.326Z] ==> Detecting git/mercurial file structure [2022-09-26T05:15:01.326Z] ==> Reading reports [2022-09-26T05:15:01.326Z] + ./coverage.out bytes=23241 [2022-09-26T05:15:01.326Z] ==> Appending adjustments [2022-09-26T05:15:01.326Z] https://docs.codecov.io/docs/fixing-reports [2022-09-26T05:15:01.586Z] + Found adjustments [2022-09-26T05:15:01.586Z] ==> Gzipping contents [2022-09-26T05:15:01.586Z] 4.0K /tmp/codecov.Cl3o17.gz [2022-09-26T05:15:01.586Z] ==> Uploading reports [2022-09-26T05:15:01.586Z] url: https://codecov.io [2022-09-26T05:15:01.586Z] query: branch=PR-377&commit=a944992d1712af23156153d3e21f45f8a7ce1c14&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=377&job=&cmd_args= [2022-09-26T05:15:01.586Z] -> Pinging Codecov [2022-09-26T05:15:01.586Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-377&commit=a944992d1712af23156153d3e21f45f8a7ce1c14&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=377&job=&cmd_args= [2022-09-26T05:15:01.845Z] -> Uploading to [2022-09-26T05:15:01.845Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-26/55DBCA73C666E3227836607328DD7E49/a944992d1712af23156153d3e21f45f8a7ce1c14/fcd584aa-2ca5-48d0-8834-08f69671e837.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T051501Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae1408188fd9aaec2a572f58db47738446cf904cf0f9cb992f4717c50515d18b [2022-09-26T05:15:01.845Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T05:15:01.845Z] Dload Upload Total Spent Left Speed [2022-09-26T05:15:02.108Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 15042 --:--:-- --:--:-- --:--:-- 15042 [2022-09-26T05:15:02.108Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a944992d1712af23156153d3e21f45f8a7ce1c14 [Pipeline] } [2022-09-26T05:15:02.135Z] 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-26T05:15:03.725Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-377/archives ] [2022-09-26T05:15:03.725Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-377/archives [2022-09-26T05:15:03.725Z] total 16 [2022-09-26T05:15:03.725Z] drwxr-xr-x 3 root root 4096 Sep 26 05:06 . [2022-09-26T05:15:03.725Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 05:06 .. [2022-09-26T05:15:03.725Z] drwxr-xr-x 2 root root 4096 Sep 26 05:06 cost [2022-09-26T05:15:03.725Z] -rw-r--r-- 1 root root 88 Sep 26 05:06 cost.csv [2022-09-26T05:15:03.725Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-377/archives [2022-09-26T05:15:03.725Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-377/archives [2022-09-26T05:15:03.725Z] total 16 [2022-09-26T05:15:03.725Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 05:06 . [2022-09-26T05:15:03.725Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 05:06 .. [2022-09-26T05:15:03.725Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 05:06 cost [2022-09-26T05:15:03.725Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 26 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:15:04.049Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:15:04.933Z] ---> package-listing.sh [2022-09-26T05:15:04.933Z] ++ facter osfamily [2022-09-26T05:15:04.933Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-26T05:15:05.192Z] + OS_FAMILY=debian [2022-09-26T05:15:05.192Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-377 [2022-09-26T05:15:05.192Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-26T05:15:05.192Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-26T05:15:05.192Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-26T05:15:05.192Z] + PACKAGES=/tmp/packages_start.txt [2022-09-26T05:15:05.192Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-377 ']' [2022-09-26T05:15:05.192Z] + PACKAGES=/tmp/packages_end.txt [2022-09-26T05:15:05.192Z] + case "${OS_FAMILY}" in [2022-09-26T05:15:05.192Z] + dpkg -l [2022-09-26T05:15:05.192Z] + grep '^ii' [2022-09-26T05:15:05.192Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-26T05:15:05.192Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-26T05:15:05.192Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-26T05:15:05.192Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-377 ']' [2022-09-26T05:15:05.192Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-377/archives/ [2022-09-26T05:15:05.192Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-377/archives/ [Pipeline] echo [2022-09-26T05:15:05.226Z] 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-377/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-26T05:15:05.518Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:15:06.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T05:15:06.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:15:06.289Z] prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container [2022-09-26T05:15:06.326Z] $ 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-377/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-377 -v /w/workspace/xfoundry_device-modbus-go_PR-377:/w/workspace/xfoundry_device-modbus-go_PR-377:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-377@tmp:/w/workspace/xfoundry_device-modbus-go_PR-377@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-26T05:15:06.533Z] $ docker top 74d82ac5e3bfffb1217706a93dd0d7a872d4e0303131a0b6c92e1aec27a24f30 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T05:15:06.916Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-26T05:15:07.241Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-26T05:15:07.552Z] + ls /var/log/sa-host [2022-09-26T05:15:07.553Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T05:15:07.703Z] provisioning config files... [2022-09-26T05:15:07.711Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-377@tmp/config10614001371981551881tmp [Pipeline] { [Pipeline] echo [2022-09-26T05:15:07.771Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:15:08.085Z] ---> create-netrc.sh [Pipeline] } [2022-09-26T05:15:08.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:15:08.508Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-26T05:15:08.547Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:15:08.862Z] ---> sudo-logs.sh [2022-09-26T05:15:08.862Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-26T05:15:08.937Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:15:09.251Z] ---> job-cost.sh [2022-09-26T05:15:09.252Z] lf-activate-venv: SKIPPING [2022-09-26T05:15:09.252Z] DEBUG: total: 0.2199999988079071 [2022-09-26T05:15:09.252Z] INFO: Retrieving Stack Cost... [2022-09-26T05:15:09.511Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T05:15:10.085Z] INFO: Archiving Costs [Pipeline] echo [2022-09-26T05:15:10.119Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:15:10.428Z] ---> logs-deploy.sh [2022-09-26T05:15:10.428Z] lf-activate-venv: SKIPPING [2022-09-26T05:15:10.428Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-377/1 [2022-09-26T05:15:10.428Z] INFO: archiving workspace using pattern(s): [2022-09-26T05:15:11.365Z] Archives upload complete. [2022-09-26T05:15:11.365Z] INFO: archiving logs to Nexus