Pull request #285 updated 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 419d3104d188162c9bbfd623df928f1f835260e1+2914c8785d6fb43e30410761fbe9b43bb07dce53 (314380a3f99f8a5cd4fd9c8f1eca75d21219d235) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh5000698074292340951.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-ssh9081750850699356147.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-285/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-285/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh653934779744230061.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 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-ssh272390089335153930.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-285/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-285/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6262127766674462586.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13364 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-ssh2378937063656038623.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh1425892477296535299.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 Merging remotes/origin/main commit 2914c8785d6fb43e30410761fbe9b43bb07dce53 into PR head commit 419d3104d188162c9bbfd623df928f1f835260e1 Merge succeeded, producing 419d3104d188162c9bbfd623df928f1f835260e1 Checking out Revision 419d3104d188162c9bbfd623df928f1f835260e1 (PR-285) > git config core.sparsecheckout # timeout=10 > git checkout -f 419d3104d188162c9bbfd623df928f1f835260e1 # 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-ssh5978732352650180940.key > git merge 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 419d3104d188162c9bbfd623df928f1f835260e1 # timeout=10 Commit message: "feat: Update configuration for new CORS and Secrets File settings" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:41:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:41:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:41:53 ========================================================= 00:41:53 EdgeX Global Pipelines Version Info 00:41:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 00:41:55 ------------------- 00:41:55 stable info: 00:41:55 ------------------- 00:41:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:41:55 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 00:41:55 Message: update stable to v1.0.210 00:41:55 ------------------- 00:41:55 experimental info: 00:41:55 ------------------- 00:41:55 Commited By: **** collab-it+edgex@linuxfoundation.org 00:41:55 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 00:41:55 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-285 [Pipeline] echo 00:41:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-285 [Pipeline] echo 00:41:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-285 [Pipeline] echo 00:41:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 419d3104d188162c9bbfd623df928f1f835260e1 [Pipeline] echo 00:41:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 419d310 [Pipeline] echo 00:41:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:56 provisioning config files... 00:41:56 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/config7958300831824198896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:56 ---> docker-login.sh 00:41:56 nexus3.edgexfoundry.org:10001 00:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:56 Configure a credential helper to remove this warning. See 00:41:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:56 00:41:56 Login Succeeded 00:41:56 nexus3.edgexfoundry.org:10002 00:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:56 Configure a credential helper to remove this warning. See 00:41:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:56 00:41:56 Login Succeeded 00:41:56 nexus3.edgexfoundry.org:10003 00:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:56 Configure a credential helper to remove this warning. See 00:41:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:56 00:41:56 Login Succeeded 00:41:56 nexus3.edgexfoundry.org:10004 00:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:56 Configure a credential helper to remove this warning. See 00:41:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:56 00:41:56 Login Succeeded 00:41:56 docker.io 00:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:57 Configure a credential helper to remove this warning. See 00:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:57 00:41:57 Login Succeeded 00:41:57 ---> docker-login.sh ends [Pipeline] } 00:41:57 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 00:41:57 + git log --format=format:%s -1 419d3104d188162c9bbfd623df928f1f835260e1 [Pipeline] echo 00:41:57 GIT_COMMIT: 419d3104d188162c9bbfd623df928f1f835260e1, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo 00:41:57 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:41:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:41:58 00:41:58 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:41:58 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:41:58 latest: Pulling from edgex-devops/git-semver 00:41:58 a0d0a0d46f8b: Pulling fs layer 00:41:58 3e5f54012d9b: Pulling fs layer 00:41:58 4c7163046ea9: Pulling fs layer 00:41:58 0c2d73faf560: Pulling fs layer 00:41:58 0c2d73faf560: Waiting 00:41:58 3e5f54012d9b: Verifying Checksum 00:41:58 3e5f54012d9b: Download complete 00:41:58 a0d0a0d46f8b: Verifying Checksum 00:41:58 a0d0a0d46f8b: Download complete 00:41:58 4c7163046ea9: Verifying Checksum 00:41:58 4c7163046ea9: Download complete 00:41:58 0c2d73faf560: Verifying Checksum 00:41:58 0c2d73faf560: Download complete 00:41:58 a0d0a0d46f8b: Pull complete 00:41:58 3e5f54012d9b: Pull complete 00:41:58 4c7163046ea9: Pull complete 00:41:59 0c2d73faf560: Pull complete 00:41:59 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:41:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:41:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:41:59 prd-centos7-docker-4c-2g-13364 does not seem to be running inside a container 00:41:59 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:42:00 $ docker top e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:00 [ssh-agent] Looking for ssh-agent implementation... 00:42:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:00 $ docker exec e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 ssh-agent 00:42:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIgKacp/agent.14 00:42:00 SSH_AGENT_PID=21 00:42:00 Running ssh-add (command line suppressed) 00:42:00 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-285@tmp/private_key_7704804456585151979.key (/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/private_key_7704804456585151979.key) 00:42:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:00 + git tag --points-at HEAD [Pipeline] } 00:42:00 $ docker exec --env ******** --env ******** e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 ssh-agent -k 00:42:00 unset SSH_AUTH_SOCK; 00:42:00 unset SSH_AGENT_PID; 00:42:00 echo Agent pid 21 killed; 00:42:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:42:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:00 [ssh-agent] Looking for ssh-agent implementation... 00:42:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:01 $ docker exec e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 ssh-agent 00:42:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXomlbPE/agent.55 00:42:01 SSH_AGENT_PID=62 00:42:01 Running ssh-add (command line suppressed) 00:42:01 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-285@tmp/private_key_5927451719836127617.key (/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/private_key_5927451719836127617.key) 00:42:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:01 + git semver init 00:42:01 # -> Open(): unable to determine branch for HEAD 00:42:01 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-285/.git 00:42:01 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-285 00:42:01 # $SEMVER_REMOTE_NAME = origin 00:42:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:42:01 # $SEMVER_USER_NAME = edgex-jenkins 00:42:01 # $SEMVER_BRANCH = PR-285 00:42:01 # $SEMVER_TEMP = /tmp/semver-989957503 00:42:01 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 00:42:02 # '/tmp/semver-989957503' -> '/w/workspace/xfoundry_device-modbus-go_PR-285/.semver' 00:42:02 # -> Force: false 00:42:02 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-285/.semver [Pipeline] } 00:42:02 $ docker exec --env ******** --env ******** e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 ssh-agent -k 00:42:02 unset SSH_AUTH_SOCK; 00:42:02 unset SSH_AGENT_PID; 00:42:02 echo Agent pid 62 killed; 00:42:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:42:02 + git semver [Pipeline] } 00:42:02 $ docker stop --time=1 e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 00:42:03 $ docker rm -f e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 [Pipeline] // withDockerContainer [Pipeline] sh 00:42:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:42:04 Stashed 1 file(s) [Pipeline] echo 00:42:04 [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 00:42:19 Still waiting to schedule task 00:42:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:42:19 Still waiting to schedule task 00:42:19 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-13358’ 00:43:00 Running on prd-centos7-docker-4c-2g-13367 in /w/workspace/xfoundry_device-modbus-go_PR-285 [Pipeline] { [Pipeline] ws 00:43:00 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 00:43:00 Selected Git installation does not exist. Using Default 00:43:00 The recommended git tool is: NONE 00:43:02 using credential edgex-jenkins-ssh 00:43:02 Cloning the remote Git repository 00:43:01 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:43:01 > git init /w/workspace/device-modbus-go/2 # timeout=10 00:43:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:43:02 > git --version # timeout=10 00:43:02 > git --version # 'git version 2.24.4' 00:43:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:02 [INFO] Currently running in a labeled security context 00:43:02 [INFO] Currently SELinux is 'enforcing' on the host 00:43:02 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/2@tmp/jenkins-gitclient-ssh8293070646658602461.key 00:43:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:43:02 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:43:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:43:02 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:43:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:43:02 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:02 [INFO] Currently running in a labeled security context 00:43:02 [INFO] Currently SELinux is 'enforcing' on the host 00:43:02 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/2@tmp/jenkins-gitclient-ssh3336399525654682170.key 00:43:02 > 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 00:43:03 Merging remotes/origin/main commit 2914c8785d6fb43e30410761fbe9b43bb07dce53 into PR head commit 419d3104d188162c9bbfd623df928f1f835260e1 00:43:04 Merge succeeded, producing 419d3104d188162c9bbfd623df928f1f835260e1 00:43:04 Checking out Revision 419d3104d188162c9bbfd623df928f1f835260e1 (PR-285) 00:43:03 > git config core.sparsecheckout # timeout=10 00:43:03 > git checkout -f 419d3104d188162c9bbfd623df928f1f835260e1 # timeout=10 00:43:03 > git remote # timeout=10 00:43:03 > git config --get remote.origin.url # timeout=10 00:43:03 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:03 [INFO] Currently running in a labeled security context 00:43:03 [INFO] Currently SELinux is 'enforcing' on the host 00:43:03 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/2@tmp/jenkins-gitclient-ssh7875638488303031042.key 00:43:03 > git merge 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 00:43:03 > git rev-parse HEAD^{commit} # timeout=10 00:43:03 > git config core.sparsecheckout # timeout=10 00:43:03 > git checkout -f 419d3104d188162c9bbfd623df928f1f835260e1 # timeout=10 00:43:07 Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:07 provisioning config files... 00:43:07 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config528803403242732840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:08 ---> docker-login.sh 00:43:08 nexus3.edgexfoundry.org:10001 00:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:08 Configure a credential helper to remove this warning. See 00:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:08 00:43:08 Login Succeeded 00:43:08 nexus3.edgexfoundry.org:10002 00:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:08 Configure a credential helper to remove this warning. See 00:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:08 00:43:08 Login Succeeded 00:43:08 nexus3.edgexfoundry.org:10003 00:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:08 Configure a credential helper to remove this warning. See 00:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:08 00:43:08 Login Succeeded 00:43:08 nexus3.edgexfoundry.org:10004 00:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:08 Configure a credential helper to remove this warning. See 00:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:08 00:43:08 Login Succeeded 00:43:08 docker.io 00:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:43:09 Configure a credential helper to remove this warning. See 00:43:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:43:09 00:43:09 Login Succeeded 00:43:09 ---> docker-login.sh ends [Pipeline] } 00:43:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:43:09 ========================================================= 00:43:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:43:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:43:09 + 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 . 00:43:09 Sending build context to Docker daemon 705.5kB 00:43:09 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 00:43:09 Step 2/9 : FROM ${BASE} AS builder 00:43:09 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:43:09 a0d0a0d46f8b: Pulling fs layer 00:43:09 31adcdaf11c8: Pulling fs layer 00:43:09 b8b176561691: Pulling fs layer 00:43:09 4527c011a84f: Pulling fs layer 00:43:09 5d74067f8e1e: Pulling fs layer 00:43:09 e0aca202a116: Pulling fs layer 00:43:09 3a43be97a3b4: Pulling fs layer 00:43:09 34cad66bf833: Pulling fs layer 00:43:09 b4e3c513aaa6: Pulling fs layer 00:43:09 4527c011a84f: Waiting 00:43:09 5d74067f8e1e: Waiting 00:43:09 e0aca202a116: Waiting 00:43:09 3a43be97a3b4: Waiting 00:43:09 34cad66bf833: Waiting 00:43:09 b4e3c513aaa6: Waiting 00:43:09 b8b176561691: Verifying Checksum 00:43:09 b8b176561691: Download complete 00:43:09 31adcdaf11c8: Verifying Checksum 00:43:09 31adcdaf11c8: Download complete 00:43:09 5d74067f8e1e: Verifying Checksum 00:43:09 5d74067f8e1e: Download complete 00:43:09 e0aca202a116: Verifying Checksum 00:43:09 e0aca202a116: Download complete 00:43:09 a0d0a0d46f8b: Verifying Checksum 00:43:09 a0d0a0d46f8b: Download complete 00:43:09 3a43be97a3b4: Verifying Checksum 00:43:09 3a43be97a3b4: Download complete 00:43:09 34cad66bf833: Verifying Checksum 00:43:09 34cad66bf833: Download complete 00:43:10 a0d0a0d46f8b: Pull complete 00:43:10 31adcdaf11c8: Pull complete 00:43:10 b8b176561691: Pull complete 00:43:10 4527c011a84f: Verifying Checksum 00:43:10 4527c011a84f: Download complete 00:43:10 b4e3c513aaa6: Verifying Checksum 00:43:10 b4e3c513aaa6: Download complete 00:43:14 4527c011a84f: Pull complete 00:43:14 5d74067f8e1e: Pull complete 00:43:14 e0aca202a116: Pull complete 00:43:14 3a43be97a3b4: Pull complete 00:43:14 34cad66bf833: Pull complete 00:43:18 b4e3c513aaa6: Pull complete 00:43:18 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 00:43:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:43:18 ---> 9f6097aaca64 00:43:18 Step 3/9 : ARG MAKE='make build' 00:43:19 ---> Running in 92893181ecfc 00:43:19 Removing intermediate container 92893181ecfc 00:43:19 ---> 675b0e844f99 00:43:19 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:43:19 ---> Running in 82313b688b32 00:43:20 Removing intermediate container 82313b688b32 00:43:20 ---> b7b04e5fdc85 00:43:20 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 00:43:20 ---> Running in 769ca83f3d62 00:43:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:43:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:43:21 (1/8) Installing openssh-keygen (8.6_p1-r3) 00:43:21 (2/8) Installing libedit (20210216.3.1-r0) 00:43:21 (3/8) Installing openssh-client-common (8.6_p1-r3) 00:43:22 (4/8) Installing openssh-client-default (8.6_p1-r3) 00:43:22 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 00:43:22 (6/8) Installing openssh-server-common (8.6_p1-r3) 00:43:22 (7/8) Installing openssh-server (8.6_p1-r3) 00:43:22 (8/8) Installing openssh (8.6_p1-r3) 00:43:22 Executing busybox-1.33.1-r3.trigger 00:43:22 OK: 226 MiB in 60 packages 00:43:22 Removing intermediate container 769ca83f3d62 00:43:22 ---> b9193c962c71 00:43:22 Step 6/9 : WORKDIR /device-modbus-go 00:43:22 ---> Running in 5b6ab43bb561 00:43:22 Removing intermediate container 5b6ab43bb561 00:43:22 ---> 4810446de743 00:43:22 Step 7/9 : COPY . . 00:43:23 ---> e8b4c1d1433f 00:43:23 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:43:23 ---> Running in 7328f7f42420 00:43:55 Removing intermediate container 7328f7f42420 00:43:55 ---> 19bda1352245 00:43:55 Step 9/9 : RUN ${MAKE} 00:43:55 ---> Running in a240836368f1 00:43:55 noop 00:43:55 Removing intermediate container a240836368f1 00:43:55 ---> 7b12495159c5 00:43:55 Successfully built 7b12495159c5 00:43:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:43:55 + docker inspect -f . ci-base-image-x86_64 00:43:55 . [Pipeline] withDockerContainer 00:43:55 prd-centos7-docker-4c-2g-13367 does not seem to be running inside a container 00:43:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** ci-base-image-x86_64 cat 00:43:55 $ docker top 04c9b11b4360a58484672db217c15d4004927c751df1044ba35b4286e5fff8db -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:56 + go version 00:43:56 go version go1.16.8 linux/amd64 [Pipeline] } 00:43:56 $ docker stop --time=1 04c9b11b4360a58484672db217c15d4004927c751df1044ba35b4286e5fff8db 00:43:57 $ docker rm -f 04c9b11b4360a58484672db217c15d4004927c751df1044ba35b4286e5fff8db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:43:58 + docker inspect -f . ci-base-image-x86_64 00:43:58 . [Pipeline] withDockerContainer 00:43:58 prd-centos7-docker-4c-2g-13367 does not seem to be running inside a container 00:43:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** ci-base-image-x86_64 cat 00:43:58 $ docker top 62be1d5bc1e380f40403b8766181515ce500f7f55ef6a0325da9595ce480901e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:43:58 + make test 00:43:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:43:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:44:17 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:44:17 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.6% of statements 00:44:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:44:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:44:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:44:22 ./bin/test-attribution-txt.sh 00:44:22 An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add 00:44:22 An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add 00:44:22 make: *** [Makefile:31: test] Error 1 [Pipeline] } 00:44:22 $ docker stop --time=1 62be1d5bc1e380f40403b8766181515ce500f7f55ef6a0325da9595ce480901e 00:44:24 $ docker rm -f 62be1d5bc1e380f40403b8766181515ce500f7f55ef6a0325da9595ce480901e [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 00:44:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:24 00:44:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:44:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:26 latest: Pulling from edgex-lftools-log-publisher 00:44:26 b4d181a07f80: Pulling fs layer 00:44:26 a1111a8f2ec3: Pulling fs layer 00:44:26 ed53099fbce6: Pulling fs layer 00:44:26 dc539afda2c1: Pulling fs layer 00:44:26 77bc0d833cb6: Pulling fs layer 00:44:26 9065ff56babe: Pulling fs layer 00:44:26 d287ab97295c: Pulling fs layer 00:44:26 77bc0d833cb6: Waiting 00:44:26 dc539afda2c1: Waiting 00:44:26 9065ff56babe: Waiting 00:44:26 d287ab97295c: Waiting 00:44:26 a1111a8f2ec3: Verifying Checksum 00:44:26 a1111a8f2ec3: Download complete 00:44:26 dc539afda2c1: Verifying Checksum 00:44:26 dc539afda2c1: Download complete 00:44:26 ed53099fbce6: Verifying Checksum 00:44:26 ed53099fbce6: Download complete 00:44:26 9065ff56babe: Verifying Checksum 00:44:26 9065ff56babe: Download complete 00:44:26 77bc0d833cb6: Verifying Checksum 00:44:26 77bc0d833cb6: Download complete 00:44:26 b4d181a07f80: Verifying Checksum 00:44:26 b4d181a07f80: Download complete 00:44:27 d287ab97295c: Verifying Checksum 00:44:27 d287ab97295c: Download complete 00:44:27 b4d181a07f80: Pull complete 00:44:28 a1111a8f2ec3: Pull complete 00:44:28 ed53099fbce6: Pull complete 00:44:28 dc539afda2c1: Pull complete 00:44:28 77bc0d833cb6: Pull complete 00:44:28 9065ff56babe: Pull complete 00:44:34 d287ab97295c: Pull complete 00:44:34 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:44:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:44:34 prd-centos7-docker-4c-2g-13367 does not seem to be running inside a container 00:44:34 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:44:36 $ docker top b052d0a607bac7f4c567c69ca3c9811911a52e4b06ea64b7b8b1ee04197ea864 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:37 ---> job-cost.sh 00:44:37 lf-activate-venv: SKIPPING 00:44:37 INFO: No Stack... 00:44:39 INFO: Retrieving Pricing Info for: v3-standard-2 00:44:39 INFO: Archiving Costs [Pipeline] sh 00:44:39 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 00:44:39 + cut -d, -f6 [Pipeline] lock 00:44:39 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] 00:44:39 Resource [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] did not exist. Created. 00:44:39 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:44:40 + echo total: 0.05999999865889549 [Pipeline] stash 00:44:40 Stashed 1 file(s) [Pipeline] } 00:44:40 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:44:40 $ docker stop --time=1 b052d0a607bac7f4c567c69ca3c9811911a52e4b06ea64b7b8b1ee04197ea864 00:44:41 $ docker rm -f b052d0a607bac7f4c567c69ca3c9811911a52e4b06ea64b7b8b1ee04197ea864 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:44:41 Failed in branch amd64 00:45:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13369 in /w/workspace/xfoundry_device-modbus-go_PR-285 [Pipeline] { [Pipeline] ws 00:45:07 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 00:45:07 Selected Git installation does not exist. Using Default 00:45:07 The recommended git tool is: NONE 00:45:13 using credential edgex-jenkins-ssh 00:45:13 Cloning the remote Git repository 00:45:13 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:45:13 > git init /w/workspace/device-modbus-go/2 # timeout=10 00:45:13 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:45:13 > git --version # timeout=10 00:45:13 > git --version # 'git version 2.17.1' 00:45:13 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:14 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:45:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:14 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:45:14 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:45:14 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:14 > 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 00:45:15 Merging remotes/origin/main commit 2914c8785d6fb43e30410761fbe9b43bb07dce53 into PR head commit 419d3104d188162c9bbfd623df928f1f835260e1 00:45:15 Merge succeeded, producing 419d3104d188162c9bbfd623df928f1f835260e1 00:45:15 Checking out Revision 419d3104d188162c9bbfd623df928f1f835260e1 (PR-285) 00:45:15 > git config core.sparsecheckout # timeout=10 00:45:15 > git checkout -f 419d3104d188162c9bbfd623df928f1f835260e1 # timeout=10 00:45:15 > git remote # timeout=10 00:45:15 > git config --get remote.origin.url # timeout=10 00:45:15 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:15 > git merge 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 00:45:15 > git rev-parse HEAD^{commit} # timeout=10 00:45:15 > git config core.sparsecheckout # timeout=10 00:45:15 > git checkout -f 419d3104d188162c9bbfd623df928f1f835260e1 # timeout=10 00:45:20 Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:45:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:45:20 % Total % Received % Xferd Average Speed Time Time Time Current 00:45:20 Dload Upload Total Spent Left Speed 00:45:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 209k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh 00:45:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:45:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:45:21 + sudo tee /etc/docker/daemon.new 00:45:21 { 00:45:21 "registry-mirrors": [ 00:45:21 "https://nexus3.edgexfoundry.org:10001" 00:45:21 ], 00:45:21 "bip": "10.250.0.254/24", 00:45:21 "hosts": [ 00:45:21 "tcp://0.0.0.0:5555", 00:45:21 "unix:///var/run/docker.sock" 00:45:21 ], 00:45:21 "mtu": 1458, 00:45:21 "selinux-enabled": true, 00:45:21 "seccomp-profile": "/etc/docker/seccomp.json" 00:45:21 } [Pipeline] sh 00:45:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:45:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:40 provisioning config files... 00:45:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config2216118120922094556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:41 ---> docker-login.sh 00:45:41 nexus3.edgexfoundry.org:10001 00:45:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:42 Configure a credential helper to remove this warning. See 00:45:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:42 00:45:42 Login Succeeded 00:45:42 nexus3.edgexfoundry.org:10002 00:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:43 Configure a credential helper to remove this warning. See 00:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:43 00:45:43 Login Succeeded 00:45:43 nexus3.edgexfoundry.org:10003 00:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:43 Configure a credential helper to remove this warning. See 00:45:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:43 00:45:43 Login Succeeded 00:45:43 nexus3.edgexfoundry.org:10004 00:45:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:44 Configure a credential helper to remove this warning. See 00:45:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:44 00:45:44 Login Succeeded 00:45:44 docker.io 00:45:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:45 Configure a credential helper to remove this warning. See 00:45:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:45 00:45:45 Login Succeeded 00:45:45 ---> docker-login.sh ends [Pipeline] } 00:45:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:45:45 ========================================================= 00:45:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:45:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:45:45 + 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 . 00:45:46 Sending build context to Docker daemon 704.5kB 00:45:46 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 00:45:46 Step 2/9 : FROM ${BASE} AS builder 00:45:46 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:45:46 552d1f2373af: Pulling fs layer 00:45:46 ea3f2d53f512: Pulling fs layer 00:45:46 9e70ebbbe112: Pulling fs layer 00:45:46 7a9cfe048b4a: Pulling fs layer 00:45:46 72dc09318566: Pulling fs layer 00:45:46 f4f7b4309257: Pulling fs layer 00:45:46 0ac9a79272e3: Pulling fs layer 00:45:46 b78e95d17946: Pulling fs layer 00:45:46 f4f7b4309257: Waiting 00:45:46 7a9cfe048b4a: Waiting 00:45:46 72dc09318566: Waiting 00:45:46 0ac9a79272e3: Waiting 00:45:46 b78e95d17946: Waiting 00:45:46 9e70ebbbe112: Verifying Checksum 00:45:46 9e70ebbbe112: Download complete 00:45:46 ea3f2d53f512: Verifying Checksum 00:45:46 ea3f2d53f512: Download complete 00:45:46 72dc09318566: Verifying Checksum 00:45:46 72dc09318566: Download complete 00:45:46 f4f7b4309257: Verifying Checksum 00:45:46 f4f7b4309257: Download complete 00:45:46 552d1f2373af: Download complete 00:45:46 0ac9a79272e3: Verifying Checksum 00:45:46 0ac9a79272e3: Download complete 00:45:47 552d1f2373af: Pull complete 00:45:48 ea3f2d53f512: Pull complete 00:45:48 9e70ebbbe112: Pull complete 00:45:48 b78e95d17946: Verifying Checksum 00:45:48 b78e95d17946: Download complete 00:45:49 7a9cfe048b4a: Verifying Checksum 00:45:49 7a9cfe048b4a: Download complete 00:45:59 7a9cfe048b4a: Pull complete 00:45:59 72dc09318566: Pull complete 00:45:59 f4f7b4309257: Pull complete 00:46:00 0ac9a79272e3: Pull complete 00:46:07 b78e95d17946: Pull complete 00:46:07 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 00:46:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:46:07 ---> 8b459fc5aaf0 00:46:07 Step 3/9 : ARG MAKE='make build' 00:46:08 ---> Running in a4b9af9ebfc3 00:46:09 Removing intermediate container a4b9af9ebfc3 00:46:09 ---> 12357ca9bd24 00:46:09 Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:46:09 ---> Running in 228adcc252b6 00:46:11 Removing intermediate container 228adcc252b6 00:46:11 ---> e3bf692d7305 00:46:11 Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 00:46:11 ---> Running in a11159be9616 00:46:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:46:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:46:14 (1/8) Installing openssh-keygen (8.6_p1-r3) 00:46:14 (2/8) Installing libedit (20210216.3.1-r0) 00:46:14 (3/8) Installing openssh-client-common (8.6_p1-r3) 00:46:15 (4/8) Installing openssh-client-default (8.6_p1-r3) 00:46:15 (5/8) Installing openssh-sftp-server (8.6_p1-r3) 00:46:15 (6/8) Installing openssh-server-common (8.6_p1-r3) 00:46:15 (7/8) Installing openssh-server (8.6_p1-r3) 00:46:15 (8/8) Installing openssh (8.6_p1-r3) 00:46:15 Executing busybox-1.33.1-r3.trigger 00:46:15 OK: 225 MiB in 60 packages 00:46:16 Removing intermediate container a11159be9616 00:46:16 ---> 0932f0933477 00:46:16 Step 6/9 : WORKDIR /device-modbus-go 00:46:17 ---> Running in 3018dd8a164e 00:46:17 Removing intermediate container 3018dd8a164e 00:46:17 ---> a4fc2885d8ef 00:46:17 Step 7/9 : COPY . . 00:46:18 ---> 8d901cedd720 00:46:18 Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:18 ---> Running in a7bd0247a6c0 00:47:40 Removing intermediate container a7bd0247a6c0 00:47:40 ---> d26d4f69da50 00:47:40 Step 9/9 : RUN ${MAKE} 00:47:40 ---> Running in 40673c6b39ba 00:47:40 noop 00:47:40 Removing intermediate container 40673c6b39ba 00:47:40 ---> 0780ef825db7 00:47:40 Successfully built 0780ef825db7 00:47:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:47:40 + docker inspect -f . ci-base-image-arm64 00:47:40 . [Pipeline] withDockerContainer 00:47:40 prd-ubuntu18.04-docker-arm64-4c-16g-13369 does not seem to be running inside a container 00:47:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:47:42 $ docker top 7d45061c2b8e5764e81126a2ef045a69a1318fa350396efa73348b338c930779 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:43 + go version 00:47:43 go version go1.16.8 linux/arm64 [Pipeline] } 00:47:43 $ docker stop --time=1 7d45061c2b8e5764e81126a2ef045a69a1318fa350396efa73348b338c930779 00:47:45 $ docker rm -f 7d45061c2b8e5764e81126a2ef045a69a1318fa350396efa73348b338c930779 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:47:46 + docker inspect -f . ci-base-image-arm64 00:47:46 . [Pipeline] withDockerContainer 00:47:46 prd-ubuntu18.04-docker-arm64-4c-16g-13369 does not seem to be running inside a container 00:47:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:47:47 $ docker top 66e0f0f8730cdb7816b8c78d0a7676865d7c06ca90c7189a790993d8614d56df -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:47:48 + make test 00:47:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:47:50 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:48:46 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:48:47 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 46.6% of statements 00:48:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:49:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:49:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:49:14 ./bin/test-attribution-txt.sh 00:49:15 An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add 00:49:15 An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add 00:49:15 make: *** [Makefile:31: test] Error 1 [Pipeline] } 00:49:15 $ docker stop --time=1 66e0f0f8730cdb7816b8c78d0a7676865d7c06ca90c7189a790993d8614d56df 00:49:17 $ docker rm -f 66e0f0f8730cdb7816b8c78d0a7676865d7c06ca90c7189a790993d8614d56df [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 00:49:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:18 00:49:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:49:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:19 arm64: Pulling from edgex-lftools-log-publisher 00:49:19 448f6bf000e3: Pulling fs layer 00:49:19 f757da607395: Pulling fs layer 00:49:19 05883995daec: Pulling fs layer 00:49:19 8603b9c90790: Pulling fs layer 00:49:19 1560dd03e051: Pulling fs layer 00:49:19 27f5ce0e4adf: Pulling fs layer 00:49:19 c2d8d7efcc4b: Pulling fs layer 00:49:19 8603b9c90790: Waiting 00:49:19 1560dd03e051: Waiting 00:49:19 27f5ce0e4adf: Waiting 00:49:19 c2d8d7efcc4b: Waiting 00:49:19 f757da607395: Verifying Checksum 00:49:19 f757da607395: Download complete 00:49:19 8603b9c90790: Verifying Checksum 00:49:19 8603b9c90790: Download complete 00:49:19 1560dd03e051: Verifying Checksum 00:49:19 1560dd03e051: Download complete 00:49:19 05883995daec: Verifying Checksum 00:49:19 05883995daec: Download complete 00:49:19 27f5ce0e4adf: Verifying Checksum 00:49:19 27f5ce0e4adf: Download complete 00:49:20 448f6bf000e3: Verifying Checksum 00:49:20 448f6bf000e3: Download complete 00:49:22 c2d8d7efcc4b: Verifying Checksum 00:49:22 c2d8d7efcc4b: Download complete 00:49:24 448f6bf000e3: Pull complete 00:49:24 f757da607395: Pull complete 00:49:25 05883995daec: Pull complete 00:49:26 8603b9c90790: Pull complete 00:49:27 1560dd03e051: Pull complete 00:49:27 27f5ce0e4adf: Pull complete 00:49:42 c2d8d7efcc4b: Pull complete 00:49:42 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:49:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:49:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:49:43 prd-ubuntu18.04-docker-arm64-4c-16g-13369 does not seem to be running inside a container 00:49:43 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:49:46 $ docker top 41dbccf72d680f1d28d54226c752d8cd4d4d23b8eae5779f0e5ba079d5e63c42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:47 ---> job-cost.sh 00:49:47 lf-activate-venv: SKIPPING 00:49:47 INFO: No Stack... 00:49:47 INFO: Retrieving Pricing Info for: v3-standard-4 00:49:48 INFO: Archiving Costs [Pipeline] sh 00:49:49 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 00:49:49 + cut -d, -f6 [Pipeline] lock 00:49:49 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] 00:49:49 Resource [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] did not exist. Created. 00:49:49 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:49:49 /w/workspace/device-modbus-go/2@tmp/durable-8dcad3e9/script.sh: 1: /w/workspace/device-modbus-go/2@tmp/durable-8dcad3e9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:49:50 + echo total: 0.10999999940395355 [Pipeline] stash 00:49:50 Warning: overwriting stash ‘stack-cost’ 00:49:51 Stashed 1 file(s) [Pipeline] } 00:49:51 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:49:51 $ docker stop --time=1 41dbccf72d680f1d28d54226c752d8cd4d4d23b8eae5779f0e5ba079d5e63c42 00:49:52 $ docker rm -f 41dbccf72d680f1d28d54226c752d8cd4d4d23b8eae5779f0e5ba079d5e63c42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:49:53 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 00:49:54 + '[' -d /w/workspace/xfoundry_device-modbus-go_PR-285/archives ']' [Pipeline] libraryResource [Pipeline] sh 00:49:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:49:55 ---> package-listing.sh 00:49:55 ++ facter osfamily 00:49:55 ++ tr '[:upper:]' '[:lower:]' 00:49:55 + OS_FAMILY=redhat 00:49:55 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-285 00:49:55 + START_PACKAGES=/tmp/packages_start.txt 00:49:55 + END_PACKAGES=/tmp/packages_end.txt 00:49:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:49:55 + PACKAGES=/tmp/packages_start.txt 00:49:55 + '[' /w/workspace/xfoundry_device-modbus-go_PR-285 ']' 00:49:55 + PACKAGES=/tmp/packages_end.txt 00:49:55 + case "${OS_FAMILY}" in 00:49:55 + sort 00:49:55 + rpm -qa 00:49:56 + '[' -f /tmp/packages_start.txt ']' 00:49:56 + '[' -f /tmp/packages_end.txt ']' 00:49:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:49:56 + '[' /w/workspace/xfoundry_device-modbus-go_PR-285 ']' 00:49:56 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-285/archives/ 00:49:56 + 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 00:49:56 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 00:49:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:49:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:57 00:49:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:49:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:57 latest: Pulling from edgex-lftools-log-publisher 00:49:57 b4d181a07f80: Pulling fs layer 00:49:57 a1111a8f2ec3: Pulling fs layer 00:49:57 ed53099fbce6: Pulling fs layer 00:49:57 dc539afda2c1: Pulling fs layer 00:49:57 77bc0d833cb6: Pulling fs layer 00:49:57 9065ff56babe: Pulling fs layer 00:49:57 d287ab97295c: Pulling fs layer 00:49:57 9065ff56babe: Waiting 00:49:57 dc539afda2c1: Waiting 00:49:57 77bc0d833cb6: Waiting 00:49:57 d287ab97295c: Waiting 00:49:57 a1111a8f2ec3: Verifying Checksum 00:49:57 a1111a8f2ec3: Download complete 00:49:57 dc539afda2c1: Verifying Checksum 00:49:57 dc539afda2c1: Download complete 00:49:57 ed53099fbce6: Verifying Checksum 00:49:57 ed53099fbce6: Download complete 00:49:57 9065ff56babe: Download complete 00:49:57 77bc0d833cb6: Verifying Checksum 00:49:57 77bc0d833cb6: Download complete 00:49:57 b4d181a07f80: Verifying Checksum 00:49:57 b4d181a07f80: Download complete 00:49:58 d287ab97295c: Verifying Checksum 00:49:58 d287ab97295c: Download complete 00:49:59 b4d181a07f80: Pull complete 00:49:59 a1111a8f2ec3: Pull complete 00:50:00 ed53099fbce6: Pull complete 00:50:00 dc539afda2c1: Pull complete 00:50:00 77bc0d833cb6: Pull complete 00:50:00 9065ff56babe: Pull complete 00:50:05 d287ab97295c: Pull complete 00:50:05 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:50:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:50:05 prd-centos7-docker-4c-2g-13364 does not seem to be running inside a container 00:50:05 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:50:08 $ docker top a5dd4f3a510f10cab92bd1416e99a994e767a039429eff922573b23d7e021f08 -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:08 + touch /tmp/pre-build-complete [Pipeline] sh 00:50:08 + mkdir -p /var/log/sysstat [Pipeline] sh 00:50:09 + ls /var/log/sa-host 00:50:09 + sadf -c /var/log/sa-host/sa29 00:50:09 file_magic: OK 00:50:09 HZ: Using current value: 100 00:50:09 file_header: OK 00:50:09 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 00:50:09 Statistics: 00:50:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:50:09 File successfully converted to sysstat format version 12.0.3 00:50:09 + sadf -c /var/log/sa-host/sa30 00:50:09 file_magic: OK 00:50:09 HZ: Using current value: 100 00:50:09 file_header: OK 00:50:09 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 00:50:09 Statistics: 00:50:09 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:50:09 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:09 provisioning config files... 00:50:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/config2289519956094518502tmp [Pipeline] { [Pipeline] echo 00:50:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:50:09 ---> create-netrc.sh [Pipeline] } 00:50:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:50:09 ---> python-tools-install.sh [Pipeline] echo 00:50:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:50:10 ---> sudo-logs.sh 00:50:10 Archiving 'sudo' log.. 00:50:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-13364.novalocal: Name or service not known 00:50:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-13364.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:50:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:50:10 ---> job-cost.sh 00:50:10 lf-activate-venv: SKIPPING 00:50:10 DEBUG: total: 0.10999999940395355 00:50:10 INFO: Retrieving Stack Cost... 00:50:10 INFO: Retrieving Pricing Info for: v3-standard-2 00:50:11 INFO: Archiving Costs [Pipeline] echo 00:50:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:50:11 ---> logs-deploy.sh 00:50:11 lf-activate-venv: SKIPPING 00:50:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-285/2 00:50:11 INFO: archiving workspace using pattern(s): 00:50:12 Archives upload complete. 00:50:12 INFO: archiving logs to Nexus