Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of wlgardner for edgexfoundry/device-modbus-go Loading trusted files from base branch master at 6e20a1d0031e874d4eec2dbc8984745391b205bd rather than 205d20470621f6877b30549a0d87a32e67fc54e2 Obtained Jenkinsfile from 6e20a1d0031e874d4eec2dbc8984745391b205bd Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go 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: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19680 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-171 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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 > 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/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6e20a1d0031e874d4eec2dbc8984745391b205bd into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 Merge succeeded, producing ae276ccb30f452fbbb93db8b357b40a4b6ae1a10 Checking out Revision ae276ccb30f452fbbb93db8b357b40a4b6ae1a10 (PR-171) > git config core.sparsecheckout # timeout=10 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # 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 6e20a1d0031e874d4eec2dbc8984745391b205bd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae276ccb30f452fbbb93db8b357b40a4b6ae1a10 # timeout=10 Commit message: "Merge commit '6e20a1d0031e874d4eec2dbc8984745391b205bd' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk da8268eee94117db59fbc63dc44199273da78bac # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-12T00:54:08.219Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-12T00:54:08.513Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-12T00:54:08.636Z] ========================================================= [2021-01-12T00:54:08.636Z] EdgeX Global Pipelines Version Info [2021-01-12T00:54:08.636Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-12T00:54:10.156Z] ------------------- [2021-01-12T00:54:10.156Z] stable info: [2021-01-12T00:54:10.156Z] ------------------- [2021-01-12T00:54:10.156Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-12T00:54:10.156Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-12T00:54:10.156Z] Message: update stable to v1.0.173 [2021-01-12T00:54:11.564Z] ------------------- [2021-01-12T00:54:11.564Z] experimental info: [2021-01-12T00:54:11.564Z] ------------------- [2021-01-12T00:54:11.564Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-12T00:54:11.564Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2021-01-12T00:54:11.564Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-12T00:54:11.901Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-01-12T00:54:12.000Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-01-12T00:54:12.159Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-12T00:54:12.280Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-12T00:54:12.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-12T00:54:12.479Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-12T00:54:12.576Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-12T00:54:12.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-12T00:54:12.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-01-12T00:54:12.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-12T00:54:12.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-12T00:54:13.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2021-01-12T00:54:13.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-12T00:54:13.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-12T00:54:13.317Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-12T00:54:13.405Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-01-12T00:54:13.498Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T00:54:13.595Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-12T00:54:13.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-12T00:54:13.796Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-01-12T00:54:13.903Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-01-12T00:54:14.007Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-01-12T00:54:14.152Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-12T00:54:14.263Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-12T00:54:14.374Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-12T00:54:14.463Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-12T00:54:14.546Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-12T00:54:14.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2021-01-12T00:54:14.739Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2021-01-12T00:54:14.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2021-01-12T00:54:14.905Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae276ccb30f452fbbb93db8b357b40a4b6ae1a10 [Pipeline] echo [2021-01-12T00:54:14.993Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae276cc [Pipeline] echo [2021-01-12T00:54:15.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T00:54:15.257Z] provisioning config files... [2021-01-12T00:54:15.294Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config5305419893255942667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T00:54:15.677Z] ---> docker-login.sh [2021-01-12T00:54:15.677Z] nexus3.edgexfoundry.org:10001 [2021-01-12T00:54:15.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:54:16.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:54:16.211Z] Configure a credential helper to remove this warning. See [2021-01-12T00:54:16.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:54:16.211Z] [2021-01-12T00:54:16.211Z] Login Succeeded [2021-01-12T00:54:16.211Z] nexus3.edgexfoundry.org:10002 [2021-01-12T00:54:16.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:54:16.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:54:16.475Z] Configure a credential helper to remove this warning. See [2021-01-12T00:54:16.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:54:16.475Z] [2021-01-12T00:54:16.475Z] Login Succeeded [2021-01-12T00:54:16.475Z] nexus3.edgexfoundry.org:10003 [2021-01-12T00:54:16.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:54:16.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:54:16.476Z] Configure a credential helper to remove this warning. See [2021-01-12T00:54:16.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:54:16.476Z] [2021-01-12T00:54:16.476Z] Login Succeeded [2021-01-12T00:54:16.476Z] nexus3.edgexfoundry.org:10004 [2021-01-12T00:54:16.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:54:16.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:54:16.744Z] Configure a credential helper to remove this warning. See [2021-01-12T00:54:16.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:54:16.744Z] [2021-01-12T00:54:16.744Z] Login Succeeded [2021-01-12T00:54:16.744Z] docker.io [2021-01-12T00:54:17.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:54:17.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:54:17.009Z] Configure a credential helper to remove this warning. See [2021-01-12T00:54:17.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:54:17.009Z] [2021-01-12T00:54:17.009Z] Login Succeeded [2021-01-12T00:54:17.009Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T00:54:17.020Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T00:54:17.950Z] + git log --format=format:%s -1 ae276ccb30f452fbbb93db8b357b40a4b6ae1a10 [Pipeline] echo [2021-01-12T00:54:18.025Z] GIT_COMMIT: ae276ccb30f452fbbb93db8b357b40a4b6ae1a10, Commit Message: Merge commit '6e20a1d0031e874d4eec2dbc8984745391b205bd' into HEAD [Pipeline] echo [2021-01-12T00:54:18.080Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-12T00:54:18.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T00:54:18.701Z] [2021-01-12T00:54:18.701Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T00:54:19.075Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T00:54:19.075Z] latest: Pulling from edgex-devops/git-semver [2021-01-12T00:54:19.075Z] 31603596830f: Pulling fs layer [2021-01-12T00:54:19.075Z] 2a8b12db71e7: Pulling fs layer [2021-01-12T00:54:19.075Z] 6ca5941a6612: Pulling fs layer [2021-01-12T00:54:19.075Z] ecc8261a40a4: Pulling fs layer [2021-01-12T00:54:19.075Z] ecc8261a40a4: Waiting [2021-01-12T00:54:19.075Z] 2a8b12db71e7: Verifying Checksum [2021-01-12T00:54:19.075Z] 2a8b12db71e7: Download complete [2021-01-12T00:54:19.075Z] 31603596830f: Verifying Checksum [2021-01-12T00:54:19.075Z] 31603596830f: Download complete [2021-01-12T00:54:19.347Z] ecc8261a40a4: Verifying Checksum [2021-01-12T00:54:19.347Z] ecc8261a40a4: Download complete [2021-01-12T00:54:19.347Z] 6ca5941a6612: Verifying Checksum [2021-01-12T00:54:19.347Z] 6ca5941a6612: Download complete [2021-01-12T00:54:19.617Z] 31603596830f: Pull complete [2021-01-12T00:54:19.617Z] 2a8b12db71e7: Pull complete [2021-01-12T00:54:20.587Z] 6ca5941a6612: Pull complete [2021-01-12T00:54:20.852Z] ecc8261a40a4: Pull complete [2021-01-12T00:54:20.852Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-12T00:54:20.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-12T00:54:20.852Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-12T00:54:20.991Z] prd-centos7-docker-4c-2g-19680 does not seem to be running inside a container [2021-01-12T00:54:21.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@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 [2021-01-12T00:54:23.588Z] $ docker top 9c72bee678a89f9a29575c1634ada1c9f9403009255a7f2f6690372880af0467 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-12T00:54:23.901Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T00:54:23.901Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T00:54:24.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T00:54:24.167Z] $ docker exec 9c72bee678a89f9a29575c1634ada1c9f9403009255a7f2f6690372880af0467 ssh-agent [2021-01-12T00:54:24.384Z] SSH_AUTH_SOCK=/tmp/ssh-Meimx6kz2TJS/agent.12 [2021-01-12T00:54:24.384Z] SSH_AGENT_PID=18 [2021-01-12T00:54:24.396Z] Running ssh-add (command line suppressed) [2021-01-12T00:54:24.536Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_3501473435873874881.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_3501473435873874881.key) [2021-01-12T00:54:24.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T00:54:24.925Z] + git tag --points-at HEAD [Pipeline] } [2021-01-12T00:54:24.959Z] $ docker exec --env ******** --env ******** 9c72bee678a89f9a29575c1634ada1c9f9403009255a7f2f6690372880af0467 ssh-agent -k [2021-01-12T00:54:25.079Z] unset SSH_AUTH_SOCK; [2021-01-12T00:54:25.079Z] unset SSH_AGENT_PID; [2021-01-12T00:54:25.079Z] echo Agent pid 18 killed; [2021-01-12T00:54:25.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-12T00:54:25.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-12T00:54:25.303Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-12T00:54:25.487Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-12T00:54:25.491Z] $ docker exec 9c72bee678a89f9a29575c1634ada1c9f9403009255a7f2f6690372880af0467 ssh-agent [2021-01-12T00:54:25.663Z] SSH_AUTH_SOCK=/tmp/ssh-hBIRvN9Zsigo/agent.47 [2021-01-12T00:54:25.663Z] SSH_AGENT_PID=53 [2021-01-12T00:54:25.670Z] Running ssh-add (command line suppressed) [2021-01-12T00:54:25.802Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_1656802254543738728.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_1656802254543738728.key) [2021-01-12T00:54:25.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-12T00:54:26.204Z] + git semver init [2021-01-12T00:54:26.204Z] # -> Open(): unable to determine branch for HEAD [2021-01-12T00:54:26.204Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git [2021-01-12T00:54:26.204Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 [2021-01-12T00:54:26.204Z] # $SEMVER_REMOTE_NAME = origin [2021-01-12T00:54:26.204Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-12T00:54:26.204Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-12T00:54:26.204Z] # $SEMVER_BRANCH = PR-171 [2021-01-12T00:54:26.204Z] # $SEMVER_TEMP = /tmp/semver-167233688 [2021-01-12T00:54:26.204Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-01-12T00:54:26.811Z] # '/tmp/semver-167233688' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' [2021-01-12T00:54:26.811Z] # -> Force: false [2021-01-12T00:54:26.811Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } [2021-01-12T00:54:26.825Z] $ docker exec --env ******** --env ******** 9c72bee678a89f9a29575c1634ada1c9f9403009255a7f2f6690372880af0467 ssh-agent -k [2021-01-12T00:54:26.975Z] unset SSH_AUTH_SOCK; [2021-01-12T00:54:26.976Z] unset SSH_AGENT_PID; [2021-01-12T00:54:26.976Z] echo Agent pid 53 killed; [2021-01-12T00:54:27.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-12T00:54:27.559Z] + git semver [Pipeline] } [2021-01-12T00:54:27.579Z] $ docker stop --time=1 9c72bee678a89f9a29575c1634ada1c9f9403009255a7f2f6690372880af0467 [2021-01-12T00:54:28.962Z] $ docker rm -f 9c72bee678a89f9a29575c1634ada1c9f9403009255a7f2f6690372880af0467 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-12T00:54:29.451Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-12T00:54:30.024Z] Stashed 1 file(s) [Pipeline] echo [2021-01-12T00:54:30.027Z] [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] node [Pipeline] node [2021-01-12T00:54:45.578Z] Still waiting to schedule task [2021-01-12T00:54:45.579Z] ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19682’ is offline; ‘prd-centos7-docker-4c-2g-19683’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-19678’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19664’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-12T00:54:45.581Z] Still waiting to schedule task [2021-01-12T00:54:45.581Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-12T00:54:57.794Z] Running on prd-centos7-docker-4c-2g-19683 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2021-01-12T00:54:57.852Z] Running in /w/workspace/device-modbus-go/15 [Pipeline] { [Pipeline] checkout [2021-01-12T00:55:00.186Z] using credential edgex-jenkins-ssh [2021-01-12T00:55:00.260Z] Cloning the remote Git repository [2021-01-12T00:54:59.856Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-01-12T00:54:59.940Z] > git init /w/workspace/device-modbus-go/15 # timeout=10 [2021-01-12T00:55:00.001Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-12T00:55:00.001Z] > git --version # timeout=10 [2021-01-12T00:55:00.010Z] > git --version # 'git version 2.24.3' [2021-01-12T00:55:00.011Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T00:55:00.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T00:55:00.771Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-12T00:55:00.780Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T00:55:00.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-12T00:55:00.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-12T00:55:00.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T00:55:00.814Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-12T00:55:01.976Z] Merging remotes/origin/master commit 6e20a1d0031e874d4eec2dbc8984745391b205bd into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2021-01-12T00:55:02.098Z] Merge succeeded, producing 3063c92a3083c69dcd639bf8adddc6ad825037e1 [2021-01-12T00:55:02.098Z] Checking out Revision 3063c92a3083c69dcd639bf8adddc6ad825037e1 (PR-171) [2021-01-12T00:55:01.696Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T00:55:01.702Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2021-01-12T00:55:01.747Z] > git remote # timeout=10 [2021-01-12T00:55:01.756Z] > git config --get remote.origin.url # timeout=10 [2021-01-12T00:55:01.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T00:55:01.777Z] > git merge 6e20a1d0031e874d4eec2dbc8984745391b205bd # timeout=10 [2021-01-12T00:55:01.804Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-12T00:55:01.823Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T00:55:01.828Z] > git checkout -f 3063c92a3083c69dcd639bf8adddc6ad825037e1 # timeout=10 [2021-01-12T00:55:05.474Z] Commit message: "Merge commit '6e20a1d0031e874d4eec2dbc8984745391b205bd' into HEAD" [2021-01-12T00:55:05.486Z] First time build. Skipping changelog. [2021-01-12T00:55:05.479Z] > git rev-list --no-walk da8268eee94117db59fbc63dc44199273da78bac # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-12T00:55:06.657Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-12T00:55:06.993Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-12T00:55:07.305Z] + sudo service docker restart [2021-01-12T00:55:07.305Z] + true [2021-01-12T00:55:07.305Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T00:55:08.765Z] provisioning config files... [2021-01-12T00:55:08.794Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/15@tmp/config7478748548473170959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T00:55:09.155Z] ---> docker-login.sh [2021-01-12T00:55:09.155Z] nexus3.edgexfoundry.org:10001 [2021-01-12T00:55:09.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:55:09.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:55:09.418Z] Configure a credential helper to remove this warning. See [2021-01-12T00:55:09.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:55:09.418Z] [2021-01-12T00:55:09.418Z] Login Succeeded [2021-01-12T00:55:09.418Z] nexus3.edgexfoundry.org:10002 [2021-01-12T00:55:09.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:55:09.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:55:09.685Z] Configure a credential helper to remove this warning. See [2021-01-12T00:55:09.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:55:09.685Z] [2021-01-12T00:55:09.685Z] Login Succeeded [2021-01-12T00:55:09.685Z] nexus3.edgexfoundry.org:10003 [2021-01-12T00:55:09.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:55:09.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:55:09.948Z] Configure a credential helper to remove this warning. See [2021-01-12T00:55:09.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:55:09.948Z] [2021-01-12T00:55:09.948Z] Login Succeeded [2021-01-12T00:55:09.948Z] nexus3.edgexfoundry.org:10004 [2021-01-12T00:55:09.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:55:09.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:55:09.948Z] Configure a credential helper to remove this warning. See [2021-01-12T00:55:09.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:55:09.948Z] [2021-01-12T00:55:09.948Z] Login Succeeded [2021-01-12T00:55:09.948Z] docker.io [2021-01-12T00:55:10.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:55:10.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:55:10.479Z] Configure a credential helper to remove this warning. See [2021-01-12T00:55:10.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:55:10.479Z] [2021-01-12T00:55:10.479Z] Login Succeeded [2021-01-12T00:55:10.479Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T00:55:10.489Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-12T00:55:10.855Z] ========================================================= [2021-01-12T00:55:10.855Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-12T00:55:10.855Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-12T00:55:11.190Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-12T00:55:11.190Z] Sending build context to Docker daemon 628.2kB [2021-01-12T00:55:11.190Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T00:55:11.190Z] Step 2/8 : FROM ${BASE} [2021-01-12T00:55:11.190Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-12T00:55:11.190Z] 188c0c94c7c5: Pulling fs layer [2021-01-12T00:55:11.190Z] 0ef7d3d256c8: Pulling fs layer [2021-01-12T00:55:11.190Z] de9db76c5a1d: Pulling fs layer [2021-01-12T00:55:11.190Z] bca2f99d35d6: Pulling fs layer [2021-01-12T00:55:11.190Z] 93359f2a8cfa: Pulling fs layer [2021-01-12T00:55:11.190Z] 7c6f9722023f: Pulling fs layer [2021-01-12T00:55:11.190Z] a35cf1a2eb13: Pulling fs layer [2021-01-12T00:55:11.190Z] 93359f2a8cfa: Waiting [2021-01-12T00:55:11.190Z] 7c6f9722023f: Waiting [2021-01-12T00:55:11.190Z] a35cf1a2eb13: Waiting [2021-01-12T00:55:11.190Z] bca2f99d35d6: Waiting [2021-01-12T00:55:11.453Z] de9db76c5a1d: Verifying Checksum [2021-01-12T00:55:11.453Z] de9db76c5a1d: Download complete [2021-01-12T00:55:11.453Z] 0ef7d3d256c8: Verifying Checksum [2021-01-12T00:55:11.453Z] 0ef7d3d256c8: Download complete [2021-01-12T00:55:11.453Z] 93359f2a8cfa: Verifying Checksum [2021-01-12T00:55:11.453Z] 93359f2a8cfa: Download complete [2021-01-12T00:55:11.453Z] 7c6f9722023f: Verifying Checksum [2021-01-12T00:55:11.453Z] 7c6f9722023f: Download complete [2021-01-12T00:55:11.453Z] 188c0c94c7c5: Verifying Checksum [2021-01-12T00:55:11.453Z] 188c0c94c7c5: Download complete [2021-01-12T00:55:11.717Z] 188c0c94c7c5: Pull complete [2021-01-12T00:55:11.717Z] 0ef7d3d256c8: Pull complete [2021-01-12T00:55:11.980Z] de9db76c5a1d: Pull complete [2021-01-12T00:55:13.913Z] a35cf1a2eb13: Verifying Checksum [2021-01-12T00:55:13.913Z] a35cf1a2eb13: Download complete [2021-01-12T00:55:14.175Z] bca2f99d35d6: Verifying Checksum [2021-01-12T00:55:14.175Z] bca2f99d35d6: Download complete [2021-01-12T00:55:19.498Z] bca2f99d35d6: Pull complete [2021-01-12T00:55:19.765Z] 93359f2a8cfa: Pull complete [2021-01-12T00:55:19.765Z] 7c6f9722023f: Pull complete [2021-01-12T00:55:27.957Z] a35cf1a2eb13: Pull complete [2021-01-12T00:55:27.957Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-12T00:55:27.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-12T00:55:27.957Z] ---> a62c8e92a672 [2021-01-12T00:55:27.957Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-12T00:55:27.957Z] ---> Running in b6e230b4e6be [2021-01-12T00:55:27.957Z] Removing intermediate container b6e230b4e6be [2021-01-12T00:55:27.957Z] ---> aaac3bc83390 [2021-01-12T00:55:27.957Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T00:55:27.957Z] ---> Running in c2e48ecb2745 [2021-01-12T00:55:28.543Z] Removing intermediate container c2e48ecb2745 [2021-01-12T00:55:28.543Z] ---> ec8ceedea21e [2021-01-12T00:55:28.543Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-12T00:55:28.543Z] ---> Running in 6227b5ff30db [2021-01-12T00:55:29.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-12T00:55:30.068Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-12T00:55:31.020Z] (1/14) Installing libmagic (5.38-r0) [2021-01-12T00:55:31.020Z] (2/14) Installing file (5.38-r0) [2021-01-12T00:55:31.282Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-12T00:55:31.282Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-12T00:55:36.599Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-12T00:55:36.599Z] (6/14) Installing patch (2.7.6-r6) [2021-01-12T00:55:36.599Z] (7/14) Installing build-base (0.5-r2) [2021-01-12T00:55:36.599Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-12T00:55:36.599Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-12T00:55:36.599Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-12T00:55:37.173Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-12T00:55:37.173Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-12T00:55:37.173Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-12T00:55:37.436Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-12T00:55:37.698Z] Executing busybox-1.31.1-r19.trigger [2021-01-12T00:55:37.698Z] OK: 237 MiB in 53 packages [2021-01-12T00:55:41.163Z] Removing intermediate container 6227b5ff30db [2021-01-12T00:55:41.163Z] ---> 7465fa7298e1 [2021-01-12T00:55:41.163Z] Step 6/8 : WORKDIR /device-modbus-go [2021-01-12T00:55:41.163Z] ---> Running in ff8850d28761 [2021-01-12T00:55:41.442Z] Removing intermediate container ff8850d28761 [2021-01-12T00:55:41.442Z] ---> 8352da40cdd7 [2021-01-12T00:55:41.442Z] Step 7/8 : COPY . . [2021-01-12T00:55:42.402Z] ---> 511fa0c96f8e [2021-01-12T00:55:42.402Z] Step 8/8 : RUN go mod download [2021-01-12T00:55:42.402Z] ---> Running in 88758d31b099 [2021-01-12T00:56:04.447Z] Removing intermediate container 88758d31b099 [2021-01-12T00:56:04.447Z] ---> 558722331b17 [2021-01-12T00:56:04.447Z] Successfully built 558722331b17 [2021-01-12T00:56:04.447Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T00:56:04.766Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-12T00:56:04.766Z] . [Pipeline] withDockerContainer [2021-01-12T00:56:04.890Z] prd-centos7-docker-4c-2g-19683 does not seem to be running inside a container [2021-01-12T00:56:04.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/15 -v /w/workspace/device-modbus-go/15:/w/workspace/device-modbus-go/15:rw,z -v /w/workspace/device-modbus-go/15@tmp:/w/workspace/device-modbus-go/15@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 [2021-01-12T00:56:05.766Z] $ docker top 33ee9e9db24fa2a34ff565354da060f3b085f2b021136d6b1fbb5cde2fff0c92 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T00:56:06.346Z] + go version [2021-01-12T00:56:06.346Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-12T00:56:06.364Z] $ docker stop --time=1 33ee9e9db24fa2a34ff565354da060f3b085f2b021136d6b1fbb5cde2fff0c92 [2021-01-12T00:56:07.706Z] $ docker rm -f 33ee9e9db24fa2a34ff565354da060f3b085f2b021136d6b1fbb5cde2fff0c92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-12T00:56:08.527Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-12T00:56:08.527Z] . [Pipeline] withDockerContainer [2021-01-12T00:56:08.626Z] prd-centos7-docker-4c-2g-19683 does not seem to be running inside a container [2021-01-12T00:56:08.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/15 -v /w/workspace/device-modbus-go/15:/w/workspace/device-modbus-go/15:rw,z -v /w/workspace/device-modbus-go/15@tmp:/w/workspace/device-modbus-go/15@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 [2021-01-12T00:56:09.321Z] $ docker top fd944ba89fb99ce894914b9738e13315f6ba899c50eb3714f04f95cdf7f5b0a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T00:56:09.828Z] + make test [2021-01-12T00:56:09.828Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-12T00:56:11.249Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-01-12T00:56:23.588Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-01-12T00:56:23.588Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.285s coverage: 50.2% of statements [2021-01-12T00:56:23.588Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-12T00:56:24.540Z] gofmt -l . [2021-01-12T00:56:24.540Z] internal/driver/config.go [2021-01-12T00:56:24.540Z] internal/driver/config_test.go [2021-01-12T00:56:24.540Z] internal/driver/protocolpropertykey.go [2021-01-12T00:56:24.540Z] [ "`gofmt -l .`" = "" ] [2021-01-12T00:56:24.802Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2021-01-12T00:56:24.818Z] $ docker stop --time=1 fd944ba89fb99ce894914b9738e13315f6ba899c50eb3714f04f95cdf7f5b0a9 [2021-01-12T00:56:28.043Z] $ docker rm -f fd944ba89fb99ce894914b9738e13315f6ba899c50eb3714f04f95cdf7f5b0a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-12T00:56:29.478Z] Failed in branch amd64 [2021-01-12T00:57:39.694Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-19685 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws [2021-01-12T00:57:39.762Z] Running in /w/workspace/device-modbus-go/15 [Pipeline] { [Pipeline] checkout [2021-01-12T00:57:45.844Z] using credential edgex-jenkins-ssh [2021-01-12T00:57:45.902Z] Cloning the remote Git repository [2021-01-12T00:57:45.982Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-01-12T00:57:46.124Z] > git init /w/workspace/device-modbus-go/15 # timeout=10 [2021-01-12T00:57:46.231Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-12T00:57:46.232Z] > git --version # timeout=10 [2021-01-12T00:57:46.267Z] > git --version # 'git version 2.17.1' [2021-01-12T00:57:46.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T00:57:46.338Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T00:57:47.172Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-12T00:57:47.191Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-12T00:57:47.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-01-12T00:57:47.260Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-01-12T00:57:47.260Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T00:57:47.271Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-12T00:57:47.847Z] Merging remotes/origin/master commit 6e20a1d0031e874d4eec2dbc8984745391b205bd into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 [2021-01-12T00:57:48.103Z] Merge succeeded, producing 620443353f7111541255031a0ebc530b1c2e981f [2021-01-12T00:57:48.103Z] Checking out Revision 620443353f7111541255031a0ebc530b1c2e981f (PR-171) [2021-01-12T00:57:47.865Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T00:57:47.884Z] > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 [2021-01-12T00:57:47.965Z] > git remote # timeout=10 [2021-01-12T00:57:47.987Z] > git config --get remote.origin.url # timeout=10 [2021-01-12T00:57:48.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-12T00:57:48.023Z] > git merge 6e20a1d0031e874d4eec2dbc8984745391b205bd # timeout=10 [2021-01-12T00:57:48.084Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-12T00:57:48.108Z] > git config core.sparsecheckout # timeout=10 [2021-01-12T00:57:48.123Z] > git checkout -f 620443353f7111541255031a0ebc530b1c2e981f # timeout=10 [2021-01-12T00:57:52.695Z] Commit message: "Merge commit '6e20a1d0031e874d4eec2dbc8984745391b205bd' into HEAD" [2021-01-12T00:57:52.718Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-01-12T00:57:52.700Z] > git rev-list --no-walk da8268eee94117db59fbc63dc44199273da78bac # timeout=10 [Pipeline] sh [2021-01-12T00:57:54.144Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-12T00:57:54.544Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-12T00:57:54.956Z] + + sudo servicetrue docker [2021-01-12T00:57:54.956Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-12T00:57:57.694Z] provisioning config files... [2021-01-12T00:57:57.734Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/15@tmp/config1895036262156247221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-12T00:57:58.151Z] ---> docker-login.sh [2021-01-12T00:57:58.151Z] nexus3.edgexfoundry.org:10001 [2021-01-12T00:57:59.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:57:59.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:57:59.407Z] Configure a credential helper to remove this warning. See [2021-01-12T00:57:59.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:57:59.407Z] [2021-01-12T00:57:59.407Z] Login Succeeded [2021-01-12T00:57:59.407Z] nexus3.edgexfoundry.org:10002 [2021-01-12T00:58:00.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:58:00.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:58:00.005Z] Configure a credential helper to remove this warning. See [2021-01-12T00:58:00.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:58:00.006Z] [2021-01-12T00:58:00.006Z] Login Succeeded [2021-01-12T00:58:00.006Z] nexus3.edgexfoundry.org:10003 [2021-01-12T00:58:00.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:58:00.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:58:00.557Z] Configure a credential helper to remove this warning. See [2021-01-12T00:58:00.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:58:00.557Z] [2021-01-12T00:58:00.557Z] Login Succeeded [2021-01-12T00:58:00.557Z] nexus3.edgexfoundry.org:10004 [2021-01-12T00:58:01.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:58:01.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:58:01.153Z] Configure a credential helper to remove this warning. See [2021-01-12T00:58:01.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:58:01.153Z] [2021-01-12T00:58:01.153Z] Login Succeeded [2021-01-12T00:58:01.153Z] docker.io [2021-01-12T00:58:01.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-12T00:58:02.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-12T00:58:02.022Z] Configure a credential helper to remove this warning. See [2021-01-12T00:58:02.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-12T00:58:02.022Z] [2021-01-12T00:58:02.022Z] Login Succeeded [2021-01-12T00:58:02.022Z] ---> docker-login.sh ends [Pipeline] } [2021-01-12T00:58:02.040Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-12T00:58:02.470Z] ========================================================= [2021-01-12T00:58:02.471Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-12T00:58:02.471Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-12T00:58:02.855Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-12T00:58:03.129Z] Sending build context to Docker daemon 626.7kB [2021-01-12T00:58:03.129Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-12T00:58:03.129Z] Step 2/8 : FROM ${BASE} [2021-01-12T00:58:03.416Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-12T00:58:03.416Z] 5f621e34cdf4: Pulling fs layer [2021-01-12T00:58:03.416Z] a4357932f1b6: Pulling fs layer [2021-01-12T00:58:03.416Z] 18c013af1878: Pulling fs layer [2021-01-12T00:58:03.416Z] 00ac8860ef70: Pulling fs layer [2021-01-12T00:58:03.416Z] 63d7cb157983: Pulling fs layer [2021-01-12T00:58:03.416Z] b116817d02f9: Pulling fs layer [2021-01-12T00:58:03.416Z] 745a02a5169b: Pulling fs layer [2021-01-12T00:58:03.416Z] 63d7cb157983: Waiting [2021-01-12T00:58:03.416Z] b116817d02f9: Waiting [2021-01-12T00:58:03.416Z] 00ac8860ef70: Waiting [2021-01-12T00:58:03.416Z] 745a02a5169b: Waiting [2021-01-12T00:58:03.416Z] 18c013af1878: Verifying Checksum [2021-01-12T00:58:03.416Z] 18c013af1878: Download complete [2021-01-12T00:58:03.416Z] a4357932f1b6: Verifying Checksum [2021-01-12T00:58:03.416Z] a4357932f1b6: Download complete [2021-01-12T00:58:03.416Z] 63d7cb157983: Verifying Checksum [2021-01-12T00:58:03.416Z] 63d7cb157983: Download complete [2021-01-12T00:58:03.416Z] 5f621e34cdf4: Download complete [2021-01-12T00:58:03.416Z] b116817d02f9: Verifying Checksum [2021-01-12T00:58:03.416Z] b116817d02f9: Download complete [2021-01-12T00:58:04.406Z] 5f621e34cdf4: Pull complete [2021-01-12T00:58:04.689Z] a4357932f1b6: Pull complete [2021-01-12T00:58:05.292Z] 18c013af1878: Pull complete [2021-01-12T00:58:06.285Z] 745a02a5169b: Verifying Checksum [2021-01-12T00:58:06.285Z] 745a02a5169b: Download complete [2021-01-12T00:58:07.278Z] 00ac8860ef70: Verifying Checksum [2021-01-12T00:58:07.278Z] 00ac8860ef70: Download complete [2021-01-12T00:58:17.460Z] 00ac8860ef70: Pull complete [2021-01-12T00:58:17.733Z] 63d7cb157983: Pull complete [2021-01-12T00:58:18.007Z] b116817d02f9: Pull complete [2021-01-12T00:58:21.398Z] 745a02a5169b: Pull complete [2021-01-12T00:58:21.671Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-12T00:58:21.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-12T00:58:21.671Z] ---> b7e6874047d6 [2021-01-12T00:58:21.671Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-01-12T00:58:25.086Z] ---> Running in 07a6e210a251 [2021-01-12T00:58:25.086Z] Removing intermediate container 07a6e210a251 [2021-01-12T00:58:25.086Z] ---> 782e5c2bc8f9 [2021-01-12T00:58:25.086Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-12T00:58:25.086Z] ---> Running in 7dd91b701c0b [2021-01-12T00:58:27.730Z] Removing intermediate container 7dd91b701c0b [2021-01-12T00:58:27.730Z] ---> 5f018313b65f [2021-01-12T00:58:27.730Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-01-12T00:58:27.730Z] ---> Running in febdf88b763d [2021-01-12T00:58:28.709Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-12T00:58:29.691Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-12T00:58:30.664Z] (1/14) Installing libmagic (5.38-r0) [2021-01-12T00:58:30.664Z] (2/14) Installing file (5.38-r0) [2021-01-12T00:58:30.935Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-01-12T00:58:30.935Z] (4/14) Installing g++ (9.3.0-r2) [2021-01-12T00:58:49.215Z] (5/14) Installing fortify-headers (1.1-r0) [2021-01-12T00:58:49.215Z] (6/14) Installing patch (2.7.6-r6) [2021-01-12T00:58:49.215Z] (7/14) Installing build-base (0.5-r2) [2021-01-12T00:58:49.215Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-01-12T00:58:49.215Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-01-12T00:58:49.215Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-01-12T00:58:50.643Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-01-12T00:58:50.643Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-01-12T00:58:50.643Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-01-12T00:58:51.237Z] (14/14) Installing openssh (8.3_p1-r1) [2021-01-12T00:58:51.510Z] Executing busybox-1.31.1-r19.trigger [2021-01-12T00:58:51.510Z] OK: 221 MiB in 53 packages [2021-01-12T00:58:55.831Z] Removing intermediate container febdf88b763d [2021-01-12T00:58:55.831Z] ---> 715d258a5316 [2021-01-12T00:58:55.831Z] Step 6/8 : WORKDIR /device-modbus-go [2021-01-12T00:58:55.831Z] ---> Running in 8b179cf66d56 [2021-01-12T00:58:56.431Z] Removing intermediate container 8b179cf66d56 [2021-01-12T00:58:56.431Z] ---> 3baadf8672bc [2021-01-12T00:58:56.431Z] Step 7/8 : COPY . . [2021-01-12T00:58:57.414Z] ---> cb97912910c2 [2021-01-12T00:58:57.414Z] Step 8/8 : RUN go mod download [2021-01-12T00:58:57.414Z] ---> Running in ffbaab6abb33 [2021-01-12T00:59:19.590Z] Removing intermediate container ffbaab6abb33 [2021-01-12T00:59:19.590Z] ---> f7554fd359a4 [2021-01-12T00:59:19.862Z] Successfully built f7554fd359a4 [2021-01-12T00:59:19.862Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-12T00:59:20.210Z] + docker inspect -f . ci-base-image-arm64 [2021-01-12T00:59:20.211Z] . [Pipeline] withDockerContainer [2021-01-12T00:59:20.471Z] prd-ubuntu18.04-docker-arm64-4c-16g-19685 does not seem to be running inside a container [2021-01-12T00:59:20.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/15 -v /w/workspace/device-modbus-go/15:/w/workspace/device-modbus-go/15:rw,z -v /w/workspace/device-modbus-go/15@tmp:/w/workspace/device-modbus-go/15@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 [2021-01-12T00:59:22.026Z] $ docker top 6a232f8e07eb97321b035a641de2ac4f8328c9289d61099c3a453b5ff2aab424 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T00:59:23.113Z] + go version [2021-01-12T00:59:23.113Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-12T00:59:23.135Z] $ docker stop --time=1 6a232f8e07eb97321b035a641de2ac4f8328c9289d61099c3a453b5ff2aab424 [2021-01-12T00:59:24.964Z] $ docker rm -f 6a232f8e07eb97321b035a641de2ac4f8328c9289d61099c3a453b5ff2aab424 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-12T00:59:26.009Z] + docker inspect -f . ci-base-image-arm64 [2021-01-12T00:59:26.009Z] . [Pipeline] withDockerContainer [2021-01-12T00:59:26.267Z] prd-ubuntu18.04-docker-arm64-4c-16g-19685 does not seem to be running inside a container [2021-01-12T00:59:26.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/15 -v /w/workspace/device-modbus-go/15:/w/workspace/device-modbus-go/15:rw,z -v /w/workspace/device-modbus-go/15@tmp:/w/workspace/device-modbus-go/15@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 [2021-01-12T00:59:27.752Z] $ docker top 796c5d33e9a7f9f9f5f85f1961e2b27c9948f2332f60e0c9aecbe8f4f0b37578 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T00:59:28.800Z] + make test [2021-01-12T00:59:28.800Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-01-12T00:59:29.790Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-01-12T01:00:08.928Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-01-12T01:00:08.928Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.410s coverage: 50.2% of statements [2021-01-12T01:00:08.928Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-01-12T01:00:12.335Z] gofmt -l . [2021-01-12T01:00:12.335Z] internal/driver/config.go [2021-01-12T01:00:12.335Z] internal/driver/config_test.go [2021-01-12T01:00:12.335Z] internal/driver/protocolpropertykey.go [2021-01-12T01:00:12.335Z] [ "`gofmt -l .`" = "" ] [2021-01-12T01:00:12.335Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2021-01-12T01:00:12.362Z] $ docker stop --time=1 796c5d33e9a7f9f9f5f85f1961e2b27c9948f2332f60e0c9aecbe8f4f0b37578 [2021-01-12T01:00:14.764Z] $ docker rm -f 796c5d33e9a7f9f9f5f85f1961e2b27c9948f2332f60e0c9aecbe8f4f0b37578 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-12T01:00:17.458Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-01-12T01:00:22.299Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T01:00:22.613Z] ---> package-listing.sh [2021-01-12T01:00:22.613Z] ++ facter osfamily [2021-01-12T01:00:22.613Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-12T01:00:22.613Z] + OS_FAMILY=redhat [2021-01-12T01:00:22.613Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 [2021-01-12T01:00:22.613Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-12T01:00:22.613Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-12T01:00:22.613Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-12T01:00:22.613Z] + PACKAGES=/tmp/packages_start.txt [2021-01-12T01:00:22.613Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2021-01-12T01:00:22.613Z] + PACKAGES=/tmp/packages_end.txt [2021-01-12T01:00:22.613Z] + case "${OS_FAMILY}" in [2021-01-12T01:00:22.613Z] + rpm -qa [2021-01-12T01:00:22.613Z] + sort [2021-01-12T01:00:27.935Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-12T01:00:27.935Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-12T01:00:27.935Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-12T01:00:27.935Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' [2021-01-12T01:00:27.935Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [2021-01-12T01:00:27.935Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [Pipeline] echo [2021-01-12T01:00:27.949Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-12T01:00:28.250Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-12T01:00:28.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T01:00:28.559Z] [2021-01-12T01:00:28.559Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-12T01:00:28.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T01:00:28.955Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-12T01:00:28.955Z] df20fa9351a1: Pulling fs layer [2021-01-12T01:00:28.955Z] 36b3adc4ff6f: Pulling fs layer [2021-01-12T01:00:28.955Z] 8ad3a11d3b57: Pulling fs layer [2021-01-12T01:00:28.955Z] 46f8f816bc3b: Pulling fs layer [2021-01-12T01:00:28.955Z] 93b61091891f: Pulling fs layer [2021-01-12T01:00:28.955Z] 93b9cdb0e59b: Pulling fs layer [2021-01-12T01:00:28.955Z] 5e14af77c1be: Pulling fs layer [2021-01-12T01:00:28.955Z] 01666e4c0597: Pulling fs layer [2021-01-12T01:00:28.955Z] aa168da1d23b: Pulling fs layer [2021-01-12T01:00:28.955Z] 46f8f816bc3b: Waiting [2021-01-12T01:00:28.955Z] 93b61091891f: Waiting [2021-01-12T01:00:28.955Z] 93b9cdb0e59b: Waiting [2021-01-12T01:00:28.955Z] 5e14af77c1be: Waiting [2021-01-12T01:00:28.955Z] 01666e4c0597: Waiting [2021-01-12T01:00:28.955Z] aa168da1d23b: Waiting [2021-01-12T01:00:28.955Z] 36b3adc4ff6f: Download complete [2021-01-12T01:00:28.955Z] 46f8f816bc3b: Verifying Checksum [2021-01-12T01:00:28.955Z] 46f8f816bc3b: Download complete [2021-01-12T01:00:28.955Z] df20fa9351a1: Download complete [2021-01-12T01:00:29.222Z] 93b9cdb0e59b: Verifying Checksum [2021-01-12T01:00:29.222Z] 93b9cdb0e59b: Download complete [2021-01-12T01:00:29.222Z] 93b61091891f: Verifying Checksum [2021-01-12T01:00:29.222Z] 93b61091891f: Download complete [2021-01-12T01:00:29.222Z] 5e14af77c1be: Verifying Checksum [2021-01-12T01:00:29.222Z] 5e14af77c1be: Download complete [2021-01-12T01:00:29.222Z] 01666e4c0597: Verifying Checksum [2021-01-12T01:00:29.222Z] 01666e4c0597: Download complete [2021-01-12T01:00:29.488Z] df20fa9351a1: Pull complete [2021-01-12T01:00:29.488Z] 8ad3a11d3b57: Verifying Checksum [2021-01-12T01:00:29.488Z] 8ad3a11d3b57: Download complete [2021-01-12T01:00:29.753Z] 36b3adc4ff6f: Pull complete [2021-01-12T01:00:30.718Z] 8ad3a11d3b57: Pull complete [2021-01-12T01:00:30.718Z] 46f8f816bc3b: Pull complete [2021-01-12T01:00:31.677Z] 93b61091891f: Pull complete [2021-01-12T01:00:31.677Z] aa168da1d23b: Verifying Checksum [2021-01-12T01:00:31.677Z] aa168da1d23b: Download complete [2021-01-12T01:00:31.677Z] 93b9cdb0e59b: Pull complete [2021-01-12T01:00:31.941Z] 5e14af77c1be: Pull complete [2021-01-12T01:00:32.205Z] 01666e4c0597: Pull complete [2021-01-12T01:00:40.423Z] aa168da1d23b: Pull complete [2021-01-12T01:00:40.423Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-12T01:00:40.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-12T01:00:40.423Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-12T01:00:40.652Z] prd-centos7-docker-4c-2g-19680 does not seem to be running inside a container [2021-01-12T01:00:40.700Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-171/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-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@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:alpine cat [2021-01-12T01:00:44.517Z] $ docker top e2745ff2080fc6a230eddb9bd0a03176ac26b7fe17fe593cf0d036212eea5228 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-12T01:00:45.505Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-12T01:00:45.869Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-12T01:00:46.183Z] + ls /var/log/sa-host [2021-01-12T01:00:46.183Z] + sadf -c /var/log/sa-host/sa12 [2021-01-12T01:00:46.183Z] file_magic: OK [2021-01-12T01:00:46.183Z] HZ: Using current value: 100 [2021-01-12T01:00:46.183Z] file_header: OK [2021-01-12T01:00:46.183Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-12T01:00:46.183Z] Statistics: [2021-01-12T01:00:46.183Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-12T01:00:46.183Z] File successfully converted to sysstat format version 12.2.1 [2021-01-12T01:00:46.183Z] + sadf -c /var/log/sa-host/sa23 [2021-01-12T01:00:46.183Z] file_magic: OK [2021-01-12T01:00:46.183Z] HZ: Using current value: 100 [2021-01-12T01:00:46.183Z] file_header: OK [2021-01-12T01:00:46.183Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-12T01:00:46.183Z] Statistics: [2021-01-12T01:00:46.183Z] Hnuu...uuuununununu... [2021-01-12T01:00:46.183Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-12T01:00:46.443Z] provisioning config files... [2021-01-12T01:00:46.459Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config4666914816058789848tmp [Pipeline] { [Pipeline] echo [2021-01-12T01:00:46.602Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T01:00:46.913Z] ---> create-netrc.sh [Pipeline] } [2021-01-12T01:00:46.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-12T01:00:47.088Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T01:00:47.390Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-12T01:00:47.403Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T01:00:47.706Z] ---> sudo-logs.sh [2021-01-12T01:00:47.706Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-12T01:00:47.721Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T01:00:48.023Z] ---> job-cost.sh [2021-01-12T01:00:48.023Z] lf-activate-venv: SKIPPING [2021-01-12T01:00:48.023Z] INFO: No Stack... [2021-01-12T01:00:49.433Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-12T01:00:49.695Z] INFO: Archiving Costs [Pipeline] echo [2021-01-12T01:00:49.710Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-12T01:00:50.010Z] ---> logs-deploy.sh [2021-01-12T01:00:50.010Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/15 [2021-01-12T01:00:50.010Z] INFO: archiving workspace using pattern(s): [2021-01-12T01:00:51.938Z] Archives upload complete. [2021-01-12T01:00:51.938Z] INFO: archiving logs to Nexus