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 23:21:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:21:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:21:44 ========================================================= 23:21:44 EdgeX Global Pipelines Version Info 23:21:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:21:45 ------------------- 23:21:45 stable info: 23:21:45 ------------------- 23:21:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:21:45 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 23:21:45 Message: update stable to v1.0.210 23:21:45 ------------------- 23:21:45 experimental info: 23:21:45 ------------------- 23:21:45 Commited By: **** collab-it+edgex@linuxfoundation.org 23:21:45 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 23:21:45 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:21:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 23:21:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-285 [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-285 [Pipeline] echo 23:21:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-285 [Pipeline] echo 23:21:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d [Pipeline] echo 23:21:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08c87fc [Pipeline] echo 23:21:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:47 provisioning config files... 23:21:47 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/config6906513714350569453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:47 ---> docker-login.sh 23:21:47 nexus3.edgexfoundry.org:10001 23:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:47 Configure a credential helper to remove this warning. See 23:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:47 23:21:47 Login Succeeded 23:21:47 nexus3.edgexfoundry.org:10002 23:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:47 Configure a credential helper to remove this warning. See 23:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:47 23:21:47 Login Succeeded 23:21:47 nexus3.edgexfoundry.org:10003 23:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:48 Configure a credential helper to remove this warning. See 23:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:48 23:21:48 Login Succeeded 23:21:48 nexus3.edgexfoundry.org:10004 23:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:48 Configure a credential helper to remove this warning. See 23:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:48 23:21:48 Login Succeeded 23:21:48 docker.io 23:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:48 Configure a credential helper to remove this warning. See 23:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:48 23:21:48 Login Succeeded 23:21:48 ---> docker-login.sh ends [Pipeline] } 23:21:48 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 23:21:49 + git log --format=format:%s -1 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d [Pipeline] echo 23:21:49 GIT_COMMIT: 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo 23:21:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:21:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:49 23:21:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:21:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:50 latest: Pulling from edgex-devops/git-semver 23:21:50 a0d0a0d46f8b: Pulling fs layer 23:21:50 3e5f54012d9b: Pulling fs layer 23:21:50 4c7163046ea9: Pulling fs layer 23:21:50 0c2d73faf560: Pulling fs layer 23:21:50 0c2d73faf560: Waiting 23:21:50 3e5f54012d9b: Verifying Checksum 23:21:50 3e5f54012d9b: Download complete 23:21:50 a0d0a0d46f8b: Verifying Checksum 23:21:50 a0d0a0d46f8b: Download complete 23:21:50 4c7163046ea9: Verifying Checksum 23:21:50 4c7163046ea9: Download complete 23:21:50 0c2d73faf560: Verifying Checksum 23:21:50 0c2d73faf560: Download complete 23:21:50 a0d0a0d46f8b: Pull complete 23:21:50 3e5f54012d9b: Pull complete 23:21:50 4c7163046ea9: Pull complete 23:21:51 0c2d73faf560: Pull complete 23:21:51 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:21:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:21:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:21:51 prd-centos7-docker-4c-2g-13343 does not seem to be running inside a container 23:21:51 $ 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 23:21:51 $ docker top f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:21:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:52 [ssh-agent] Looking for ssh-agent implementation... 23:21:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:52 $ docker exec f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc ssh-agent 23:21:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCIAeIo/agent.13 23:21:52 SSH_AGENT_PID=20 23:21:52 Running ssh-add (command line suppressed) 23:21:52 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) 23:21:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:52 + git tag --points-at HEAD [Pipeline] } 23:21:52 $ docker exec --env ******** --env ******** f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc ssh-agent -k 23:21:52 unset SSH_AUTH_SOCK; 23:21:52 unset SSH_AGENT_PID; 23:21:52 echo Agent pid 20 killed; 23:21:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:21:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:52 [ssh-agent] Looking for ssh-agent implementation... 23:21:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:53 $ docker exec f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc ssh-agent 23:21:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOpFNon/agent.56 23:21:53 SSH_AGENT_PID=62 23:21:53 Running ssh-add (command line suppressed) 23:21:53 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) 23:21:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:53 + git semver init 23:21:53 # -> Open(): unable to determine branch for HEAD 23:21:53 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-285/.git 23:21:53 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-285 23:21:53 # $SEMVER_REMOTE_NAME = origin 23:21:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:21:53 # $SEMVER_USER_NAME = edgex-jenkins 23:21:53 # $SEMVER_BRANCH = PR-285 23:21:53 # $SEMVER_TEMP = /tmp/semver-870605967 23:21:53 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 23:21:54 # '/tmp/semver-870605967' -> '/w/workspace/xfoundry_device-modbus-go_PR-285/.semver' 23:21:54 # -> Force: false 23:21:54 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-285/.semver [Pipeline] } 23:21:54 $ docker exec --env ******** --env ******** f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc ssh-agent -k 23:21:54 unset SSH_AUTH_SOCK; 23:21:54 unset SSH_AGENT_PID; 23:21:54 echo Agent pid 62 killed; 23:21:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:21:54 + git semver [Pipeline] } 23:21:54 $ docker stop --time=1 f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc 23:21:55 $ docker rm -f f8ab97005e3950867426ebd93ac62947ceaa143bc9a29e2c6692d962835543bc [Pipeline] // withDockerContainer [Pipeline] sh 23:21:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:21:56 Stashed 1 file(s) [Pipeline] echo 23:21:56 [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 23:22:12 Still waiting to schedule task 23:22:12 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:22:12 Still waiting to schedule task 23:22:12 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:24:26 Running on prd-centos7-docker-4c-2g-13345 in /w/workspace/xfoundry_device-modbus-go_PR-285 [Pipeline] { [Pipeline] ws 23:24:26 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 23:24:26 Selected Git installation does not exist. Using Default 23:24:26 The recommended git tool is: NONE 23:24:28 using credential edgex-jenkins-ssh 23:24:29 Cloning the remote Git repository 23:24:28 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:24:28 > git init /w/workspace/device-modbus-go/1 # timeout=10 23:24:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:24:28 > git --version # timeout=10 23:24:28 > git --version # 'git version 2.24.4' 23:24:28 using GIT_SSH to set credentials SSH Credentials for GitHub 23:24:28 [INFO] Currently running in a labeled security context 23:24:28 [INFO] Currently SELinux is 'enforcing' on the host 23:24:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh4485268003842621261.key 23:24:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:24:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:24:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:24:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:24:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:24:28 using GIT_SSH to set credentials SSH Credentials for GitHub 23:24:28 [INFO] Currently running in a labeled security context 23:24:28 [INFO] Currently SELinux is 'enforcing' on the host 23:24:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh3455614472707797230.key 23:24:28 > 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 23:24:30 Merging remotes/origin/main commit 2914c8785d6fb43e30410761fbe9b43bb07dce53 into PR head commit 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d 23:24:30 Merge succeeded, producing 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d 23:24:30 Checking out Revision 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d (PR-285) 23:24:29 > git config core.sparsecheckout # timeout=10 23:24:29 > git checkout -f 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 23:24:29 > git remote # timeout=10 23:24:29 > git config --get remote.origin.url # timeout=10 23:24:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:24:29 [INFO] Currently running in a labeled security context 23:24:29 [INFO] Currently SELinux is 'enforcing' on the host 23:24:29 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh6727483780996386518.key 23:24:29 > git merge 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 23:24:29 > git rev-parse HEAD^{commit} # timeout=10 23:24:29 > git config core.sparsecheckout # timeout=10 23:24:29 > git checkout -f 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 23:24:34 Commit message: "feat: Update configuration for new CORS and Secrets File settings" 23:24:33 > git --version # timeout=10 23:24:33 > git --version # 'git version 2.24.4' 23:24:33 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:24:34 provisioning config files... 23:24:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4302108114994569296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:35 ---> docker-login.sh 23:24:35 nexus3.edgexfoundry.org:10001 23:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:35 Configure a credential helper to remove this warning. See 23:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:35 23:24:35 Login Succeeded 23:24:35 nexus3.edgexfoundry.org:10002 23:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:35 Configure a credential helper to remove this warning. See 23:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:35 23:24:35 Login Succeeded 23:24:35 nexus3.edgexfoundry.org:10003 23:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:35 Configure a credential helper to remove this warning. See 23:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:35 23:24:35 Login Succeeded 23:24:35 nexus3.edgexfoundry.org:10004 23:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:35 Configure a credential helper to remove this warning. See 23:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:35 23:24:35 Login Succeeded 23:24:35 docker.io 23:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:36 Configure a credential helper to remove this warning. See 23:24:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:36 23:24:36 Login Succeeded 23:24:36 ---> docker-login.sh ends [Pipeline] } 23:24:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:24:36 ========================================================= 23:24:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:24:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:24:36 + 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 . 23:24:36 Sending build context to Docker daemon 705.5kB 23:24:36 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 23:24:36 Step 2/9 : FROM ${BASE} AS builder 23:24:36 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:24:36 a0d0a0d46f8b: Pulling fs layer 23:24:36 31adcdaf11c8: Pulling fs layer 23:24:36 b8b176561691: Pulling fs layer 23:24:36 4527c011a84f: Pulling fs layer 23:24:36 5d74067f8e1e: Pulling fs layer 23:24:36 e0aca202a116: Pulling fs layer 23:24:36 3a43be97a3b4: Pulling fs layer 23:24:36 34cad66bf833: Pulling fs layer 23:24:36 b4e3c513aaa6: Pulling fs layer 23:24:36 4527c011a84f: Waiting 23:24:36 5d74067f8e1e: Waiting 23:24:36 e0aca202a116: Waiting 23:24:36 3a43be97a3b4: Waiting 23:24:36 34cad66bf833: Waiting 23:24:36 b4e3c513aaa6: Waiting 23:24:36 b8b176561691: Verifying Checksum 23:24:36 b8b176561691: Download complete 23:24:36 31adcdaf11c8: Verifying Checksum 23:24:36 31adcdaf11c8: Download complete 23:24:36 5d74067f8e1e: Verifying Checksum 23:24:36 5d74067f8e1e: Download complete 23:24:36 e0aca202a116: Verifying Checksum 23:24:36 e0aca202a116: Download complete 23:24:36 a0d0a0d46f8b: Verifying Checksum 23:24:36 a0d0a0d46f8b: Download complete 23:24:36 3a43be97a3b4: Verifying Checksum 23:24:36 3a43be97a3b4: Download complete 23:24:37 34cad66bf833: Verifying Checksum 23:24:37 34cad66bf833: Download complete 23:24:37 a0d0a0d46f8b: Pull complete 23:24:37 31adcdaf11c8: Pull complete 23:24:37 4527c011a84f: Verifying Checksum 23:24:37 4527c011a84f: Download complete 23:24:37 b8b176561691: Pull complete 23:24:37 b4e3c513aaa6: Verifying Checksum 23:24:37 b4e3c513aaa6: Download complete 23:24:41 4527c011a84f: Pull complete 23:24:41 5d74067f8e1e: Pull complete 23:24:41 e0aca202a116: Pull complete 23:24:41 3a43be97a3b4: Pull complete 23:24:41 34cad66bf833: Pull complete 23:24:44 b4e3c513aaa6: Pull complete 23:24:44 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 23:24:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:24:44 ---> 9f6097aaca64 23:24:44 Step 3/9 : ARG MAKE='make build' 23:24:48 ---> Running in 3f049270a122 23:24:48 Removing intermediate container 3f049270a122 23:24:48 ---> 7beb4a85bbf0 23:24:48 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:24:48 ---> Running in 830dcb6c04ec 23:24:48 Removing intermediate container 830dcb6c04ec 23:24:48 ---> 2a3ecdc6171b 23:24:48 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 23:24:48 ---> Running in ec5f84445515 23:24:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:24:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:24:50 (1/8) Installing openssh-keygen (8.6_p1-r3) 23:24:50 (2/8) Installing libedit (20210216.3.1-r0) 23:24:50 (3/8) Installing openssh-client-common (8.6_p1-r3) 23:24:50 (4/8) Installing openssh-client-default (8.6_p1-r3) 23:24:50 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 23:24:50 (6/8) Installing openssh-server-common (8.6_p1-r3) 23:24:50 (7/8) Installing openssh-server (8.6_p1-r3) 23:24:50 (8/8) Installing openssh (8.6_p1-r3) 23:24:51 Executing busybox-1.33.1-r3.trigger 23:24:51 OK: 226 MiB in 60 packages 23:24:51 Removing intermediate container ec5f84445515 23:24:51 ---> 5b1b5bcafd37 23:24:51 Step 6/9 : WORKDIR /device-modbus-go 23:24:51 ---> Running in 3ecd6c85ea26 23:24:51 Removing intermediate container 3ecd6c85ea26 23:24:51 ---> b5dff78ee517 23:24:51 Step 7/9 : COPY . . 23:24:51 ---> 474b7bbab640 23:24:51 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:24:51 ---> Running in 2925762a8d65 23:24:53 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 23:24:53 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 23:24:53 skipping... 23:24:53 Removing intermediate container 2925762a8d65 23:24:53 ---> 8186aea49ae3 23:24:53 Step 9/9 : RUN ${MAKE} 23:24:54 ---> Running in 1c1824614ecf 23:24:54 noop 23:24:54 Removing intermediate container 1c1824614ecf 23:24:54 ---> 23b7775c88bd 23:24:54 Successfully built 23b7775c88bd 23:24:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:24:54 + docker inspect -f . ci-base-image-x86_64 23:24:54 . [Pipeline] withDockerContainer 23:24:54 prd-centos7-docker-4c-2g-13345 does not seem to be running inside a container 23:24:54 $ 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 23:24:55 $ docker top 277eb1ac62f875cb70106ec72145cd51ace1f3fac3e7c51e9f1ab07f71a65b29 -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:55 + go version 23:24:55 go version go1.16.8 linux/amd64 [Pipeline] } 23:24:55 $ docker stop --time=1 277eb1ac62f875cb70106ec72145cd51ace1f3fac3e7c51e9f1ab07f71a65b29 23:24:56 $ docker rm -f 277eb1ac62f875cb70106ec72145cd51ace1f3fac3e7c51e9f1ab07f71a65b29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:24:57 + docker inspect -f . ci-base-image-x86_64 23:24:57 . [Pipeline] withDockerContainer 23:24:57 prd-centos7-docker-4c-2g-13345 does not seem to be running inside a container 23:24:57 $ 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 23:24:58 $ docker top 0a183feffcdd45d759d9a5e4db905378bf9ca9e18f3d5cce7359988f5ff348f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:24:58 + make test 23:24:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:24:58 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: 23:24:58 go mod download github.com/edgexfoundry/device-sdk-go/v2 23:24:58 make: *** [Makefile:27: test] Error 1 [Pipeline] } 23:24:58 $ docker stop --time=1 0a183feffcdd45d759d9a5e4db905378bf9ca9e18f3d5cce7359988f5ff348f8 23:24:59 $ 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 23:25:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:01 23:25:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:25:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:01 latest: Pulling from edgex-lftools-log-publisher 23:25:01 b4d181a07f80: Pulling fs layer 23:25:01 a1111a8f2ec3: Pulling fs layer 23:25:01 ed53099fbce6: Pulling fs layer 23:25:01 dc539afda2c1: Pulling fs layer 23:25:01 77bc0d833cb6: Pulling fs layer 23:25:01 9065ff56babe: Pulling fs layer 23:25:01 d287ab97295c: Pulling fs layer 23:25:01 dc539afda2c1: Waiting 23:25:01 77bc0d833cb6: Waiting 23:25:01 9065ff56babe: Waiting 23:25:01 d287ab97295c: Waiting 23:25:01 a1111a8f2ec3: Verifying Checksum 23:25:01 a1111a8f2ec3: Download complete 23:25:01 dc539afda2c1: Verifying Checksum 23:25:01 dc539afda2c1: Download complete 23:25:01 ed53099fbce6: Verifying Checksum 23:25:01 ed53099fbce6: Download complete 23:25:01 77bc0d833cb6: Verifying Checksum 23:25:01 77bc0d833cb6: Download complete 23:25:01 9065ff56babe: Verifying Checksum 23:25:01 9065ff56babe: Download complete 23:25:01 b4d181a07f80: Verifying Checksum 23:25:01 b4d181a07f80: Download complete 23:25:02 d287ab97295c: Verifying Checksum 23:25:02 d287ab97295c: Download complete 23:25:03 b4d181a07f80: Pull complete 23:25:03 a1111a8f2ec3: Pull complete 23:25:03 ed53099fbce6: Pull complete 23:25:03 dc539afda2c1: Pull complete 23:25:03 77bc0d833cb6: Pull complete 23:25:03 9065ff56babe: Pull complete 23:25:09 d287ab97295c: Pull complete 23:25:09 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:25:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:25:09 prd-centos7-docker-4c-2g-13345 does not seem to be running inside a container 23:25:09 $ 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 23:25:12 $ docker top a7efb1fd4965175144935201ed1f5a42f15bbf03e16699a896347e7e3a72efa8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:12 ---> job-cost.sh 23:25:12 lf-activate-venv: SKIPPING 23:25:12 INFO: No Stack... 23:25:12 INFO: Retrieving Pricing Info for: v3-standard-2 23:25:13 INFO: Archiving Costs [Pipeline] sh 23:25:13 + cut -d, -f6 23:25:13 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 23:25:13 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] 23:25:13 Resource [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] did not exist. Created. 23:25:13 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:25:13 + echo total: 0.05999999865889549 [Pipeline] stash 23:25:14 Stashed 1 file(s) [Pipeline] } 23:25:14 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:25:14 $ docker stop --time=1 a7efb1fd4965175144935201ed1f5a42f15bbf03e16699a896347e7e3a72efa8 23:25:15 $ 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] } 23:25:15 Failed in branch amd64 23:26:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13347 in /w/workspace/xfoundry_device-modbus-go_PR-285 [Pipeline] { [Pipeline] ws 23:26:46 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 23:26:47 Selected Git installation does not exist. Using Default 23:26:47 The recommended git tool is: NONE 23:26:53 using credential edgex-jenkins-ssh 23:26:53 Cloning the remote Git repository 23:26:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:26:53 > git init /w/workspace/device-modbus-go/1 # timeout=10 23:26:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:26:53 > git --version # timeout=10 23:26:53 > git --version # 'git version 2.17.1' 23:26:53 using GIT_SSH to set credentials SSH Credentials for GitHub 23:26:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:26:55 Merging remotes/origin/main commit 2914c8785d6fb43e30410761fbe9b43bb07dce53 into PR head commit 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d 23:26:55 Merge succeeded, producing 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d 23:26:55 Checking out Revision 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d (PR-285) 23:26:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:26:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:26:54 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:26:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:26:54 using GIT_SSH to set credentials SSH Credentials for GitHub 23:26:54 > 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 23:26:55 > git config core.sparsecheckout # timeout=10 23:26:55 > git checkout -f 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 23:26:55 > git remote # timeout=10 23:26:55 > git config --get remote.origin.url # timeout=10 23:26:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:26:55 > git merge 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 23:26:55 > git rev-parse HEAD^{commit} # timeout=10 23:26:55 > git config core.sparsecheckout # timeout=10 23:26:55 > git checkout -f 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 23:27:00 Commit message: "feat: Update configuration for new CORS and Secrets File settings" 23:27:00 > git --version # timeout=10 23:27:00 > git --version # 'git version 2.17.1' 23:27:00 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:27:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:27:01 % Total % Received % Xferd Average Speed Time Time Time Current 23:27:01 Dload Upload Total Spent Left Speed 23:27:01 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 23:27:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:27:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:27:02 + sudo tee /etc/docker/daemon.new 23:27:02 { 23:27:02 "registry-mirrors": [ 23:27:02 "https://nexus3.edgexfoundry.org:10001" 23:27:02 ], 23:27:02 "bip": "10.250.0.254/24", 23:27:02 "hosts": [ 23:27:02 "tcp://0.0.0.0:5555", 23:27:02 "unix:///var/run/docker.sock" 23:27:02 ], 23:27:02 "mtu": 1458, 23:27:02 "selinux-enabled": true, 23:27:02 "seccomp-profile": "/etc/docker/seccomp.json" 23:27:02 } [Pipeline] sh 23:27:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:27:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:27:21 provisioning config files... 23:27:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7079415089757439884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:22 ---> docker-login.sh 23:27:22 nexus3.edgexfoundry.org:10001 23:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:23 Configure a credential helper to remove this warning. See 23:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:23 23:27:23 Login Succeeded 23:27:23 nexus3.edgexfoundry.org:10002 23:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:24 Configure a credential helper to remove this warning. See 23:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:24 23:27:24 Login Succeeded 23:27:24 nexus3.edgexfoundry.org:10003 23:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:24 Configure a credential helper to remove this warning. See 23:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:24 23:27:24 Login Succeeded 23:27:24 nexus3.edgexfoundry.org:10004 23:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:25 Configure a credential helper to remove this warning. See 23:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:25 23:27:25 Login Succeeded 23:27:25 docker.io 23:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:25 Configure a credential helper to remove this warning. See 23:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:25 23:27:25 Login Succeeded 23:27:25 ---> docker-login.sh ends [Pipeline] } 23:27:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:27:26 ========================================================= 23:27:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:27:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:27:26 + 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 . 23:27:27 Sending build context to Docker daemon 704.5kB 23:27:27 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 23:27:27 Step 2/9 : FROM ${BASE} AS builder 23:27:27 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:27:27 552d1f2373af: Pulling fs layer 23:27:27 ea3f2d53f512: Pulling fs layer 23:27:27 9e70ebbbe112: Pulling fs layer 23:27:27 7a9cfe048b4a: Pulling fs layer 23:27:27 72dc09318566: Pulling fs layer 23:27:27 f4f7b4309257: Pulling fs layer 23:27:27 0ac9a79272e3: Pulling fs layer 23:27:27 b78e95d17946: Pulling fs layer 23:27:27 72dc09318566: Waiting 23:27:27 f4f7b4309257: Waiting 23:27:27 b78e95d17946: Waiting 23:27:27 0ac9a79272e3: Waiting 23:27:27 7a9cfe048b4a: Waiting 23:27:27 9e70ebbbe112: Download complete 23:27:27 ea3f2d53f512: Verifying Checksum 23:27:27 ea3f2d53f512: Download complete 23:27:27 72dc09318566: Verifying Checksum 23:27:27 72dc09318566: Download complete 23:27:27 f4f7b4309257: Verifying Checksum 23:27:27 f4f7b4309257: Download complete 23:27:27 552d1f2373af: Verifying Checksum 23:27:27 552d1f2373af: Download complete 23:27:27 0ac9a79272e3: Verifying Checksum 23:27:27 0ac9a79272e3: Download complete 23:27:28 552d1f2373af: Pull complete 23:27:29 ea3f2d53f512: Pull complete 23:27:29 9e70ebbbe112: Pull complete 23:27:29 b78e95d17946: Verifying Checksum 23:27:29 b78e95d17946: Download complete 23:27:29 7a9cfe048b4a: Verifying Checksum 23:27:29 7a9cfe048b4a: Download complete 23:27:40 7a9cfe048b4a: Pull complete 23:27:40 72dc09318566: Pull complete 23:27:40 f4f7b4309257: Pull complete 23:27:40 0ac9a79272e3: Pull complete 23:27:47 b78e95d17946: Pull complete 23:27:47 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 23:27:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:27:47 ---> 8b459fc5aaf0 23:27:47 Step 3/9 : ARG MAKE='make build' 23:27:49 ---> Running in ab0311f6e0cb 23:27:49 Removing intermediate container ab0311f6e0cb 23:27:49 ---> ee62dbcb2d3f 23:27:49 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:27:49 ---> Running in 12e38866dc42 23:27:52 Removing intermediate container 12e38866dc42 23:27:52 ---> 7f68d5356cc8 23:27:52 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 23:27:52 ---> Running in 5bc3a67b706a 23:27:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:27:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:27:55 (1/8) Installing openssh-keygen (8.6_p1-r3) 23:27:55 (2/8) Installing libedit (20210216.3.1-r0) 23:27:55 (3/8) Installing openssh-client-common (8.6_p1-r3) 23:27:56 (4/8) Installing openssh-client-default (8.6_p1-r3) 23:27:56 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 23:27:56 (6/8) Installing openssh-server-common (8.6_p1-r3) 23:27:56 (7/8) Installing openssh-server (8.6_p1-r3) 23:27:56 (8/8) Installing openssh (8.6_p1-r3) 23:27:56 Executing busybox-1.33.1-r3.trigger 23:27:56 OK: 225 MiB in 60 packages 23:27:58 Removing intermediate container 5bc3a67b706a 23:27:58 ---> d8eae8dff0cb 23:27:58 Step 6/9 : WORKDIR /device-modbus-go 23:27:58 ---> Running in c6fcfd871e33 23:27:58 Removing intermediate container c6fcfd871e33 23:27:58 ---> 2167f01136e4 23:27:58 Step 7/9 : COPY . . 23:27:59 ---> c5ae75a4e082 23:27:59 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:27:59 ---> Running in 53942940fec4 23:28:04 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 23:28:04 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 23:28:04 skipping... 23:28:06 Removing intermediate container 53942940fec4 23:28:06 ---> 96243fc1036f 23:28:06 Step 9/9 : RUN ${MAKE} 23:28:07 ---> Running in c1aa9b45db23 23:28:08 noop 23:28:09 Removing intermediate container c1aa9b45db23 23:28:09 ---> 258acd351580 23:28:09 Successfully built 258acd351580 23:28:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:28:09 + docker inspect -f . ci-base-image-arm64 23:28:09 . [Pipeline] withDockerContainer 23:28:09 prd-ubuntu18.04-docker-arm64-4c-16g-13347 does not seem to be running inside a container 23:28:09 $ 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 23:28:11 $ docker top 6ca2369b9a6c27e7236e17cf02338e6ca0a872ab1e001c56629a0892d836152e -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:12 + go version 23:28:12 go version go1.16.8 linux/arm64 [Pipeline] } 23:28:12 $ docker stop --time=1 6ca2369b9a6c27e7236e17cf02338e6ca0a872ab1e001c56629a0892d836152e 23:28:14 $ docker rm -f 6ca2369b9a6c27e7236e17cf02338e6ca0a872ab1e001c56629a0892d836152e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:28:15 + docker inspect -f . ci-base-image-arm64 23:28:15 . [Pipeline] withDockerContainer 23:28:15 prd-ubuntu18.04-docker-arm64-4c-16g-13347 does not seem to be running inside a container 23:28:15 $ 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 23:28:17 $ docker top cbaebbc0e04b8e1eacaff3ddfa2c5eb16986a2a29826b2b53da2fa2024cb89cb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:28:18 + make test 23:28:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:28:18 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: 23:28:18 go mod download github.com/edgexfoundry/device-sdk-go/v2 23:28:18 make: *** [Makefile:27: test] Error 1 [Pipeline] } 23:28:18 $ docker stop --time=1 cbaebbc0e04b8e1eacaff3ddfa2c5eb16986a2a29826b2b53da2fa2024cb89cb 23:28:20 $ 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 23:28:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:22 23:28:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:28:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:22 arm64: Pulling from edgex-lftools-log-publisher 23:28:22 448f6bf000e3: Pulling fs layer 23:28:22 f757da607395: Pulling fs layer 23:28:22 05883995daec: Pulling fs layer 23:28:22 8603b9c90790: Pulling fs layer 23:28:22 1560dd03e051: Pulling fs layer 23:28:22 27f5ce0e4adf: Pulling fs layer 23:28:22 c2d8d7efcc4b: Pulling fs layer 23:28:22 1560dd03e051: Waiting 23:28:22 27f5ce0e4adf: Waiting 23:28:22 8603b9c90790: Waiting 23:28:22 c2d8d7efcc4b: Waiting 23:28:22 f757da607395: Verifying Checksum 23:28:22 f757da607395: Download complete 23:28:22 8603b9c90790: Verifying Checksum 23:28:22 8603b9c90790: Download complete 23:28:22 1560dd03e051: Verifying Checksum 23:28:22 1560dd03e051: Download complete 23:28:22 05883995daec: Verifying Checksum 23:28:22 05883995daec: Download complete 23:28:22 27f5ce0e4adf: Download complete 23:28:23 448f6bf000e3: Verifying Checksum 23:28:23 448f6bf000e3: Download complete 23:28:25 c2d8d7efcc4b: Verifying Checksum 23:28:25 c2d8d7efcc4b: Download complete 23:28:27 448f6bf000e3: Pull complete 23:28:27 f757da607395: Pull complete 23:28:29 05883995daec: Pull complete 23:28:29 8603b9c90790: Pull complete 23:28:30 1560dd03e051: Pull complete 23:28:31 27f5ce0e4adf: Pull complete 23:28:46 c2d8d7efcc4b: Pull complete 23:28:46 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:28:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:28:46 prd-ubuntu18.04-docker-arm64-4c-16g-13347 does not seem to be running inside a container 23:28:46 $ 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 23:28:50 $ docker top 9ca971346dc359a8490f6968fea715b1ef8dc4d1153c2bc79aa0bcf134577d21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:51 ---> job-cost.sh 23:28:51 lf-activate-venv: SKIPPING 23:28:51 INFO: No Stack... 23:28:52 INFO: Retrieving Pricing Info for: v3-standard-4 23:28:52 INFO: Archiving Costs [Pipeline] sh 23:28:52 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 23:28:52 + cut -d, -f6 [Pipeline] lock 23:28:53 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] 23:28:53 Resource [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] did not exist. Created. 23:28:53 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:28:53 /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 23:28:54 + echo total: 0.10999999940395355 [Pipeline] stash 23:28:54 Warning: overwriting stash ‘stack-cost’ 23:28:55 Stashed 1 file(s) [Pipeline] } 23:28:55 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-285-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:28:55 $ docker stop --time=1 9ca971346dc359a8490f6968fea715b1ef8dc4d1153c2bc79aa0bcf134577d21 23:28:57 $ 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] } 23:28:57 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 23:28:59 + '[' -d /w/workspace/xfoundry_device-modbus-go_PR-285/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:29:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:29:00 ---> package-listing.sh 23:29:00 ++ facter osfamily 23:29:00 ++ tr '[:upper:]' '[:lower:]' 23:29:01 + OS_FAMILY=redhat 23:29:01 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-285 23:29:01 + START_PACKAGES=/tmp/packages_start.txt 23:29:01 + END_PACKAGES=/tmp/packages_end.txt 23:29:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:29:01 + PACKAGES=/tmp/packages_start.txt 23:29:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-285 ']' 23:29:01 + PACKAGES=/tmp/packages_end.txt 23:29:01 + case "${OS_FAMILY}" in 23:29:01 + sort 23:29:01 + rpm -qa 23:29:01 + '[' -f /tmp/packages_start.txt ']' 23:29:01 + '[' -f /tmp/packages_end.txt ']' 23:29:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:29:01 + '[' /w/workspace/xfoundry_device-modbus-go_PR-285 ']' 23:29:01 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-285/archives/ 23:29:01 + 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 23:29:01 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 23:29:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:02 23:29:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:29:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:02 latest: Pulling from edgex-lftools-log-publisher 23:29:02 b4d181a07f80: Pulling fs layer 23:29:02 a1111a8f2ec3: Pulling fs layer 23:29:02 ed53099fbce6: Pulling fs layer 23:29:02 dc539afda2c1: Pulling fs layer 23:29:02 77bc0d833cb6: Pulling fs layer 23:29:02 9065ff56babe: Pulling fs layer 23:29:02 d287ab97295c: Pulling fs layer 23:29:02 77bc0d833cb6: Waiting 23:29:02 9065ff56babe: Waiting 23:29:02 d287ab97295c: Waiting 23:29:02 dc539afda2c1: Waiting 23:29:02 a1111a8f2ec3: Verifying Checksum 23:29:02 a1111a8f2ec3: Download complete 23:29:02 dc539afda2c1: Verifying Checksum 23:29:02 dc539afda2c1: Download complete 23:29:02 77bc0d833cb6: Verifying Checksum 23:29:02 77bc0d833cb6: Download complete 23:29:02 ed53099fbce6: Verifying Checksum 23:29:02 ed53099fbce6: Download complete 23:29:02 9065ff56babe: Verifying Checksum 23:29:02 9065ff56babe: Download complete 23:29:03 b4d181a07f80: Verifying Checksum 23:29:03 b4d181a07f80: Download complete 23:29:03 d287ab97295c: Verifying Checksum 23:29:03 d287ab97295c: Download complete 23:29:04 b4d181a07f80: Pull complete 23:29:04 a1111a8f2ec3: Pull complete 23:29:05 ed53099fbce6: Pull complete 23:29:05 dc539afda2c1: Pull complete 23:29:05 77bc0d833cb6: Pull complete 23:29:05 9065ff56babe: Pull complete 23:29:11 d287ab97295c: Pull complete 23:29:11 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:29:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:29:11 prd-centos7-docker-4c-2g-13343 does not seem to be running inside a container 23:29:11 $ 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 23:29:13 $ docker top df06f48401f2ef63846b831ecb68dbd80cac18adf5999477c4201664e254cd74 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:13 + touch /tmp/pre-build-complete [Pipeline] sh 23:29:13 + mkdir -p /var/log/sysstat [Pipeline] sh 23:29:14 + ls /var/log/sa-host 23:29:14 + sadf -c /var/log/sa-host/sa28 23:29:14 file_magic: OK 23:29:14 HZ: Using current value: 100 23:29:14 file_header: OK 23:29:14 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 23:29:14 Statistics: 23:29:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:29:14 File successfully converted to sysstat format version 12.0.3 23:29:14 + sadf -c /var/log/sa-host/sa30 23:29:14 file_magic: OK 23:29:14 HZ: Using current value: 100 23:29:14 file_header: OK 23:29:14 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 23:29:14 Statistics: 23:29:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:29:14 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:14 provisioning config files... 23:29:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/config7674983730055309291tmp [Pipeline] { [Pipeline] echo 23:29:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:29:14 ---> create-netrc.sh [Pipeline] } 23:29:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:29:15 ---> python-tools-install.sh [Pipeline] echo 23:29:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:29:15 ---> sudo-logs.sh 23:29:15 Archiving 'sudo' log.. 23:29:15 sudo: unable to resolve host prd-centos7-docker-4c-2g-13343.novalocal: Name or service not known 23:29:15 sudo: unable to resolve host prd-centos7-docker-4c-2g-13343.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:29:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:29:15 ---> job-cost.sh 23:29:15 lf-activate-venv: SKIPPING 23:29:15 DEBUG: total: 0.10999999940395355 23:29:15 INFO: Retrieving Stack Cost... 23:29:16 INFO: Retrieving Pricing Info for: v3-standard-2 23:29:16 INFO: Archiving Costs [Pipeline] echo 23:29:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:29:16 ---> logs-deploy.sh 23:29:16 lf-activate-venv: SKIPPING 23:29:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-285/1 23:29:16 INFO: archiving workspace using pattern(s): 23:29:17 Archives upload complete. 23:29:17 INFO: archiving logs to Nexus