Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb31265618feb3b01981c84d7ce9ef615feeadd6+244abab361647dcef607fbcbfbdaea3ae1f72309 (fc046964367193815984afabf22419e3bf8e886b) 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-ssh16059481496148106774.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh8809343664533036962.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-329/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-329/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13693847575816895975.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh16328106522301760782.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-329/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-329/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12050558883028662304.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20804 in /w/workspace/xfoundry_device-modbus-go_PR-329 [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-329 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit fb31265618feb3b01981c84d7ce9ef615feeadd6 Merge succeeded, producing 7dcc900f76059ffe1ed632fc8dff27e130593aae Checking out Revision 7dcc900f76059ffe1ed632fc8dff27e130593aae (PR-329) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/329/head:refs/remotes/origin/PR-329 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb31265618feb3b01981c84d7ce9ef615feeadd6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7dcc900f76059ffe1ed632fc8dff27e130593aae # timeout=10 Commit message: "Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk ba8734ffe2f549d746873aea96786163de512101 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-13T12:52:31.116Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-13T12:52:31.182Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-13T12:52:31.195Z] ========================================================= [2022-04-13T12:52:31.195Z] EdgeX Global Pipelines Version Info [2022-04-13T12:52:31.195Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-13T12:52:31.981Z] ------------------- [2022-04-13T12:52:31.981Z] stable info: [2022-04-13T12:52:31.981Z] ------------------- [2022-04-13T12:52:31.981Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-13T12:52:31.981Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T12:52:31.981Z] Message: update stable to v1.0.221 [2022-04-13T12:52:32.557Z] ------------------- [2022-04-13T12:52:32.557Z] experimental info: [2022-04-13T12:52:32.557Z] ------------------- [2022-04-13T12:52:32.557Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-13T12:52:32.557Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-13T12:52:32.557Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-13T12:52:32.694Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-13T12:52:32.705Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-13T12:52:32.716Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-13T12:52:32.727Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-13T12:52:32.738Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-13T12:52:32.748Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-13T12:52:32.758Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-13T12:52:32.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-13T12:52:32.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-13T12:52:32.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-13T12:52:32.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-13T12:52:32.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-13T12:52:32.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-13T12:52:32.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-13T12:52:32.841Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T12:52:32.851Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-13T12:52:32.862Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T12:52:32.877Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-13T12:52:32.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-13T12:52:32.908Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-13T12:52:32.920Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-13T12:52:32.936Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-13T12:52:32.951Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-13T12:52:32.964Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-13T12:52:32.978Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-13T12:52:32.991Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-13T12:52:33.005Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-329 [Pipeline] echo [2022-04-13T12:52:33.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-329 [Pipeline] echo [2022-04-13T12:52:33.031Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-329 [Pipeline] echo [2022-04-13T12:52:33.047Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7dcc900f76059ffe1ed632fc8dff27e130593aae [Pipeline] echo [2022-04-13T12:52:33.065Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7dcc900 [Pipeline] echo [2022-04-13T12:52:33.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T12:52:33.119Z] provisioning config files... [2022-04-13T12:52:33.137Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/config557080931983087204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T12:52:33.447Z] ---> docker-login.sh [2022-04-13T12:52:33.448Z] nexus3.edgexfoundry.org:10001 [2022-04-13T12:52:33.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:52:33.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:52:33.711Z] Configure a credential helper to remove this warning. See [2022-04-13T12:52:33.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:52:33.711Z] [2022-04-13T12:52:33.711Z] Login Succeeded [2022-04-13T12:52:33.972Z] nexus3.edgexfoundry.org:10002 [2022-04-13T12:52:33.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:52:33.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:52:33.972Z] Configure a credential helper to remove this warning. See [2022-04-13T12:52:33.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:52:33.972Z] [2022-04-13T12:52:33.972Z] Login Succeeded [2022-04-13T12:52:33.972Z] nexus3.edgexfoundry.org:10003 [2022-04-13T12:52:33.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:52:34.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:52:34.233Z] Configure a credential helper to remove this warning. See [2022-04-13T12:52:34.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:52:34.233Z] [2022-04-13T12:52:34.233Z] Login Succeeded [2022-04-13T12:52:34.233Z] nexus3.edgexfoundry.org:10004 [2022-04-13T12:52:34.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:52:34.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:52:34.233Z] Configure a credential helper to remove this warning. See [2022-04-13T12:52:34.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:52:34.233Z] [2022-04-13T12:52:34.233Z] Login Succeeded [2022-04-13T12:52:34.233Z] docker.io [2022-04-13T12:52:34.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:52:34.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:52:34.755Z] Configure a credential helper to remove this warning. See [2022-04-13T12:52:34.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:52:34.755Z] [2022-04-13T12:52:34.755Z] Login Succeeded [2022-04-13T12:52:34.755Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T12:52:34.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-13T12:52:35.132Z] + git rev-list -1 --merges 7dcc900f76059ffe1ed632fc8dff27e130593aae~1..7dcc900f76059ffe1ed632fc8dff27e130593aae [Pipeline] echo [2022-04-13T12:52:35.229Z] -----------> git rev-list -1 --merges 7dcc900f76059ffe1ed632fc8dff27e130593aae~1..7dcc900f76059ffe1ed632fc8dff27e130593aae 7dcc900f76059ffe1ed632fc8dff27e130593aae [2022-04-13T12:52:35.229Z] 7dcc900f76059ffe1ed632fc8dff27e130593aae [false] [Pipeline] sh [2022-04-13T12:52:35.521Z] + git log --format=format:%s -1 7dcc900f76059ffe1ed632fc8dff27e130593aae [Pipeline] echo [2022-04-13T12:52:35.542Z] ========================================================= [2022-04-13T12:52:35.542Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-13T12:52:35.542Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T12:52:35.865Z] + git log --format=format:%s -1 7dcc900f76059ffe1ed632fc8dff27e130593aae [Pipeline] echo [2022-04-13T12:52:35.879Z] [semverPrep] GIT_COMMIT: 7dcc900f76059ffe1ed632fc8dff27e130593aae, Commit Message: Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD [Pipeline] echo [2022-04-13T12:52:35.890Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-13T12:52:36.331Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-13T12:52:36.331Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-13T12:52:36.331Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-13T12:52:36.331Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-13T12:52:36.331Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-13T12:52:36.331Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-13T12:52:36.331Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:52:36.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T12:52:36.762Z] [2022-04-13T12:52:36.762Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:52:37.068Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T12:52:37.069Z] latest: Pulling from edgex-devops/git-semver [2022-04-13T12:52:37.069Z] a0d0a0d46f8b: Pulling fs layer [2022-04-13T12:52:37.069Z] 3e5f54012d9b: Pulling fs layer [2022-04-13T12:52:37.069Z] 4c7163046ea9: Pulling fs layer [2022-04-13T12:52:37.069Z] 0c2d73faf560: Pulling fs layer [2022-04-13T12:52:37.069Z] 0c2d73faf560: Waiting [2022-04-13T12:52:37.069Z] 3e5f54012d9b: Verifying Checksum [2022-04-13T12:52:37.069Z] 3e5f54012d9b: Download complete [2022-04-13T12:52:37.069Z] a0d0a0d46f8b: Download complete [2022-04-13T12:52:37.069Z] 0c2d73faf560: Verifying Checksum [2022-04-13T12:52:37.069Z] 0c2d73faf560: Download complete [2022-04-13T12:52:37.069Z] 4c7163046ea9: Verifying Checksum [2022-04-13T12:52:37.069Z] 4c7163046ea9: Download complete [2022-04-13T12:52:37.329Z] a0d0a0d46f8b: Pull complete [2022-04-13T12:52:37.329Z] 3e5f54012d9b: Pull complete [2022-04-13T12:52:37.903Z] 4c7163046ea9: Pull complete [2022-04-13T12:52:37.903Z] 0c2d73faf560: Pull complete [2022-04-13T12:52:37.903Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-13T12:52:37.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-13T12:52:37.903Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-13T12:52:37.979Z] prd-ubuntu20.04-docker-8c-8g-20804 does not seem to be running inside a container [2022-04-13T12:52:38.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-329 -v /w/workspace/xfoundry_device-modbus-go_PR-329:/w/workspace/xfoundry_device-modbus-go_PR-329:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-329@tmp:/w/workspace/xfoundry_device-modbus-go_PR-329@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:10004/edgex-devops/git-semver:latest cat [2022-04-13T12:52:38.822Z] $ docker top d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-13T12:52:38.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T12:52:38.935Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T12:52:39.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T12:52:39.085Z] $ docker exec d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 ssh-agent [2022-04-13T12:52:39.220Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNOfoKe/agent.13 [2022-04-13T12:52:39.220Z] SSH_AGENT_PID=19 [2022-04-13T12:52:39.229Z] Running ssh-add (command line suppressed) [2022-04-13T12:52:39.366Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-329@tmp/private_key_7445849172995578640.key (/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/private_key_7445849172995578640.key) [2022-04-13T12:52:39.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T12:52:39.670Z] + git tag --points-at HEAD [Pipeline] } [2022-04-13T12:52:39.695Z] $ docker exec --env ******** --env ******** d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 ssh-agent -k [2022-04-13T12:52:39.809Z] unset SSH_AUTH_SOCK; [2022-04-13T12:52:39.810Z] unset SSH_AGENT_PID; [2022-04-13T12:52:39.810Z] echo Agent pid 19 killed; [2022-04-13T12:52:39.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-13T12:52:39.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-13T12:52:39.844Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-13T12:52:39.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-13T12:52:39.992Z] $ docker exec d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 ssh-agent [2022-04-13T12:52:40.117Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhdflLE/agent.52 [2022-04-13T12:52:40.117Z] SSH_AGENT_PID=58 [2022-04-13T12:52:40.123Z] Running ssh-add (command line suppressed) [2022-04-13T12:52:40.260Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-329@tmp/private_key_5204532626995580450.key (/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/private_key_5204532626995580450.key) [2022-04-13T12:52:40.269Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-13T12:52:40.563Z] + git semver init [2022-04-13T12:52:40.563Z] # -> Open(): unable to determine branch for HEAD [2022-04-13T12:52:40.563Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-329/.git [2022-04-13T12:52:40.563Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-329 [2022-04-13T12:52:40.563Z] # $SEMVER_REMOTE_NAME = origin [2022-04-13T12:52:40.563Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-13T12:52:40.563Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-13T12:52:40.563Z] # $SEMVER_BRANCH = PR-329 [2022-04-13T12:52:40.563Z] # $SEMVER_TEMP = /tmp/semver-252861333 [2022-04-13T12:52:40.563Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-13T12:52:41.508Z] # '/tmp/semver-252861333' -> '/w/workspace/xfoundry_device-modbus-go_PR-329/.semver' [2022-04-13T12:52:41.508Z] # -> Force: false [2022-04-13T12:52:41.508Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-329/.semver [Pipeline] } [2022-04-13T12:52:41.524Z] $ docker exec --env ******** --env ******** d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 ssh-agent -k [2022-04-13T12:52:41.641Z] unset SSH_AUTH_SOCK; [2022-04-13T12:52:41.641Z] unset SSH_AGENT_PID; [2022-04-13T12:52:41.641Z] echo Agent pid 58 killed; [2022-04-13T12:52:41.648Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-13T12:52:41.964Z] + git semver [Pipeline] } [2022-04-13T12:52:41.986Z] $ docker stop --time=1 d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 [2022-04-13T12:52:43.360Z] $ docker rm -f d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T12:52:43.715Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-13T12:52:43.995Z] Stashed 1 file(s) [Pipeline] echo [2022-04-13T12:52:43.999Z] [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-04-13T12:52:44.171Z] provisioning config files... [2022-04-13T12:52:44.182Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/config2739715870630339843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T12:52:44.484Z] ---> docker-login.sh [2022-04-13T12:52:44.484Z] nexus3.edgexfoundry.org:10001 [2022-04-13T12:52:44.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:52:44.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:52:44.484Z] Configure a credential helper to remove this warning. See [2022-04-13T12:52:44.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:52:44.484Z] [2022-04-13T12:52:44.484Z] Login Succeeded [2022-04-13T12:52:44.484Z] nexus3.edgexfoundry.org:10002 [2022-04-13T12:52:44.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:52:44.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:52:44.745Z] Configure a credential helper to remove this warning. See [2022-04-13T12:52:44.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:52:44.745Z] [2022-04-13T12:52:44.745Z] Login Succeeded [2022-04-13T12:52:44.745Z] nexus3.edgexfoundry.org:10003 [2022-04-13T12:52:44.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:52:44.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:52:44.745Z] Configure a credential helper to remove this warning. See [2022-04-13T12:52:44.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:52:44.745Z] [2022-04-13T12:52:44.745Z] Login Succeeded [2022-04-13T12:52:44.745Z] nexus3.edgexfoundry.org:10004 [2022-04-13T12:52:45.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:52:45.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:52:45.006Z] Configure a credential helper to remove this warning. See [2022-04-13T12:52:45.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:52:45.006Z] [2022-04-13T12:52:45.006Z] Login Succeeded [2022-04-13T12:52:45.006Z] docker.io [2022-04-13T12:52:45.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:52:45.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:52:45.266Z] Configure a credential helper to remove this warning. See [2022-04-13T12:52:45.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:52:45.266Z] [2022-04-13T12:52:45.266Z] Login Succeeded [2022-04-13T12:52:45.266Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T12:52:45.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T12:52:45.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T12:52:45.359Z] ========================================================= [2022-04-13T12:52:45.359Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-13T12:52:45.359Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:52:45.675Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-13T12:52:45.675Z] Sending build context to Docker daemon 5.804MB [2022-04-13T12:52:45.675Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T12:52:45.675Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-13T12:52:45.675Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-13T12:52:45.675Z] 59bf1c3509f3: Pulling fs layer [2022-04-13T12:52:45.675Z] 666ba61612fd: Pulling fs layer [2022-04-13T12:52:45.675Z] 8ed8ca486205: Pulling fs layer [2022-04-13T12:52:45.675Z] 4fe6c5a15a65: Pulling fs layer [2022-04-13T12:52:45.675Z] 22a0e8bec74d: Pulling fs layer [2022-04-13T12:52:45.675Z] 640e595b4fbd: Pulling fs layer [2022-04-13T12:52:45.675Z] 763cafe07f6e: Pulling fs layer [2022-04-13T12:52:45.675Z] 640e595b4fbd: Waiting [2022-04-13T12:52:45.675Z] 0c0b528cf693: Pulling fs layer [2022-04-13T12:52:45.675Z] 763cafe07f6e: Waiting [2022-04-13T12:52:45.675Z] 10935f4eaf8b: Pulling fs layer [2022-04-13T12:52:45.675Z] 4fe6c5a15a65: Waiting [2022-04-13T12:52:45.675Z] 22a0e8bec74d: Waiting [2022-04-13T12:52:45.675Z] 10935f4eaf8b: Waiting [2022-04-13T12:52:45.937Z] 8ed8ca486205: Verifying Checksum [2022-04-13T12:52:45.937Z] 8ed8ca486205: Download complete [2022-04-13T12:52:45.937Z] 666ba61612fd: Download complete [2022-04-13T12:52:45.937Z] 22a0e8bec74d: Verifying Checksum [2022-04-13T12:52:45.937Z] 22a0e8bec74d: Download complete [2022-04-13T12:52:45.937Z] 640e595b4fbd: Download complete [2022-04-13T12:52:45.937Z] 59bf1c3509f3: Verifying Checksum [2022-04-13T12:52:45.937Z] 763cafe07f6e: Verifying Checksum [2022-04-13T12:52:45.937Z] 763cafe07f6e: Download complete [2022-04-13T12:52:45.937Z] 0c0b528cf693: Verifying Checksum [2022-04-13T12:52:45.937Z] 59bf1c3509f3: Pull complete [2022-04-13T12:52:46.197Z] 666ba61612fd: Pull complete [2022-04-13T12:52:46.457Z] 8ed8ca486205: Pull complete [2022-04-13T12:52:46.457Z] 10935f4eaf8b: Verifying Checksum [2022-04-13T12:52:46.457Z] 10935f4eaf8b: Download complete [2022-04-13T12:52:46.716Z] 4fe6c5a15a65: Verifying Checksum [2022-04-13T12:52:46.716Z] 4fe6c5a15a65: Download complete [2022-04-13T12:52:50.925Z] 4fe6c5a15a65: Pull complete [2022-04-13T12:52:50.925Z] 22a0e8bec74d: Pull complete [2022-04-13T12:52:50.925Z] 640e595b4fbd: Pull complete [2022-04-13T12:52:51.185Z] 763cafe07f6e: Pull complete [2022-04-13T12:52:51.185Z] 0c0b528cf693: Pull complete [2022-04-13T12:52:53.722Z] 10935f4eaf8b: Pull complete [2022-04-13T12:52:53.723Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-13T12:52:53.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-13T12:52:53.723Z] ---> 99d49a6021b9 [2022-04-13T12:52:53.723Z] Step 3/10 : ARG MAKE='make build' [2022-04-13T12:52:55.107Z] ---> Running in ab10f6e6fa30 [2022-04-13T12:52:55.107Z] Removing intermediate container ab10f6e6fa30 [2022-04-13T12:52:55.107Z] ---> e64b87489849 [2022-04-13T12:52:55.107Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T12:52:55.107Z] ---> Running in 242340df0c22 [2022-04-13T12:52:55.678Z] Removing intermediate container 242340df0c22 [2022-04-13T12:52:55.678Z] ---> 17fcb8223b49 [2022-04-13T12:52:55.678Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T12:52:55.678Z] ---> Running in bc0d019b06dc [2022-04-13T12:52:55.940Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T12:52:56.894Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T12:52:57.158Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T12:52:57.419Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-13T12:52:57.419Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T12:52:57.419Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T12:52:57.680Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-13T12:52:57.680Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-13T12:52:57.680Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-13T12:52:57.942Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-13T12:52:57.942Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T12:52:57.942Z] OK: 226 MiB in 60 packages [2022-04-13T12:52:58.516Z] Removing intermediate container bc0d019b06dc [2022-04-13T12:52:58.516Z] ---> 7216685e19cd [2022-04-13T12:52:58.516Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-13T12:52:58.516Z] ---> Running in f8bf89250be9 [2022-04-13T12:52:58.516Z] Removing intermediate container f8bf89250be9 [2022-04-13T12:52:58.516Z] ---> 6c5bb947c297 [2022-04-13T12:52:58.516Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-13T12:52:58.777Z] ---> c12b83fef104 [2022-04-13T12:52:58.777Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T12:52:58.777Z] ---> Running in 289bebd8035e [2022-04-13T12:52:59.124Z] Still waiting to schedule task [2022-04-13T12:52:59.124Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-13T12:53:20.750Z] Removing intermediate container 289bebd8035e [2022-04-13T12:53:20.750Z] ---> b574e505362f [2022-04-13T12:53:20.750Z] Step 9/10 : COPY . . [2022-04-13T12:53:20.750Z] ---> 453bcb38904b [2022-04-13T12:53:20.750Z] Step 10/10 : RUN ${MAKE} [2022-04-13T12:53:20.750Z] ---> Running in 5ba99dc86ae4 [2022-04-13T12:53:20.750Z] noop [2022-04-13T12:53:20.750Z] Removing intermediate container 5ba99dc86ae4 [2022-04-13T12:53:20.750Z] ---> f1b9b306047a [2022-04-13T12:53:20.750Z] Successfully built f1b9b306047a [2022-04-13T12:53:20.750Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:53:21.053Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T12:53:21.053Z] . [Pipeline] withDockerContainer [2022-04-13T12:53:21.132Z] prd-ubuntu20.04-docker-8c-8g-20804 does not seem to be running inside a container [2022-04-13T12:53:21.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-329 -v /w/workspace/xfoundry_device-modbus-go_PR-329:/w/workspace/xfoundry_device-modbus-go_PR-329:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-329@tmp:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T12:53:21.674Z] $ docker top 3582185dfba88a793152db8dcf0a31b2094259f401a3bc48d82cd433380ca26b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T12:53:22.042Z] + go version [2022-04-13T12:53:22.042Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-13T12:53:22.061Z] $ docker stop --time=1 3582185dfba88a793152db8dcf0a31b2094259f401a3bc48d82cd433380ca26b [2022-04-13T12:53:23.365Z] $ docker rm -f 3582185dfba88a793152db8dcf0a31b2094259f401a3bc48d82cd433380ca26b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:53:23.786Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-13T12:53:23.786Z] . [Pipeline] withDockerContainer [2022-04-13T12:53:23.860Z] prd-ubuntu20.04-docker-8c-8g-20804 does not seem to be running inside a container [2022-04-13T12:53:23.901Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-329 -v /w/workspace/xfoundry_device-modbus-go_PR-329:/w/workspace/xfoundry_device-modbus-go_PR-329:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-329@tmp:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-13T12:53:24.289Z] $ docker top 16f7875bb42bb3995751fe51c1ca7d0fc2fc583be6972195fe97258b4cf8124f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T12:53:24.657Z] + make test [2022-04-13T12:53:24.658Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T12:53:24.917Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-13T12:53:35.057Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-13T12:53:35.057Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements [2022-04-13T12:53:41.639Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T12:53:45.010Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T12:53:45.010Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T12:53:45.010Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T12:53:45.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T12:53:45.983Z] $ docker stop --time=1 16f7875bb42bb3995751fe51c1ca7d0fc2fc583be6972195fe97258b4cf8124f [2022-04-13T12:53:47.783Z] $ docker rm -f 16f7875bb42bb3995751fe51c1ca7d0fc2fc583be6972195fe97258b4cf8124f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T12:53:48.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T12:53:48.295Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-13T12:53:49.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T12:53:49.581Z] + ls -al . [2022-04-13T12:53:49.581Z] total 200 [2022-04-13T12:53:49.581Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 12:53 . [2022-04-13T12:53:49.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:52 .. [2022-04-13T12:53:49.581Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 12:52 .dockerignore [2022-04-13T12:53:49.581Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 12:52 .git [2022-04-13T12:53:49.581Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:52 .github [2022-04-13T12:53:49.581Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 12:52 .gitignore [2022-04-13T12:53:49.581Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 12:52 .golangci.yml [2022-04-13T12:53:49.581Z] drwx------ 3 jenkins jenkins 4096 Apr 13 12:52 .semver [2022-04-13T12:53:49.581Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 13 12:52 Attribution.txt [2022-04-13T12:53:49.581Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 13 12:52 CHANGELOG.md [2022-04-13T12:53:49.581Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 13 12:52 Dockerfile [2022-04-13T12:53:49.582Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 12:52 GOVERNANCE.md [2022-04-13T12:53:49.582Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 12:52 Jenkinsfile [2022-04-13T12:53:49.582Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 12:52 LICENSE [2022-04-13T12:53:49.582Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 13 12:52 Makefile [2022-04-13T12:53:49.582Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 12:52 OWNERS.md [2022-04-13T12:53:49.582Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 13 12:52 README.md [2022-04-13T12:53:49.582Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 12:52 VERSION [2022-04-13T12:53:49.582Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:52 bin [2022-04-13T12:53:49.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:52 cmd [2022-04-13T12:53:49.582Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 13 12:53 coverage.out [2022-04-13T12:53:49.582Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 13 12:52 go.mod [2022-04-13T12:53:49.582Z] -rw-rw-r-- 1 jenkins jenkins 54457 Apr 13 12:52 go.sum [2022-04-13T12:53:49.582Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:52 internal [2022-04-13T12:53:49.582Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:52 simulator [2022-04-13T12:53:49.582Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:52 snap [2022-04-13T12:53:49.582Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 12:52 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:53:49.889Z] + 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=7dcc900f76059ffe1ed632fc8dff27e130593aae --label arch=amd64 --label version=0.0.0 . [2022-04-13T12:53:49.889Z] Sending build context to Docker daemon 5.829MB [2022-04-13T12:53:49.889Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T12:53:49.889Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-13T12:53:49.889Z] ---> f1b9b306047a [2022-04-13T12:53:49.889Z] Step 3/23 : ARG MAKE='make build' [2022-04-13T12:53:50.149Z] ---> Running in e03d248ede01 [2022-04-13T12:53:50.149Z] Removing intermediate container e03d248ede01 [2022-04-13T12:53:50.149Z] ---> 392df44bc7af [2022-04-13T12:53:50.149Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T12:53:50.149Z] ---> Running in 477bfe2c36e0 [2022-04-13T12:53:50.722Z] Removing intermediate container 477bfe2c36e0 [2022-04-13T12:53:50.722Z] ---> aea1f868cedd [2022-04-13T12:53:50.722Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T12:53:50.722Z] ---> Running in a7a4d3d4eee6 [2022-04-13T12:53:51.295Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-13T12:53:51.867Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-13T12:53:52.438Z] OK: 226 MiB in 60 packages [2022-04-13T12:53:52.699Z] Removing intermediate container a7a4d3d4eee6 [2022-04-13T12:53:52.699Z] ---> 637bef239cf7 [2022-04-13T12:53:52.699Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-13T12:53:52.699Z] ---> Running in 4a13a61d24a8 [2022-04-13T12:53:52.699Z] Removing intermediate container 4a13a61d24a8 [2022-04-13T12:53:52.699Z] ---> 348ffd8d2bdc [2022-04-13T12:53:52.699Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-13T12:53:52.960Z] ---> 995b39099a6c [2022-04-13T12:53:52.960Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T12:53:52.960Z] ---> Running in 6811761068a5 [2022-04-13T12:53:53.536Z] Removing intermediate container 6811761068a5 [2022-04-13T12:53:53.537Z] ---> 3d48d0d33fd3 [2022-04-13T12:53:53.537Z] Step 9/23 : COPY . . [2022-04-13T12:53:54.109Z] ---> 5796cad90e14 [2022-04-13T12:53:54.109Z] Step 10/23 : RUN ${MAKE} [2022-04-13T12:53:54.109Z] ---> Running in 88619957ade2 [2022-04-13T12:53:54.369Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-13T12:54:16.325Z] Removing intermediate container 88619957ade2 [2022-04-13T12:54:16.325Z] ---> 47e52bfee1d2 [2022-04-13T12:54:16.325Z] Step 11/23 : FROM alpine:3.14 [2022-04-13T12:54:16.325Z] 3.14: Pulling from library/alpine [2022-04-13T12:54:16.325Z] 8663204ce13b: Pulling fs layer [2022-04-13T12:54:16.326Z] 8663204ce13b: Verifying Checksum [2022-04-13T12:54:16.326Z] 8663204ce13b: Download complete [2022-04-13T12:54:16.326Z] 8663204ce13b: Pull complete [2022-04-13T12:54:16.326Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T12:54:16.326Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T12:54:16.326Z] ---> e04c818066af [2022-04-13T12:54:16.326Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-13T12:54:16.326Z] ---> Running in df7b77fc62b3 [2022-04-13T12:54:16.326Z] Removing intermediate container df7b77fc62b3 [2022-04-13T12:54:16.326Z] ---> 6b6e95a7666b [2022-04-13T12:54:16.326Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T12:54:16.326Z] ---> Running in 0fa283a45579 [2022-04-13T12:54:16.326Z] Removing intermediate container 0fa283a45579 [2022-04-13T12:54:16.326Z] ---> c57426e3e243 [2022-04-13T12:54:16.326Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T12:54:16.326Z] ---> Running in 7364aa34be37 [2022-04-13T12:54:16.326Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-13T12:54:16.326Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-13T12:54:16.326Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T12:54:16.585Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T12:54:16.585Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T12:54:16.585Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T12:54:16.847Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T12:54:16.847Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T12:54:17.133Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T12:54:17.133Z] OK: 8 MiB in 20 packages [2022-04-13T12:54:17.394Z] Removing intermediate container 7364aa34be37 [2022-04-13T12:54:17.394Z] ---> f154c81fcb46 [2022-04-13T12:54:17.394Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-13T12:54:17.965Z] ---> 2a184e582733 [2022-04-13T12:54:17.965Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-13T12:54:18.242Z] ---> 47077904dd68 [2022-04-13T12:54:18.242Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-13T12:54:18.242Z] ---> d67712278cae [2022-04-13T12:54:18.242Z] Step 18/23 : EXPOSE 59901 [2022-04-13T12:54:18.503Z] ---> Running in 8abbb94f3b3a [2022-04-13T12:54:18.503Z] Removing intermediate container 8abbb94f3b3a [2022-04-13T12:54:18.503Z] ---> 3222559cca9a [2022-04-13T12:54:18.503Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-13T12:54:18.503Z] ---> Running in cf575d11c72f [2022-04-13T12:54:18.765Z] Removing intermediate container cf575d11c72f [2022-04-13T12:54:18.765Z] ---> 5fc88ea3a5a9 [2022-04-13T12:54:18.765Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T12:54:18.765Z] ---> Running in 842d67ffcc65 [2022-04-13T12:54:18.765Z] Removing intermediate container 842d67ffcc65 [2022-04-13T12:54:18.765Z] ---> 104551fb11cc [2022-04-13T12:54:18.765Z] Step 21/23 : LABEL arch=amd64 [2022-04-13T12:54:18.765Z] ---> Running in 42c8c7df0daa [2022-04-13T12:54:19.025Z] Removing intermediate container 42c8c7df0daa [2022-04-13T12:54:19.025Z] ---> 24a697c10ae7 [2022-04-13T12:54:19.025Z] Step 22/23 : LABEL git_sha=7dcc900f76059ffe1ed632fc8dff27e130593aae [2022-04-13T12:54:19.025Z] ---> Running in 6907415a2910 [2022-04-13T12:54:19.025Z] Removing intermediate container 6907415a2910 [2022-04-13T12:54:19.025Z] ---> 38b39c3d6392 [2022-04-13T12:54:19.025Z] Step 23/23 : LABEL version=0.0.0 [2022-04-13T12:54:19.025Z] ---> Running in bef85a792823 [2022-04-13T12:54:19.286Z] Removing intermediate container bef85a792823 [2022-04-13T12:54:19.286Z] ---> a128fd3c0555 [2022-04-13T12:54:19.286Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T12:54:19.286Z] Successfully built a128fd3c0555 [2022-04-13T12:54:19.286Z] Successfully tagged device-modbus:latest [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] sh [2022-04-13T12:54:19.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T12:54:19.725Z] [2022-04-13T12:54:19.725Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:54:20.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T12:54:20.031Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-13T12:54:20.031Z] 5eb5b503b376: Pulling fs layer [2022-04-13T12:54:20.031Z] 5c69ac0246d0: Pulling fs layer [2022-04-13T12:54:20.031Z] ec43610c2a17: Pulling fs layer [2022-04-13T12:54:20.031Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-13T12:54:20.031Z] 33b1e0a273af: Pulling fs layer [2022-04-13T12:54:20.031Z] 5d3b04190fa2: Pulling fs layer [2022-04-13T12:54:20.031Z] 2f39f015ded8: Pulling fs layer [2022-04-13T12:54:20.031Z] 3a2ae6a8a46f: Waiting [2022-04-13T12:54:20.031Z] 33b1e0a273af: Waiting [2022-04-13T12:54:20.031Z] 5d3b04190fa2: Waiting [2022-04-13T12:54:20.031Z] 2f39f015ded8: Waiting [2022-04-13T12:54:20.031Z] 5c69ac0246d0: Verifying Checksum [2022-04-13T12:54:20.031Z] 5c69ac0246d0: Download complete [2022-04-13T12:54:20.031Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-13T12:54:20.031Z] 3a2ae6a8a46f: Download complete [2022-04-13T12:54:20.031Z] 33b1e0a273af: Verifying Checksum [2022-04-13T12:54:20.031Z] 33b1e0a273af: Download complete [2022-04-13T12:54:20.031Z] ec43610c2a17: Verifying Checksum [2022-04-13T12:54:20.031Z] ec43610c2a17: Download complete [2022-04-13T12:54:20.031Z] 5d3b04190fa2: Download complete [2022-04-13T12:54:20.289Z] 5eb5b503b376: Download complete [2022-04-13T12:54:20.858Z] 2f39f015ded8: Download complete [2022-04-13T12:54:21.429Z] 5eb5b503b376: Pull complete [2022-04-13T12:54:21.429Z] 5c69ac0246d0: Pull complete [2022-04-13T12:54:21.999Z] ec43610c2a17: Pull complete [2022-04-13T12:54:21.999Z] 3a2ae6a8a46f: Pull complete [2022-04-13T12:54:22.260Z] 33b1e0a273af: Pull complete [2022-04-13T12:54:22.520Z] 5d3b04190fa2: Pull complete [2022-04-13T12:54:26.716Z] 2f39f015ded8: Pull complete [2022-04-13T12:54:26.716Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-13T12:54:26.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T12:54:26.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-13T12:54:26.779Z] prd-ubuntu20.04-docker-8c-8g-20804 does not seem to be running inside a container [2022-04-13T12:54:26.821Z] $ 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-329 -v /w/workspace/xfoundry_device-modbus-go_PR-329:/w/workspace/xfoundry_device-modbus-go_PR-329:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-329@tmp:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T12:54:28.854Z] $ docker top f0bf4385a1792746a36f9972ec4d30c7275f6ff39043ca8a1d14c1723d0be589 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T12:54:29.291Z] ---> job-cost.sh [2022-04-13T12:54:29.291Z] lf-activate-venv: SKIPPING [2022-04-13T12:54:29.291Z] INFO: No Stack... [2022-04-13T12:54:29.552Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T12:54:30.124Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T12:54:30.424Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-329/archives/cost.csv [2022-04-13T12:54:30.424Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T12:54:30.443Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] [2022-04-13T12:54:30.449Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] did not exist. Created. [2022-04-13T12:54:30.450Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T12:54:30.765Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-13T12:54:30.797Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T12:54:30.807Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T12:54:30.832Z] $ docker stop --time=1 f0bf4385a1792746a36f9972ec4d30c7275f6ff39043ca8a1d14c1723d0be589 [2022-04-13T12:54:32.033Z] $ docker rm -f f0bf4385a1792746a36f9972ec4d30c7275f6ff39043ca8a1d14c1723d0be589 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-13T12:54:39.877Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20806 in /w/workspace/xfoundry_device-modbus-go_PR-329 [Pipeline] { [Pipeline] ws [2022-04-13T12:54:39.891Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2022-04-13T12:54:40.524Z] Selected Git installation does not exist. Using Default [2022-04-13T12:54:40.524Z] The recommended git tool is: NONE [2022-04-13T12:54:47.033Z] using credential edgex-jenkins-ssh [2022-04-13T12:54:47.049Z] Cloning the remote Git repository [2022-04-13T12:54:47.120Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-13T12:54:47.212Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2022-04-13T12:54:47.396Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-13T12:54:47.397Z] > git --version # timeout=10 [2022-04-13T12:54:47.450Z] > git --version # 'git version 2.25.1' [2022-04-13T12:54:47.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T12:54:47.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T12:54:48.831Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-13T12:54:48.869Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-13T12:54:48.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-13T12:54:48.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-13T12:54:48.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T12:54:48.997Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/329/head:refs/remotes/origin/PR-329 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-13T12:54:49.612Z] Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit fb31265618feb3b01981c84d7ce9ef615feeadd6 [2022-04-13T12:54:49.860Z] Merge succeeded, producing 35c2cbb153bea3d1c2c57383c7f9098b84294026 [2022-04-13T12:54:49.860Z] Checking out Revision 35c2cbb153bea3d1c2c57383c7f9098b84294026 (PR-329) [2022-04-13T12:54:49.637Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T12:54:49.651Z] > git checkout -f fb31265618feb3b01981c84d7ce9ef615feeadd6 # timeout=10 [2022-04-13T12:54:49.738Z] > git remote # timeout=10 [2022-04-13T12:54:49.755Z] > git config --get remote.origin.url # timeout=10 [2022-04-13T12:54:49.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-13T12:54:49.779Z] > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 [2022-04-13T12:54:49.840Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-13T12:54:49.871Z] > git config core.sparsecheckout # timeout=10 [2022-04-13T12:54:49.889Z] > git checkout -f 35c2cbb153bea3d1c2c57383c7f9098b84294026 # timeout=10 [2022-04-13T12:54:54.088Z] Commit message: "Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD" [2022-04-13T12:54:54.116Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T12:54:54.962Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-13T12:54:54.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T12:54:54.962Z] Dload Upload Total Spent Left Speed [2022-04-13T12:54:54.962Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47754 0 --:--:-- --:--:-- --:--:-- 47947 [Pipeline] sh [2022-04-13T12:54:55.488Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-13T12:54:54.101Z] > git rev-list --no-walk ba8734ffe2f549d746873aea96786163de512101 # timeout=10 [2022-04-13T12:54:55.834Z] + sudo tee /etc/docker/daemon.new [2022-04-13T12:54:55.834Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-13T12:54:55.834Z] { [2022-04-13T12:54:55.834Z] "registry-mirrors": [ [2022-04-13T12:54:55.834Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-13T12:54:55.834Z] ], [2022-04-13T12:54:55.834Z] "bip": "10.250.0.254/24", [2022-04-13T12:54:55.834Z] "hosts": [ [2022-04-13T12:54:55.834Z] "tcp://0.0.0.0:5555", [2022-04-13T12:54:55.834Z] "unix:///var/run/docker.sock" [2022-04-13T12:54:55.834Z] ], [2022-04-13T12:54:55.834Z] "mtu": 1458, [2022-04-13T12:54:55.834Z] "selinux-enabled": true, [2022-04-13T12:54:55.834Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-13T12:54:55.834Z] } [Pipeline] sh [2022-04-13T12:54:56.190Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-13T12:54:56.547Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T12:55:14.949Z] provisioning config files... [2022-04-13T12:55:14.976Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config5311241456667116372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T12:55:15.355Z] ---> docker-login.sh [2022-04-13T12:55:15.355Z] nexus3.edgexfoundry.org:10001 [2022-04-13T12:55:15.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:55:16.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:55:16.233Z] Configure a credential helper to remove this warning. See [2022-04-13T12:55:16.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:55:16.233Z] [2022-04-13T12:55:16.233Z] Login Succeeded [2022-04-13T12:55:16.233Z] nexus3.edgexfoundry.org:10002 [2022-04-13T12:55:16.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:55:16.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:55:16.836Z] Configure a credential helper to remove this warning. See [2022-04-13T12:55:16.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:55:16.836Z] [2022-04-13T12:55:16.836Z] Login Succeeded [2022-04-13T12:55:16.836Z] nexus3.edgexfoundry.org:10003 [2022-04-13T12:55:17.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:55:17.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:55:17.397Z] Configure a credential helper to remove this warning. See [2022-04-13T12:55:17.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:55:17.397Z] [2022-04-13T12:55:17.397Z] Login Succeeded [2022-04-13T12:55:17.397Z] nexus3.edgexfoundry.org:10004 [2022-04-13T12:55:17.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:55:17.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:55:17.950Z] Configure a credential helper to remove this warning. See [2022-04-13T12:55:17.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:55:17.950Z] [2022-04-13T12:55:17.950Z] Login Succeeded [2022-04-13T12:55:17.950Z] docker.io [2022-04-13T12:55:18.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-13T12:55:18.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-13T12:55:18.496Z] Configure a credential helper to remove this warning. See [2022-04-13T12:55:18.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-13T12:55:18.496Z] [2022-04-13T12:55:18.496Z] Login Succeeded [2022-04-13T12:55:18.496Z] ---> docker-login.sh ends [Pipeline] } [2022-04-13T12:55:18.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-13T12:55:19.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-13T12:55:19.023Z] ========================================================= [2022-04-13T12:55:19.023Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-13T12:55:19.023Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:55:19.368Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-13T12:55:19.648Z] Sending build context to Docker daemon 3.044MB [2022-04-13T12:55:19.649Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T12:55:19.649Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-13T12:55:19.943Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-13T12:55:19.943Z] 9b3977197b4f: Pulling fs layer [2022-04-13T12:55:19.943Z] 1a89e8eeedd5: Pulling fs layer [2022-04-13T12:55:19.943Z] 94645a83ff95: Pulling fs layer [2022-04-13T12:55:19.943Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-13T12:55:19.943Z] 0c92f367c5e7: Pulling fs layer [2022-04-13T12:55:19.943Z] f7c0051592d6: Pulling fs layer [2022-04-13T12:55:19.943Z] a227ed2f7395: Pulling fs layer [2022-04-13T12:55:19.943Z] 7b1c46037f91: Pulling fs layer [2022-04-13T12:55:19.943Z] 3f3a8bcf1eab: Waiting [2022-04-13T12:55:19.943Z] 0c92f367c5e7: Waiting [2022-04-13T12:55:19.943Z] f7c0051592d6: Waiting [2022-04-13T12:55:19.943Z] a227ed2f7395: Waiting [2022-04-13T12:55:19.943Z] 7b1c46037f91: Waiting [2022-04-13T12:55:19.943Z] 94645a83ff95: Verifying Checksum [2022-04-13T12:55:19.943Z] 94645a83ff95: Download complete [2022-04-13T12:55:19.943Z] 1a89e8eeedd5: Verifying Checksum [2022-04-13T12:55:19.943Z] 1a89e8eeedd5: Download complete [2022-04-13T12:55:19.943Z] 0c92f367c5e7: Verifying Checksum [2022-04-13T12:55:19.943Z] 0c92f367c5e7: Download complete [2022-04-13T12:55:19.943Z] f7c0051592d6: Verifying Checksum [2022-04-13T12:55:19.943Z] f7c0051592d6: Download complete [2022-04-13T12:55:19.943Z] 9b3977197b4f: Verifying Checksum [2022-04-13T12:55:19.943Z] 9b3977197b4f: Download complete [2022-04-13T12:55:19.943Z] a227ed2f7395: Verifying Checksum [2022-04-13T12:55:19.943Z] a227ed2f7395: Download complete [2022-04-13T12:55:20.956Z] 9b3977197b4f: Pull complete [2022-04-13T12:55:21.236Z] 1a89e8eeedd5: Pull complete [2022-04-13T12:55:21.515Z] 94645a83ff95: Pull complete [2022-04-13T12:55:22.116Z] 7b1c46037f91: Verifying Checksum [2022-04-13T12:55:22.116Z] 7b1c46037f91: Download complete [2022-04-13T12:55:22.715Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-13T12:55:22.715Z] 3f3a8bcf1eab: Download complete [2022-04-13T12:55:35.130Z] 3f3a8bcf1eab: Pull complete [2022-04-13T12:55:35.130Z] 0c92f367c5e7: Pull complete [2022-04-13T12:55:35.130Z] f7c0051592d6: Pull complete [2022-04-13T12:55:35.408Z] a227ed2f7395: Pull complete [2022-04-13T12:55:42.146Z] 7b1c46037f91: Pull complete [2022-04-13T12:55:42.146Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-13T12:55:42.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-13T12:55:42.146Z] ---> f79e39bc4007 [2022-04-13T12:55:42.146Z] Step 3/10 : ARG MAKE='make build' [2022-04-13T12:55:43.145Z] ---> Running in ba3fb4233256 [2022-04-13T12:55:43.423Z] Removing intermediate container ba3fb4233256 [2022-04-13T12:55:43.423Z] ---> 2f585c932f24 [2022-04-13T12:55:43.423Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T12:55:43.423Z] ---> Running in ed3c00c6f6d2 [2022-04-13T12:55:45.412Z] Removing intermediate container ed3c00c6f6d2 [2022-04-13T12:55:45.412Z] ---> b1f493d8feee [2022-04-13T12:55:45.412Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T12:55:45.412Z] ---> Running in 33f57a4a7fc2 [2022-04-13T12:55:46.395Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T12:55:47.377Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T12:55:47.975Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-13T12:55:47.975Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-13T12:55:48.250Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-13T12:55:48.525Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-13T12:55:48.525Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-13T12:55:48.525Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-13T12:55:48.797Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-13T12:55:48.797Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-13T12:55:48.797Z] Executing busybox-1.34.1-r3.trigger [2022-04-13T12:55:49.070Z] OK: 226 MiB in 60 packages [2022-04-13T12:55:50.062Z] Removing intermediate container 33f57a4a7fc2 [2022-04-13T12:55:50.062Z] ---> df910675895c [2022-04-13T12:55:50.062Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-13T12:55:50.062Z] ---> Running in e7ac687116ac [2022-04-13T12:55:52.057Z] Removing intermediate container e7ac687116ac [2022-04-13T12:55:52.057Z] ---> 4733eb6d59ef [2022-04-13T12:55:52.057Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-13T12:55:53.502Z] ---> 2eb7b29b56bd [2022-04-13T12:55:53.502Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T12:55:53.502Z] ---> Running in 16454f6e4559 [2022-04-13T12:56:40.539Z] Removing intermediate container 16454f6e4559 [2022-04-13T12:56:40.539Z] ---> c39d90750671 [2022-04-13T12:56:40.539Z] Step 9/10 : COPY . . [2022-04-13T12:56:40.539Z] ---> e93930bb4b92 [2022-04-13T12:56:40.539Z] Step 10/10 : RUN ${MAKE} [2022-04-13T12:56:40.539Z] ---> Running in ece116c8cb90 [2022-04-13T12:56:41.137Z] noop [2022-04-13T12:56:42.132Z] Removing intermediate container ece116c8cb90 [2022-04-13T12:56:42.132Z] ---> 993d6e35c2fc [2022-04-13T12:56:42.132Z] Successfully built 993d6e35c2fc [2022-04-13T12:56:42.132Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:56:42.492Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T12:56:42.492Z] . [Pipeline] withDockerContainer [2022-04-13T12:56:42.744Z] prd-ubuntu20.04-docker-arm64-4c-16g-20806 does not seem to be running inside a container [2022-04-13T12:56:42.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-13T12:56:44.234Z] $ docker top 3688cdf4b317d8a1714ac559014ba520b4a4d97775bedebad1fbd931e7e9d5ee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T12:56:45.178Z] + go version [2022-04-13T12:56:45.178Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-13T12:56:45.211Z] $ docker stop --time=1 3688cdf4b317d8a1714ac559014ba520b4a4d97775bedebad1fbd931e7e9d5ee [2022-04-13T12:56:46.869Z] $ docker rm -f 3688cdf4b317d8a1714ac559014ba520b4a4d97775bedebad1fbd931e7e9d5ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:56:47.495Z] + docker inspect -f . ci-base-image-arm64 [2022-04-13T12:56:47.495Z] . [Pipeline] withDockerContainer [2022-04-13T12:56:47.727Z] prd-ubuntu20.04-docker-arm64-4c-16g-20806 does not seem to be running inside a container [2022-04-13T12:56:47.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-13T12:56:49.152Z] $ docker top f834e339150a79f23a6109b2904e188aa764931d1d7f81c82b4b7b98c2c3fc12 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-13T12:56:50.071Z] + make test [2022-04-13T12:56:50.071Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-13T12:56:52.060Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-13T12:58:13.945Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-13T12:58:13.945Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 46.4% of statements [2022-04-13T12:58:13.945Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-13T12:58:13.945Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-13T12:58:40.744Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-13T12:58:40.744Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-13T12:58:40.744Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-13T12:58:40.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-13T12:58:40.791Z] $ docker stop --time=1 f834e339150a79f23a6109b2904e188aa764931d1d7f81c82b4b7b98c2c3fc12 [2022-04-13T12:58:42.545Z] $ docker rm -f f834e339150a79f23a6109b2904e188aa764931d1d7f81c82b4b7b98c2c3fc12 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-13T12:58:43.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-13T12:58:43.508Z] Warning: overwriting stash ‘coverage-report’ [2022-04-13T12:58:43.986Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-13T12:58:44.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-13T12:58:44.696Z] + ls -al . [2022-04-13T12:58:44.696Z] total 196 [2022-04-13T12:58:44.696Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 12:58 . [2022-04-13T12:58:44.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:54 .. [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 12:54 .dockerignore [2022-04-13T12:58:44.696Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 12:54 .git [2022-04-13T12:58:44.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:54 .github [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 12:54 .gitignore [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 12:54 .golangci.yml [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 9244 Apr 13 12:54 Attribution.txt [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 6038 Apr 13 12:54 CHANGELOG.md [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 1546 Apr 13 12:54 Dockerfile [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 12:54 GOVERNANCE.md [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 12:54 Jenkinsfile [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 12:54 LICENSE [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 1905 Apr 13 12:54 Makefile [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 12:54 OWNERS.md [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 3680 Apr 13 12:54 README.md [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 12:52 VERSION [2022-04-13T12:58:44.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:54 bin [2022-04-13T12:58:44.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:54 cmd [2022-04-13T12:58:44.696Z] -rw-r--r-- 1 jenkins jenkins 24065 Apr 13 12:58 coverage.out [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 3306 Apr 13 12:54 go.mod [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 54457 Apr 13 12:54 go.sum [2022-04-13T12:58:44.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:54 internal [2022-04-13T12:58:44.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:54 simulator [2022-04-13T12:58:44.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:54 snap [2022-04-13T12:58:44.696Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 12:54 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-13T12:58:45.034Z] + 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=35c2cbb153bea3d1c2c57383c7f9098b84294026 --label arch=arm64 --label version=0.0.0 . [2022-04-13T12:58:45.307Z] Sending build context to Docker daemon 3.069MB [2022-04-13T12:58:45.307Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-04-13T12:58:45.307Z] Step 2/23 : FROM ${BASE} AS builder [2022-04-13T12:58:45.307Z] ---> 993d6e35c2fc [2022-04-13T12:58:45.307Z] Step 3/23 : ARG MAKE='make build' [2022-04-13T12:58:45.579Z] ---> Running in 795ad7049ea2 [2022-04-13T12:58:45.850Z] Removing intermediate container 795ad7049ea2 [2022-04-13T12:58:45.850Z] ---> 1db7a7c35b8c [2022-04-13T12:58:45.850Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T12:58:45.850Z] ---> Running in 688d0cc32e65 [2022-04-13T12:58:47.318Z] Removing intermediate container 688d0cc32e65 [2022-04-13T12:58:47.318Z] ---> fa1ad956c3f3 [2022-04-13T12:58:47.318Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-13T12:58:47.593Z] ---> Running in f5617082c692 [2022-04-13T12:58:48.568Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-13T12:58:49.542Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-13T12:58:50.135Z] OK: 226 MiB in 60 packages [2022-04-13T12:58:51.122Z] Removing intermediate container f5617082c692 [2022-04-13T12:58:51.122Z] ---> dc7b956a11ef [2022-04-13T12:58:51.122Z] Step 6/23 : WORKDIR /device-modbus-go [2022-04-13T12:58:51.122Z] ---> Running in 123df13ec56d [2022-04-13T12:58:51.393Z] Removing intermediate container 123df13ec56d [2022-04-13T12:58:51.393Z] ---> b9e9877d90aa [2022-04-13T12:58:51.393Z] Step 7/23 : COPY go.mod vendor* ./ [2022-04-13T12:58:51.989Z] ---> ee8c16edb0d5 [2022-04-13T12:58:51.989Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-13T12:58:51.989Z] ---> Running in 677607b59415 [2022-04-13T12:58:53.954Z] Removing intermediate container 677607b59415 [2022-04-13T12:58:53.954Z] ---> ac9f459477a3 [2022-04-13T12:58:53.954Z] Step 9/23 : COPY . . [2022-04-13T12:58:54.548Z] ---> a19ce265841b [2022-04-13T12:58:54.548Z] Step 10/23 : RUN ${MAKE} [2022-04-13T12:58:54.825Z] ---> Running in 8ab10ecf5a8e [2022-04-13T12:58:55.822Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-04-13T13:01:02.700Z] Removing intermediate container 8ab10ecf5a8e [2022-04-13T13:01:02.700Z] ---> 7cb65af58a88 [2022-04-13T13:01:02.700Z] Step 11/23 : FROM alpine:3.14 [2022-04-13T13:01:02.700Z] 3.14: Pulling from library/alpine [2022-04-13T13:01:02.700Z] 455c02918c45: Pulling fs layer [2022-04-13T13:01:02.700Z] 455c02918c45: Verifying Checksum [2022-04-13T13:01:02.700Z] 455c02918c45: Download complete [2022-04-13T13:01:02.700Z] 455c02918c45: Pull complete [2022-04-13T13:01:02.700Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-13T13:01:02.700Z] Status: Downloaded newer image for alpine:3.14 [2022-04-13T13:01:02.700Z] ---> ac73e934f311 [2022-04-13T13:01:02.700Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-04-13T13:01:02.700Z] ---> Running in 96d9966d2bd7 [2022-04-13T13:01:02.700Z] Removing intermediate container 96d9966d2bd7 [2022-04-13T13:01:02.700Z] ---> 78284d66d392 [2022-04-13T13:01:02.700Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-13T13:01:02.700Z] ---> Running in 632836d34bc0 [2022-04-13T13:01:02.700Z] Removing intermediate container 632836d34bc0 [2022-04-13T13:01:02.700Z] ---> ef7aa6a5b4c3 [2022-04-13T13:01:02.700Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-13T13:01:02.700Z] ---> Running in fd091ab5d569 [2022-04-13T13:01:02.700Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-13T13:01:02.700Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-13T13:01:03.297Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-13T13:01:03.570Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-13T13:01:03.570Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-13T13:01:03.570Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-13T13:01:03.844Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-13T13:01:03.844Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-13T13:01:04.119Z] Executing busybox-1.33.1-r7.trigger [2022-04-13T13:01:04.119Z] OK: 8 MiB in 20 packages [2022-04-13T13:01:05.127Z] Removing intermediate container fd091ab5d569 [2022-04-13T13:01:05.127Z] ---> c8cc7778c3c7 [2022-04-13T13:01:05.127Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-04-13T13:01:06.570Z] ---> ec0ed318ec11 [2022-04-13T13:01:06.570Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-04-13T13:01:07.171Z] ---> c35f727a96bf [2022-04-13T13:01:07.171Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-04-13T13:01:07.767Z] ---> 5e78a621355b [2022-04-13T13:01:07.767Z] Step 18/23 : EXPOSE 59901 [2022-04-13T13:01:07.767Z] ---> Running in f506a39a4a02 [2022-04-13T13:01:08.050Z] Removing intermediate container f506a39a4a02 [2022-04-13T13:01:08.050Z] ---> 3218bdd9a348 [2022-04-13T13:01:08.050Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-04-13T13:01:08.328Z] ---> Running in 5b2b4a549ca7 [2022-04-13T13:01:08.604Z] Removing intermediate container 5b2b4a549ca7 [2022-04-13T13:01:08.604Z] ---> 6b41d2b0d60f [2022-04-13T13:01:08.604Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-13T13:01:08.604Z] ---> Running in 9434e9893315 [2022-04-13T13:01:08.887Z] Removing intermediate container 9434e9893315 [2022-04-13T13:01:08.887Z] ---> d01ddfb48203 [2022-04-13T13:01:08.887Z] Step 21/23 : LABEL arch=arm64 [2022-04-13T13:01:08.887Z] ---> Running in 2c19f8146cdf [2022-04-13T13:01:09.492Z] Removing intermediate container 2c19f8146cdf [2022-04-13T13:01:09.492Z] ---> 76dbabbcda79 [2022-04-13T13:01:09.492Z] Step 22/23 : LABEL git_sha=35c2cbb153bea3d1c2c57383c7f9098b84294026 [2022-04-13T13:01:09.492Z] ---> Running in 163542a585de [2022-04-13T13:01:09.768Z] Removing intermediate container 163542a585de [2022-04-13T13:01:09.768Z] ---> 881da368d708 [2022-04-13T13:01:09.768Z] Step 23/23 : LABEL version=0.0.0 [2022-04-13T13:01:09.768Z] ---> Running in 8eb3ffb87260 [2022-04-13T13:01:10.043Z] Removing intermediate container 8eb3ffb87260 [2022-04-13T13:01:10.043Z] ---> 4f242700c9b9 [2022-04-13T13:01:10.043Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-13T13:01:10.043Z] Successfully built 4f242700c9b9 [2022-04-13T13:01:10.043Z] Successfully tagged device-modbus-arm64:latest [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] sh [2022-04-13T13:01:10.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T13:01:10.491Z] [2022-04-13T13:01:10.491Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-13T13:01:10.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T13:01:11.126Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-13T13:01:11.126Z] 8998bd30e6a1: Pulling fs layer [2022-04-13T13:01:11.126Z] 04944245beec: Pulling fs layer [2022-04-13T13:01:11.126Z] 699f458cf7ca: Pulling fs layer [2022-04-13T13:01:11.126Z] 765212b225bb: Pulling fs layer [2022-04-13T13:01:11.126Z] f23df028b6ca: Pulling fs layer [2022-04-13T13:01:11.126Z] d65c8cfc05b1: Pulling fs layer [2022-04-13T13:01:11.126Z] 2437ff75d9bd: Pulling fs layer [2022-04-13T13:01:11.126Z] 765212b225bb: Waiting [2022-04-13T13:01:11.126Z] f23df028b6ca: Waiting [2022-04-13T13:01:11.126Z] d65c8cfc05b1: Waiting [2022-04-13T13:01:11.126Z] 2437ff75d9bd: Waiting [2022-04-13T13:01:11.126Z] 04944245beec: Verifying Checksum [2022-04-13T13:01:11.126Z] 04944245beec: Download complete [2022-04-13T13:01:11.126Z] 765212b225bb: Verifying Checksum [2022-04-13T13:01:11.126Z] 765212b225bb: Download complete [2022-04-13T13:01:11.126Z] f23df028b6ca: Verifying Checksum [2022-04-13T13:01:11.126Z] f23df028b6ca: Download complete [2022-04-13T13:01:11.126Z] d65c8cfc05b1: Verifying Checksum [2022-04-13T13:01:11.126Z] d65c8cfc05b1: Download complete [2022-04-13T13:01:11.401Z] 699f458cf7ca: Verifying Checksum [2022-04-13T13:01:11.401Z] 699f458cf7ca: Download complete [2022-04-13T13:01:11.681Z] 8998bd30e6a1: Verifying Checksum [2022-04-13T13:01:11.681Z] 8998bd30e6a1: Download complete [2022-04-13T13:01:14.316Z] 2437ff75d9bd: Verifying Checksum [2022-04-13T13:01:14.316Z] 2437ff75d9bd: Download complete [2022-04-13T13:01:16.308Z] 8998bd30e6a1: Pull complete [2022-04-13T13:01:16.583Z] 04944245beec: Pull complete [2022-04-13T13:01:18.023Z] 699f458cf7ca: Pull complete [2022-04-13T13:01:18.297Z] 765212b225bb: Pull complete [2022-04-13T13:01:19.285Z] f23df028b6ca: Pull complete [2022-04-13T13:01:19.285Z] d65c8cfc05b1: Pull complete [2022-04-13T13:01:34.383Z] 2437ff75d9bd: Pull complete [2022-04-13T13:01:34.383Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-13T13:01:34.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-13T13:01:34.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-13T13:01:34.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-20806 does not seem to be running inside a container [2022-04-13T13:01:34.754Z] $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-13T13:01:37.515Z] $ docker top 67c16f176ec1551f93bb7cd52323e6dcbb098218a28be10d84c543add8e6c080 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:01:38.454Z] ---> job-cost.sh [2022-04-13T13:01:38.454Z] lf-activate-venv: SKIPPING [2022-04-13T13:01:38.454Z] INFO: No Stack... [2022-04-13T13:01:39.051Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-13T13:01:40.031Z] INFO: Archiving Costs [Pipeline] sh [2022-04-13T13:01:40.700Z] + cat /w/workspace/device-modbus-go/3/archives/cost.csv [2022-04-13T13:01:40.700Z] + cut -d, -f6 [Pipeline] lock [2022-04-13T13:01:40.772Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] [2022-04-13T13:01:40.778Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] did not exist. Created. [2022-04-13T13:01:40.778Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-13T13:01:41.458Z] /w/workspace/device-modbus-go/3@tmp/durable-87c93e69/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-13T13:01:42.150Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-13T13:01:42.179Z] Warning: overwriting stash ‘stack-cost’ [2022-04-13T13:01:42.232Z] Stashed 1 file(s) [Pipeline] } [2022-04-13T13:01:42.252Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-13T13:01:42.283Z] $ docker stop --time=1 67c16f176ec1551f93bb7cd52323e6dcbb098218a28be10d84c543add8e6c080 [2022-04-13T13:01:43.804Z] $ docker rm -f 67c16f176ec1551f93bb7cd52323e6dcbb098218a28be10d84c543add8e6c080 [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-04-13T13:01:44.284Z] provisioning config files... [2022-04-13T13:01:44.292Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/config5137523201057913754tmp [Pipeline] { [Pipeline] sh [2022-04-13T13:01:44.599Z] + set +x [2022-04-13T13:01:44.599Z] + curl -s https://codecov.io/bash [2022-04-13T13:01:44.599Z] + bash -s -- [2022-04-13T13:01:44.599Z] [2022-04-13T13:01:44.599Z] _____ _ [2022-04-13T13:01:44.599Z] / ____| | | [2022-04-13T13:01:44.599Z] | | ___ __| | ___ ___ _____ __ [2022-04-13T13:01:44.599Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-13T13:01:44.599Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-13T13:01:44.599Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-13T13:01:44.599Z] Bash-1.0.6 [2022-04-13T13:01:44.599Z] [2022-04-13T13:01:44.599Z] [2022-04-13T13:01:44.599Z] ==> git version 2.25.1 found [2022-04-13T13:01:44.599Z] ==> 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-04-13T13:01:44.599Z] Release-Date: 2020-01-08 [2022-04-13T13:01:44.599Z] 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-04-13T13:01:44.599Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-13T13:01:44.599Z] ==> Jenkins CI detected. [2022-04-13T13:01:44.599Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-329 [2022-04-13T13:01:44.599Z] project root: . [2022-04-13T13:01:44.599Z] --> token set from env [2022-04-13T13:01:44.599Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-13T13:01:44.599Z] ==> Running gcov in . (disable via -X gcov) [2022-04-13T13:01:44.599Z] ==> Python coveragepy not found [2022-04-13T13:01:44.599Z] ==> Searching for coverage reports in: [2022-04-13T13:01:44.599Z] + . [2022-04-13T13:01:44.599Z] -> Found 1 reports [2022-04-13T13:01:44.599Z] ==> Detecting git/mercurial file structure [2022-04-13T13:01:44.599Z] ==> Reading reports [2022-04-13T13:01:44.599Z] + ./coverage.out bytes=24065 [2022-04-13T13:01:44.599Z] ==> Appending adjustments [2022-04-13T13:01:44.599Z] https://docs.codecov.io/docs/fixing-reports [2022-04-13T13:01:44.938Z] + Found adjustments [2022-04-13T13:01:44.938Z] ==> Gzipping contents [2022-04-13T13:01:44.938Z] 4.0K /tmp/codecov.mrbSMI.gz [2022-04-13T13:01:44.938Z] ==> Uploading reports [2022-04-13T13:01:44.938Z] url: https://codecov.io [2022-04-13T13:01:44.938Z] query: branch=PR-329&commit=7dcc900f76059ffe1ed632fc8dff27e130593aae&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-329%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=329&job=&cmd_args= [2022-04-13T13:01:44.938Z] -> Pinging Codecov [2022-04-13T13:01:44.938Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-329&commit=7dcc900f76059ffe1ed632fc8dff27e130593aae&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-329%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=329&job=&cmd_args= [2022-04-13T13:01:45.254Z] -> Uploading to [2022-04-13T13:01:45.255Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-13/55DBCA73C666E3227836607328DD7E49/7dcc900f76059ffe1ed632fc8dff27e130593aae/fc95341f-eb64-4274-b97e-fc8c9e22b8c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T130144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08728212c114228aeccdf0f6106943d6d60e4f9f0e087c91c79950cfbbb4f075 [2022-04-13T13:01:45.255Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-13T13:01:45.255Z] Dload Upload Total Spent Left Speed [2022-04-13T13:01:45.255Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3997 0 0 100 3997 0 18004 --:--:-- --:--:-- --:--:-- 18004 [2022-04-13T13:01:45.255Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/7dcc900f76059ffe1ed632fc8dff27e130593aae [Pipeline] } [2022-04-13T13:01:45.262Z] 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-04-13T13:01:46.078Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-329/archives ] [2022-04-13T13:01:46.078Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-329/archives [2022-04-13T13:01:46.078Z] total 16 [2022-04-13T13:01:46.078Z] drwxr-xr-x 3 root root 4096 Apr 13 12:54 . [2022-04-13T13:01:46.078Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 12:54 .. [2022-04-13T13:01:46.078Z] drwxr-xr-x 2 root root 4096 Apr 13 12:54 cost [2022-04-13T13:01:46.078Z] -rw-r--r-- 1 root root 87 Apr 13 12:54 cost.csv [2022-04-13T13:01:46.078Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-329/archives [2022-04-13T13:01:46.078Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-329/archives [2022-04-13T13:01:46.078Z] total 16 [2022-04-13T13:01:46.078Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 12:54 . [2022-04-13T13:01:46.078Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 12:54 .. [2022-04-13T13:01:46.078Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 12:54 cost [2022-04-13T13:01:46.078Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 13 12:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:01:46.373Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:01:47.245Z] ---> package-listing.sh [2022-04-13T13:01:47.245Z] ++ facter osfamily [2022-04-13T13:01:47.245Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-13T13:01:47.506Z] + OS_FAMILY=debian [2022-04-13T13:01:47.506Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-329 [2022-04-13T13:01:47.506Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-13T13:01:47.506Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-13T13:01:47.506Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-13T13:01:47.506Z] + PACKAGES=/tmp/packages_start.txt [2022-04-13T13:01:47.506Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-329 ']' [2022-04-13T13:01:47.506Z] + PACKAGES=/tmp/packages_end.txt [2022-04-13T13:01:47.506Z] + case "${OS_FAMILY}" in [2022-04-13T13:01:47.506Z] + dpkg -l [2022-04-13T13:01:47.506Z] + grep '^ii' [2022-04-13T13:01:47.506Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-13T13:01:47.506Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-13T13:01:47.506Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-13T13:01:47.506Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-329 ']' [2022-04-13T13:01:47.506Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-329/archives/ [2022-04-13T13:01:47.506Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-329/archives/ [Pipeline] echo [2022-04-13T13:01:47.519Z] 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-329/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-13T13:01:47.801Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-13T13:01:48.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-13T13:01:48.101Z] . [Pipeline] withDockerContainer [2022-04-13T13:01:48.166Z] prd-ubuntu20.04-docker-8c-8g-20804 does not seem to be running inside a container [2022-04-13T13:01:48.204Z] $ 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-329/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-329 -v /w/workspace/xfoundry_device-modbus-go_PR-329:/w/workspace/xfoundry_device-modbus-go_PR-329:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-329@tmp:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-13T13:01:48.482Z] $ docker top c13d20cd693c4591ca75f176b8555958390f91a7a8d0da90a9fde77bf34ad86d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-13T13:01:48.842Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-13T13:01:49.134Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-13T13:01:49.428Z] + ls /var/log/sa-host [2022-04-13T13:01:49.428Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-13T13:01:49.643Z] provisioning config files... [2022-04-13T13:01:49.652Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/config1726778462548929365tmp [Pipeline] { [Pipeline] echo [2022-04-13T13:01:49.665Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:01:49.951Z] ---> create-netrc.sh [Pipeline] } [2022-04-13T13:01:49.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:01:50.304Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-13T13:01:50.317Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:01:50.606Z] ---> sudo-logs.sh [2022-04-13T13:01:50.606Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-13T13:01:50.640Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:01:50.930Z] ---> job-cost.sh [2022-04-13T13:01:50.930Z] lf-activate-venv: SKIPPING [2022-04-13T13:01:50.930Z] DEBUG: total: 0.2199999988079071 [2022-04-13T13:01:50.930Z] INFO: Retrieving Stack Cost... [2022-04-13T13:01:51.503Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-13T13:01:52.072Z] INFO: Archiving Costs [Pipeline] echo [2022-04-13T13:01:52.086Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-13T13:01:52.370Z] ---> logs-deploy.sh [2022-04-13T13:01:52.370Z] lf-activate-venv: SKIPPING [2022-04-13T13:01:52.370Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-329/3 [2022-04-13T13:01:52.370Z] INFO: archiving workspace using pattern(s): [2022-04-13T13:01:53.311Z] Archives upload complete. [2022-04-13T13:01:53.311Z] INFO: archiving logs to Nexus