Pull request #383 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a519b54361d1babe4131560b040f854380379020+dc9c57eb5fcf9d56daa39b489e9deb9211134340 (0a5821248999c136b499ee57e80b8041703ad407) 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-ssh8485388084970533377.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-ssh8542039324190934052.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-383/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-383/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14528055673265542838.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-383/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15158012130007507614.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-ssh2806929827688251068.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-383/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-383/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12982948680534219502.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8021 in /w/workspace/xfoundry_device-modbus-go_PR-383 [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-383 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/383/head:refs/remotes/origin/PR-383 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dc9c57eb5fcf9d56daa39b489e9deb9211134340 into PR head commit a519b54361d1babe4131560b040f854380379020 Merge succeeded, producing a519b54361d1babe4131560b040f854380379020 Checking out Revision a519b54361d1babe4131560b040f854380379020 (PR-383) 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-17T05:03:03.257Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f a519b54361d1babe4131560b040f854380379020 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge dc9c57eb5fcf9d56daa39b489e9deb9211134340 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a519b54361d1babe4131560b040f854380379020 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T05:03:03.499Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T05:03:03.601Z] ========================================================= [2022-10-17T05:03:03.601Z] EdgeX Global Pipelines Version Info [2022-10-17T05:03:03.601Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:03:04.357Z] ------------------- [2022-10-17T05:03:04.357Z] stable info: [2022-10-17T05:03:04.357Z] ------------------- [2022-10-17T05:03:04.357Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T05:03:04.357Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T05:03:04.357Z] Message: update stable to v1.0.239 [2022-10-17T05:03:04.930Z] ------------------- [2022-10-17T05:03:04.930Z] experimental info: [2022-10-17T05:03:04.930Z] ------------------- [2022-10-17T05:03:04.930Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T05:03:04.930Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T05:03:04.930Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T05:03:05.212Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-17T05:03:05.251Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-17T05:03:05.294Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T05:03:05.333Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T05:03:05.372Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T05:03:05.408Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T05:03:05.450Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T05:03:05.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T05:03:05.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T05:03:05.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T05:03:05.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T05:03:05.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-17T05:03:05.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T05:03:05.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T05:03:05.781Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T05:03:05.819Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T05:03:05.857Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T05:03:05.897Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T05:03:05.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T05:03:05.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T05:03:06.020Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T05:03:06.060Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T05:03:06.099Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T05:03:06.135Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T05:03:06.173Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T05:03:06.214Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T05:03:06.255Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T05:03:06.295Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-383 [Pipeline] echo [2022-10-17T05:03:06.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-383 [Pipeline] echo [2022-10-17T05:03:06.378Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-383 [Pipeline] echo [2022-10-17T05:03:06.423Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a519b54361d1babe4131560b040f854380379020 [Pipeline] echo [2022-10-17T05:03:06.466Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a519b54 [Pipeline] echo [2022-10-17T05:03:06.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T05:03:06.624Z] provisioning config files... [2022-10-17T05:03:06.655Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-383@tmp/config11051625958515945185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:03:07.000Z] ---> docker-login.sh [2022-10-17T05:03:07.000Z] nexus3.edgexfoundry.org:10001 [2022-10-17T05:03:07.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:03:07.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:03:07.265Z] Configure a credential helper to remove this warning. See [2022-10-17T05:03:07.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:03:07.265Z] [2022-10-17T05:03:07.265Z] Login Succeeded [2022-10-17T05:03:07.265Z] nexus3.edgexfoundry.org:10002 [2022-10-17T05:03:07.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:03:07.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:03:07.525Z] Configure a credential helper to remove this warning. See [2022-10-17T05:03:07.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:03:07.525Z] [2022-10-17T05:03:07.525Z] Login Succeeded [2022-10-17T05:03:07.525Z] nexus3.edgexfoundry.org:10003 [2022-10-17T05:03:07.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:03:07.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:03:07.525Z] Configure a credential helper to remove this warning. See [2022-10-17T05:03:07.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:03:07.525Z] [2022-10-17T05:03:07.525Z] Login Succeeded [2022-10-17T05:03:07.525Z] nexus3.edgexfoundry.org:10004 [2022-10-17T05:03:07.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:03:07.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:03:07.787Z] Configure a credential helper to remove this warning. See [2022-10-17T05:03:07.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:03:07.787Z] [2022-10-17T05:03:07.787Z] Login Succeeded [2022-10-17T05:03:07.787Z] docker.io [2022-10-17T05:03:07.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:03:08.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:03:08.048Z] Configure a credential helper to remove this warning. See [2022-10-17T05:03:08.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:03:08.048Z] [2022-10-17T05:03:08.048Z] Login Succeeded [2022-10-17T05:03:08.048Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T05:03:08.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T05:03:08.711Z] + git rev-list -1 --merges a519b54361d1babe4131560b040f854380379020~1..a519b54361d1babe4131560b040f854380379020 [Pipeline] echo [2022-10-17T05:03:08.760Z] -----------> git rev-list -1 --merges a519b54361d1babe4131560b040f854380379020~1..a519b54361d1babe4131560b040f854380379020 a519b54361d1babe4131560b040f854380379020 [false] [Pipeline] sh [2022-10-17T05:03:09.075Z] + git log --format=format:%s -1 a519b54361d1babe4131560b040f854380379020 [Pipeline] echo [2022-10-17T05:03:09.115Z] ========================================================= [2022-10-17T05:03:09.115Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T05:03:09.115Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T05:03:09.546Z] + git log --format=format:%s -1 a519b54361d1babe4131560b040f854380379020 [Pipeline] echo [2022-10-17T05:03:09.583Z] [semverPrep] GIT_COMMIT: a519b54361d1babe4131560b040f854380379020, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-17T05:03:09.616Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T05:03:10.023Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T05:03:10.023Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T05:03:10.023Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T05:03:10.023Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T05:03:10.023Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T05:03:10.023Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T05:03:10.023Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:03:10.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T05:03:10.529Z] [2022-10-17T05:03:10.529Z] 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-17T05:03:10.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T05:03:10.914Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T05:03:10.914Z] b85a868b505f: Pulling fs layer [2022-10-17T05:03:10.914Z] e2be974225ed: Pulling fs layer [2022-10-17T05:03:10.914Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T05:03:10.914Z] 988bab9f4d93: Pulling fs layer [2022-10-17T05:03:10.914Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T05:03:10.914Z] eaf3925da568: Pulling fs layer [2022-10-17T05:03:10.914Z] bab4dde63d76: Pulling fs layer [2022-10-17T05:03:10.914Z] bde34c3a00c8: Pulling fs layer [2022-10-17T05:03:10.914Z] b352a97aabf1: Pulling fs layer [2022-10-17T05:03:10.914Z] 4872d77fe225: Pulling fs layer [2022-10-17T05:03:10.914Z] 5851b861e8e6: Pulling fs layer [2022-10-17T05:03:10.914Z] 1469e6f7b9e6: Waiting [2022-10-17T05:03:10.914Z] eaf3925da568: Waiting [2022-10-17T05:03:10.914Z] bab4dde63d76: Waiting [2022-10-17T05:03:10.914Z] bde34c3a00c8: Waiting [2022-10-17T05:03:10.914Z] b352a97aabf1: Waiting [2022-10-17T05:03:10.914Z] 4872d77fe225: Waiting [2022-10-17T05:03:10.914Z] 5851b861e8e6: Waiting [2022-10-17T05:03:10.914Z] 988bab9f4d93: Waiting [2022-10-17T05:03:10.914Z] e2be974225ed: Verifying Checksum [2022-10-17T05:03:10.914Z] e2be974225ed: Download complete [2022-10-17T05:03:10.914Z] 988bab9f4d93: Verifying Checksum [2022-10-17T05:03:10.914Z] 988bab9f4d93: Download complete [2022-10-17T05:03:11.181Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T05:03:11.181Z] 339a4e72a1f5: Download complete [2022-10-17T05:03:11.181Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T05:03:11.181Z] 1469e6f7b9e6: Download complete [2022-10-17T05:03:11.181Z] eaf3925da568: Verifying Checksum [2022-10-17T05:03:11.181Z] eaf3925da568: Download complete [2022-10-17T05:03:11.181Z] bde34c3a00c8: Verifying Checksum [2022-10-17T05:03:11.181Z] b352a97aabf1: Download complete [2022-10-17T05:03:11.181Z] 4872d77fe225: Download complete [2022-10-17T05:03:11.181Z] 5851b861e8e6: Verifying Checksum [2022-10-17T05:03:11.181Z] 5851b861e8e6: Download complete [2022-10-17T05:03:11.181Z] b85a868b505f: Download complete [2022-10-17T05:03:11.467Z] bab4dde63d76: Verifying Checksum [2022-10-17T05:03:11.467Z] bab4dde63d76: Download complete [2022-10-17T05:03:12.420Z] b85a868b505f: Pull complete [2022-10-17T05:03:12.680Z] e2be974225ed: Pull complete [2022-10-17T05:03:13.251Z] 339a4e72a1f5: Pull complete [2022-10-17T05:03:13.251Z] 988bab9f4d93: Pull complete [2022-10-17T05:03:13.512Z] 1469e6f7b9e6: Pull complete [2022-10-17T05:03:13.512Z] eaf3925da568: Pull complete [2022-10-17T05:03:15.416Z] bab4dde63d76: Pull complete [2022-10-17T05:03:15.417Z] bde34c3a00c8: Pull complete [2022-10-17T05:03:15.417Z] b352a97aabf1: Pull complete [2022-10-17T05:03:15.677Z] 4872d77fe225: Pull complete [2022-10-17T05:03:15.677Z] 5851b861e8e6: Pull complete [2022-10-17T05:03:15.677Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T05:03:15.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T05:03:15.677Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:03:15.900Z] prd-ubuntu20.04-docker-8c-8g-8021 does not seem to be running inside a container [2022-10-17T05:03:15.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-383 -v /w/workspace/xfoundry_device-modbus-go_PR-383:/w/workspace/xfoundry_device-modbus-go_PR-383:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-383@tmp:/w/workspace/xfoundry_device-modbus-go_PR-383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T05:03:17.184Z] $ docker top bfbaa1801a34780cfdff8a8d049c23424199fe650feebe5873386d1d033b0eea -eo pid,comm [2022-10-17T05:03:17.251Z] 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-17T05:03:17.251Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T05:03:17.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T05:03:17.383Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T05:03:17.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T05:03:17.509Z] $ docker exec bfbaa1801a34780cfdff8a8d049c23424199fe650feebe5873386d1d033b0eea ssh-agent [2022-10-17T05:03:17.616Z] SSH_AUTH_SOCK=/tmp/ssh-OMhtQrbQuVD2/agent.33 [2022-10-17T05:03:17.616Z] SSH_AGENT_PID=39 [2022-10-17T05:03:17.622Z] Running ssh-add (command line suppressed) [2022-10-17T05:03:17.726Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-383@tmp/private_key_8390181064587596311.key (/w/workspace/xfoundry_device-modbus-go_PR-383@tmp/private_key_8390181064587596311.key) [2022-10-17T05:03:17.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T05:03:18.075Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T05:03:18.102Z] $ docker exec --env ******** --env ******** bfbaa1801a34780cfdff8a8d049c23424199fe650feebe5873386d1d033b0eea ssh-agent -k [2022-10-17T05:03:18.204Z] unset SSH_AUTH_SOCK; [2022-10-17T05:03:18.205Z] unset SSH_AGENT_PID; [2022-10-17T05:03:18.205Z] echo Agent pid 39 killed; [2022-10-17T05:03:18.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T05:03:18.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T05:03:18.305Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T05:03:18.409Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T05:03:18.413Z] $ docker exec bfbaa1801a34780cfdff8a8d049c23424199fe650feebe5873386d1d033b0eea ssh-agent [2022-10-17T05:03:18.515Z] SSH_AUTH_SOCK=/tmp/ssh-4pB7QPuv0J60/agent.71 [2022-10-17T05:03:18.515Z] SSH_AGENT_PID=77 [2022-10-17T05:03:18.520Z] Running ssh-add (command line suppressed) [2022-10-17T05:03:18.671Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-383@tmp/private_key_4904203706627798408.key (/w/workspace/xfoundry_device-modbus-go_PR-383@tmp/private_key_4904203706627798408.key) [2022-10-17T05:03:18.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T05:03:19.016Z] + git semver init [2022-10-17T05:03:19.276Z] 2022-10-17 05:03:19,230 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T05:03:19.276Z] 2022-10-17 05:03:19,231 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-383/.semver [2022-10-17T05:03:19.276Z] 2022-10-17 05:03:19,231 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-383/.semver [2022-10-17T05:03:19.276Z] 2022-10-17 05:03:19,231 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-383/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-383, universal_newlines=False, shell=None, istream=None) [2022-10-17T05:03:20.215Z] 2022-10-17 05:03:20,144 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-383/.git/info/exclude [2022-10-17T05:03:20.215Z] 2022-10-17 05:03:20,145 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-383/.semver/PR-383 with force:False [2022-10-17T05:03:20.215Z] 2022-10-17 05:03:20,145 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-383/.semver/PR-383 [2022-10-17T05:03:20.215Z] 2022-10-17 05:03:20,150 [execute] INFO git cat-file --batch-check [2022-10-17T05:03:20.215Z] 2022-10-17 05:03:20,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-383/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T05:03:20.215Z] 2022-10-17 05:03:20,157 [execute] INFO git cat-file --batch [2022-10-17T05:03:20.215Z] 2022-10-17 05:03:20,157 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-383/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T05:03:20.215Z] 2022-10-17 05:03:20,163 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-383/.semver/PR-383 [2022-10-17T05:03:20.215Z] 0.0.0 [Pipeline] } [2022-10-17T05:03:20.245Z] $ docker exec --env ******** --env ******** bfbaa1801a34780cfdff8a8d049c23424199fe650feebe5873386d1d033b0eea ssh-agent -k [2022-10-17T05:03:20.340Z] unset SSH_AUTH_SOCK; [2022-10-17T05:03:20.340Z] unset SSH_AGENT_PID; [2022-10-17T05:03:20.340Z] echo Agent pid 77 killed; [2022-10-17T05:03:20.348Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T05:03:20.776Z] + git semver [Pipeline] } [2022-10-17T05:03:21.060Z] $ docker stop --time=1 bfbaa1801a34780cfdff8a8d049c23424199fe650feebe5873386d1d033b0eea [2022-10-17T05:03:22.345Z] $ docker rm -f bfbaa1801a34780cfdff8a8d049c23424199fe650feebe5873386d1d033b0eea [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T05:03:22.763Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T05:03:23.008Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T05:03:23.025Z] [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-17T05:03:23.613Z] provisioning config files... [2022-10-17T05:03:23.623Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-383@tmp/config7972562645217979807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:03:23.966Z] ---> docker-login.sh [2022-10-17T05:03:23.966Z] nexus3.edgexfoundry.org:10001 [2022-10-17T05:03:23.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:03:23.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:03:23.966Z] Configure a credential helper to remove this warning. See [2022-10-17T05:03:23.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:03:23.966Z] [2022-10-17T05:03:23.966Z] Login Succeeded [2022-10-17T05:03:23.966Z] nexus3.edgexfoundry.org:10002 [2022-10-17T05:03:23.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:03:23.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:03:23.966Z] Configure a credential helper to remove this warning. See [2022-10-17T05:03:23.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:03:23.966Z] [2022-10-17T05:03:23.966Z] Login Succeeded [2022-10-17T05:03:23.966Z] nexus3.edgexfoundry.org:10003 [2022-10-17T05:03:24.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:03:24.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:03:24.225Z] Configure a credential helper to remove this warning. See [2022-10-17T05:03:24.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:03:24.225Z] [2022-10-17T05:03:24.225Z] Login Succeeded [2022-10-17T05:03:24.225Z] nexus3.edgexfoundry.org:10004 [2022-10-17T05:03:24.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:03:24.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:03:24.225Z] Configure a credential helper to remove this warning. See [2022-10-17T05:03:24.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:03:24.225Z] [2022-10-17T05:03:24.225Z] Login Succeeded [2022-10-17T05:03:24.225Z] docker.io [2022-10-17T05:03:24.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:03:24.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:03:24.744Z] Configure a credential helper to remove this warning. See [2022-10-17T05:03:24.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:03:24.744Z] [2022-10-17T05:03:24.744Z] Login Succeeded [2022-10-17T05:03:24.744Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T05:03:24.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T05:03:24.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T05:03:24.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T05:03:25.029Z] ========================================================= [2022-10-17T05:03:25.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T05:03:25.029Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:03:25.519Z] + 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-17T05:03:25.519Z] Sending build context to Docker daemon 6.182MB [2022-10-17T05:03:25.519Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T05:03:25.519Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-17T05:03:25.519Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T05:03:25.520Z] 213ec9aee27d: Pulling fs layer [2022-10-17T05:03:25.520Z] 4583459ba037: Pulling fs layer [2022-10-17T05:03:25.520Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T05:03:25.520Z] 53926ce57604: Pulling fs layer [2022-10-17T05:03:25.520Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T05:03:25.520Z] 30f14e443154: Pulling fs layer [2022-10-17T05:03:25.520Z] 801331c1e519: Pulling fs layer [2022-10-17T05:03:25.520Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T05:03:25.520Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T05:03:25.520Z] 801331c1e519: Waiting [2022-10-17T05:03:25.520Z] 53926ce57604: Waiting [2022-10-17T05:03:25.520Z] 21b2b0c7a3f4: Waiting [2022-10-17T05:03:25.520Z] 30f14e443154: Waiting [2022-10-17T05:03:25.520Z] 99cc6dd402b0: Waiting [2022-10-17T05:03:25.520Z] 7d9ed39f4882: Waiting [2022-10-17T05:03:25.520Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T05:03:25.520Z] 93c1e223e6f2: Download complete [2022-10-17T05:03:25.520Z] 4583459ba037: Download complete [2022-10-17T05:03:25.520Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T05:03:25.520Z] 21b2b0c7a3f4: Download complete [2022-10-17T05:03:25.784Z] 30f14e443154: Verifying Checksum [2022-10-17T05:03:25.784Z] 30f14e443154: Download complete [2022-10-17T05:03:25.784Z] 213ec9aee27d: Verifying Checksum [2022-10-17T05:03:25.784Z] 213ec9aee27d: Download complete [2022-10-17T05:03:25.784Z] 801331c1e519: Verifying Checksum [2022-10-17T05:03:25.784Z] 801331c1e519: Download complete [2022-10-17T05:03:25.784Z] 213ec9aee27d: Pull complete [2022-10-17T05:03:26.045Z] 4583459ba037: Pull complete [2022-10-17T05:03:26.045Z] 93c1e223e6f2: Pull complete [2022-10-17T05:03:26.045Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T05:03:26.045Z] 7d9ed39f4882: Download complete [2022-10-17T05:03:26.612Z] 53926ce57604: Verifying Checksum [2022-10-17T05:03:26.612Z] 53926ce57604: Download complete [2022-10-17T05:03:26.612Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T05:03:26.612Z] 99cc6dd402b0: Download complete [2022-10-17T05:03:30.797Z] 53926ce57604: Pull complete [2022-10-17T05:03:30.797Z] 21b2b0c7a3f4: Pull complete [2022-10-17T05:03:30.797Z] 30f14e443154: Pull complete [2022-10-17T05:03:30.797Z] 801331c1e519: Pull complete [2022-10-17T05:03:32.715Z] 99cc6dd402b0: Pull complete [2022-10-17T05:03:33.285Z] 7d9ed39f4882: Pull complete [2022-10-17T05:03:33.285Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T05:03:33.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T05:03:33.285Z] ---> 1dedd983c030 [2022-10-17T05:03:33.285Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-17T05:03:34.666Z] ---> Running in d68db0fc2aed [2022-10-17T05:03:34.666Z] Removing intermediate container d68db0fc2aed [2022-10-17T05:03:34.666Z] ---> cb9c81b2a41a [2022-10-17T05:03:34.666Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T05:03:34.666Z] ---> Running in f5127f3c9935 [2022-10-17T05:03:34.925Z] Removing intermediate container f5127f3c9935 [2022-10-17T05:03:34.925Z] ---> cc03eb7183dc [2022-10-17T05:03:34.925Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T05:03:34.925Z] ---> Running in 376ddfe00f02 [2022-10-17T05:03:35.492Z] Removing intermediate container 376ddfe00f02 [2022-10-17T05:03:35.492Z] ---> fe05611758a9 [2022-10-17T05:03:35.492Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T05:03:35.492Z] ---> Running in d001a7051b4d [2022-10-17T05:03:35.750Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T05:03:36.683Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T05:03:36.941Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T05:03:37.200Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-17T05:03:37.200Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T05:03:37.200Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T05:03:37.459Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-17T05:03:37.459Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-17T05:03:37.717Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-17T05:03:37.717Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-17T05:03:37.717Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T05:03:37.717Z] OK: 217 MiB in 59 packages [2022-10-17T05:03:38.283Z] Removing intermediate container d001a7051b4d [2022-10-17T05:03:38.283Z] ---> 3a4a5dbb0e2c [2022-10-17T05:03:38.283Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-17T05:03:38.283Z] ---> Running in f1d4f7dfad4e [2022-10-17T05:03:38.283Z] Removing intermediate container f1d4f7dfad4e [2022-10-17T05:03:38.283Z] ---> dfb665157e68 [2022-10-17T05:03:38.283Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-17T05:03:38.440Z] Still waiting to schedule task [2022-10-17T05:03:38.440Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-17T05:03:38.542Z] ---> f62f1bc23257 [2022-10-17T05:03:38.542Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T05:03:38.542Z] ---> Running in af154d7eb64c [2022-10-17T05:03:56.731Z] Removing intermediate container af154d7eb64c [2022-10-17T05:03:56.731Z] ---> 267cd8be6222 [2022-10-17T05:03:56.731Z] Step 10/11 : COPY . . [2022-10-17T05:03:56.731Z] ---> 9e9f84079e9a [2022-10-17T05:03:56.731Z] Step 11/11 : RUN ${MAKE} [2022-10-17T05:03:56.731Z] ---> Running in 5a12e6fcb25c [2022-10-17T05:03:56.731Z] noop [2022-10-17T05:03:56.731Z] Removing intermediate container 5a12e6fcb25c [2022-10-17T05:03:56.731Z] ---> 241ab63325ba [2022-10-17T05:03:56.731Z] Successfully built 241ab63325ba [2022-10-17T05:03:56.731Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:03:57.299Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T05:03:57.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:03:57.451Z] prd-ubuntu20.04-docker-8c-8g-8021 does not seem to be running inside a container [2022-10-17T05:03:57.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-383 -v /w/workspace/xfoundry_device-modbus-go_PR-383:/w/workspace/xfoundry_device-modbus-go_PR-383:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-383@tmp:/w/workspace/xfoundry_device-modbus-go_PR-383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T05:03:57.824Z] $ docker top a9c12c76be75655ea2af5ab23c730f1dcc3a07f1b92606dac2aef135d5791871 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T05:03:58.226Z] + go version [2022-10-17T05:03:58.226Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T05:03:58.262Z] $ docker stop --time=1 a9c12c76be75655ea2af5ab23c730f1dcc3a07f1b92606dac2aef135d5791871 [2022-10-17T05:03:59.564Z] $ docker rm -f a9c12c76be75655ea2af5ab23c730f1dcc3a07f1b92606dac2aef135d5791871 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:04:00.281Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T05:04:00.281Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:04:00.434Z] prd-ubuntu20.04-docker-8c-8g-8021 does not seem to be running inside a container [2022-10-17T05:04:00.467Z] $ 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-383 -v /w/workspace/xfoundry_device-modbus-go_PR-383:/w/workspace/xfoundry_device-modbus-go_PR-383:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-383@tmp:/w/workspace/xfoundry_device-modbus-go_PR-383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T05:04:00.819Z] $ docker top 7ee3241c9f9e23fa25e95174b3415ea8d05c8621fb57317cd20523472e559ea6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T05:04:01.209Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-383 [Pipeline] fileExists [Pipeline] sh [2022-10-17T05:04:01.566Z] + make test [2022-10-17T05:04:01.566Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-17T05:04:01.825Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-17T05:04:11.787Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-17T05:04:11.787Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2022-10-17T05:04:17.049Z] 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-17T05:04:17.049Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T05:04:19.574Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T05:04:19.574Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T05:04:19.574Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T05:04:19.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T05:04:19.636Z] $ docker stop --time=1 7ee3241c9f9e23fa25e95174b3415ea8d05c8621fb57317cd20523472e559ea6 [2022-10-17T05:04:21.562Z] $ docker rm -f 7ee3241c9f9e23fa25e95174b3415ea8d05c8621fb57317cd20523472e559ea6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T05:04:22.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T05:04:22.178Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T05:04:22.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T05:04:23.149Z] + ls -al . [2022-10-17T05:04:23.149Z] total 188 [2022-10-17T05:04:23.149Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 05:04 . [2022-10-17T05:04:23.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:03 .. [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 05:03 .dockerignore [2022-10-17T05:04:23.149Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:04 .git [2022-10-17T05:04:23.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:03 .github [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 17 05:03 .gitignore [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 05:03 .golangci.yml [2022-10-17T05:04:23.149Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 05:03 .semver [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 17 05:03 Attribution.txt [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 17 05:03 CHANGELOG.md [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 17 05:03 Dockerfile [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 05:03 GOVERNANCE.md [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 05:03 Jenkinsfile [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 05:03 LICENSE [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 17 05:03 Makefile [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 05:03 OWNERS.md [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 17 05:03 README.md [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 05:03 VERSION [2022-10-17T05:04:23.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:03 bin [2022-10-17T05:04:23.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:03 cmd [2022-10-17T05:04:23.149Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 17 05:04 coverage.out [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 17 05:03 go.mod [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 17 05:03 go.sum [2022-10-17T05:04:23.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:03 internal [2022-10-17T05:04:23.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:03 simulator [2022-10-17T05:04:23.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:03 snap [2022-10-17T05:04:23.149Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:04:23.539Z] + 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=a519b54361d1babe4131560b040f854380379020 --label arch=amd64 --label version=0.0.0 . [2022-10-17T05:04:23.540Z] Sending build context to Docker daemon 6.206MB [2022-10-17T05:04:23.540Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T05:04:23.540Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-17T05:04:23.540Z] ---> 241ab63325ba [2022-10-17T05:04:23.540Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-17T05:04:23.540Z] ---> Running in 1e556fea2218 [2022-10-17T05:04:23.799Z] Removing intermediate container 1e556fea2218 [2022-10-17T05:04:23.799Z] ---> 45053642b9f8 [2022-10-17T05:04:23.799Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T05:04:23.799Z] ---> Running in 74864be00a9a [2022-10-17T05:04:23.799Z] Removing intermediate container 74864be00a9a [2022-10-17T05:04:23.799Z] ---> 356a18a777ea [2022-10-17T05:04:23.799Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T05:04:23.799Z] ---> Running in caa7b7ccc1e0 [2022-10-17T05:04:24.405Z] Removing intermediate container caa7b7ccc1e0 [2022-10-17T05:04:24.405Z] ---> d923e1a0885e [2022-10-17T05:04:24.405Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T05:04:24.405Z] ---> Running in eb9c9b681aea [2022-10-17T05:04:24.695Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T05:04:25.301Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T05:04:25.887Z] OK: 217 MiB in 59 packages [2022-10-17T05:04:26.145Z] Removing intermediate container eb9c9b681aea [2022-10-17T05:04:26.145Z] ---> 05342860d8eb [2022-10-17T05:04:26.145Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-17T05:04:26.145Z] ---> Running in 6cb9daa2f065 [2022-10-17T05:04:26.145Z] Removing intermediate container 6cb9daa2f065 [2022-10-17T05:04:26.145Z] ---> f35b622b0143 [2022-10-17T05:04:26.145Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-17T05:04:26.403Z] ---> 56568db92596 [2022-10-17T05:04:26.403Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T05:04:26.403Z] ---> Running in 8f0c04777897 [2022-10-17T05:04:26.970Z] Removing intermediate container 8f0c04777897 [2022-10-17T05:04:26.970Z] ---> f7ee90d07a55 [2022-10-17T05:04:26.970Z] Step 10/24 : COPY . . [2022-10-17T05:04:27.229Z] ---> 9f1c5185b401 [2022-10-17T05:04:27.229Z] Step 11/24 : RUN ${MAKE} [2022-10-17T05:04:27.229Z] ---> Running in 56c8d1f712f9 [2022-10-17T05:04:27.488Z] 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-17T05:04:49.450Z] Removing intermediate container 56c8d1f712f9 [2022-10-17T05:04:49.450Z] ---> ce7ed0b9ee23 [2022-10-17T05:04:49.450Z] Step 12/24 : FROM alpine:3.14 [2022-10-17T05:04:49.450Z] 3.14: Pulling from library/alpine [2022-10-17T05:04:49.450Z] c7ed990a2339: Pulling fs layer [2022-10-17T05:04:49.450Z] c7ed990a2339: Verifying Checksum [2022-10-17T05:04:49.450Z] c7ed990a2339: Download complete [2022-10-17T05:04:49.450Z] c7ed990a2339: Pull complete [2022-10-17T05:04:49.450Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-17T05:04:49.450Z] Status: Downloaded newer image for alpine:3.14 [2022-10-17T05:04:49.450Z] ---> dd53f409bf0b [2022-10-17T05:04:49.450Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-17T05:04:49.450Z] ---> Running in 3d93a9d8c999 [2022-10-17T05:04:49.450Z] Removing intermediate container 3d93a9d8c999 [2022-10-17T05:04:49.450Z] ---> 7505159cde47 [2022-10-17T05:04:49.450Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T05:04:49.450Z] ---> Running in 2d4159025fa0 [2022-10-17T05:04:49.450Z] Removing intermediate container 2d4159025fa0 [2022-10-17T05:04:49.450Z] ---> 2a3bcda9e7f1 [2022-10-17T05:04:49.450Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T05:04:49.450Z] ---> Running in 7f0f16fbbae2 [2022-10-17T05:04:49.450Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-17T05:04:50.017Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-17T05:04:50.278Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T05:04:50.537Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-17T05:04:50.537Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T05:04:50.537Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-17T05:04:50.795Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T05:04:50.795Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T05:04:50.795Z] Executing busybox-1.33.1-r8.trigger [2022-10-17T05:04:50.795Z] OK: 8 MiB in 20 packages [2022-10-17T05:04:51.361Z] Removing intermediate container 7f0f16fbbae2 [2022-10-17T05:04:51.361Z] ---> e7390bd80254 [2022-10-17T05:04:51.361Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-17T05:04:51.929Z] ---> 038914abd7f8 [2022-10-17T05:04:51.929Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-17T05:04:52.188Z] ---> 8176170a9700 [2022-10-17T05:04:52.188Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-17T05:04:52.188Z] ---> 1eabf24ae2aa [2022-10-17T05:04:52.188Z] Step 19/24 : EXPOSE 59901 [2022-10-17T05:04:52.188Z] ---> Running in 9a79a3dc7e1f [2022-10-17T05:04:52.188Z] Removing intermediate container 9a79a3dc7e1f [2022-10-17T05:04:52.188Z] ---> a3139dedfe30 [2022-10-17T05:04:52.188Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-17T05:04:52.188Z] ---> Running in f665eba79df5 [2022-10-17T05:04:52.447Z] Removing intermediate container f665eba79df5 [2022-10-17T05:04:52.447Z] ---> ee9d0df1f184 [2022-10-17T05:04:52.447Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T05:04:52.447Z] ---> Running in 02728f827b43 [2022-10-17T05:04:52.447Z] Removing intermediate container 02728f827b43 [2022-10-17T05:04:52.447Z] ---> df3a99f05498 [2022-10-17T05:04:52.447Z] Step 22/24 : LABEL arch=amd64 [2022-10-17T05:04:52.710Z] ---> Running in cdd8dc711ad2 [2022-10-17T05:04:52.710Z] Removing intermediate container cdd8dc711ad2 [2022-10-17T05:04:52.710Z] ---> 49f38b940661 [2022-10-17T05:04:52.710Z] Step 23/24 : LABEL git_sha=a519b54361d1babe4131560b040f854380379020 [2022-10-17T05:04:52.710Z] ---> Running in df2c925b6fa8 [2022-10-17T05:04:52.710Z] Removing intermediate container df2c925b6fa8 [2022-10-17T05:04:52.710Z] ---> 61ca465a7073 [2022-10-17T05:04:52.710Z] Step 24/24 : LABEL version=0.0.0 [2022-10-17T05:04:52.710Z] ---> Running in 2f54c37869c4 [2022-10-17T05:04:52.974Z] Removing intermediate container 2f54c37869c4 [2022-10-17T05:04:52.974Z] ---> 7891fc4892be [2022-10-17T05:04:52.974Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T05:04:52.974Z] Successfully built 7891fc4892be [2022-10-17T05:04:52.974Z] 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-17T05:04:53.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T05:04:53.865Z] [2022-10-17T05:04:53.865Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:04:54.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T05:04:54.244Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T05:04:54.244Z] 5eb5b503b376: Pulling fs layer [2022-10-17T05:04:54.244Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T05:04:54.244Z] ec43610c2a17: Pulling fs layer [2022-10-17T05:04:54.244Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T05:04:54.244Z] 33b1e0a273af: Pulling fs layer [2022-10-17T05:04:54.244Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T05:04:54.244Z] 2f39f015ded8: Pulling fs layer [2022-10-17T05:04:54.244Z] 3a2ae6a8a46f: Waiting [2022-10-17T05:04:54.244Z] 2f39f015ded8: Waiting [2022-10-17T05:04:54.244Z] 33b1e0a273af: Waiting [2022-10-17T05:04:54.244Z] 5d3b04190fa2: Waiting [2022-10-17T05:04:54.244Z] 5c69ac0246d0: Download complete [2022-10-17T05:04:54.244Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T05:04:54.244Z] 3a2ae6a8a46f: Download complete [2022-10-17T05:04:54.244Z] 33b1e0a273af: Verifying Checksum [2022-10-17T05:04:54.244Z] 33b1e0a273af: Download complete [2022-10-17T05:04:54.244Z] 5d3b04190fa2: Verifying Checksum [2022-10-17T05:04:54.244Z] 5d3b04190fa2: Download complete [2022-10-17T05:04:54.507Z] ec43610c2a17: Verifying Checksum [2022-10-17T05:04:54.507Z] ec43610c2a17: Download complete [2022-10-17T05:04:54.507Z] 5eb5b503b376: Verifying Checksum [2022-10-17T05:04:54.507Z] 5eb5b503b376: Download complete [2022-10-17T05:04:55.074Z] 2f39f015ded8: Download complete [2022-10-17T05:04:55.639Z] 5eb5b503b376: Pull complete [2022-10-17T05:04:55.897Z] 5c69ac0246d0: Pull complete [2022-10-17T05:04:56.157Z] ec43610c2a17: Pull complete [2022-10-17T05:04:56.415Z] 3a2ae6a8a46f: Pull complete [2022-10-17T05:04:56.415Z] 33b1e0a273af: Pull complete [2022-10-17T05:04:56.672Z] 5d3b04190fa2: Pull complete [2022-10-17T05:05:00.874Z] 2f39f015ded8: Pull complete [2022-10-17T05:05:00.874Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T05:05:00.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T05:05:00.874Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:05:01.091Z] prd-ubuntu20.04-docker-8c-8g-8021 does not seem to be running inside a container [2022-10-17T05:05:01.123Z] $ 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-383 -v /w/workspace/xfoundry_device-modbus-go_PR-383:/w/workspace/xfoundry_device-modbus-go_PR-383:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-383@tmp:/w/workspace/xfoundry_device-modbus-go_PR-383@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-17T05:05:03.207Z] $ docker top b11f7c985e5435c9423efaa748c58a7a03de62d55ff67f58081265bb64a1b155 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:05:03.658Z] ---> job-cost.sh [2022-10-17T05:05:03.658Z] lf-activate-venv: SKIPPING [2022-10-17T05:05:03.658Z] INFO: No Stack... [2022-10-17T05:05:03.914Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8024 in /w/workspace/xfoundry_device-modbus-go_PR-383 [Pipeline] { [Pipeline] ws [2022-10-17T05:05:03.959Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-10-17T05:05:04.029Z] Selected Git installation does not exist. Using Default [2022-10-17T05:05:04.029Z] The recommended git tool is: NONE [2022-10-17T05:05:04.224Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T05:05:04.488Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T05:05:04.803Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-383/archives/cost.csv [2022-10-17T05:05:04.803Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T05:05:04.849Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-383-1-stack-cost] [2022-10-17T05:05:04.855Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-383-1-stack-cost] did not exist. Created. [2022-10-17T05:05:04.855Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-383-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T05:05:05.243Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T05:05:05.290Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T05:05:05.320Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-383-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T05:05:05.398Z] $ docker stop --time=1 b11f7c985e5435c9423efaa748c58a7a03de62d55ff67f58081265bb64a1b155 [2022-10-17T05:05:06.550Z] $ docker rm -f b11f7c985e5435c9423efaa748c58a7a03de62d55ff67f58081265bb64a1b155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T05:05:08.923Z] using credential edgex-jenkins-ssh [2022-10-17T05:05:08.939Z] Cloning the remote Git repository [2022-10-17T05:05:08.981Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-17T05:05:09.050Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-10-17T05:05:09.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-17T05:05:09.197Z] > git --version # timeout=10 [2022-10-17T05:05:09.218Z] > git --version # 'git version 2.25.1' [2022-10-17T05:05:09.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T05:05:09.266Z] Verifying host key using known hosts file [2022-10-17T05:05:09.440Z] 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-17T05:05:09.452Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T05:05:10.568Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-17T05:05:10.591Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T05:05:12.020Z] Merging remotes/origin/main commit dc9c57eb5fcf9d56daa39b489e9deb9211134340 into PR head commit a519b54361d1babe4131560b040f854380379020 [2022-10-17T05:05:12.233Z] Merge succeeded, producing a519b54361d1babe4131560b040f854380379020 [2022-10-17T05:05:12.233Z] Checking out Revision a519b54361d1babe4131560b040f854380379020 (PR-383) [2022-10-17T05:05:12.700Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-17T05:05:11.403Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-17T05:05:11.452Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-17T05:05:11.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T05:05:11.459Z] Verifying host key using known hosts file [2022-10-17T05:05:11.467Z] 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-17T05:05:11.479Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/383/head:refs/remotes/origin/PR-383 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T05:05:12.038Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T05:05:12.055Z] > git checkout -f a519b54361d1babe4131560b040f854380379020 # timeout=10 [2022-10-17T05:05:12.140Z] > git remote # timeout=10 [2022-10-17T05:05:12.154Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T05:05:12.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T05:05:12.180Z] Verifying host key using known hosts file [2022-10-17T05:05:12.183Z] 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-17T05:05:12.193Z] > git merge dc9c57eb5fcf9d56daa39b489e9deb9211134340 # timeout=10 [2022-10-17T05:05:12.217Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T05:05:12.240Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T05:05:12.252Z] > git checkout -f a519b54361d1babe4131560b040f854380379020 # timeout=10 [2022-10-17T05:05:12.749Z] > git --version # timeout=10 [2022-10-17T05:05:12.762Z] > git --version # 'git version 2.25.1' [2022-10-17T05:05:12.777Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T05:05:13.880Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T05:05:13.880Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T05:05:13.880Z] Dload Upload Total Spent Left Speed [2022-10-17T05:05:13.880Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97689 0 --:--:-- --:--:-- --:--:-- 97689 [Pipeline] sh [2022-10-17T05:05:14.504Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T05:05:14.850Z] + sudo tee /etc/docker/daemon.new [2022-10-17T05:05:14.850Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T05:05:14.850Z] { [2022-10-17T05:05:14.850Z] "registry-mirrors": [ [2022-10-17T05:05:14.850Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T05:05:14.850Z] ], [2022-10-17T05:05:14.850Z] "bip": "10.250.0.254/24", [2022-10-17T05:05:14.850Z] "hosts": [ [2022-10-17T05:05:14.850Z] "tcp://0.0.0.0:5555", [2022-10-17T05:05:14.850Z] "unix:///var/run/docker.sock" [2022-10-17T05:05:14.850Z] ], [2022-10-17T05:05:14.850Z] "mtu": 1458, [2022-10-17T05:05:14.850Z] "selinux-enabled": true, [2022-10-17T05:05:14.850Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T05:05:14.850Z] } [Pipeline] sh [2022-10-17T05:05:15.196Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T05:05:15.552Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T05:05:33.865Z] provisioning config files... [2022-10-17T05:05:33.897Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8113535950781735769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:05:34.282Z] ---> docker-login.sh [2022-10-17T05:05:34.282Z] nexus3.edgexfoundry.org:10001 [2022-10-17T05:05:34.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:05:34.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:05:34.867Z] Configure a credential helper to remove this warning. See [2022-10-17T05:05:34.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:05:34.867Z] [2022-10-17T05:05:34.867Z] Login Succeeded [2022-10-17T05:05:34.867Z] nexus3.edgexfoundry.org:10002 [2022-10-17T05:05:35.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:05:35.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:05:35.135Z] Configure a credential helper to remove this warning. See [2022-10-17T05:05:35.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:05:35.135Z] [2022-10-17T05:05:35.135Z] Login Succeeded [2022-10-17T05:05:35.135Z] nexus3.edgexfoundry.org:10003 [2022-10-17T05:05:35.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:05:35.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:05:35.670Z] Configure a credential helper to remove this warning. See [2022-10-17T05:05:35.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:05:35.670Z] [2022-10-17T05:05:35.670Z] Login Succeeded [2022-10-17T05:05:35.670Z] nexus3.edgexfoundry.org:10004 [2022-10-17T05:05:35.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:05:35.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:05:35.939Z] Configure a credential helper to remove this warning. See [2022-10-17T05:05:35.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:05:35.939Z] [2022-10-17T05:05:35.939Z] Login Succeeded [2022-10-17T05:05:35.939Z] docker.io [2022-10-17T05:05:36.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T05:05:36.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T05:05:36.471Z] Configure a credential helper to remove this warning. See [2022-10-17T05:05:36.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T05:05:36.471Z] [2022-10-17T05:05:36.471Z] Login Succeeded [2022-10-17T05:05:36.471Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T05:05:36.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T05:05:36.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T05:05:36.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T05:05:36.831Z] ========================================================= [2022-10-17T05:05:36.831Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T05:05:36.831Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:05:37.325Z] + 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-17T05:05:37.593Z] Sending build context to Docker daemon 3.215MB [2022-10-17T05:05:37.593Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T05:05:37.593Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-17T05:05:37.860Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T05:05:37.860Z] 9b18e9b68314: Pulling fs layer [2022-10-17T05:05:37.860Z] d32db5db7311: Pulling fs layer [2022-10-17T05:05:37.860Z] d0c4b47475fc: Pulling fs layer [2022-10-17T05:05:37.860Z] 5831b945b038: Pulling fs layer [2022-10-17T05:05:37.860Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T05:05:37.860Z] e10730c5d714: Pulling fs layer [2022-10-17T05:05:37.860Z] 5dd5c2283517: Pulling fs layer [2022-10-17T05:05:37.860Z] d5ac0230b979: Pulling fs layer [2022-10-17T05:05:37.860Z] 5831b945b038: Waiting [2022-10-17T05:05:37.860Z] 86bbec2aaacd: Waiting [2022-10-17T05:05:37.860Z] e10730c5d714: Waiting [2022-10-17T05:05:37.860Z] 5dd5c2283517: Waiting [2022-10-17T05:05:37.860Z] d5ac0230b979: Waiting [2022-10-17T05:05:37.860Z] d0c4b47475fc: Verifying Checksum [2022-10-17T05:05:37.860Z] d0c4b47475fc: Download complete [2022-10-17T05:05:37.860Z] d32db5db7311: Download complete [2022-10-17T05:05:37.860Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T05:05:37.860Z] 86bbec2aaacd: Download complete [2022-10-17T05:05:37.860Z] e10730c5d714: Verifying Checksum [2022-10-17T05:05:37.860Z] e10730c5d714: Download complete [2022-10-17T05:05:37.860Z] 9b18e9b68314: Verifying Checksum [2022-10-17T05:05:38.853Z] 9b18e9b68314: Pull complete [2022-10-17T05:05:38.853Z] d5ac0230b979: Verifying Checksum [2022-10-17T05:05:38.853Z] d5ac0230b979: Download complete [2022-10-17T05:05:39.819Z] 5dd5c2283517: Verifying Checksum [2022-10-17T05:05:39.819Z] 5dd5c2283517: Download complete [2022-10-17T05:05:39.819Z] d32db5db7311: Pull complete [2022-10-17T05:05:40.087Z] d0c4b47475fc: Pull complete [2022-10-17T05:05:40.673Z] 5831b945b038: Download complete [2022-10-17T05:05:53.109Z] 5831b945b038: Pull complete [2022-10-17T05:05:53.109Z] 86bbec2aaacd: Pull complete [2022-10-17T05:05:53.109Z] e10730c5d714: Pull complete [2022-10-17T05:05:59.797Z] 5dd5c2283517: Pull complete [2022-10-17T05:06:01.216Z] d5ac0230b979: Pull complete [2022-10-17T05:06:01.216Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T05:06:01.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T05:06:01.216Z] ---> 59b3b1a385d4 [2022-10-17T05:06:01.216Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-17T05:06:03.162Z] ---> Running in 2db9c7e6e9d4 [2022-10-17T05:06:03.162Z] Removing intermediate container 2db9c7e6e9d4 [2022-10-17T05:06:03.162Z] ---> b504052b3992 [2022-10-17T05:06:03.162Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T05:06:03.162Z] ---> Running in 35d78d9c7414 [2022-10-17T05:06:03.433Z] Removing intermediate container 35d78d9c7414 [2022-10-17T05:06:03.433Z] ---> 01225aa36fa8 [2022-10-17T05:06:03.433Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T05:06:03.433Z] ---> Running in 1cfaeaa82437 [2022-10-17T05:06:05.395Z] Removing intermediate container 1cfaeaa82437 [2022-10-17T05:06:05.395Z] ---> aaa217686b8d [2022-10-17T05:06:05.395Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T05:06:05.395Z] ---> Running in 3b54cdf26d22 [2022-10-17T05:06:06.354Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T05:06:07.310Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T05:06:07.890Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T05:06:08.155Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-17T05:06:08.155Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T05:06:08.420Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T05:06:08.420Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-17T05:06:08.683Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-17T05:06:08.683Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-17T05:06:08.683Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-17T05:06:08.947Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T05:06:08.947Z] OK: 228 MiB in 59 packages [2022-10-17T05:06:09.905Z] Removing intermediate container 3b54cdf26d22 [2022-10-17T05:06:09.905Z] ---> 796173ad297b [2022-10-17T05:06:09.905Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-17T05:06:09.905Z] ---> Running in 6d5204d74e49 [2022-10-17T05:06:10.171Z] Removing intermediate container 6d5204d74e49 [2022-10-17T05:06:10.171Z] ---> fb717e2fece6 [2022-10-17T05:06:10.171Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-17T05:06:10.759Z] ---> 3c0fe7ead9a8 [2022-10-17T05:06:10.759Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T05:06:10.759Z] ---> Running in 4660f267d631 [2022-10-17T05:06:57.615Z] Removing intermediate container 4660f267d631 [2022-10-17T05:06:57.615Z] ---> fcc17845820a [2022-10-17T05:06:57.615Z] Step 10/11 : COPY . . [2022-10-17T05:06:58.198Z] ---> fee32124b3d2 [2022-10-17T05:06:58.198Z] Step 11/11 : RUN ${MAKE} [2022-10-17T05:06:58.198Z] ---> Running in 59ceeff6a44a [2022-10-17T05:06:59.156Z] noop [2022-10-17T05:06:59.739Z] Removing intermediate container 59ceeff6a44a [2022-10-17T05:06:59.739Z] ---> a23dd52a3502 [2022-10-17T05:06:59.739Z] Successfully built a23dd52a3502 [2022-10-17T05:06:59.739Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:07:00.217Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T05:07:00.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:07:00.475Z] prd-ubuntu20.04-docker-arm64-4c-16g-8024 does not seem to be running inside a container [2022-10-17T05:07:00.537Z] $ 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-17T05:07:01.644Z] $ docker top 996795ed0b289d0e257e936e34c3ded898e0d82b9233b6ccdb349ccac85fc750 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T05:07:02.507Z] + go version [2022-10-17T05:07:02.507Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T05:07:02.543Z] $ docker stop --time=1 996795ed0b289d0e257e936e34c3ded898e0d82b9233b6ccdb349ccac85fc750 [2022-10-17T05:07:04.130Z] $ docker rm -f 996795ed0b289d0e257e936e34c3ded898e0d82b9233b6ccdb349ccac85fc750 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:07:04.953Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T05:07:04.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:07:05.188Z] prd-ubuntu20.04-docker-arm64-4c-16g-8024 does not seem to be running inside a container [2022-10-17T05:07:05.250Z] $ 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-17T05:07:06.408Z] $ docker top d28888607cd26747ddd893208f874e0d062c885b4fe10ccf8b5d0857134182d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T05:07:06.970Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-17T05:07:07.679Z] + make test [2022-10-17T05:07:07.679Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-17T05:07:09.634Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-17T05:08:31.308Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-17T05:08:31.308Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.057s coverage: 47.7% of statements [2022-10-17T05:08:31.308Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T05:08:31.308Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T05:08:53.372Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T05:08:53.372Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T05:08:53.372Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T05:08:53.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T05:08:53.450Z] $ docker stop --time=1 d28888607cd26747ddd893208f874e0d062c885b4fe10ccf8b5d0857134182d1 [2022-10-17T05:08:55.300Z] $ docker rm -f d28888607cd26747ddd893208f874e0d062c885b4fe10ccf8b5d0857134182d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T05:08:56.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T05:08:56.354Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T05:08:56.802Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T05:08:57.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T05:08:57.730Z] + ls -al . [2022-10-17T05:08:57.730Z] total 184 [2022-10-17T05:08:57.730Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 05:07 . [2022-10-17T05:08:57.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:05 .. [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 05:05 .dockerignore [2022-10-17T05:08:57.730Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 05:05 .git [2022-10-17T05:08:57.730Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:05 .github [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 17 05:05 .gitignore [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 05:05 .golangci.yml [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 17 05:05 Attribution.txt [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 17 05:05 CHANGELOG.md [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 17 05:05 Dockerfile [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 05:05 GOVERNANCE.md [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 05:05 Jenkinsfile [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 05:05 LICENSE [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 17 05:05 Makefile [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 05:05 OWNERS.md [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 17 05:05 README.md [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 05:03 VERSION [2022-10-17T05:08:57.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:05 bin [2022-10-17T05:08:57.730Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:05 cmd [2022-10-17T05:08:57.730Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 17 05:08 coverage.out [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 17 05:05 go.mod [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 17 05:05 go.sum [2022-10-17T05:08:57.730Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 05:05 internal [2022-10-17T05:08:57.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 05:05 simulator [2022-10-17T05:08:57.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 05:05 snap [2022-10-17T05:08:57.730Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:08:58.156Z] + 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=a519b54361d1babe4131560b040f854380379020 --label arch=arm64 --label version=0.0.0 . [2022-10-17T05:08:58.424Z] Sending build context to Docker daemon 3.239MB [2022-10-17T05:08:58.424Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T05:08:58.424Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-17T05:08:58.424Z] ---> a23dd52a3502 [2022-10-17T05:08:58.424Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-17T05:08:58.690Z] ---> Running in 86a8de9b6a8f [2022-10-17T05:08:58.955Z] Removing intermediate container 86a8de9b6a8f [2022-10-17T05:08:58.955Z] ---> 13dd1eff1776 [2022-10-17T05:08:58.955Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T05:08:58.955Z] ---> Running in 8775ac95e7a2 [2022-10-17T05:08:59.223Z] Removing intermediate container 8775ac95e7a2 [2022-10-17T05:08:59.223Z] ---> 08991c4b2008 [2022-10-17T05:08:59.223Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T05:08:59.223Z] ---> Running in 069cab57220b [2022-10-17T05:09:01.189Z] Removing intermediate container 069cab57220b [2022-10-17T05:09:01.189Z] ---> da49cb4d60a6 [2022-10-17T05:09:01.189Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T05:09:01.189Z] ---> Running in e649fa95cae9 [2022-10-17T05:09:02.156Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T05:09:03.111Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T05:09:03.694Z] OK: 228 MiB in 59 packages [2022-10-17T05:09:04.660Z] Removing intermediate container e649fa95cae9 [2022-10-17T05:09:04.660Z] ---> 0b23e3de84c1 [2022-10-17T05:09:04.660Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-17T05:09:04.660Z] ---> Running in d185931d5140 [2022-10-17T05:09:04.925Z] Removing intermediate container d185931d5140 [2022-10-17T05:09:04.926Z] ---> 363da1c2976d [2022-10-17T05:09:04.926Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-17T05:09:05.506Z] ---> b43865468260 [2022-10-17T05:09:05.506Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T05:09:05.506Z] ---> Running in 3a94a63f1386 [2022-10-17T05:09:07.445Z] Removing intermediate container 3a94a63f1386 [2022-10-17T05:09:07.445Z] ---> 9c8b5d1f0cdf [2022-10-17T05:09:07.445Z] Step 10/24 : COPY . . [2022-10-17T05:09:08.028Z] ---> 4e7d9eb0db10 [2022-10-17T05:09:08.028Z] Step 11/24 : RUN ${MAKE} [2022-10-17T05:09:08.028Z] ---> Running in f059bb8fee57 [2022-10-17T05:09:08.988Z] 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-17T05:12:00.778Z] Removing intermediate container f059bb8fee57 [2022-10-17T05:12:00.778Z] ---> 8321a35a5ee4 [2022-10-17T05:12:00.778Z] Step 12/24 : FROM alpine:3.14 [2022-10-17T05:12:00.778Z] 3.14: Pulling from library/alpine [2022-10-17T05:12:00.778Z] 90cda3b7c325: Pulling fs layer [2022-10-17T05:12:00.778Z] 90cda3b7c325: Verifying Checksum [2022-10-17T05:12:00.778Z] 90cda3b7c325: Pull complete [2022-10-17T05:12:00.778Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-17T05:12:00.778Z] Status: Downloaded newer image for alpine:3.14 [2022-10-17T05:12:00.778Z] ---> 376ba31ae3da [2022-10-17T05:12:00.778Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-17T05:12:00.778Z] ---> Running in 7b209d966550 [2022-10-17T05:12:00.778Z] Removing intermediate container 7b209d966550 [2022-10-17T05:12:00.778Z] ---> 16f2691ce808 [2022-10-17T05:12:00.778Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T05:12:00.778Z] ---> Running in 329e8e2c3186 [2022-10-17T05:12:00.778Z] Removing intermediate container 329e8e2c3186 [2022-10-17T05:12:00.778Z] ---> 12a70c6e816b [2022-10-17T05:12:00.778Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T05:12:00.778Z] ---> Running in b77d2578d6e5 [2022-10-17T05:12:00.778Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-17T05:12:00.778Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-17T05:12:00.778Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T05:12:00.778Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-17T05:12:00.778Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T05:12:00.778Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-17T05:12:00.778Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T05:12:00.778Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T05:12:00.778Z] Executing busybox-1.33.1-r8.trigger [2022-10-17T05:12:00.778Z] OK: 8 MiB in 20 packages [2022-10-17T05:12:00.778Z] Removing intermediate container b77d2578d6e5 [2022-10-17T05:12:00.778Z] ---> cf7f417d2f2d [2022-10-17T05:12:00.778Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-17T05:12:00.778Z] ---> 90456dba16a9 [2022-10-17T05:12:00.778Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-17T05:12:00.778Z] ---> 10fd5fe694db [2022-10-17T05:12:00.778Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-17T05:12:00.778Z] ---> 55b5695d3bb2 [2022-10-17T05:12:00.778Z] Step 19/24 : EXPOSE 59901 [2022-10-17T05:12:00.778Z] ---> Running in 00ecdbe072dd [2022-10-17T05:12:00.778Z] Removing intermediate container 00ecdbe072dd [2022-10-17T05:12:00.778Z] ---> 7454e901447f [2022-10-17T05:12:00.778Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-17T05:12:00.778Z] ---> Running in e1c28b1bb840 [2022-10-17T05:12:00.778Z] Removing intermediate container e1c28b1bb840 [2022-10-17T05:12:00.778Z] ---> ec889c59e5ff [2022-10-17T05:12:00.778Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T05:12:00.778Z] ---> Running in 4160599ee93d [2022-10-17T05:12:00.778Z] Removing intermediate container 4160599ee93d [2022-10-17T05:12:00.778Z] ---> e06cff8af035 [2022-10-17T05:12:00.778Z] Step 22/24 : LABEL arch=arm64 [2022-10-17T05:12:00.778Z] ---> Running in cd7db031675f [2022-10-17T05:12:00.778Z] Removing intermediate container cd7db031675f [2022-10-17T05:12:00.778Z] ---> d3fa7df980d7 [2022-10-17T05:12:00.778Z] Step 23/24 : LABEL git_sha=a519b54361d1babe4131560b040f854380379020 [2022-10-17T05:12:00.778Z] ---> Running in acba02cd4120 [2022-10-17T05:12:00.778Z] Removing intermediate container acba02cd4120 [2022-10-17T05:12:00.778Z] ---> 7b33590bdd82 [2022-10-17T05:12:00.778Z] Step 24/24 : LABEL version=0.0.0 [2022-10-17T05:12:00.778Z] ---> Running in 09f777557b83 [2022-10-17T05:12:00.778Z] Removing intermediate container 09f777557b83 [2022-10-17T05:12:00.778Z] ---> fd5755cfdbea [2022-10-17T05:12:00.778Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T05:12:00.778Z] Successfully built fd5755cfdbea [2022-10-17T05:12:00.778Z] 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-17T05:12:01.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T05:12:01.602Z] [2022-10-17T05:12:01.602Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:12:02.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T05:12:02.007Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T05:12:02.007Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T05:12:02.007Z] 04944245beec: Pulling fs layer [2022-10-17T05:12:02.007Z] 699f458cf7ca: Pulling fs layer [2022-10-17T05:12:02.007Z] 765212b225bb: Pulling fs layer [2022-10-17T05:12:02.007Z] f23df028b6ca: Pulling fs layer [2022-10-17T05:12:02.007Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T05:12:02.007Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T05:12:02.007Z] f23df028b6ca: Waiting [2022-10-17T05:12:02.007Z] d65c8cfc05b1: Waiting [2022-10-17T05:12:02.007Z] 2437ff75d9bd: Waiting [2022-10-17T05:12:02.007Z] 765212b225bb: Waiting [2022-10-17T05:12:02.277Z] 04944245beec: Verifying Checksum [2022-10-17T05:12:02.277Z] 04944245beec: Download complete [2022-10-17T05:12:02.277Z] 765212b225bb: Verifying Checksum [2022-10-17T05:12:02.277Z] 765212b225bb: Download complete [2022-10-17T05:12:02.277Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T05:12:02.277Z] d65c8cfc05b1: Download complete [2022-10-17T05:12:02.545Z] 699f458cf7ca: Verifying Checksum [2022-10-17T05:12:02.813Z] 8998bd30e6a1: Download complete [2022-10-17T05:12:04.751Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T05:12:04.751Z] 2437ff75d9bd: Download complete [2022-10-17T05:12:06.696Z] 8998bd30e6a1: Pull complete [2022-10-17T05:12:06.963Z] 04944245beec: Pull complete [2022-10-17T05:12:08.369Z] 699f458cf7ca: Pull complete [2022-10-17T05:12:08.636Z] 765212b225bb: Pull complete [2022-10-17T05:12:09.218Z] f23df028b6ca: Pull complete [2022-10-17T05:12:09.484Z] d65c8cfc05b1: Pull complete [2022-10-17T05:12:24.528Z] 2437ff75d9bd: Pull complete [2022-10-17T05:12:24.528Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T05:12:24.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T05:12:24.528Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:12:24.860Z] prd-ubuntu20.04-docker-arm64-4c-16g-8024 does not seem to be running inside a container [2022-10-17T05:12:24.931Z] $ 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-17T05:12:27.579Z] $ docker top fa9f5d23ecad009fd8d5bdd7b806bcb39577f7705f59038d8437aae99a0ed332 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:12:28.180Z] ---> job-cost.sh [2022-10-17T05:12:28.451Z] lf-activate-venv: SKIPPING [2022-10-17T05:12:28.451Z] INFO: No Stack... [2022-10-17T05:12:29.040Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T05:12:29.621Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T05:12:30.283Z] + cut -d, -f6 [2022-10-17T05:12:30.283Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-10-17T05:12:30.367Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-383-1-stack-cost] [2022-10-17T05:12:30.372Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-383-1-stack-cost] did not exist. Created. [2022-10-17T05:12:30.372Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-383-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T05:12:30.793Z] /w/workspace/device-modbus-go/1@tmp/durable-cb8eea6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T05:12:31.150Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T05:12:31.182Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T05:12:31.232Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T05:12:31.248Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-383-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T05:12:31.326Z] $ docker stop --time=1 fa9f5d23ecad009fd8d5bdd7b806bcb39577f7705f59038d8437aae99a0ed332 [2022-10-17T05:12:32.813Z] $ docker rm -f fa9f5d23ecad009fd8d5bdd7b806bcb39577f7705f59038d8437aae99a0ed332 [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-17T05:12:33.753Z] provisioning config files... [2022-10-17T05:12:33.760Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-383@tmp/config6423296621179671447tmp [Pipeline] { [Pipeline] sh [2022-10-17T05:12:34.101Z] + set +x [2022-10-17T05:12:34.101Z] + bash -s -- [2022-10-17T05:12:34.101Z] + curl -s https://codecov.io/bash [2022-10-17T05:12:34.101Z] [2022-10-17T05:12:34.101Z] _____ _ [2022-10-17T05:12:34.101Z] / ____| | | [2022-10-17T05:12:34.101Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T05:12:34.101Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T05:12:34.101Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T05:12:34.101Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T05:12:34.101Z] Bash-1.0.6 [2022-10-17T05:12:34.101Z] [2022-10-17T05:12:34.101Z] [2022-10-17T05:12:34.101Z] ==> git version 2.25.1 found [2022-10-17T05:12:34.101Z] ==> 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-17T05:12:34.101Z] Release-Date: 2020-01-08 [2022-10-17T05:12:34.101Z] 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-17T05:12:34.101Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T05:12:34.101Z] ==> Jenkins CI detected. [2022-10-17T05:12:34.101Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-383 [2022-10-17T05:12:34.101Z] project root: . [2022-10-17T05:12:34.101Z] --> token set from env [2022-10-17T05:12:34.101Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T05:12:34.101Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T05:12:34.101Z] ==> Python coveragepy not found [2022-10-17T05:12:34.101Z] ==> Searching for coverage reports in: [2022-10-17T05:12:34.101Z] + . [2022-10-17T05:12:34.101Z] -> Found 1 reports [2022-10-17T05:12:34.101Z] ==> Detecting git/mercurial file structure [2022-10-17T05:12:34.101Z] ==> Reading reports [2022-10-17T05:12:34.101Z] + ./coverage.out bytes=23241 [2022-10-17T05:12:34.372Z] ==> Appending adjustments [2022-10-17T05:12:34.372Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T05:12:34.372Z] + Found adjustments [2022-10-17T05:12:34.372Z] ==> Gzipping contents [2022-10-17T05:12:34.372Z] 4.0K /tmp/codecov.nmKAou.gz [2022-10-17T05:12:34.372Z] ==> Uploading reports [2022-10-17T05:12:34.372Z] url: https://codecov.io [2022-10-17T05:12:34.372Z] query: branch=PR-383&commit=a519b54361d1babe4131560b040f854380379020&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-383%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=383&job=&cmd_args= [2022-10-17T05:12:34.372Z] -> Pinging Codecov [2022-10-17T05:12:34.372Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-383&commit=a519b54361d1babe4131560b040f854380379020&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-383%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=383&job=&cmd_args= [2022-10-17T05:12:34.630Z] -> Uploading to [2022-10-17T05:12:34.630Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/55DBCA73C666E3227836607328DD7E49/a519b54361d1babe4131560b040f854380379020/c8c50bca-a89a-4c6e-accd-6fccb857b388.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T051234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0013d0d45bd5a8231f595894a87a66031aeb4ae619d63a168f3493670ec2d1c [2022-10-17T05:12:34.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T05:12:34.630Z] Dload Upload Total Spent Left Speed [2022-10-17T05:12:34.889Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 15277 --:--:-- --:--:-- --:--:-- 15277 [2022-10-17T05:12:34.889Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a519b54361d1babe4131560b040f854380379020 [Pipeline] } [2022-10-17T05:12:34.916Z] 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-17T05:12:36.640Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-383/archives ] [2022-10-17T05:12:36.640Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-383/archives [2022-10-17T05:12:36.640Z] total 16 [2022-10-17T05:12:36.640Z] drwxr-xr-x 3 root root 4096 Oct 17 05:05 . [2022-10-17T05:12:36.640Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 05:05 .. [2022-10-17T05:12:36.640Z] drwxr-xr-x 2 root root 4096 Oct 17 05:05 cost [2022-10-17T05:12:36.640Z] -rw-r--r-- 1 root root 88 Oct 17 05:05 cost.csv [2022-10-17T05:12:36.640Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-383/archives [2022-10-17T05:12:36.640Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-383/archives [2022-10-17T05:12:36.640Z] total 16 [2022-10-17T05:12:36.640Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 05:05 . [2022-10-17T05:12:36.640Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 05:05 .. [2022-10-17T05:12:36.640Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 05:05 cost [2022-10-17T05:12:36.640Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 17 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:12:36.964Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:12:37.848Z] ---> package-listing.sh [2022-10-17T05:12:37.848Z] ++ facter osfamily [2022-10-17T05:12:37.848Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T05:12:38.108Z] + OS_FAMILY=debian [2022-10-17T05:12:38.108Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-383 [2022-10-17T05:12:38.108Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T05:12:38.108Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T05:12:38.108Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T05:12:38.108Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T05:12:38.108Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-383 ']' [2022-10-17T05:12:38.108Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T05:12:38.108Z] + case "${OS_FAMILY}" in [2022-10-17T05:12:38.108Z] + dpkg -l [2022-10-17T05:12:38.108Z] + grep '^ii' [2022-10-17T05:12:38.108Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T05:12:38.108Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T05:12:38.108Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T05:12:38.108Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-383 ']' [2022-10-17T05:12:38.108Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-383/archives/ [2022-10-17T05:12:38.108Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-383/archives/ [Pipeline] echo [2022-10-17T05:12:38.142Z] 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-383/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T05:12:38.439Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T05:12:39.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T05:12:39.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T05:12:39.198Z] prd-ubuntu20.04-docker-8c-8g-8021 does not seem to be running inside a container [2022-10-17T05:12:39.229Z] $ 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-383/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-383 -v /w/workspace/xfoundry_device-modbus-go_PR-383:/w/workspace/xfoundry_device-modbus-go_PR-383:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-383@tmp:/w/workspace/xfoundry_device-modbus-go_PR-383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T05:12:39.454Z] $ docker top 54610edcffded0cf1990d5aadc9b9c0b2a2b5b8f6af4666bbf058b8350c9564c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T05:12:39.843Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T05:12:40.152Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T05:12:40.471Z] + ls /var/log/sa-host [2022-10-17T05:12:40.471Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T05:12:40.691Z] provisioning config files... [2022-10-17T05:12:40.701Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-383@tmp/config11196577526113579939tmp [Pipeline] { [Pipeline] echo [2022-10-17T05:12:40.754Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:12:41.071Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T05:12:41.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:12:41.521Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T05:12:41.552Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:12:41.864Z] ---> sudo-logs.sh [2022-10-17T05:12:41.864Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T05:12:41.948Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:12:42.277Z] ---> job-cost.sh [2022-10-17T05:12:42.277Z] lf-activate-venv: SKIPPING [2022-10-17T05:12:42.277Z] DEBUG: total: 0.2199999988079071 [2022-10-17T05:12:42.277Z] INFO: Retrieving Stack Cost... [2022-10-17T05:12:42.845Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T05:12:43.105Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T05:12:43.142Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T05:12:43.452Z] ---> logs-deploy.sh [2022-10-17T05:12:43.453Z] lf-activate-venv: SKIPPING [2022-10-17T05:12:43.453Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-383/1 [2022-10-17T05:12:43.453Z] INFO: archiving workspace using pattern(s): [2022-10-17T05:12:44.392Z] Archives upload complete. [2022-10-17T05:12:44.392Z] INFO: archiving logs to Nexus [2022-10-17T05:12:44.961Z] ---> uname -a: [2022-10-17T05:12:44.961Z] Linux prd-ubuntu20-04-docker-8c-8g-8021 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-17T05:12:44.961Z] [2022-10-17T05:12:44.961Z] [2022-10-17T05:12:44.961Z] ---> lscpu: [2022-10-17T05:12:44.961Z] Architecture: x86_64 [2022-10-17T05:12:44.961Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-17T05:12:44.961Z] Byte Order: Little Endian [2022-10-17T05:12:44.961Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-17T05:12:44.961Z] CPU(s): 8 [2022-10-17T05:12:44.961Z] On-line CPU(s) list: 0-7 [2022-10-17T05:12:44.961Z] Thread(s) per core: 1 [2022-10-17T05:12:44.961Z] Core(s) per socket: 1 [2022-10-17T05:12:44.961Z] Socket(s): 8 [2022-10-17T05:12:44.961Z] NUMA node(s): 1 [2022-10-17T05:12:44.961Z] Vendor ID: AuthenticAMD [2022-10-17T05:12:44.961Z] CPU family: 23 [2022-10-17T05:12:44.961Z] Model: 49 [2022-10-17T05:12:44.961Z] Model name: AMD EPYC-Rome Processor [2022-10-17T05:12:44.961Z] Stepping: 0 [2022-10-17T05:12:44.961Z] CPU MHz: 2799.998 [2022-10-17T05:12:44.961Z] BogoMIPS: 5599.99 [2022-10-17T05:12:44.961Z] Virtualization: AMD-V [2022-10-17T05:12:44.961Z] Hypervisor vendor: KVM [2022-10-17T05:12:44.961Z] Virtualization type: full [2022-10-17T05:12:44.961Z] L1d cache: 256 KiB [2022-10-17T05:12:44.961Z] L1i cache: 256 KiB [2022-10-17T05:12:44.961Z] L2 cache: 4 MiB [2022-10-17T05:12:44.961Z] L3 cache: 128 MiB [2022-10-17T05:12:44.961Z] NUMA node0 CPU(s): 0-7 [2022-10-17T05:12:44.961Z] Vulnerability Itlb multihit: Not affected [2022-10-17T05:12:44.961Z] Vulnerability L1tf: Not affected [2022-10-17T05:12:44.961Z] Vulnerability Mds: Not affected [2022-10-17T05:12:44.961Z] Vulnerability Meltdown: Not affected [2022-10-17T05:12:44.961Z] Vulnerability Mmio stale data: Not affected [2022-10-17T05:12:44.961Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-17T05:12:44.961Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-17T05:12:44.961Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-17T05:12:44.961Z] Vulnerability Srbds: Not affected [2022-10-17T05:12:44.961Z] Vulnerability Tsx async abort: Not affected [2022-10-17T05:12:44.961Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-17T05:12:44.961Z] [2022-10-17T05:12:44.961Z] [2022-10-17T05:12:44.961Z] ---> nproc: [2022-10-17T05:12:44.961Z] 8 [2022-10-17T05:12:44.961Z] [2022-10-17T05:12:44.961Z]