Pull request #285 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d+2914c8785d6fb43e30410761fbe9b43bb07dce53 (828e6f567106baba1ef12348e8e8c73a1412bbb8) Running in Durability level: MAX_SURVIVABILITY 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-ssh5682677751097776263.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh5910623633906373232.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-285/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-285/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6932674787641068284.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-285/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8555476959833503702.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh282422573048512074.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-285/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-285/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6763396783632427667.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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: true 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 ‘prd-centos7-docker-4c-2g-13341’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-13339’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13343 in /w/workspace/xfoundry_device-modbus-go_PR-285 [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-285 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/xfoundry_device-modbus-go_PR-285@tmp/jenkins-gitclient-ssh2344539450477252761.key > 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 2914c8785d6fb43e30410761fbe9b43bb07dce53 into PR head commit 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-285@tmp/jenkins-gitclient-ssh3462036110757340673.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 > git remote # timeout=10 > 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 /w/workspace/xfoundry_device-modbus-go_PR-285@tmp/jenkins-gitclient-ssh5275056848013202760.key Merge succeeded, producing 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d Checking out Revision 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d (PR-285) > git merge 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 Commit message: "feat: Update configuration for new CORS and Secrets File settings" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-28T23:21:43.835Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T23:21:43.963Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T23:21:44.034Z] ========================================================= [2021-10-28T23:21:44.034Z] EdgeX Global Pipelines Version Info [2021-10-28T23:21:44.034Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:21:45.211Z] ------------------- [2021-10-28T23:21:45.211Z] stable info: [2021-10-28T23:21:45.211Z] ------------------- [2021-10-28T23:21:45.211Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T23:21:45.211Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T23:21:45.211Z] Message: update stable to v1.0.210 [2021-10-28T23:21:45.782Z] ------------------- [2021-10-28T23:21:45.782Z] experimental info: [2021-10-28T23:21:45.782Z] ------------------- [2021-10-28T23:21:45.782Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T23:21:45.782Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T23:21:45.782Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T23:21:45.933Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-10-28T23:21:45.975Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-10-28T23:21:46.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T23:21:46.049Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T23:21:46.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T23:21:46.128Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T23:21:46.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T23:21:46.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-28T23:21:46.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T23:21:46.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T23:21:46.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T23:21:46.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-10-28T23:21:46.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T23:21:46.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T23:21:46.456Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T23:21:46.491Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T23:21:46.529Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:21:46.565Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:21:46.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T23:21:46.632Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-10-28T23:21:46.668Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-28T23:21:46.703Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-28T23:21:46.740Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T23:21:46.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T23:21:46.816Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-28T23:21:46.853Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T23:21:46.893Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-285 [Pipeline] echo [2021-10-28T23:21:46.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-285 [Pipeline] echo [2021-10-28T23:21:46.964Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-285 [Pipeline] echo [2021-10-28T23:21:47.003Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d [Pipeline] echo [2021-10-28T23:21:47.039Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08c87fc [Pipeline] echo [2021-10-28T23:21:47.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:21:47.174Z] provisioning config files... [2021-10-28T23:21:47.193Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/config6906513714350569453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:21:47.538Z] ---> docker-login.sh [2021-10-28T23:21:47.538Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:21:47.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:47.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:47.802Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:47.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:47.802Z] [2021-10-28T23:21:47.802Z] Login Succeeded [2021-10-28T23:21:47.802Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:21:47.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:47.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:47.802Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:47.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:47.802Z] [2021-10-28T23:21:47.802Z] Login Succeeded [2021-10-28T23:21:47.802Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:21:47.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:48.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:48.066Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:48.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:48.066Z] [2021-10-28T23:21:48.066Z] Login Succeeded [2021-10-28T23:21:48.066Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:21:48.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:48.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:48.066Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:48.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:48.066Z] [2021-10-28T23:21:48.066Z] Login Succeeded [2021-10-28T23:21:48.066Z] docker.io [2021-10-28T23:21:48.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:48.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:48.636Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:48.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:48.636Z] [2021-10-28T23:21:48.636Z] Login Succeeded [2021-10-28T23:21:48.636Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:21:48.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T23:21:49.393Z] + git log --format=format:%s -1 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d [Pipeline] echo [2021-10-28T23:21:49.440Z] GIT_COMMIT: 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo [2021-10-28T23:21:49.469Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:49.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:21:49.921Z] [2021-10-28T23:21:49.921Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:50.265Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:21:50.265Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T23:21:50.265Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T23:21:50.265Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T23:21:50.265Z] 4c7163046ea9: Pulling fs layer [2021-10-28T23:21:50.265Z] 0c2d73faf560: Pulling fs layer [2021-10-28T23:21:50.265Z] 0c2d73faf560: Waiting [2021-10-28T23:21:50.265Z] 3e5f54012d9b: Verifying Checksum [2021-10-28T23:21:50.265Z] 3e5f54012d9b: Download complete [2021-10-28T23:21:50.265Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T23:21:50.265Z] a0d0a0d46f8b: Download complete [2021-10-28T23:21:50.265Z] 4c7163046ea9: Verifying Checksum [2021-10-28T23:21:50.265Z] 4c7163046ea9: Download complete [2021-10-28T23:21:50.265Z] 0c2d73faf560: Verifying Checksum [2021-10-28T23:21:50.265Z] 0c2d73faf560: Download complete [2021-10-28T23:21:50.536Z] a0d0a0d46f8b: Pull complete [2021-10-28T23:21:50.536Z] 3e5f54012d9b: Pull complete [2021-10-28T23:21:50.807Z] 4c7163046ea9: Pull complete [2021-10-28T23:21:51.070Z] 0c2d73faf560: Pull complete [2021-10-28T23:21:51.071Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T23:21:51.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:21:51.071Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T23:21:51.155Z] prd-centos7-docker-4c-2g-13343 does not seem to be running inside a container [2021-10-28T23:21:51.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-285 -v /w/workspace/xfoundry_device-modbus-go_PR-285:/w/workspace/xfoundry_device-modbus-go_PR-285:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-285@tmp:/w/workspace/xfoundry_device-modbus-go_PR-285@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T23:21:51.835Z] $ docker top f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:21:52.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:21:52.011Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:21:52.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:21:52.128Z] $ docker exec f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc ssh-agent [2021-10-28T23:21:52.243Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCIAeIo/agent.13 [2021-10-28T23:21:52.243Z] SSH_AGENT_PID=20 [2021-10-28T23:21:52.252Z] Running ssh-add (command line suppressed) [2021-10-28T23:21:52.355Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-285@tmp/private_key_2801583417095850178.key (/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/private_key_2801583417095850178.key) [2021-10-28T23:21:52.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:21:52.695Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T23:21:52.714Z] $ docker exec --env ******** --env ******** f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc ssh-agent -k [2021-10-28T23:21:52.813Z] unset SSH_AUTH_SOCK; [2021-10-28T23:21:52.813Z] unset SSH_AGENT_PID; [2021-10-28T23:21:52.813Z] echo Agent pid 20 killed; [2021-10-28T23:21:52.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T23:21:52.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:21:52.889Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:21:52.998Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:21:53.001Z] $ docker exec f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc ssh-agent [2021-10-28T23:21:53.113Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOpFNon/agent.56 [2021-10-28T23:21:53.113Z] SSH_AGENT_PID=62 [2021-10-28T23:21:53.120Z] Running ssh-add (command line suppressed) [2021-10-28T23:21:53.225Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-285@tmp/private_key_30747541976745535.key (/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/private_key_30747541976745535.key) [2021-10-28T23:21:53.238Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:21:53.576Z] + git semver init [2021-10-28T23:21:53.576Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:21:53.576Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-285/.git [2021-10-28T23:21:53.576Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-285 [2021-10-28T23:21:53.576Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:21:53.576Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:21:53.576Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:21:53.576Z] # $SEMVER_BRANCH = PR-285 [2021-10-28T23:21:53.576Z] # $SEMVER_TEMP = /tmp/semver-870605967 [2021-10-28T23:21:53.576Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-10-28T23:21:54.159Z] # '/tmp/semver-870605967' -> '/w/workspace/xfoundry_device-modbus-go_PR-285/.semver' [2021-10-28T23:21:54.159Z] # -> Force: false [2021-10-28T23:21:54.159Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-285/.semver [Pipeline] } [2021-10-28T23:21:54.179Z] $ docker exec --env ******** --env ******** f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc ssh-agent -k [2021-10-28T23:21:54.282Z] unset SSH_AUTH_SOCK; [2021-10-28T23:21:54.283Z] unset SSH_AGENT_PID; [2021-10-28T23:21:54.283Z] echo Agent pid 62 killed; [2021-10-28T23:21:54.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:21:54.687Z] + git semver [Pipeline] } [2021-10-28T23:21:54.712Z] $ docker stop --time=1 f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc [2021-10-28T23:21:55.937Z] $ docker rm -f f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T23:21:56.363Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T23:21:56.633Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T23:21:56.653Z] [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-10-28T23:22:12.099Z] Still waiting to schedule task [2021-10-28T23:22:12.100Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-28T23:22:12.119Z] Still waiting to schedule task [2021-10-28T23:22:12.120Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-28T23:24:26.771Z] Running on prd-centos7-docker-4c-2g-13345 in /w/workspace/xfoundry_device-modbus-go_PR-285 [Pipeline] { [Pipeline] ws [2021-10-28T23:24:26.811Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-10-28T23:24:26.930Z] Selected Git installation does not exist. Using Default [2021-10-28T23:24:26.930Z] The recommended git tool is: NONE [2021-10-28T23:24:28.996Z] using credential edgex-jenkins-ssh [2021-10-28T23:24:29.010Z] Cloning the remote Git repository [2021-10-28T23:24:28.137Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-10-28T23:24:28.192Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-10-28T23:24:28.236Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-10-28T23:24:28.237Z] > git --version # timeout=10 [2021-10-28T23:24:28.249Z] > git --version # 'git version 2.24.4' [2021-10-28T23:24:28.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:24:28.279Z] [INFO] Currently running in a labeled security context [2021-10-28T23:24:28.279Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:24:28.279Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh4485268003842621261.key [2021-10-28T23:24:28.301Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:24:28.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-10-28T23:24:28.917Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:24:28.946Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-10-28T23:24:28.973Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-10-28T23:24:28.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:24:28.974Z] [INFO] Currently running in a labeled security context [2021-10-28T23:24:28.974Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:24:28.974Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh3455614472707797230.key [2021-10-28T23:24:28.994Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T23:24:30.434Z] Merging remotes/origin/main commit 2914c8785d6fb43e30410761fbe9b43bb07dce53 into PR head commit 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d [2021-10-28T23:24:30.748Z] Merge succeeded, producing 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d [2021-10-28T23:24:30.748Z] Checking out Revision 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d (PR-285) [2021-10-28T23:24:29.548Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:24:29.570Z] > git checkout -f 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 [2021-10-28T23:24:29.799Z] > git remote # timeout=10 [2021-10-28T23:24:29.808Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T23:24:29.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:24:29.818Z] [INFO] Currently running in a labeled security context [2021-10-28T23:24:29.818Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:24:29.818Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh6727483780996386518.key [2021-10-28T23:24:29.829Z] > git merge 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 [2021-10-28T23:24:29.839Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T23:24:29.854Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:24:29.864Z] > git checkout -f 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 [2021-10-28T23:24:34.361Z] Commit message: "feat: Update configuration for new CORS and Secrets File settings" [2021-10-28T23:24:33.514Z] > git --version # timeout=10 [2021-10-28T23:24:33.521Z] > git --version # 'git version 2.24.4' [2021-10-28T23:24:33.529Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:24:34.925Z] provisioning config files... [2021-10-28T23:24:34.939Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4302108114994569296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:24:35.368Z] ---> docker-login.sh [2021-10-28T23:24:35.368Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:24:35.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:24:35.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:24:35.632Z] Configure a credential helper to remove this warning. See [2021-10-28T23:24:35.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:24:35.632Z] [2021-10-28T23:24:35.632Z] Login Succeeded [2021-10-28T23:24:35.632Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:24:35.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:24:35.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:24:35.632Z] Configure a credential helper to remove this warning. See [2021-10-28T23:24:35.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:24:35.632Z] [2021-10-28T23:24:35.632Z] Login Succeeded [2021-10-28T23:24:35.632Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:24:35.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:24:35.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:24:35.632Z] Configure a credential helper to remove this warning. See [2021-10-28T23:24:35.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:24:35.632Z] [2021-10-28T23:24:35.632Z] Login Succeeded [2021-10-28T23:24:35.632Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:24:35.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:24:35.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:24:35.893Z] Configure a credential helper to remove this warning. See [2021-10-28T23:24:35.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:24:35.893Z] [2021-10-28T23:24:35.893Z] Login Succeeded [2021-10-28T23:24:35.893Z] docker.io [2021-10-28T23:24:35.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:24:36.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:24:36.158Z] Configure a credential helper to remove this warning. See [2021-10-28T23:24:36.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:24:36.158Z] [2021-10-28T23:24:36.158Z] Login Succeeded [2021-10-28T23:24:36.158Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:24:36.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T23:24:36.427Z] ========================================================= [2021-10-28T23:24:36.427Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T23:24:36.427Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:24:36.836Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-28T23:24:36.836Z] Sending build context to Docker daemon 705.5kB [2021-10-28T23:24:36.836Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:24:36.836Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-28T23:24:36.836Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T23:24:36.836Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T23:24:36.836Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T23:24:36.836Z] b8b176561691: Pulling fs layer [2021-10-28T23:24:36.836Z] 4527c011a84f: Pulling fs layer [2021-10-28T23:24:36.836Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T23:24:36.836Z] e0aca202a116: Pulling fs layer [2021-10-28T23:24:36.836Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T23:24:36.836Z] 34cad66bf833: Pulling fs layer [2021-10-28T23:24:36.836Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T23:24:36.836Z] 4527c011a84f: Waiting [2021-10-28T23:24:36.836Z] 5d74067f8e1e: Waiting [2021-10-28T23:24:36.836Z] e0aca202a116: Waiting [2021-10-28T23:24:36.836Z] 3a43be97a3b4: Waiting [2021-10-28T23:24:36.836Z] 34cad66bf833: Waiting [2021-10-28T23:24:36.836Z] b4e3c513aaa6: Waiting [2021-10-28T23:24:36.836Z] b8b176561691: Verifying Checksum [2021-10-28T23:24:36.836Z] b8b176561691: Download complete [2021-10-28T23:24:36.836Z] 31adcdaf11c8: Verifying Checksum [2021-10-28T23:24:36.836Z] 31adcdaf11c8: Download complete [2021-10-28T23:24:36.836Z] 5d74067f8e1e: Verifying Checksum [2021-10-28T23:24:36.836Z] 5d74067f8e1e: Download complete [2021-10-28T23:24:36.836Z] e0aca202a116: Verifying Checksum [2021-10-28T23:24:36.836Z] e0aca202a116: Download complete [2021-10-28T23:24:36.836Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T23:24:36.836Z] a0d0a0d46f8b: Download complete [2021-10-28T23:24:36.836Z] 3a43be97a3b4: Verifying Checksum [2021-10-28T23:24:36.836Z] 3a43be97a3b4: Download complete [2021-10-28T23:24:37.098Z] 34cad66bf833: Verifying Checksum [2021-10-28T23:24:37.098Z] 34cad66bf833: Download complete [2021-10-28T23:24:37.364Z] a0d0a0d46f8b: Pull complete [2021-10-28T23:24:37.635Z] 31adcdaf11c8: Pull complete [2021-10-28T23:24:37.635Z] 4527c011a84f: Verifying Checksum [2021-10-28T23:24:37.635Z] 4527c011a84f: Download complete [2021-10-28T23:24:37.635Z] b8b176561691: Pull complete [2021-10-28T23:24:37.635Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T23:24:37.635Z] b4e3c513aaa6: Download complete [2021-10-28T23:24:41.872Z] 4527c011a84f: Pull complete [2021-10-28T23:24:41.872Z] 5d74067f8e1e: Pull complete [2021-10-28T23:24:41.872Z] e0aca202a116: Pull complete [2021-10-28T23:24:41.872Z] 3a43be97a3b4: Pull complete [2021-10-28T23:24:41.872Z] 34cad66bf833: Pull complete [2021-10-28T23:24:44.456Z] b4e3c513aaa6: Pull complete [2021-10-28T23:24:44.456Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T23:24:44.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T23:24:44.456Z] ---> 9f6097aaca64 [2021-10-28T23:24:44.456Z] Step 3/9 : ARG MAKE='make build' [2021-10-28T23:24:48.693Z] ---> Running in 3f049270a122 [2021-10-28T23:24:48.693Z] Removing intermediate container 3f049270a122 [2021-10-28T23:24:48.693Z] ---> 7beb4a85bbf0 [2021-10-28T23:24:48.693Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:24:48.693Z] ---> Running in 830dcb6c04ec [2021-10-28T23:24:48.957Z] Removing intermediate container 830dcb6c04ec [2021-10-28T23:24:48.957Z] ---> 2a3ecdc6171b [2021-10-28T23:24:48.957Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T23:24:48.957Z] ---> Running in ec5f84445515 [2021-10-28T23:24:49.219Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T23:24:50.180Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T23:24:50.444Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-10-28T23:24:50.444Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-10-28T23:24:50.444Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-10-28T23:24:50.707Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-10-28T23:24:50.708Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-10-28T23:24:50.708Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-10-28T23:24:50.971Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-10-28T23:24:50.972Z] (8/8) Installing openssh (8.6_p1-r3) [2021-10-28T23:24:51.241Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:24:51.241Z] OK: 226 MiB in 60 packages [2021-10-28T23:24:51.507Z] Removing intermediate container ec5f84445515 [2021-10-28T23:24:51.507Z] ---> 5b1b5bcafd37 [2021-10-28T23:24:51.507Z] Step 6/9 : WORKDIR /device-modbus-go [2021-10-28T23:24:51.507Z] ---> Running in 3ecd6c85ea26 [2021-10-28T23:24:51.507Z] Removing intermediate container 3ecd6c85ea26 [2021-10-28T23:24:51.507Z] ---> b5dff78ee517 [2021-10-28T23:24:51.507Z] Step 7/9 : COPY . . [2021-10-28T23:24:51.772Z] ---> 474b7bbab640 [2021-10-28T23:24:51.772Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:24:51.772Z] ---> Running in 2925762a8d65 [2021-10-28T23:24:53.698Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: verifying go.mod: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26/go.mod: reading https://sum.golang.org/lookup/github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: 410 Gone [2021-10-28T23:24:53.698Z] server response: not found: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: invalid version: unknown revision v2.0.1-dev.26 [2021-10-28T23:24:53.698Z] skipping... [2021-10-28T23:24:53.960Z] Removing intermediate container 2925762a8d65 [2021-10-28T23:24:53.960Z] ---> 8186aea49ae3 [2021-10-28T23:24:53.960Z] Step 9/9 : RUN ${MAKE} [2021-10-28T23:24:54.231Z] ---> Running in 1c1824614ecf [2021-10-28T23:24:54.231Z] noop [2021-10-28T23:24:54.491Z] Removing intermediate container 1c1824614ecf [2021-10-28T23:24:54.491Z] ---> 23b7775c88bd [2021-10-28T23:24:54.491Z] Successfully built 23b7775c88bd [2021-10-28T23:24:54.491Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:24:54.820Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T23:24:54.820Z] . [Pipeline] withDockerContainer [2021-10-28T23:24:54.906Z] prd-centos7-docker-4c-2g-13345 does not seem to be running inside a container [2021-10-28T23:24:54.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T23:24:55.279Z] $ docker top 277eb1ac62f875cb70106ec72145cd51ace1f3fac3e7c51e9f1ab07f71a65b29 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:24:55.702Z] + go version [2021-10-28T23:24:55.702Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-28T23:24:55.727Z] $ docker stop --time=1 277eb1ac62f875cb70106ec72145cd51ace1f3fac3e7c51e9f1ab07f71a65b29 [2021-10-28T23:24:56.911Z] $ docker rm -f 277eb1ac62f875cb70106ec72145cd51ace1f3fac3e7c51e9f1ab07f71a65b29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:24:57.588Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T23:24:57.588Z] . [Pipeline] withDockerContainer [2021-10-28T23:24:57.666Z] prd-centos7-docker-4c-2g-13345 does not seem to be running inside a container [2021-10-28T23:24:57.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T23:24:58.054Z] $ docker top 0a183feffcdd45d759d9a5e4db905378bf9ca9e18f3d5cce7359988f5ff348f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T23:24:58.495Z] + make test [2021-10-28T23:24:58.495Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-28T23:24:58.495Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: [2021-10-28T23:24:58.495Z] go mod download github.com/edgexfoundry/device-sdk-go/v2 [2021-10-28T23:24:58.495Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2021-10-28T23:24:58.529Z] $ docker stop --time=1 0a183feffcdd45d759d9a5e4db905378bf9ca9e18f3d5cce7359988f5ff348f8 [2021-10-28T23:24:59.723Z] $ docker rm -f 0a183feffcdd45d759d9a5e4db905378bf9ca9e18f3d5cce7359988f5ff348f8 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:25:01.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:25:01.006Z] [2021-10-28T23:25:01.006Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:25:01.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:25:01.348Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T23:25:01.348Z] b4d181a07f80: Pulling fs layer [2021-10-28T23:25:01.348Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T23:25:01.348Z] ed53099fbce6: Pulling fs layer [2021-10-28T23:25:01.348Z] dc539afda2c1: Pulling fs layer [2021-10-28T23:25:01.348Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T23:25:01.348Z] 9065ff56babe: Pulling fs layer [2021-10-28T23:25:01.348Z] d287ab97295c: Pulling fs layer [2021-10-28T23:25:01.348Z] dc539afda2c1: Waiting [2021-10-28T23:25:01.348Z] 77bc0d833cb6: Waiting [2021-10-28T23:25:01.348Z] 9065ff56babe: Waiting [2021-10-28T23:25:01.348Z] d287ab97295c: Waiting [2021-10-28T23:25:01.348Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T23:25:01.348Z] a1111a8f2ec3: Download complete [2021-10-28T23:25:01.348Z] dc539afda2c1: Verifying Checksum [2021-10-28T23:25:01.348Z] dc539afda2c1: Download complete [2021-10-28T23:25:01.617Z] ed53099fbce6: Verifying Checksum [2021-10-28T23:25:01.617Z] ed53099fbce6: Download complete [2021-10-28T23:25:01.617Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T23:25:01.617Z] 77bc0d833cb6: Download complete [2021-10-28T23:25:01.617Z] 9065ff56babe: Verifying Checksum [2021-10-28T23:25:01.617Z] 9065ff56babe: Download complete [2021-10-28T23:25:01.617Z] b4d181a07f80: Verifying Checksum [2021-10-28T23:25:01.617Z] b4d181a07f80: Download complete [2021-10-28T23:25:02.203Z] d287ab97295c: Verifying Checksum [2021-10-28T23:25:02.203Z] d287ab97295c: Download complete [2021-10-28T23:25:03.152Z] b4d181a07f80: Pull complete [2021-10-28T23:25:03.152Z] a1111a8f2ec3: Pull complete [2021-10-28T23:25:03.723Z] ed53099fbce6: Pull complete [2021-10-28T23:25:03.723Z] dc539afda2c1: Pull complete [2021-10-28T23:25:03.991Z] 77bc0d833cb6: Pull complete [2021-10-28T23:25:03.991Z] 9065ff56babe: Pull complete [2021-10-28T23:25:09.306Z] d287ab97295c: Pull complete [2021-10-28T23:25:09.306Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T23:25:09.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:25:09.306Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T23:25:09.386Z] prd-centos7-docker-4c-2g-13345 does not seem to be running inside a container [2021-10-28T23:25:09.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T23:25:12.079Z] $ docker top a7efb1fd4965175144935201ed1f5a42f15bbf03e16699a896347e7e3a72efa8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:25:12.530Z] ---> job-cost.sh [2021-10-28T23:25:12.530Z] lf-activate-venv: SKIPPING [2021-10-28T23:25:12.530Z] INFO: No Stack... [2021-10-28T23:25:12.791Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T23:25:13.053Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T23:25:13.362Z] + cut -d, -f6 [2021-10-28T23:25:13.363Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2021-10-28T23:25:13.403Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] [2021-10-28T23:25:13.409Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] did not exist. Created. [2021-10-28T23:25:13.409Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T23:25:13.779Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T23:25:14.007Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T23:25:14.025Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T23:25:14.072Z] $ docker stop --time=1 a7efb1fd4965175144935201ed1f5a42f15bbf03e16699a896347e7e3a72efa8 [2021-10-28T23:25:15.214Z] $ docker rm -f a7efb1fd4965175144935201ed1f5a42f15bbf03e16699a896347e7e3a72efa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T23:25:15.718Z] Failed in branch amd64 [2021-10-28T23:26:46.864Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13347 in /w/workspace/xfoundry_device-modbus-go_PR-285 [Pipeline] { [Pipeline] ws [2021-10-28T23:26:46.906Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-10-28T23:26:47.175Z] Selected Git installation does not exist. Using Default [2021-10-28T23:26:47.175Z] The recommended git tool is: NONE [2021-10-28T23:26:53.302Z] using credential edgex-jenkins-ssh [2021-10-28T23:26:53.320Z] Cloning the remote Git repository [2021-10-28T23:26:53.400Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-10-28T23:26:53.515Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-10-28T23:26:53.671Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-10-28T23:26:53.673Z] > git --version # timeout=10 [2021-10-28T23:26:53.717Z] > git --version # 'git version 2.17.1' [2021-10-28T23:26:53.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:26:53.832Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:26:55.497Z] Merging remotes/origin/main commit 2914c8785d6fb43e30410761fbe9b43bb07dce53 into PR head commit 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d [2021-10-28T23:26:55.783Z] Merge succeeded, producing 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d [2021-10-28T23:26:55.784Z] Checking out Revision 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d (PR-285) [2021-10-28T23:26:54.705Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-10-28T23:26:54.735Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:26:54.777Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-10-28T23:26:54.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-10-28T23:26:54.823Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:26:54.835Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T23:26:55.529Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:26:55.567Z] > git checkout -f 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 [2021-10-28T23:26:55.675Z] > git remote # timeout=10 [2021-10-28T23:26:55.698Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T23:26:55.723Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:26:55.740Z] > git merge 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 [2021-10-28T23:26:55.769Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T23:26:55.799Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:26:55.819Z] > git checkout -f 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 [2021-10-28T23:27:00.121Z] Commit message: "feat: Update configuration for new CORS and Secrets File settings" [2021-10-28T23:27:00.188Z] > git --version # timeout=10 [2021-10-28T23:27:00.203Z] > git --version # 'git version 2.17.1' [2021-10-28T23:27:00.215Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T23:27:01.246Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-28T23:27:01.246Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T23:27:01.246Z] Dload Upload Total Spent Left Speed [2021-10-28T23:27:01.851Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 14366 0 --:--:-- --:--:-- --:--:-- 14349 [Pipeline] sh [2021-10-28T23:27:02.275Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-28T23:27:02.633Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-28T23:27:02.633Z] + sudo tee /etc/docker/daemon.new [2021-10-28T23:27:02.633Z] { [2021-10-28T23:27:02.633Z] "registry-mirrors": [ [2021-10-28T23:27:02.633Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-28T23:27:02.633Z] ], [2021-10-28T23:27:02.633Z] "bip": "10.250.0.254/24", [2021-10-28T23:27:02.633Z] "hosts": [ [2021-10-28T23:27:02.633Z] "tcp://0.0.0.0:5555", [2021-10-28T23:27:02.633Z] "unix:///var/run/docker.sock" [2021-10-28T23:27:02.633Z] ], [2021-10-28T23:27:02.633Z] "mtu": 1458, [2021-10-28T23:27:02.633Z] "selinux-enabled": true, [2021-10-28T23:27:02.633Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-28T23:27:02.633Z] } [Pipeline] sh [2021-10-28T23:27:03.011Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-28T23:27:03.373Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:27:21.788Z] provisioning config files... [2021-10-28T23:27:21.814Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7079415089757439884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:27:22.222Z] ---> docker-login.sh [2021-10-28T23:27:22.222Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:27:23.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:27:23.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:27:23.667Z] Configure a credential helper to remove this warning. See [2021-10-28T23:27:23.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:27:23.667Z] [2021-10-28T23:27:23.667Z] Login Succeeded [2021-10-28T23:27:23.667Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:27:23.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:27:24.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:27:24.220Z] Configure a credential helper to remove this warning. See [2021-10-28T23:27:24.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:27:24.220Z] [2021-10-28T23:27:24.220Z] Login Succeeded [2021-10-28T23:27:24.220Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:27:24.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:27:24.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:27:24.775Z] Configure a credential helper to remove this warning. See [2021-10-28T23:27:24.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:27:24.775Z] [2021-10-28T23:27:24.775Z] Login Succeeded [2021-10-28T23:27:24.775Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:27:25.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:27:25.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:27:25.047Z] Configure a credential helper to remove this warning. See [2021-10-28T23:27:25.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:27:25.047Z] [2021-10-28T23:27:25.319Z] Login Succeeded [2021-10-28T23:27:25.319Z] docker.io [2021-10-28T23:27:25.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:27:25.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:27:25.862Z] Configure a credential helper to remove this warning. See [2021-10-28T23:27:25.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:27:25.862Z] [2021-10-28T23:27:25.862Z] Login Succeeded [2021-10-28T23:27:25.862Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:27:25.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T23:27:26.422Z] ========================================================= [2021-10-28T23:27:26.422Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-28T23:27:26.422Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:27:26.910Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-28T23:27:27.186Z] Sending build context to Docker daemon 704.5kB [2021-10-28T23:27:27.186Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:27:27.186Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-28T23:27:27.466Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-28T23:27:27.466Z] 552d1f2373af: Pulling fs layer [2021-10-28T23:27:27.466Z] ea3f2d53f512: Pulling fs layer [2021-10-28T23:27:27.466Z] 9e70ebbbe112: Pulling fs layer [2021-10-28T23:27:27.466Z] 7a9cfe048b4a: Pulling fs layer [2021-10-28T23:27:27.466Z] 72dc09318566: Pulling fs layer [2021-10-28T23:27:27.466Z] f4f7b4309257: Pulling fs layer [2021-10-28T23:27:27.466Z] 0ac9a79272e3: Pulling fs layer [2021-10-28T23:27:27.466Z] b78e95d17946: Pulling fs layer [2021-10-28T23:27:27.466Z] 72dc09318566: Waiting [2021-10-28T23:27:27.466Z] f4f7b4309257: Waiting [2021-10-28T23:27:27.466Z] b78e95d17946: Waiting [2021-10-28T23:27:27.466Z] 0ac9a79272e3: Waiting [2021-10-28T23:27:27.466Z] 7a9cfe048b4a: Waiting [2021-10-28T23:27:27.466Z] 9e70ebbbe112: Download complete [2021-10-28T23:27:27.466Z] ea3f2d53f512: Verifying Checksum [2021-10-28T23:27:27.466Z] ea3f2d53f512: Download complete [2021-10-28T23:27:27.466Z] 72dc09318566: Verifying Checksum [2021-10-28T23:27:27.466Z] 72dc09318566: Download complete [2021-10-28T23:27:27.466Z] f4f7b4309257: Verifying Checksum [2021-10-28T23:27:27.466Z] f4f7b4309257: Download complete [2021-10-28T23:27:27.466Z] 552d1f2373af: Verifying Checksum [2021-10-28T23:27:27.466Z] 552d1f2373af: Download complete [2021-10-28T23:27:27.466Z] 0ac9a79272e3: Verifying Checksum [2021-10-28T23:27:27.466Z] 0ac9a79272e3: Download complete [2021-10-28T23:27:28.458Z] 552d1f2373af: Pull complete [2021-10-28T23:27:29.056Z] ea3f2d53f512: Pull complete [2021-10-28T23:27:29.329Z] 9e70ebbbe112: Pull complete [2021-10-28T23:27:29.602Z] b78e95d17946: Verifying Checksum [2021-10-28T23:27:29.602Z] b78e95d17946: Download complete [2021-10-28T23:27:29.873Z] 7a9cfe048b4a: Verifying Checksum [2021-10-28T23:27:29.873Z] 7a9cfe048b4a: Download complete [2021-10-28T23:27:40.017Z] 7a9cfe048b4a: Pull complete [2021-10-28T23:27:40.017Z] 72dc09318566: Pull complete [2021-10-28T23:27:40.017Z] f4f7b4309257: Pull complete [2021-10-28T23:27:40.294Z] 0ac9a79272e3: Pull complete [2021-10-28T23:27:47.022Z] b78e95d17946: Pull complete [2021-10-28T23:27:47.022Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-28T23:27:47.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-28T23:27:47.022Z] ---> 8b459fc5aaf0 [2021-10-28T23:27:47.022Z] Step 3/9 : ARG MAKE='make build' [2021-10-28T23:27:49.663Z] ---> Running in ab0311f6e0cb [2021-10-28T23:27:49.663Z] Removing intermediate container ab0311f6e0cb [2021-10-28T23:27:49.663Z] ---> ee62dbcb2d3f [2021-10-28T23:27:49.663Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:27:49.937Z] ---> Running in 12e38866dc42 [2021-10-28T23:27:52.572Z] Removing intermediate container 12e38866dc42 [2021-10-28T23:27:52.572Z] ---> 7f68d5356cc8 [2021-10-28T23:27:52.572Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T23:27:52.572Z] ---> Running in 5bc3a67b706a [2021-10-28T23:27:53.555Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T23:27:54.542Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T23:27:55.532Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-10-28T23:27:55.532Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-10-28T23:27:55.807Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-10-28T23:27:56.078Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-10-28T23:27:56.078Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-10-28T23:27:56.078Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-10-28T23:27:56.353Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-10-28T23:27:56.353Z] (8/8) Installing openssh (8.6_p1-r3) [2021-10-28T23:27:56.627Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:27:56.627Z] OK: 225 MiB in 60 packages [2021-10-28T23:27:58.064Z] Removing intermediate container 5bc3a67b706a [2021-10-28T23:27:58.064Z] ---> d8eae8dff0cb [2021-10-28T23:27:58.064Z] Step 6/9 : WORKDIR /device-modbus-go [2021-10-28T23:27:58.064Z] ---> Running in c6fcfd871e33 [2021-10-28T23:27:58.352Z] Removing intermediate container c6fcfd871e33 [2021-10-28T23:27:58.352Z] ---> 2167f01136e4 [2021-10-28T23:27:58.352Z] Step 7/9 : COPY . . [2021-10-28T23:27:59.814Z] ---> c5ae75a4e082 [2021-10-28T23:27:59.814Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:27:59.814Z] ---> Running in 53942940fec4 [2021-10-28T23:28:04.133Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: verifying go.mod: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26/go.mod: reading https://sum.golang.org/lookup/github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: 410 Gone [2021-10-28T23:28:04.133Z] server response: not found: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: invalid version: unknown revision v2.0.1-dev.26 [2021-10-28T23:28:04.133Z] skipping... [2021-10-28T23:28:06.767Z] Removing intermediate container 53942940fec4 [2021-10-28T23:28:06.767Z] ---> 96243fc1036f [2021-10-28T23:28:06.767Z] Step 9/9 : RUN ${MAKE} [2021-10-28T23:28:07.051Z] ---> Running in c1aa9b45db23 [2021-10-28T23:28:08.033Z] noop [2021-10-28T23:28:09.014Z] Removing intermediate container c1aa9b45db23 [2021-10-28T23:28:09.014Z] ---> 258acd351580 [2021-10-28T23:28:09.014Z] Successfully built 258acd351580 [2021-10-28T23:28:09.014Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:28:09.390Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T23:28:09.390Z] . [Pipeline] withDockerContainer [2021-10-28T23:28:09.714Z] prd-ubuntu18.04-docker-arm64-4c-16g-13347 does not seem to be running inside a container [2021-10-28T23:28:09.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-28T23:28:11.551Z] $ docker top 6ca2369b9a6c27e7236e17cf02338e6ca0a872ab1e001c56629a0892d836152e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:28:12.638Z] + go version [2021-10-28T23:28:12.638Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-28T23:28:12.671Z] $ docker stop --time=1 6ca2369b9a6c27e7236e17cf02338e6ca0a872ab1e001c56629a0892d836152e [2021-10-28T23:28:14.537Z] $ docker rm -f 6ca2369b9a6c27e7236e17cf02338e6ca0a872ab1e001c56629a0892d836152e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:28:15.436Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T23:28:15.436Z] . [Pipeline] withDockerContainer [2021-10-28T23:28:15.739Z] prd-ubuntu18.04-docker-arm64-4c-16g-13347 does not seem to be running inside a container [2021-10-28T23:28:15.829Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-28T23:28:17.509Z] $ docker top cbaebbc0e04b8e1eacaff3ddfa2c5eb16986a2a29826b2b53da2fa2024cb89cb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T23:28:18.572Z] + make test [2021-10-28T23:28:18.572Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-28T23:28:18.572Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: [2021-10-28T23:28:18.572Z] go mod download github.com/edgexfoundry/device-sdk-go/v2 [2021-10-28T23:28:18.572Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2021-10-28T23:28:18.617Z] $ docker stop --time=1 cbaebbc0e04b8e1eacaff3ddfa2c5eb16986a2a29826b2b53da2fa2024cb89cb [2021-10-28T23:28:20.484Z] $ docker rm -f cbaebbc0e04b8e1eacaff3ddfa2c5eb16986a2a29826b2b53da2fa2024cb89cb [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:28:21.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:28:22.034Z] [2021-10-28T23:28:22.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:28:22.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:28:22.698Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-28T23:28:22.698Z] 448f6bf000e3: Pulling fs layer [2021-10-28T23:28:22.698Z] f757da607395: Pulling fs layer [2021-10-28T23:28:22.698Z] 05883995daec: Pulling fs layer [2021-10-28T23:28:22.698Z] 8603b9c90790: Pulling fs layer [2021-10-28T23:28:22.698Z] 1560dd03e051: Pulling fs layer [2021-10-28T23:28:22.698Z] 27f5ce0e4adf: Pulling fs layer [2021-10-28T23:28:22.698Z] c2d8d7efcc4b: Pulling fs layer [2021-10-28T23:28:22.698Z] 1560dd03e051: Waiting [2021-10-28T23:28:22.698Z] 27f5ce0e4adf: Waiting [2021-10-28T23:28:22.698Z] 8603b9c90790: Waiting [2021-10-28T23:28:22.698Z] c2d8d7efcc4b: Waiting [2021-10-28T23:28:22.698Z] f757da607395: Verifying Checksum [2021-10-28T23:28:22.698Z] f757da607395: Download complete [2021-10-28T23:28:22.698Z] 8603b9c90790: Verifying Checksum [2021-10-28T23:28:22.698Z] 8603b9c90790: Download complete [2021-10-28T23:28:22.972Z] 1560dd03e051: Verifying Checksum [2021-10-28T23:28:22.972Z] 1560dd03e051: Download complete [2021-10-28T23:28:22.972Z] 05883995daec: Verifying Checksum [2021-10-28T23:28:22.972Z] 05883995daec: Download complete [2021-10-28T23:28:22.972Z] 27f5ce0e4adf: Download complete [2021-10-28T23:28:23.261Z] 448f6bf000e3: Verifying Checksum [2021-10-28T23:28:23.261Z] 448f6bf000e3: Download complete [2021-10-28T23:28:25.892Z] c2d8d7efcc4b: Verifying Checksum [2021-10-28T23:28:25.892Z] c2d8d7efcc4b: Download complete [2021-10-28T23:28:27.337Z] 448f6bf000e3: Pull complete [2021-10-28T23:28:27.932Z] f757da607395: Pull complete [2021-10-28T23:28:29.368Z] 05883995daec: Pull complete [2021-10-28T23:28:29.965Z] 8603b9c90790: Pull complete [2021-10-28T23:28:30.950Z] 1560dd03e051: Pull complete [2021-10-28T23:28:31.226Z] 27f5ce0e4adf: Pull complete [2021-10-28T23:28:46.329Z] c2d8d7efcc4b: Pull complete [2021-10-28T23:28:46.329Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-28T23:28:46.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:28:46.329Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-28T23:28:46.628Z] prd-ubuntu18.04-docker-arm64-4c-16g-13347 does not seem to be running inside a container [2021-10-28T23:28:46.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-28T23:28:50.378Z] $ docker top 9ca971346dc359a8490f6968fea715b1ef8dc4d1153c2bc79aa0bcf134577d21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:28:51.428Z] ---> job-cost.sh [2021-10-28T23:28:51.428Z] lf-activate-venv: SKIPPING [2021-10-28T23:28:51.428Z] INFO: No Stack... [2021-10-28T23:28:52.022Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-28T23:28:52.298Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T23:28:52.978Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2021-10-28T23:28:52.978Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T23:28:53.067Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] [2021-10-28T23:28:53.071Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] did not exist. Created. [2021-10-28T23:28:53.071Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T23:28:53.851Z] /w/workspace/device-modbus-go/1@tmp/durable-b382da4d/script.sh: 1: /w/workspace/device-modbus-go/1@tmp/durable-b382da4d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-28T23:28:54.621Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-28T23:28:54.673Z] Warning: overwriting stash ‘stack-cost’ [2021-10-28T23:28:55.460Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T23:28:55.476Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T23:28:55.527Z] $ docker stop --time=1 9ca971346dc359a8490f6968fea715b1ef8dc4d1153c2bc79aa0bcf134577d21 [2021-10-28T23:28:57.172Z] $ docker rm -f 9ca971346dc359a8490f6968fea715b1ef8dc4d1153c2bc79aa0bcf134577d21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T23:28:57.858Z] 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] { (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] sh [2021-10-28T23:28:59.862Z] + '[' -d /w/workspace/xfoundry_device-modbus-go_PR-285/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:29:00.186Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:29:00.780Z] ---> package-listing.sh [2021-10-28T23:29:00.780Z] ++ facter osfamily [2021-10-28T23:29:00.780Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T23:29:01.044Z] + OS_FAMILY=redhat [2021-10-28T23:29:01.044Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-285 [2021-10-28T23:29:01.044Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T23:29:01.044Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T23:29:01.044Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T23:29:01.044Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T23:29:01.044Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-285 ']' [2021-10-28T23:29:01.044Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T23:29:01.044Z] + case "${OS_FAMILY}" in [2021-10-28T23:29:01.044Z] + sort [2021-10-28T23:29:01.044Z] + rpm -qa [2021-10-28T23:29:01.637Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T23:29:01.637Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T23:29:01.637Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T23:29:01.637Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-285 ']' [2021-10-28T23:29:01.637Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-285/archives/ [2021-10-28T23:29:01.637Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-285/archives/ [Pipeline] echo [2021-10-28T23:29:01.665Z] 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-285/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-28T23:29:01.959Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:29:02.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:29:02.554Z] [2021-10-28T23:29:02.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:29:02.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:29:02.892Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T23:29:02.892Z] b4d181a07f80: Pulling fs layer [2021-10-28T23:29:02.892Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T23:29:02.892Z] ed53099fbce6: Pulling fs layer [2021-10-28T23:29:02.892Z] dc539afda2c1: Pulling fs layer [2021-10-28T23:29:02.892Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T23:29:02.892Z] 9065ff56babe: Pulling fs layer [2021-10-28T23:29:02.892Z] d287ab97295c: Pulling fs layer [2021-10-28T23:29:02.892Z] 77bc0d833cb6: Waiting [2021-10-28T23:29:02.892Z] 9065ff56babe: Waiting [2021-10-28T23:29:02.892Z] d287ab97295c: Waiting [2021-10-28T23:29:02.892Z] dc539afda2c1: Waiting [2021-10-28T23:29:02.892Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T23:29:02.892Z] a1111a8f2ec3: Download complete [2021-10-28T23:29:02.892Z] dc539afda2c1: Verifying Checksum [2021-10-28T23:29:02.892Z] dc539afda2c1: Download complete [2021-10-28T23:29:02.892Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T23:29:02.892Z] 77bc0d833cb6: Download complete [2021-10-28T23:29:02.892Z] ed53099fbce6: Verifying Checksum [2021-10-28T23:29:02.892Z] ed53099fbce6: Download complete [2021-10-28T23:29:02.892Z] 9065ff56babe: Verifying Checksum [2021-10-28T23:29:02.892Z] 9065ff56babe: Download complete [2021-10-28T23:29:03.159Z] b4d181a07f80: Verifying Checksum [2021-10-28T23:29:03.159Z] b4d181a07f80: Download complete [2021-10-28T23:29:03.758Z] d287ab97295c: Verifying Checksum [2021-10-28T23:29:03.758Z] d287ab97295c: Download complete [2021-10-28T23:29:04.330Z] b4d181a07f80: Pull complete [2021-10-28T23:29:04.596Z] a1111a8f2ec3: Pull complete [2021-10-28T23:29:05.183Z] ed53099fbce6: Pull complete [2021-10-28T23:29:05.183Z] dc539afda2c1: Pull complete [2021-10-28T23:29:05.443Z] 77bc0d833cb6: Pull complete [2021-10-28T23:29:05.704Z] 9065ff56babe: Pull complete [2021-10-28T23:29:11.031Z] d287ab97295c: Pull complete [2021-10-28T23:29:11.031Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T23:29:11.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:29:11.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T23:29:11.118Z] prd-centos7-docker-4c-2g-13343 does not seem to be running inside a container [2021-10-28T23:29:11.155Z] $ 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-285/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-285 -v /w/workspace/xfoundry_device-modbus-go_PR-285:/w/workspace/xfoundry_device-modbus-go_PR-285:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-285@tmp:/w/workspace/xfoundry_device-modbus-go_PR-285@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 [2021-10-28T23:29:13.179Z] $ docker top df06f48401f2ef63846b831ecb68dbd80cac18adf5999477c4201664e254cd74 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:29:13.588Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T23:29:13.901Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T23:29:14.216Z] + ls /var/log/sa-host [2021-10-28T23:29:14.216Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T23:29:14.216Z] file_magic: OK [2021-10-28T23:29:14.216Z] HZ: Using current value: 100 [2021-10-28T23:29:14.216Z] file_header: OK [2021-10-28T23:29:14.216Z] 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-10-28T23:29:14.216Z] Statistics: [2021-10-28T23:29:14.216Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T23:29:14.216Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T23:29:14.216Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T23:29:14.216Z] file_magic: OK [2021-10-28T23:29:14.216Z] HZ: Using current value: 100 [2021-10-28T23:29:14.216Z] file_header: OK [2021-10-28T23:29:14.216Z] 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-10-28T23:29:14.216Z] Statistics: [2021-10-28T23:29:14.216Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T23:29:14.216Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:29:14.337Z] provisioning config files... [2021-10-28T23:29:14.350Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/config7674983730055309291tmp [Pipeline] { [Pipeline] echo [2021-10-28T23:29:14.387Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:29:14.703Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T23:29:14.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:29:15.129Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T23:29:15.153Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:29:15.470Z] ---> sudo-logs.sh [2021-10-28T23:29:15.470Z] Archiving 'sudo' log.. [2021-10-28T23:29:15.470Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13343.novalocal: Name or service not known [2021-10-28T23:29:15.470Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13343.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T23:29:15.543Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:29:15.860Z] ---> job-cost.sh [2021-10-28T23:29:15.860Z] lf-activate-venv: SKIPPING [2021-10-28T23:29:15.860Z] DEBUG: total: 0.10999999940395355 [2021-10-28T23:29:15.860Z] INFO: Retrieving Stack Cost... [2021-10-28T23:29:16.122Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T23:29:16.383Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T23:29:16.413Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:29:16.738Z] ---> logs-deploy.sh [2021-10-28T23:29:16.739Z] lf-activate-venv: SKIPPING [2021-10-28T23:29:16.739Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-285/1 [2021-10-28T23:29:16.739Z] INFO: archiving workspace using pattern(s): [2021-10-28T23:29:17.310Z] Archives upload complete. [2021-10-28T23:29:17.573Z] INFO: archiving logs to Nexus