Pull request #381 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a78104ac050c760b055c1f7913c83c47b8815d5+5f9383f46e2f188912b2110fac411a008f731f06 (39b72c78df02c4080b7f150949e3ab561b4ce435) 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-ssh13441616883993700625.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-ssh1347405115971747378.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-381/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-381/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9822785823550600215.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-381/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10072960641874839590.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-ssh4198077507621310366.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-381/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-381/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11270289802679900345.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-7485 in /w/workspace/xfoundry_device-modbus-go_PR-381 [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-381 # 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 Merging remotes/origin/main commit 5f9383f46e2f188912b2110fac411a008f731f06 into PR head commit 6a78104ac050c760b055c1f7913c83c47b8815d5 > 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/381/head:refs/remotes/origin/PR-381 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a78104ac050c760b055c1f7913c83c47b8815d5 # timeout=10 Merge succeeded, producing 6a78104ac050c760b055c1f7913c83c47b8815d5 Checking out Revision 6a78104ac050c760b055c1f7913c83c47b8815d5 (PR-381) 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-10-10T05:03:19.613Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T05:03:19.777Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T05:03:19.872Z] ========================================================= [2022-10-10T05:03:19.872Z] EdgeX Global Pipelines Version Info [2022-10-10T05:03:19.872Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > 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 5f9383f46e2f188912b2110fac411a008f731f06 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a78104ac050c760b055c1f7913c83c47b8815d5 # timeout=10 [2022-10-10T05:03:20.610Z] ------------------- [2022-10-10T05:03:20.610Z] stable info: [2022-10-10T05:03:20.610Z] ------------------- [2022-10-10T05:03:20.610Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T05:03:20.610Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T05:03:20.610Z] Message: update stable to v1.0.239 [2022-10-10T05:03:21.181Z] ------------------- [2022-10-10T05:03:21.181Z] experimental info: [2022-10-10T05:03:21.181Z] ------------------- [2022-10-10T05:03:21.181Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T05:03:21.181Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T05:03:21.181Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T05:03:21.467Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-10T05:03:21.511Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-10T05:03:21.552Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T05:03:21.592Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T05:03:21.630Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T05:03:21.674Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T05:03:21.716Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T05:03:21.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T05:03:21.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T05:03:21.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T05:03:21.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T05:03:21.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-10T05:03:21.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T05:03:21.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T05:03:22.035Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T05:03:22.072Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T05:03:22.109Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T05:03:22.144Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T05:03:22.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T05:03:22.218Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T05:03:22.251Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T05:03:22.287Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T05:03:22.325Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T05:03:22.368Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T05:03:22.403Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T05:03:22.438Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T05:03:22.480Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T05:03:22.515Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-381 [Pipeline] echo [2022-10-10T05:03:22.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-381 [Pipeline] echo [2022-10-10T05:03:22.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-381 [Pipeline] echo [2022-10-10T05:03:22.619Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a78104ac050c760b055c1f7913c83c47b8815d5 [Pipeline] echo [2022-10-10T05:03:22.664Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a78104 [Pipeline] echo [2022-10-10T05:03:22.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T05:03:22.809Z] provisioning config files... [2022-10-10T05:03:22.824Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/config16780816577487315192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:03:23.236Z] ---> docker-login.sh [2022-10-10T05:03:23.236Z] nexus3.edgexfoundry.org:10001 [2022-10-10T05:03:23.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:03:23.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:03:23.755Z] Configure a credential helper to remove this warning. See [2022-10-10T05:03:23.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:03:23.755Z] [2022-10-10T05:03:23.755Z] Login Succeeded [2022-10-10T05:03:23.755Z] nexus3.edgexfoundry.org:10002 [2022-10-10T05:03:23.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:03:23.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:03:23.755Z] Configure a credential helper to remove this warning. See [2022-10-10T05:03:23.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:03:23.755Z] [2022-10-10T05:03:23.755Z] Login Succeeded [2022-10-10T05:03:23.755Z] nexus3.edgexfoundry.org:10003 [2022-10-10T05:03:24.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:03:24.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:03:24.014Z] Configure a credential helper to remove this warning. See [2022-10-10T05:03:24.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:03:24.014Z] [2022-10-10T05:03:24.014Z] Login Succeeded [2022-10-10T05:03:24.014Z] nexus3.edgexfoundry.org:10004 [2022-10-10T05:03:24.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:03:24.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:03:24.014Z] Configure a credential helper to remove this warning. See [2022-10-10T05:03:24.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:03:24.014Z] [2022-10-10T05:03:24.014Z] Login Succeeded [2022-10-10T05:03:24.014Z] docker.io [2022-10-10T05:03:24.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:03:24.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:03:24.534Z] Configure a credential helper to remove this warning. See [2022-10-10T05:03:24.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:03:24.534Z] [2022-10-10T05:03:24.534Z] Login Succeeded [2022-10-10T05:03:24.534Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T05:03:24.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T05:03:25.154Z] + git rev-list -1 --merges 6a78104ac050c760b055c1f7913c83c47b8815d5~1..6a78104ac050c760b055c1f7913c83c47b8815d5 [Pipeline] echo [2022-10-10T05:03:25.200Z] -----------> git rev-list -1 --merges 6a78104ac050c760b055c1f7913c83c47b8815d5~1..6a78104ac050c760b055c1f7913c83c47b8815d5 6a78104ac050c760b055c1f7913c83c47b8815d5 [false] [Pipeline] sh [2022-10-10T05:03:25.514Z] + git log --format=format:%s -1 6a78104ac050c760b055c1f7913c83c47b8815d5 [Pipeline] echo [2022-10-10T05:03:25.552Z] ========================================================= [2022-10-10T05:03:25.552Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T05:03:25.552Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T05:03:25.993Z] + git log --format=format:%s -1 6a78104ac050c760b055c1f7913c83c47b8815d5 [Pipeline] echo [2022-10-10T05:03:26.025Z] [semverPrep] GIT_COMMIT: 6a78104ac050c760b055c1f7913c83c47b8815d5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-10T05:03:26.054Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T05:03:26.440Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T05:03:26.440Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T05:03:26.440Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T05:03:26.440Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T05:03:26.440Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T05:03:26.440Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T05:03:26.440Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:03:26.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T05:03:26.920Z] [2022-10-10T05:03:26.920Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:03:27.321Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T05:03:27.321Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T05:03:27.321Z] b85a868b505f: Pulling fs layer [2022-10-10T05:03:27.321Z] e2be974225ed: Pulling fs layer [2022-10-10T05:03:27.321Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T05:03:27.321Z] 988bab9f4d93: Pulling fs layer [2022-10-10T05:03:27.321Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T05:03:27.321Z] eaf3925da568: Pulling fs layer [2022-10-10T05:03:27.321Z] bab4dde63d76: Pulling fs layer [2022-10-10T05:03:27.321Z] bde34c3a00c8: Pulling fs layer [2022-10-10T05:03:27.321Z] b352a97aabf1: Pulling fs layer [2022-10-10T05:03:27.321Z] 4872d77fe225: Pulling fs layer [2022-10-10T05:03:27.321Z] 5851b861e8e6: Pulling fs layer [2022-10-10T05:03:27.321Z] 988bab9f4d93: Waiting [2022-10-10T05:03:27.321Z] 1469e6f7b9e6: Waiting [2022-10-10T05:03:27.321Z] eaf3925da568: Waiting [2022-10-10T05:03:27.321Z] bab4dde63d76: Waiting [2022-10-10T05:03:27.321Z] bde34c3a00c8: Waiting [2022-10-10T05:03:27.321Z] b352a97aabf1: Waiting [2022-10-10T05:03:27.321Z] 4872d77fe225: Waiting [2022-10-10T05:03:27.321Z] 5851b861e8e6: Waiting [2022-10-10T05:03:27.321Z] e2be974225ed: Verifying Checksum [2022-10-10T05:03:27.321Z] e2be974225ed: Download complete [2022-10-10T05:03:27.321Z] 988bab9f4d93: Download complete [2022-10-10T05:03:27.579Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T05:03:27.579Z] 1469e6f7b9e6: Download complete [2022-10-10T05:03:27.579Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T05:03:27.579Z] 339a4e72a1f5: Download complete [2022-10-10T05:03:27.579Z] eaf3925da568: Download complete [2022-10-10T05:03:27.579Z] bde34c3a00c8: Verifying Checksum [2022-10-10T05:03:27.579Z] bde34c3a00c8: Download complete [2022-10-10T05:03:27.579Z] b352a97aabf1: Verifying Checksum [2022-10-10T05:03:27.579Z] b352a97aabf1: Download complete [2022-10-10T05:03:27.579Z] 4872d77fe225: Download complete [2022-10-10T05:03:27.579Z] 5851b861e8e6: Verifying Checksum [2022-10-10T05:03:27.579Z] 5851b861e8e6: Download complete [2022-10-10T05:03:27.579Z] b85a868b505f: Download complete [2022-10-10T05:03:27.840Z] bab4dde63d76: Download complete [2022-10-10T05:03:28.776Z] b85a868b505f: Pull complete [2022-10-10T05:03:28.776Z] e2be974225ed: Pull complete [2022-10-10T05:03:29.342Z] 339a4e72a1f5: Pull complete [2022-10-10T05:03:29.342Z] 988bab9f4d93: Pull complete [2022-10-10T05:03:29.600Z] 1469e6f7b9e6: Pull complete [2022-10-10T05:03:29.600Z] eaf3925da568: Pull complete [2022-10-10T05:03:31.500Z] bab4dde63d76: Pull complete [2022-10-10T05:03:31.500Z] bde34c3a00c8: Pull complete [2022-10-10T05:03:31.500Z] b352a97aabf1: Pull complete [2022-10-10T05:03:31.758Z] 4872d77fe225: Pull complete [2022-10-10T05:03:31.758Z] 5851b861e8e6: Pull complete [2022-10-10T05:03:31.758Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T05:03:31.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T05:03:31.758Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:03:32.002Z] prd-ubuntu20.04-docker-8c-8g-7485 does not seem to be running inside a container [2022-10-10T05:03:32.036Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-381 -v /w/workspace/xfoundry_device-modbus-go_PR-381:/w/workspace/xfoundry_device-modbus-go_PR-381:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-381@tmp:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T05:03:33.392Z] $ docker top babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 -eo pid,comm [2022-10-10T05:03:33.437Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T05:03:33.437Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T05:03:33.567Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T05:03:33.567Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T05:03:33.675Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T05:03:33.681Z] $ docker exec babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 ssh-agent [2022-10-10T05:03:33.772Z] SSH_AUTH_SOCK=/tmp/ssh-2BbMCxtcsvFU/agent.32 [2022-10-10T05:03:33.772Z] SSH_AGENT_PID=38 [2022-10-10T05:03:33.778Z] Running ssh-add (command line suppressed) [2022-10-10T05:03:33.877Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-381@tmp/private_key_14810041014496217776.key (/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/private_key_14810041014496217776.key) [2022-10-10T05:03:33.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T05:03:34.215Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T05:03:34.246Z] $ docker exec --env ******** --env ******** babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 ssh-agent -k [2022-10-10T05:03:34.344Z] unset SSH_AUTH_SOCK; [2022-10-10T05:03:34.345Z] unset SSH_AGENT_PID; [2022-10-10T05:03:34.345Z] echo Agent pid 38 killed; [2022-10-10T05:03:34.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T05:03:34.435Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T05:03:34.436Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T05:03:34.538Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T05:03:34.544Z] $ docker exec babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 ssh-agent [2022-10-10T05:03:34.647Z] SSH_AUTH_SOCK=/tmp/ssh-nSzLPSr6CXOC/agent.71 [2022-10-10T05:03:34.647Z] SSH_AGENT_PID=77 [2022-10-10T05:03:34.651Z] Running ssh-add (command line suppressed) [2022-10-10T05:03:34.745Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-381@tmp/private_key_9050225040402578049.key (/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/private_key_9050225040402578049.key) [2022-10-10T05:03:34.753Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T05:03:35.082Z] + git semver init [2022-10-10T05:03:35.342Z] 2022-10-10 05:03:35,252 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T05:03:35.342Z] 2022-10-10 05:03:35,253 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-381/.semver [2022-10-10T05:03:35.342Z] 2022-10-10 05:03:35,253 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-381/.semver [2022-10-10T05:03:35.342Z] 2022-10-10 05:03:35,253 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-381/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-381, universal_newlines=False, shell=None, istream=None) [2022-10-10T05:03:36.279Z] 2022-10-10 05:03:36,125 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-381/.git/info/exclude [2022-10-10T05:03:36.279Z] 2022-10-10 05:03:36,126 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-381/.semver/PR-381 with force:False [2022-10-10T05:03:36.279Z] 2022-10-10 05:03:36,126 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-381/.semver/PR-381 [2022-10-10T05:03:36.279Z] 2022-10-10 05:03:36,130 [execute] INFO git cat-file --batch-check [2022-10-10T05:03:36.279Z] 2022-10-10 05:03:36,130 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-381/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T05:03:36.279Z] 2022-10-10 05:03:36,136 [execute] INFO git cat-file --batch [2022-10-10T05:03:36.279Z] 2022-10-10 05:03:36,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-381/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T05:03:36.279Z] 2022-10-10 05:03:36,141 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-381/.semver/PR-381 [2022-10-10T05:03:36.279Z] 0.0.0 [Pipeline] } [2022-10-10T05:03:36.309Z] $ docker exec --env ******** --env ******** babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 ssh-agent -k [2022-10-10T05:03:36.400Z] unset SSH_AUTH_SOCK; [2022-10-10T05:03:36.400Z] unset SSH_AGENT_PID; [2022-10-10T05:03:36.400Z] echo Agent pid 77 killed; [2022-10-10T05:03:36.407Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T05:03:36.822Z] + git semver [Pipeline] } [2022-10-10T05:03:37.105Z] $ docker stop --time=1 babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 [2022-10-10T05:03:38.379Z] $ docker rm -f babf7b83df08abeac5c1ee4c502a9af2aae4cb6ae7528ff9c395b7dac4abaab5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T05:03:38.773Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T05:03:39.007Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T05:03:39.028Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T05:03:39.653Z] provisioning config files... [2022-10-10T05:03:39.662Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/config15125128815655933169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:03:40.003Z] ---> docker-login.sh [2022-10-10T05:03:40.003Z] nexus3.edgexfoundry.org:10001 [2022-10-10T05:03:40.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:03:40.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:03:40.003Z] Configure a credential helper to remove this warning. See [2022-10-10T05:03:40.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:03:40.003Z] [2022-10-10T05:03:40.003Z] Login Succeeded [2022-10-10T05:03:40.003Z] nexus3.edgexfoundry.org:10002 [2022-10-10T05:03:40.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:03:40.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:03:40.003Z] Configure a credential helper to remove this warning. See [2022-10-10T05:03:40.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:03:40.003Z] [2022-10-10T05:03:40.003Z] Login Succeeded [2022-10-10T05:03:40.003Z] nexus3.edgexfoundry.org:10003 [2022-10-10T05:03:40.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:03:40.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:03:40.262Z] Configure a credential helper to remove this warning. See [2022-10-10T05:03:40.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:03:40.262Z] [2022-10-10T05:03:40.262Z] Login Succeeded [2022-10-10T05:03:40.262Z] nexus3.edgexfoundry.org:10004 [2022-10-10T05:03:40.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:03:40.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:03:40.262Z] Configure a credential helper to remove this warning. See [2022-10-10T05:03:40.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:03:40.262Z] [2022-10-10T05:03:40.262Z] Login Succeeded [2022-10-10T05:03:40.262Z] docker.io [2022-10-10T05:03:40.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:03:40.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:03:40.781Z] Configure a credential helper to remove this warning. See [2022-10-10T05:03:40.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:03:40.781Z] [2022-10-10T05:03:40.782Z] Login Succeeded [2022-10-10T05:03:40.782Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T05:03:40.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T05:03:41.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T05:03:41.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T05:03:41.069Z] ========================================================= [2022-10-10T05:03:41.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T05:03:41.069Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:03:41.531Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T05:03:41.531Z] Sending build context to Docker daemon 6.176MB [2022-10-10T05:03:41.531Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T05:03:41.531Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-10T05:03:41.531Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T05:03:41.531Z] 2408cc74d12b: Pulling fs layer [2022-10-10T05:03:41.531Z] ea60b727a1ce: Pulling fs layer [2022-10-10T05:03:41.531Z] 30c4a7721957: Pulling fs layer [2022-10-10T05:03:41.531Z] 370296b7ddb6: Pulling fs layer [2022-10-10T05:03:41.531Z] 7c6cee850709: Pulling fs layer [2022-10-10T05:03:41.531Z] aa9baa53a306: Pulling fs layer [2022-10-10T05:03:41.531Z] 8b309c321861: Pulling fs layer [2022-10-10T05:03:41.531Z] d8d76fd02f46: Pulling fs layer [2022-10-10T05:03:41.531Z] fa31f396de31: Pulling fs layer [2022-10-10T05:03:41.531Z] 7c6cee850709: Waiting [2022-10-10T05:03:41.531Z] 370296b7ddb6: Waiting [2022-10-10T05:03:41.531Z] fa31f396de31: Waiting [2022-10-10T05:03:41.531Z] aa9baa53a306: Waiting [2022-10-10T05:03:41.531Z] 8b309c321861: Waiting [2022-10-10T05:03:41.531Z] d8d76fd02f46: Waiting [2022-10-10T05:03:41.531Z] 30c4a7721957: Verifying Checksum [2022-10-10T05:03:41.531Z] 30c4a7721957: Download complete [2022-10-10T05:03:41.531Z] ea60b727a1ce: Verifying Checksum [2022-10-10T05:03:41.531Z] ea60b727a1ce: Download complete [2022-10-10T05:03:41.531Z] 7c6cee850709: Download complete [2022-10-10T05:03:41.531Z] aa9baa53a306: Download complete [2022-10-10T05:03:41.790Z] 2408cc74d12b: Verifying Checksum [2022-10-10T05:03:41.790Z] 2408cc74d12b: Download complete [2022-10-10T05:03:41.790Z] 8b309c321861: Download complete [2022-10-10T05:03:41.790Z] 2408cc74d12b: Pull complete [2022-10-10T05:03:42.050Z] ea60b727a1ce: Pull complete [2022-10-10T05:03:42.050Z] 30c4a7721957: Pull complete [2022-10-10T05:03:42.311Z] fa31f396de31: Verifying Checksum [2022-10-10T05:03:42.311Z] fa31f396de31: Download complete [2022-10-10T05:03:42.569Z] 370296b7ddb6: Verifying Checksum [2022-10-10T05:03:42.569Z] 370296b7ddb6: Download complete [2022-10-10T05:03:42.827Z] d8d76fd02f46: Verifying Checksum [2022-10-10T05:03:42.827Z] d8d76fd02f46: Download complete [2022-10-10T05:03:46.109Z] 370296b7ddb6: Pull complete [2022-10-10T05:03:46.109Z] 7c6cee850709: Pull complete [2022-10-10T05:03:46.109Z] aa9baa53a306: Pull complete [2022-10-10T05:03:46.109Z] 8b309c321861: Pull complete [2022-10-10T05:03:48.006Z] d8d76fd02f46: Pull complete [2022-10-10T05:03:48.939Z] fa31f396de31: Pull complete [2022-10-10T05:03:48.939Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T05:03:48.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T05:03:48.939Z] ---> cef68f9685f8 [2022-10-10T05:03:48.939Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-10T05:03:50.332Z] ---> Running in e3fb6ccedf14 [2022-10-10T05:03:50.332Z] Removing intermediate container e3fb6ccedf14 [2022-10-10T05:03:50.332Z] ---> 1cda3ab0025a [2022-10-10T05:03:50.332Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T05:03:50.591Z] ---> Running in 4dee19d16159 [2022-10-10T05:03:50.591Z] Removing intermediate container 4dee19d16159 [2022-10-10T05:03:50.591Z] ---> 90e62c743b3e [2022-10-10T05:03:50.591Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T05:03:50.591Z] ---> Running in e7a98725a858 [2022-10-10T05:03:51.158Z] Removing intermediate container e7a98725a858 [2022-10-10T05:03:51.158Z] ---> 70d8728ffe0e [2022-10-10T05:03:51.158Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-10T05:03:51.158Z] ---> Running in 28ffe30ad070 [2022-10-10T05:03:51.417Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T05:03:52.352Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T05:03:52.611Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T05:03:52.870Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-10T05:03:52.870Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T05:03:52.870Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T05:03:53.129Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-10T05:03:53.129Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-10T05:03:53.129Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-10T05:03:53.387Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-10T05:03:53.387Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T05:03:53.387Z] OK: 217 MiB in 59 packages [2022-10-10T05:03:53.956Z] Removing intermediate container 28ffe30ad070 [2022-10-10T05:03:53.956Z] ---> 689980592921 [2022-10-10T05:03:53.956Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-10T05:03:53.956Z] ---> Running in dade390a3692 [2022-10-10T05:03:53.956Z] Removing intermediate container dade390a3692 [2022-10-10T05:03:53.956Z] ---> 0b474bcf74bf [2022-10-10T05:03:53.956Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-10T05:03:53.956Z] ---> aad7c9cddc98 [2022-10-10T05:03:53.956Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T05:03:54.216Z] ---> Running in 96841ae2181a [2022-10-10T05:03:54.451Z] Still waiting to schedule task [2022-10-10T05:03:54.452Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-10T05:04:16.168Z] Removing intermediate container 96841ae2181a [2022-10-10T05:04:16.168Z] ---> 0f7d29becd45 [2022-10-10T05:04:16.168Z] Step 10/11 : COPY . . [2022-10-10T05:04:16.168Z] ---> c474dec00836 [2022-10-10T05:04:16.168Z] Step 11/11 : RUN ${MAKE} [2022-10-10T05:04:16.168Z] ---> Running in 02c2bf9b8689 [2022-10-10T05:04:16.168Z] noop [2022-10-10T05:04:16.168Z] Removing intermediate container 02c2bf9b8689 [2022-10-10T05:04:16.168Z] ---> c1c1377d89e8 [2022-10-10T05:04:16.168Z] Successfully built c1c1377d89e8 [2022-10-10T05:04:16.168Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:04:16.612Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T05:04:16.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:04:16.752Z] prd-ubuntu20.04-docker-8c-8g-7485 does not seem to be running inside a container [2022-10-10T05:04:16.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-381 -v /w/workspace/xfoundry_device-modbus-go_PR-381:/w/workspace/xfoundry_device-modbus-go_PR-381:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-381@tmp:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T05:04:17.137Z] $ docker top 912d61069105aae10d4b6e41bb40258186509bb90f59ee34c3c89cfe701d7bc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T05:04:17.515Z] + go version [2022-10-10T05:04:17.515Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T05:04:17.553Z] $ docker stop --time=1 912d61069105aae10d4b6e41bb40258186509bb90f59ee34c3c89cfe701d7bc9 [2022-10-10T05:04:18.807Z] $ docker rm -f 912d61069105aae10d4b6e41bb40258186509bb90f59ee34c3c89cfe701d7bc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:04:19.549Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T05:04:19.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:04:19.675Z] prd-ubuntu20.04-docker-8c-8g-7485 does not seem to be running inside a container [2022-10-10T05:04:19.709Z] $ 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-381 -v /w/workspace/xfoundry_device-modbus-go_PR-381:/w/workspace/xfoundry_device-modbus-go_PR-381:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-381@tmp:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T05:04:20.057Z] $ docker top 1259ae4790269d10a278aaaa0e2b6bb653c65e59fa21a0824fca6040a86c0681 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T05:04:20.444Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-381 [Pipeline] fileExists [Pipeline] sh [2022-10-10T05:04:20.796Z] + make test [2022-10-10T05:04:20.796Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-10T05:04:21.054Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-10T05:04:29.158Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-10T05:04:29.158Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2022-10-10T05:04:35.722Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-10T05:04:35.722Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T05:04:38.324Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T05:04:38.324Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T05:04:38.324Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T05:04:38.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T05:04:38.401Z] $ docker stop --time=1 1259ae4790269d10a278aaaa0e2b6bb653c65e59fa21a0824fca6040a86c0681 [2022-10-10T05:04:40.507Z] $ docker rm -f 1259ae4790269d10a278aaaa0e2b6bb653c65e59fa21a0824fca6040a86c0681 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T05:04:41.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T05:04:41.063Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T05:04:41.739Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T05:04:42.048Z] + ls -al . [2022-10-10T05:04:42.049Z] total 188 [2022-10-10T05:04:42.049Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 05:04 . [2022-10-10T05:04:42.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:03 .. [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 05:03 .dockerignore [2022-10-10T05:04:42.049Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:04 .git [2022-10-10T05:04:42.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:03 .github [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 10 05:03 .gitignore [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 05:03 .golangci.yml [2022-10-10T05:04:42.049Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 05:03 .semver [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 10 05:03 Attribution.txt [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 10 05:03 CHANGELOG.md [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 10 05:03 Dockerfile [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 05:03 GOVERNANCE.md [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 05:03 Jenkinsfile [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 05:03 LICENSE [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 10 05:03 Makefile [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 05:03 OWNERS.md [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 10 05:03 README.md [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 05:03 VERSION [2022-10-10T05:04:42.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:03 bin [2022-10-10T05:04:42.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:03 cmd [2022-10-10T05:04:42.049Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 10 05:04 coverage.out [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 10 05:03 go.mod [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 10 05:03 go.sum [2022-10-10T05:04:42.049Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:03 internal [2022-10-10T05:04:42.049Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:03 simulator [2022-10-10T05:04:42.049Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:03 snap [2022-10-10T05:04:42.049Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 10 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:04:42.435Z] + 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=6a78104ac050c760b055c1f7913c83c47b8815d5 --label arch=amd64 --label version=0.0.0 . [2022-10-10T05:04:42.435Z] Sending build context to Docker daemon 6.2MB [2022-10-10T05:04:42.435Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T05:04:42.435Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-10T05:04:42.435Z] ---> c1c1377d89e8 [2022-10-10T05:04:42.435Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-10T05:04:42.435Z] ---> Running in 544e8c5daff8 [2022-10-10T05:04:42.435Z] Removing intermediate container 544e8c5daff8 [2022-10-10T05:04:42.435Z] ---> c99c05f58aa5 [2022-10-10T05:04:42.435Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T05:04:42.695Z] ---> Running in 1533fb3250fa [2022-10-10T05:04:42.695Z] Removing intermediate container 1533fb3250fa [2022-10-10T05:04:42.695Z] ---> 5d884c8f96e0 [2022-10-10T05:04:42.695Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T05:04:42.695Z] ---> Running in 9f68bbbfbc60 [2022-10-10T05:04:43.263Z] Removing intermediate container 9f68bbbfbc60 [2022-10-10T05:04:43.263Z] ---> 7b936ee22cb2 [2022-10-10T05:04:43.263Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-10T05:04:43.263Z] ---> Running in 63be3fe7e446 [2022-10-10T05:04:43.522Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T05:04:44.462Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T05:04:44.722Z] OK: 217 MiB in 59 packages [2022-10-10T05:04:44.980Z] Removing intermediate container 63be3fe7e446 [2022-10-10T05:04:44.980Z] ---> 2f36fda5676a [2022-10-10T05:04:44.980Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-10T05:04:44.980Z] ---> Running in 7a648e0067b5 [2022-10-10T05:04:44.980Z] Removing intermediate container 7a648e0067b5 [2022-10-10T05:04:44.980Z] ---> 52cf061090e7 [2022-10-10T05:04:44.980Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-10T05:04:45.239Z] ---> 20665a0b1dbd [2022-10-10T05:04:45.239Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T05:04:45.239Z] ---> Running in 16ec1014cf50 [2022-10-10T05:04:45.804Z] Removing intermediate container 16ec1014cf50 [2022-10-10T05:04:45.805Z] ---> faece01a745e [2022-10-10T05:04:45.805Z] Step 10/24 : COPY . . [2022-10-10T05:04:46.063Z] ---> 03044f4412b7 [2022-10-10T05:04:46.063Z] Step 11/24 : RUN ${MAKE} [2022-10-10T05:04:46.063Z] ---> Running in 08e93adae1ea [2022-10-10T05:04:46.321Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-10T05:05:08.281Z] Removing intermediate container 08e93adae1ea [2022-10-10T05:05:08.281Z] ---> 34a5449873fa [2022-10-10T05:05:08.281Z] Step 12/24 : FROM alpine:3.14 [2022-10-10T05:05:08.281Z] 3.14: Pulling from library/alpine [2022-10-10T05:05:08.281Z] c7ed990a2339: Pulling fs layer [2022-10-10T05:05:08.281Z] c7ed990a2339: Verifying Checksum [2022-10-10T05:05:08.281Z] c7ed990a2339: Download complete [2022-10-10T05:05:08.281Z] c7ed990a2339: Pull complete [2022-10-10T05:05:08.281Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-10T05:05:08.281Z] Status: Downloaded newer image for alpine:3.14 [2022-10-10T05:05:08.281Z] ---> dd53f409bf0b [2022-10-10T05:05:08.281Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-10T05:05:08.281Z] ---> Running in 5ebf6ef1a542 [2022-10-10T05:05:08.281Z] Removing intermediate container 5ebf6ef1a542 [2022-10-10T05:05:08.281Z] ---> 8081e462ab29 [2022-10-10T05:05:08.281Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T05:05:08.281Z] ---> Running in e422f789fa21 [2022-10-10T05:05:08.281Z] Removing intermediate container e422f789fa21 [2022-10-10T05:05:08.281Z] ---> eb75645cdec4 [2022-10-10T05:05:08.281Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T05:05:08.281Z] ---> Running in 89df44a46a67 [2022-10-10T05:05:08.281Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-10T05:05:08.281Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-10T05:05:08.281Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T05:05:08.281Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-10T05:05:08.281Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T05:05:08.281Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-10T05:05:08.281Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T05:05:08.281Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T05:05:08.539Z] Executing busybox-1.33.1-r8.trigger [2022-10-10T05:05:08.539Z] OK: 8 MiB in 20 packages [2022-10-10T05:05:08.797Z] Removing intermediate container 89df44a46a67 [2022-10-10T05:05:08.797Z] ---> e9d5ea9ec87d [2022-10-10T05:05:08.797Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-10T05:05:09.379Z] ---> 8aa5a36cc074 [2022-10-10T05:05:09.379Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-10T05:05:09.379Z] ---> 08f10764af0f [2022-10-10T05:05:09.379Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-10T05:05:09.637Z] ---> 15ae0f735e3f [2022-10-10T05:05:09.637Z] Step 19/24 : EXPOSE 59901 [2022-10-10T05:05:09.637Z] ---> Running in 0a404acd5cdd [2022-10-10T05:05:09.637Z] Removing intermediate container 0a404acd5cdd [2022-10-10T05:05:09.637Z] ---> 71b4db9af90c [2022-10-10T05:05:09.637Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-10T05:05:09.637Z] ---> Running in 05e7d27d5c5c [2022-10-10T05:05:09.896Z] Removing intermediate container 05e7d27d5c5c [2022-10-10T05:05:09.896Z] ---> 3b4970c0360b [2022-10-10T05:05:09.896Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T05:05:09.896Z] ---> Running in 324368ad988a [2022-10-10T05:05:09.896Z] Removing intermediate container 324368ad988a [2022-10-10T05:05:09.896Z] ---> 5de250c33654 [2022-10-10T05:05:09.896Z] Step 22/24 : LABEL arch=amd64 [2022-10-10T05:05:09.896Z] ---> Running in f34befadf5e8 [2022-10-10T05:05:10.155Z] Removing intermediate container f34befadf5e8 [2022-10-10T05:05:10.155Z] ---> e6bd478355a8 [2022-10-10T05:05:10.155Z] Step 23/24 : LABEL git_sha=6a78104ac050c760b055c1f7913c83c47b8815d5 [2022-10-10T05:05:10.155Z] ---> Running in ffd4f3824ebd [2022-10-10T05:05:10.155Z] Removing intermediate container ffd4f3824ebd [2022-10-10T05:05:10.155Z] ---> eadc3bb76a3f [2022-10-10T05:05:10.155Z] Step 24/24 : LABEL version=0.0.0 [2022-10-10T05:05:10.155Z] ---> Running in 34336f16ddde [2022-10-10T05:05:10.155Z] Removing intermediate container 34336f16ddde [2022-10-10T05:05:10.155Z] ---> 073dc2b2fc26 [2022-10-10T05:05:10.155Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T05:05:10.155Z] Successfully built 073dc2b2fc26 [2022-10-10T05:05:10.155Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:05:10.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T05:05:10.995Z] [2022-10-10T05:05:10.995Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:05:11.371Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T05:05:11.371Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T05:05:11.371Z] 5eb5b503b376: Pulling fs layer [2022-10-10T05:05:11.371Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T05:05:11.371Z] ec43610c2a17: Pulling fs layer [2022-10-10T05:05:11.371Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T05:05:11.371Z] 33b1e0a273af: Pulling fs layer [2022-10-10T05:05:11.371Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T05:05:11.371Z] 2f39f015ded8: Pulling fs layer [2022-10-10T05:05:11.371Z] 3a2ae6a8a46f: Waiting [2022-10-10T05:05:11.371Z] 33b1e0a273af: Waiting [2022-10-10T05:05:11.371Z] 5d3b04190fa2: Waiting [2022-10-10T05:05:11.371Z] 2f39f015ded8: Waiting [2022-10-10T05:05:11.371Z] 5c69ac0246d0: Download complete [2022-10-10T05:05:11.371Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T05:05:11.371Z] 3a2ae6a8a46f: Download complete [2022-10-10T05:05:11.371Z] ec43610c2a17: Verifying Checksum [2022-10-10T05:05:11.371Z] ec43610c2a17: Download complete [2022-10-10T05:05:11.371Z] 33b1e0a273af: Verifying Checksum [2022-10-10T05:05:11.371Z] 33b1e0a273af: Download complete [2022-10-10T05:05:11.371Z] 5d3b04190fa2: Download complete [2022-10-10T05:05:11.628Z] 5eb5b503b376: Verifying Checksum [2022-10-10T05:05:11.628Z] 5eb5b503b376: Download complete [2022-10-10T05:05:12.194Z] 2f39f015ded8: Download complete [2022-10-10T05:05:12.760Z] 5eb5b503b376: Pull complete [2022-10-10T05:05:12.760Z] 5c69ac0246d0: Pull complete [2022-10-10T05:05:13.326Z] ec43610c2a17: Pull complete [2022-10-10T05:05:13.326Z] 3a2ae6a8a46f: Pull complete [2022-10-10T05:05:13.584Z] 33b1e0a273af: Pull complete [2022-10-10T05:05:13.584Z] 5d3b04190fa2: Pull complete [2022-10-10T05:05:17.769Z] 2f39f015ded8: Pull complete [2022-10-10T05:05:17.770Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T05:05:17.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T05:05:17.770Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:05:17.955Z] prd-ubuntu20.04-docker-8c-8g-7485 does not seem to be running inside a container [2022-10-10T05:05:17.989Z] $ 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-381 -v /w/workspace/xfoundry_device-modbus-go_PR-381:/w/workspace/xfoundry_device-modbus-go_PR-381:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-381@tmp:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T05:05:20.051Z] $ docker top 44fa7af25f650b2d6bcccb7c05c08ac84d6ed1087c2cd8549ef6b889663a7806 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:05:20.503Z] ---> job-cost.sh [2022-10-10T05:05:20.503Z] lf-activate-venv: SKIPPING [2022-10-10T05:05:20.503Z] INFO: No Stack... [2022-10-10T05:05:21.070Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T05:05:21.328Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T05:05:21.639Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-381/archives/cost.csv [2022-10-10T05:05:21.639Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T05:05:21.678Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] [2022-10-10T05:05:21.683Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] did not exist. Created. [2022-10-10T05:05:21.684Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T05:05:22.076Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T05:05:22.128Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T05:05:22.163Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T05:05:22.241Z] $ docker stop --time=1 44fa7af25f650b2d6bcccb7c05c08ac84d6ed1087c2cd8549ef6b889663a7806 [2022-10-10T05:05:23.393Z] $ docker rm -f 44fa7af25f650b2d6bcccb7c05c08ac84d6ed1087c2cd8549ef6b889663a7806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T05:05:25.669Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7488 in /w/workspace/xfoundry_device-modbus-go_PR-381 [Pipeline] { [Pipeline] ws [2022-10-10T05:05:25.711Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-10-10T05:05:25.797Z] Selected Git installation does not exist. Using Default [2022-10-10T05:05:25.797Z] The recommended git tool is: NONE [2022-10-10T05:05:31.193Z] using credential edgex-jenkins-ssh [2022-10-10T05:05:31.214Z] Cloning the remote Git repository [2022-10-10T05:05:31.252Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-10T05:05:31.319Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-10-10T05:05:31.467Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-10T05:05:31.468Z] > git --version # timeout=10 [2022-10-10T05:05:31.491Z] > git --version # 'git version 2.25.1' [2022-10-10T05:05:31.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T05:05:31.535Z] Verifying host key using known hosts file [2022-10-10T05:05:31.710Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T05:05:31.720Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T05:05:32.868Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-10T05:05:32.893Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T05:05:34.394Z] Merging remotes/origin/main commit 5f9383f46e2f188912b2110fac411a008f731f06 into PR head commit 6a78104ac050c760b055c1f7913c83c47b8815d5 [2022-10-10T05:05:34.645Z] Merge succeeded, producing 6a78104ac050c760b055c1f7913c83c47b8815d5 [2022-10-10T05:05:34.645Z] Checking out Revision 6a78104ac050c760b055c1f7913c83c47b8815d5 (PR-381) [2022-10-10T05:05:33.805Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-10T05:05:33.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-10T05:05:33.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T05:05:33.855Z] Verifying host key using known hosts file [2022-10-10T05:05:33.861Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T05:05:33.872Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/381/head:refs/remotes/origin/PR-381 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T05:05:34.414Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T05:05:34.442Z] > git checkout -f 6a78104ac050c760b055c1f7913c83c47b8815d5 # timeout=10 [2022-10-10T05:05:34.529Z] > git remote # timeout=10 [2022-10-10T05:05:34.549Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T05:05:34.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T05:05:34.591Z] Verifying host key using known hosts file [2022-10-10T05:05:34.595Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T05:05:34.604Z] > git merge 5f9383f46e2f188912b2110fac411a008f731f06 # timeout=10 [2022-10-10T05:05:34.628Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T05:05:34.651Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T05:05:34.676Z] > git checkout -f 6a78104ac050c760b055c1f7913c83c47b8815d5 # timeout=10 [2022-10-10T05:05:35.129Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-10T05:05:35.175Z] > git --version # timeout=10 [2022-10-10T05:05:35.188Z] > git --version # 'git version 2.25.1' [2022-10-10T05:05:35.214Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T05:05:36.250Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T05:05:36.251Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T05:05:36.251Z] Dload Upload Total Spent Left Speed [2022-10-10T05:05:36.251Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 61174 0 --:--:-- --:--:-- --:--:-- 61174 [Pipeline] sh [2022-10-10T05:05:36.863Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T05:05:37.208Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T05:05:37.208Z] + sudo tee /etc/docker/daemon.new [2022-10-10T05:05:37.208Z] { [2022-10-10T05:05:37.208Z] "registry-mirrors": [ [2022-10-10T05:05:37.208Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T05:05:37.208Z] ], [2022-10-10T05:05:37.208Z] "bip": "10.250.0.254/24", [2022-10-10T05:05:37.208Z] "hosts": [ [2022-10-10T05:05:37.208Z] "tcp://0.0.0.0:5555", [2022-10-10T05:05:37.208Z] "unix:///var/run/docker.sock" [2022-10-10T05:05:37.208Z] ], [2022-10-10T05:05:37.208Z] "mtu": 1458, [2022-10-10T05:05:37.208Z] "selinux-enabled": true, [2022-10-10T05:05:37.208Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T05:05:37.208Z] } [Pipeline] sh [2022-10-10T05:05:37.550Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T05:05:37.906Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T05:05:56.235Z] provisioning config files... [2022-10-10T05:05:56.258Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4580803388339785361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:05:56.640Z] ---> docker-login.sh [2022-10-10T05:05:56.641Z] nexus3.edgexfoundry.org:10001 [2022-10-10T05:05:56.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:05:57.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:05:57.500Z] Configure a credential helper to remove this warning. See [2022-10-10T05:05:57.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:05:57.500Z] [2022-10-10T05:05:57.500Z] Login Succeeded [2022-10-10T05:05:57.500Z] nexus3.edgexfoundry.org:10002 [2022-10-10T05:05:57.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:05:57.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:05:57.769Z] Configure a credential helper to remove this warning. See [2022-10-10T05:05:57.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:05:57.769Z] [2022-10-10T05:05:57.769Z] Login Succeeded [2022-10-10T05:05:57.769Z] nexus3.edgexfoundry.org:10003 [2022-10-10T05:05:58.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:05:58.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:05:58.039Z] Configure a credential helper to remove this warning. See [2022-10-10T05:05:58.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:05:58.039Z] [2022-10-10T05:05:58.039Z] Login Succeeded [2022-10-10T05:05:58.039Z] nexus3.edgexfoundry.org:10004 [2022-10-10T05:05:58.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:05:58.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:05:58.310Z] Configure a credential helper to remove this warning. See [2022-10-10T05:05:58.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:05:58.310Z] [2022-10-10T05:05:58.310Z] Login Succeeded [2022-10-10T05:05:58.310Z] docker.io [2022-10-10T05:05:58.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T05:05:59.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T05:05:59.163Z] Configure a credential helper to remove this warning. See [2022-10-10T05:05:59.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T05:05:59.163Z] [2022-10-10T05:05:59.163Z] Login Succeeded [2022-10-10T05:05:59.163Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T05:05:59.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T05:05:59.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T05:05:59.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T05:05:59.545Z] ========================================================= [2022-10-10T05:05:59.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T05:05:59.545Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:06:00.033Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T05:06:00.307Z] Sending build context to Docker daemon 3.212MB [2022-10-10T05:06:00.307Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T05:06:00.307Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-10T05:06:00.587Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T05:06:00.587Z] b3c136eddcbf: Pulling fs layer [2022-10-10T05:06:00.587Z] c0a3192eca97: Pulling fs layer [2022-10-10T05:06:00.587Z] a050256f5b6f: Pulling fs layer [2022-10-10T05:06:00.587Z] 656be50a0ddc: Pulling fs layer [2022-10-10T05:06:00.587Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T05:06:00.587Z] f607e4fc86c3: Pulling fs layer [2022-10-10T05:06:00.587Z] 4d572c569a2c: Pulling fs layer [2022-10-10T05:06:00.587Z] fcf976331f73: Pulling fs layer [2022-10-10T05:06:00.587Z] 2bbca73fdf42: Waiting [2022-10-10T05:06:00.587Z] f607e4fc86c3: Waiting [2022-10-10T05:06:00.587Z] 4d572c569a2c: Waiting [2022-10-10T05:06:00.587Z] fcf976331f73: Waiting [2022-10-10T05:06:00.587Z] a050256f5b6f: Verifying Checksum [2022-10-10T05:06:00.587Z] a050256f5b6f: Download complete [2022-10-10T05:06:00.587Z] c0a3192eca97: Verifying Checksum [2022-10-10T05:06:00.587Z] c0a3192eca97: Download complete [2022-10-10T05:06:00.587Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T05:06:00.587Z] 2bbca73fdf42: Download complete [2022-10-10T05:06:00.587Z] f607e4fc86c3: Verifying Checksum [2022-10-10T05:06:00.587Z] f607e4fc86c3: Download complete [2022-10-10T05:06:00.587Z] b3c136eddcbf: Verifying Checksum [2022-10-10T05:06:00.587Z] b3c136eddcbf: Download complete [2022-10-10T05:06:01.570Z] b3c136eddcbf: Pull complete [2022-10-10T05:06:01.840Z] fcf976331f73: Verifying Checksum [2022-10-10T05:06:01.840Z] fcf976331f73: Download complete [2022-10-10T05:06:02.114Z] c0a3192eca97: Pull complete [2022-10-10T05:06:02.383Z] a050256f5b6f: Pull complete [2022-10-10T05:06:02.974Z] 4d572c569a2c: Download complete [2022-10-10T05:06:03.565Z] 656be50a0ddc: Verifying Checksum [2022-10-10T05:06:03.565Z] 656be50a0ddc: Download complete [2022-10-10T05:06:15.907Z] 656be50a0ddc: Pull complete [2022-10-10T05:06:15.907Z] 2bbca73fdf42: Pull complete [2022-10-10T05:06:15.907Z] f607e4fc86c3: Pull complete [2022-10-10T05:06:20.176Z] 4d572c569a2c: Pull complete [2022-10-10T05:06:22.127Z] fcf976331f73: Pull complete [2022-10-10T05:06:22.127Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T05:06:22.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T05:06:22.127Z] ---> 3970a7415f9e [2022-10-10T05:06:22.127Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-10T05:06:24.153Z] ---> Running in 06ce1ac90b35 [2022-10-10T05:06:24.153Z] Removing intermediate container 06ce1ac90b35 [2022-10-10T05:06:24.153Z] ---> 19fdce2612f1 [2022-10-10T05:06:24.153Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T05:06:24.447Z] ---> Running in 1915b955e640 [2022-10-10T05:06:24.718Z] Removing intermediate container 1915b955e640 [2022-10-10T05:06:24.718Z] ---> 77c0fce50907 [2022-10-10T05:06:24.718Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T05:06:24.718Z] ---> Running in 4591c398cd45 [2022-10-10T05:06:27.339Z] Removing intermediate container 4591c398cd45 [2022-10-10T05:06:27.339Z] ---> 587934116d26 [2022-10-10T05:06:27.339Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-10T05:06:27.607Z] ---> Running in 5bf6bb6c4632 [2022-10-10T05:06:28.575Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T05:06:29.537Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T05:06:30.498Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T05:06:30.498Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-10T05:06:30.498Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T05:06:30.768Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T05:06:31.035Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-10T05:06:31.035Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-10T05:06:31.035Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-10T05:06:31.306Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-10T05:06:31.306Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T05:06:31.306Z] OK: 228 MiB in 59 packages [2022-10-10T05:06:32.270Z] Removing intermediate container 5bf6bb6c4632 [2022-10-10T05:06:32.270Z] ---> 70995c4b2921 [2022-10-10T05:06:32.270Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-10T05:06:32.537Z] ---> Running in 49261af12fa2 [2022-10-10T05:06:32.808Z] Removing intermediate container 49261af12fa2 [2022-10-10T05:06:32.808Z] ---> aebe31f1830e [2022-10-10T05:06:32.808Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-10T05:06:33.396Z] ---> ca034685cf4d [2022-10-10T05:06:33.396Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T05:06:33.396Z] ---> Running in f28b662da3d4 [2022-10-10T05:07:29.835Z] Removing intermediate container f28b662da3d4 [2022-10-10T05:07:29.835Z] ---> 3bf68458c3c5 [2022-10-10T05:07:29.835Z] Step 10/11 : COPY . . [2022-10-10T05:07:29.835Z] ---> cab02119fb72 [2022-10-10T05:07:29.835Z] Step 11/11 : RUN ${MAKE} [2022-10-10T05:07:29.835Z] ---> Running in 7f1e4ca523b2 [2022-10-10T05:07:29.835Z] noop [2022-10-10T05:07:29.835Z] Removing intermediate container 7f1e4ca523b2 [2022-10-10T05:07:29.835Z] ---> f6644c5d1ec1 [2022-10-10T05:07:29.835Z] Successfully built f6644c5d1ec1 [2022-10-10T05:07:29.835Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:07:30.322Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T05:07:30.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:07:30.572Z] prd-ubuntu20.04-docker-arm64-4c-16g-7488 does not seem to be running inside a container [2022-10-10T05:07:30.633Z] $ 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-10-10T05:07:31.799Z] $ docker top dd8c7fb9e4a0cecd01e1a0346aed6021b26762fefe17b549366d4df9f9a6e80b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T05:07:32.660Z] + go version [2022-10-10T05:07:32.660Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T05:07:32.700Z] $ docker stop --time=1 dd8c7fb9e4a0cecd01e1a0346aed6021b26762fefe17b549366d4df9f9a6e80b [2022-10-10T05:07:34.281Z] $ docker rm -f dd8c7fb9e4a0cecd01e1a0346aed6021b26762fefe17b549366d4df9f9a6e80b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:07:35.134Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T05:07:35.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:07:35.371Z] prd-ubuntu20.04-docker-arm64-4c-16g-7488 does not seem to be running inside a container [2022-10-10T05:07:35.431Z] $ 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-10-10T05:07:36.529Z] $ docker top 2bf6dfcbec628c17b8301d9fd637a131ceb78cd57fb1b22772520a53f962cbd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T05:07:37.070Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-10T05:07:37.465Z] + make test [2022-10-10T05:07:37.465Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-10T05:07:39.420Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-10T05:09:16.092Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-10T05:09:16.092Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.7% of statements [2022-10-10T05:09:16.092Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T05:09:16.092Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T05:09:24.306Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T05:09:24.306Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T05:09:24.306Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T05:09:24.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T05:09:24.382Z] $ docker stop --time=1 2bf6dfcbec628c17b8301d9fd637a131ceb78cd57fb1b22772520a53f962cbd1 [2022-10-10T05:09:26.182Z] $ docker rm -f 2bf6dfcbec628c17b8301d9fd637a131ceb78cd57fb1b22772520a53f962cbd1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T05:09:27.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T05:09:27.197Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T05:09:27.611Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T05:09:28.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T05:09:28.535Z] + ls -al . [2022-10-10T05:09:28.535Z] total 184 [2022-10-10T05:09:28.535Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 05:07 . [2022-10-10T05:09:28.535Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:05 .. [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 05:05 .dockerignore [2022-10-10T05:09:28.535Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 05:05 .git [2022-10-10T05:09:28.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:05 .github [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 10 05:05 .gitignore [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 05:05 .golangci.yml [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 10 05:05 Attribution.txt [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 10 05:05 CHANGELOG.md [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 10 05:05 Dockerfile [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 05:05 GOVERNANCE.md [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 05:05 Jenkinsfile [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 05:05 LICENSE [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 10 05:05 Makefile [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 05:05 OWNERS.md [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 10 05:05 README.md [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 05:03 VERSION [2022-10-10T05:09:28.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:05 bin [2022-10-10T05:09:28.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:05 cmd [2022-10-10T05:09:28.535Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 10 05:09 coverage.out [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 10 05:05 go.mod [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 10 05:05 go.sum [2022-10-10T05:09:28.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 05:05 internal [2022-10-10T05:09:28.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 05:05 simulator [2022-10-10T05:09:28.535Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 05:05 snap [2022-10-10T05:09:28.535Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 10 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:09:28.951Z] + 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=6a78104ac050c760b055c1f7913c83c47b8815d5 --label arch=arm64 --label version=0.0.0 . [2022-10-10T05:09:29.220Z] Sending build context to Docker daemon 3.236MB [2022-10-10T05:09:29.220Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T05:09:29.220Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-10T05:09:29.220Z] ---> f6644c5d1ec1 [2022-10-10T05:09:29.220Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-10T05:09:29.493Z] ---> Running in c22b44f34259 [2022-10-10T05:09:29.761Z] Removing intermediate container c22b44f34259 [2022-10-10T05:09:29.761Z] ---> a1f466e4595c [2022-10-10T05:09:29.761Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T05:09:29.761Z] ---> Running in f66aa8513205 [2022-10-10T05:09:30.031Z] Removing intermediate container f66aa8513205 [2022-10-10T05:09:30.031Z] ---> b5332a01264f [2022-10-10T05:09:30.031Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T05:09:30.031Z] ---> Running in e5293c738756 [2022-10-10T05:09:31.979Z] Removing intermediate container e5293c738756 [2022-10-10T05:09:31.979Z] ---> f28d8350078e [2022-10-10T05:09:31.979Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-10T05:09:31.979Z] ---> Running in 12f8fcbc03b9 [2022-10-10T05:09:32.938Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T05:09:33.521Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T05:09:34.488Z] OK: 228 MiB in 59 packages [2022-10-10T05:09:35.453Z] Removing intermediate container 12f8fcbc03b9 [2022-10-10T05:09:35.453Z] ---> 31f0995840e2 [2022-10-10T05:09:35.453Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-10T05:09:35.453Z] ---> Running in 2a0998fade74 [2022-10-10T05:09:36.039Z] Removing intermediate container 2a0998fade74 [2022-10-10T05:09:36.039Z] ---> 81a083bfeba0 [2022-10-10T05:09:36.039Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-10T05:09:36.309Z] ---> 367b29abd75f [2022-10-10T05:09:36.309Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T05:09:36.577Z] ---> Running in 20c3cf393a6f [2022-10-10T05:09:38.534Z] Removing intermediate container 20c3cf393a6f [2022-10-10T05:09:38.534Z] ---> 3010d3a08e9c [2022-10-10T05:09:38.534Z] Step 10/24 : COPY . . [2022-10-10T05:09:39.119Z] ---> 8d3e7fa08640 [2022-10-10T05:09:39.119Z] Step 11/24 : RUN ${MAKE} [2022-10-10T05:09:39.388Z] ---> Running in f3c5a90e526a [2022-10-10T05:09:40.355Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-10T05:12:32.154Z] Removing intermediate container f3c5a90e526a [2022-10-10T05:12:32.154Z] ---> 1ab9cf106373 [2022-10-10T05:12:32.154Z] Step 12/24 : FROM alpine:3.14 [2022-10-10T05:12:32.154Z] 3.14: Pulling from library/alpine [2022-10-10T05:12:32.154Z] 90cda3b7c325: Pulling fs layer [2022-10-10T05:12:32.154Z] 90cda3b7c325: Verifying Checksum [2022-10-10T05:12:32.154Z] 90cda3b7c325: Download complete [2022-10-10T05:12:32.154Z] 90cda3b7c325: Pull complete [2022-10-10T05:12:32.154Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-10T05:12:32.154Z] Status: Downloaded newer image for alpine:3.14 [2022-10-10T05:12:32.154Z] ---> 376ba31ae3da [2022-10-10T05:12:32.154Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-10T05:12:32.154Z] ---> Running in 59a03f41ba0e [2022-10-10T05:12:32.154Z] Removing intermediate container 59a03f41ba0e [2022-10-10T05:12:32.154Z] ---> efada0625adf [2022-10-10T05:12:32.154Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T05:12:32.154Z] ---> Running in 73a52ceefce2 [2022-10-10T05:12:32.154Z] Removing intermediate container 73a52ceefce2 [2022-10-10T05:12:32.154Z] ---> 2107c247e801 [2022-10-10T05:12:32.154Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T05:12:32.154Z] ---> Running in 41ab49142dd1 [2022-10-10T05:12:32.154Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-10T05:12:32.154Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-10T05:12:32.154Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T05:12:32.154Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-10T05:12:32.154Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T05:12:32.154Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-10T05:12:32.154Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T05:12:32.154Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T05:12:32.154Z] Executing busybox-1.33.1-r8.trigger [2022-10-10T05:12:32.154Z] OK: 8 MiB in 20 packages [2022-10-10T05:12:32.154Z] Removing intermediate container 41ab49142dd1 [2022-10-10T05:12:32.154Z] ---> 9f96f2d799b9 [2022-10-10T05:12:32.155Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-10T05:12:32.155Z] ---> ae453f96b874 [2022-10-10T05:12:32.155Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-10T05:12:32.155Z] ---> f9544545c333 [2022-10-10T05:12:32.155Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-10T05:12:32.155Z] ---> eac999a7cdd7 [2022-10-10T05:12:32.155Z] Step 19/24 : EXPOSE 59901 [2022-10-10T05:12:32.155Z] ---> Running in a37997e11102 [2022-10-10T05:12:32.155Z] Removing intermediate container a37997e11102 [2022-10-10T05:12:32.155Z] ---> 063c97780405 [2022-10-10T05:12:32.155Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-10T05:12:32.155Z] ---> Running in 08390441504d [2022-10-10T05:12:32.155Z] Removing intermediate container 08390441504d [2022-10-10T05:12:32.155Z] ---> 8fed0a63341a [2022-10-10T05:12:32.155Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T05:12:32.155Z] ---> Running in d2e51cfb3056 [2022-10-10T05:12:32.155Z] Removing intermediate container d2e51cfb3056 [2022-10-10T05:12:32.155Z] ---> 0034ca5b0a31 [2022-10-10T05:12:32.155Z] Step 22/24 : LABEL arch=arm64 [2022-10-10T05:12:32.155Z] ---> Running in f3972e66fe50 [2022-10-10T05:12:32.155Z] Removing intermediate container f3972e66fe50 [2022-10-10T05:12:32.155Z] ---> ded006af0bb3 [2022-10-10T05:12:32.155Z] Step 23/24 : LABEL git_sha=6a78104ac050c760b055c1f7913c83c47b8815d5 [2022-10-10T05:12:32.155Z] ---> Running in feca7f16724d [2022-10-10T05:12:32.155Z] Removing intermediate container feca7f16724d [2022-10-10T05:12:32.155Z] ---> 8ed1554d0532 [2022-10-10T05:12:32.155Z] Step 24/24 : LABEL version=0.0.0 [2022-10-10T05:12:32.155Z] ---> Running in c649c81a0d35 [2022-10-10T05:12:32.155Z] Removing intermediate container c649c81a0d35 [2022-10-10T05:12:32.155Z] ---> 001832537728 [2022-10-10T05:12:32.155Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T05:12:32.155Z] Successfully built 001832537728 [2022-10-10T05:12:32.155Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:12:32.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T05:12:32.999Z] [2022-10-10T05:12:32.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:12:33.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T05:12:33.400Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T05:12:33.400Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T05:12:33.400Z] 04944245beec: Pulling fs layer [2022-10-10T05:12:33.400Z] 699f458cf7ca: Pulling fs layer [2022-10-10T05:12:33.400Z] 765212b225bb: Pulling fs layer [2022-10-10T05:12:33.400Z] f23df028b6ca: Pulling fs layer [2022-10-10T05:12:33.400Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T05:12:33.400Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T05:12:33.400Z] 765212b225bb: Waiting [2022-10-10T05:12:33.400Z] f23df028b6ca: Waiting [2022-10-10T05:12:33.400Z] d65c8cfc05b1: Waiting [2022-10-10T05:12:33.400Z] 2437ff75d9bd: Waiting [2022-10-10T05:12:33.670Z] 04944245beec: Verifying Checksum [2022-10-10T05:12:33.670Z] 04944245beec: Download complete [2022-10-10T05:12:33.670Z] 765212b225bb: Verifying Checksum [2022-10-10T05:12:33.670Z] 765212b225bb: Download complete [2022-10-10T05:12:33.670Z] f23df028b6ca: Download complete [2022-10-10T05:12:33.670Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T05:12:33.670Z] d65c8cfc05b1: Download complete [2022-10-10T05:12:33.941Z] 699f458cf7ca: Download complete [2022-10-10T05:12:34.212Z] 8998bd30e6a1: Download complete [2022-10-10T05:12:36.801Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T05:12:36.801Z] 2437ff75d9bd: Download complete [2022-10-10T05:12:38.213Z] 8998bd30e6a1: Pull complete [2022-10-10T05:12:38.479Z] 04944245beec: Pull complete [2022-10-10T05:12:39.891Z] 699f458cf7ca: Pull complete [2022-10-10T05:12:39.891Z] 765212b225bb: Pull complete [2022-10-10T05:12:40.851Z] f23df028b6ca: Pull complete [2022-10-10T05:12:41.118Z] d65c8cfc05b1: Pull complete [2022-10-10T05:12:56.128Z] 2437ff75d9bd: Pull complete [2022-10-10T05:12:56.128Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T05:12:56.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T05:12:56.128Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:12:56.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-7488 does not seem to be running inside a container [2022-10-10T05:12:56.526Z] $ 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-10-10T05:12:59.221Z] $ docker top 41add7f0801bc4d9d4e79bc0d9f73789464273e08c686ca083520414b152cefc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:13:00.155Z] ---> job-cost.sh [2022-10-10T05:13:00.156Z] lf-activate-venv: SKIPPING [2022-10-10T05:13:00.156Z] INFO: No Stack... [2022-10-10T05:13:00.426Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T05:13:01.417Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T05:13:02.083Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-10-10T05:13:02.083Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T05:13:02.178Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] [2022-10-10T05:13:02.183Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] did not exist. Created. [2022-10-10T05:13:02.183Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T05:13:02.923Z] /w/workspace/device-modbus-go/1@tmp/durable-e9c59734/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T05:13:03.596Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T05:13:03.628Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T05:13:03.671Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T05:13:03.686Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-381-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T05:13:03.760Z] $ docker stop --time=1 41add7f0801bc4d9d4e79bc0d9f73789464273e08c686ca083520414b152cefc [2022-10-10T05:13:05.240Z] $ docker rm -f 41add7f0801bc4d9d4e79bc0d9f73789464273e08c686ca083520414b152cefc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-10T05:13:06.205Z] provisioning config files... [2022-10-10T05:13:06.211Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/config13129537995704984583tmp [Pipeline] { [Pipeline] sh [2022-10-10T05:13:06.542Z] + set +x [2022-10-10T05:13:06.542Z] + curl -s https://codecov.io/bash [2022-10-10T05:13:06.542Z] + bash -s -- [2022-10-10T05:13:06.542Z] [2022-10-10T05:13:06.542Z] _____ _ [2022-10-10T05:13:06.542Z] / ____| | | [2022-10-10T05:13:06.542Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T05:13:06.542Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T05:13:06.542Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T05:13:06.542Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T05:13:06.542Z] Bash-1.0.6 [2022-10-10T05:13:06.542Z] [2022-10-10T05:13:06.542Z] [2022-10-10T05:13:06.542Z] ==> git version 2.25.1 found [2022-10-10T05:13:06.542Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-10T05:13:06.542Z] Release-Date: 2020-01-08 [2022-10-10T05:13:06.542Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-10T05:13:06.542Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T05:13:06.542Z] ==> Jenkins CI detected. [2022-10-10T05:13:06.542Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-381 [2022-10-10T05:13:06.542Z] project root: . [2022-10-10T05:13:06.542Z] --> token set from env [2022-10-10T05:13:06.542Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T05:13:06.542Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T05:13:06.542Z] ==> Python coveragepy not found [2022-10-10T05:13:06.542Z] ==> Searching for coverage reports in: [2022-10-10T05:13:06.542Z] + . [2022-10-10T05:13:06.542Z] -> Found 1 reports [2022-10-10T05:13:06.542Z] ==> Detecting git/mercurial file structure [2022-10-10T05:13:06.542Z] ==> Reading reports [2022-10-10T05:13:06.801Z] + ./coverage.out bytes=23241 [2022-10-10T05:13:06.801Z] ==> Appending adjustments [2022-10-10T05:13:06.801Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T05:13:06.801Z] + Found adjustments [2022-10-10T05:13:06.801Z] ==> Gzipping contents [2022-10-10T05:13:06.801Z] 4.0K /tmp/codecov.piPK8v.gz [2022-10-10T05:13:06.801Z] ==> Uploading reports [2022-10-10T05:13:06.801Z] url: https://codecov.io [2022-10-10T05:13:06.801Z] query: branch=PR-381&commit=6a78104ac050c760b055c1f7913c83c47b8815d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-381%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=381&job=&cmd_args= [2022-10-10T05:13:06.801Z] -> Pinging Codecov [2022-10-10T05:13:06.801Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-381&commit=6a78104ac050c760b055c1f7913c83c47b8815d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-381%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=381&job=&cmd_args= [2022-10-10T05:13:07.061Z] -> Uploading to [2022-10-10T05:13:07.061Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/55DBCA73C666E3227836607328DD7E49/6a78104ac050c760b055c1f7913c83c47b8815d5/cb0df913-adce-42ae-b0cb-59778955e2ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T051307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3814c5cf3f25a2f5eee8bf051703b16291d076ff90de0e28a54cf23d4ec97a2f [2022-10-10T05:13:07.320Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T05:13:07.320Z] Dload Upload Total Spent Left Speed [2022-10-10T05:13:07.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 18023 --:--:-- --:--:-- --:--:-- 18023 [2022-10-10T05:13:07.320Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6a78104ac050c760b055c1f7913c83c47b8815d5 [Pipeline] } [2022-10-10T05:13:07.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-10T05:13:09.130Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-381/archives ] [2022-10-10T05:13:09.130Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-381/archives [2022-10-10T05:13:09.130Z] total 16 [2022-10-10T05:13:09.130Z] drwxr-xr-x 3 root root 4096 Oct 10 05:05 . [2022-10-10T05:13:09.130Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 05:05 .. [2022-10-10T05:13:09.130Z] drwxr-xr-x 2 root root 4096 Oct 10 05:05 cost [2022-10-10T05:13:09.130Z] -rw-r--r-- 1 root root 88 Oct 10 05:05 cost.csv [2022-10-10T05:13:09.130Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-381/archives [2022-10-10T05:13:09.130Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-381/archives [2022-10-10T05:13:09.130Z] total 16 [2022-10-10T05:13:09.130Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 05:05 . [2022-10-10T05:13:09.130Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 05:05 .. [2022-10-10T05:13:09.130Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 05:05 cost [2022-10-10T05:13:09.130Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 10 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:13:09.454Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:13:10.347Z] ---> package-listing.sh [2022-10-10T05:13:10.347Z] ++ facter osfamily [2022-10-10T05:13:10.347Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T05:13:10.605Z] + OS_FAMILY=debian [2022-10-10T05:13:10.605Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-381 [2022-10-10T05:13:10.605Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T05:13:10.605Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T05:13:10.605Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T05:13:10.605Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T05:13:10.605Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-381 ']' [2022-10-10T05:13:10.605Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T05:13:10.605Z] + case "${OS_FAMILY}" in [2022-10-10T05:13:10.605Z] + dpkg -l [2022-10-10T05:13:10.605Z] + grep '^ii' [2022-10-10T05:13:10.605Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T05:13:10.605Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T05:13:10.605Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T05:13:10.605Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-381 ']' [2022-10-10T05:13:10.605Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-381/archives/ [2022-10-10T05:13:10.605Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-381/archives/ [Pipeline] echo [2022-10-10T05:13:10.642Z] 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-381/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T05:13:10.932Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T05:13:11.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T05:13:11.557Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T05:13:11.705Z] prd-ubuntu20.04-docker-8c-8g-7485 does not seem to be running inside a container [2022-10-10T05:13:11.734Z] $ 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-381/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-381 -v /w/workspace/xfoundry_device-modbus-go_PR-381:/w/workspace/xfoundry_device-modbus-go_PR-381:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-381@tmp:/w/workspace/xfoundry_device-modbus-go_PR-381@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-10-10T05:13:11.911Z] $ docker top 0144944f3f04da119c57f841c91ba26e0eb4f0d80608758e548bb9d5475d8412 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T05:13:12.296Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T05:13:12.604Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T05:13:12.914Z] + ls /var/log/sa-host [2022-10-10T05:13:12.914Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T05:13:13.122Z] provisioning config files... [2022-10-10T05:13:13.131Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-381@tmp/config16148574773058694075tmp [Pipeline] { [Pipeline] echo [2022-10-10T05:13:13.183Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:13:13.495Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T05:13:13.523Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:13:13.929Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T05:13:13.957Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:13:14.273Z] ---> sudo-logs.sh [2022-10-10T05:13:14.274Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T05:13:14.357Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:13:14.669Z] ---> job-cost.sh [2022-10-10T05:13:14.669Z] lf-activate-venv: SKIPPING [2022-10-10T05:13:14.669Z] DEBUG: total: 0.2199999988079071 [2022-10-10T05:13:14.669Z] INFO: Retrieving Stack Cost... [2022-10-10T05:13:14.927Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T05:13:15.493Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T05:13:15.530Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T05:13:15.839Z] ---> logs-deploy.sh [2022-10-10T05:13:15.839Z] lf-activate-venv: SKIPPING [2022-10-10T05:13:15.839Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-381/1 [2022-10-10T05:13:15.839Z] INFO: archiving workspace using pattern(s): [2022-10-10T05:13:16.779Z] Archives upload complete. [2022-10-10T05:13:16.779Z] INFO: archiving logs to Nexus