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 [2021-10-29T00:41:53.820Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-29T00:41:53.864Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-29T00:41:53.882Z] ========================================================= [2021-10-29T00:41:53.882Z] EdgeX Global Pipelines Version Info [2021-10-29T00:41:53.882Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 08c87fc82ee25d1710ac3d2bde7ec57c9ac6b57d # timeout=10 [2021-10-29T00:41:55.026Z] ------------------- [2021-10-29T00:41:55.026Z] stable info: [2021-10-29T00:41:55.026Z] ------------------- [2021-10-29T00:41:55.026Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-29T00:41:55.026Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-29T00:41:55.026Z] Message: update stable to v1.0.210 [2021-10-29T00:41:55.603Z] ------------------- [2021-10-29T00:41:55.603Z] experimental info: [2021-10-29T00:41:55.603Z] ------------------- [2021-10-29T00:41:55.603Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-29T00:41:55.603Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-29T00:41:55.603Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-29T00:41:55.691Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-10-29T00:41:55.699Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-10-29T00:41:55.706Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-29T00:41:55.713Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-29T00:41:55.721Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-29T00:41:55.733Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-29T00:41:55.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-29T00:41:55.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-29T00:41:55.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-29T00:41:55.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-29T00:41:55.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-29T00:41:55.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-10-29T00:41:55.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-29T00:41:55.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-29T00:41:55.841Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T00:41:55.852Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T00:41:55.864Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T00:41:55.876Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T00:41:55.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-29T00:41:55.902Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-10-29T00:41:55.916Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-29T00:41:55.925Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-29T00:41:55.939Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-29T00:41:55.954Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-29T00:41:55.965Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-29T00:41:55.976Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-29T00:41:55.986Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-285 [Pipeline] echo [2021-10-29T00:41:55.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-285 [Pipeline] echo [2021-10-29T00:41:56.009Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-285 [Pipeline] echo [2021-10-29T00:41:56.023Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 419d3104d188162c9bbfd623df928f1f835260e1 [Pipeline] echo [2021-10-29T00:41:56.034Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 419d310 [Pipeline] echo [2021-10-29T00:41:56.042Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T00:41:56.083Z] provisioning config files... [2021-10-29T00:41:56.100Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/config7958300831824198896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:41:56.420Z] ---> docker-login.sh [2021-10-29T00:41:56.420Z] nexus3.edgexfoundry.org:10001 [2021-10-29T00:41:56.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:56.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:56.420Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:56.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:56.420Z] [2021-10-29T00:41:56.420Z] Login Succeeded [2021-10-29T00:41:56.420Z] nexus3.edgexfoundry.org:10002 [2021-10-29T00:41:56.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:56.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:56.683Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:56.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:56.683Z] [2021-10-29T00:41:56.683Z] Login Succeeded [2021-10-29T00:41:56.683Z] nexus3.edgexfoundry.org:10003 [2021-10-29T00:41:56.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:56.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:56.683Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:56.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:56.683Z] [2021-10-29T00:41:56.683Z] Login Succeeded [2021-10-29T00:41:56.683Z] nexus3.edgexfoundry.org:10004 [2021-10-29T00:41:56.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:56.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:56.944Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:56.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:56.944Z] [2021-10-29T00:41:56.944Z] Login Succeeded [2021-10-29T00:41:56.944Z] docker.io [2021-10-29T00:41:56.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:57.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:57.206Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:57.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:57.206Z] [2021-10-29T00:41:57.206Z] Login Succeeded [2021-10-29T00:41:57.206Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T00:41:57.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-29T00:41:57.646Z] + git log --format=format:%s -1 419d3104d188162c9bbfd623df928f1f835260e1 [Pipeline] echo [2021-10-29T00:41:57.686Z] GIT_COMMIT: 419d3104d188162c9bbfd623df928f1f835260e1, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo [2021-10-29T00:41:57.693Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:41:58.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T00:41:58.119Z] [2021-10-29T00:41:58.119Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:41:58.424Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T00:41:58.424Z] latest: Pulling from edgex-devops/git-semver [2021-10-29T00:41:58.424Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T00:41:58.424Z] 3e5f54012d9b: Pulling fs layer [2021-10-29T00:41:58.424Z] 4c7163046ea9: Pulling fs layer [2021-10-29T00:41:58.424Z] 0c2d73faf560: Pulling fs layer [2021-10-29T00:41:58.424Z] 0c2d73faf560: Waiting [2021-10-29T00:41:58.424Z] 3e5f54012d9b: Verifying Checksum [2021-10-29T00:41:58.424Z] 3e5f54012d9b: Download complete [2021-10-29T00:41:58.424Z] a0d0a0d46f8b: Verifying Checksum [2021-10-29T00:41:58.424Z] a0d0a0d46f8b: Download complete [2021-10-29T00:41:58.424Z] 4c7163046ea9: Verifying Checksum [2021-10-29T00:41:58.424Z] 4c7163046ea9: Download complete [2021-10-29T00:41:58.685Z] 0c2d73faf560: Verifying Checksum [2021-10-29T00:41:58.685Z] 0c2d73faf560: Download complete [2021-10-29T00:41:58.685Z] a0d0a0d46f8b: Pull complete [2021-10-29T00:41:58.685Z] 3e5f54012d9b: Pull complete [2021-10-29T00:41:58.949Z] 4c7163046ea9: Pull complete [2021-10-29T00:41:59.212Z] 0c2d73faf560: Pull complete [2021-10-29T00:41:59.212Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-29T00:41:59.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T00:41:59.212Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-29T00:41:59.285Z] prd-centos7-docker-4c-2g-13364 does not seem to be running inside a container [2021-10-29T00:41:59.337Z] $ 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 [2021-10-29T00:42:00.011Z] $ docker top e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-29T00:42:00.106Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T00:42:00.106Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T00:42:00.228Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T00:42:00.232Z] $ docker exec e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 ssh-agent [2021-10-29T00:42:00.333Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIgKacp/agent.14 [2021-10-29T00:42:00.333Z] SSH_AGENT_PID=21 [2021-10-29T00:42:00.342Z] Running ssh-add (command line suppressed) [2021-10-29T00:42:00.438Z] 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) [2021-10-29T00:42:00.452Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T00:42:00.756Z] + git tag --points-at HEAD [Pipeline] } [2021-10-29T00:42:00.770Z] $ docker exec --env ******** --env ******** e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 ssh-agent -k [2021-10-29T00:42:00.862Z] unset SSH_AUTH_SOCK; [2021-10-29T00:42:00.863Z] unset SSH_AGENT_PID; [2021-10-29T00:42:00.863Z] echo Agent pid 21 killed; [2021-10-29T00:42:00.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-29T00:42:00.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T00:42:00.902Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T00:42:01.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T00:42:01.009Z] $ docker exec e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 ssh-agent [2021-10-29T00:42:01.114Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXomlbPE/agent.55 [2021-10-29T00:42:01.114Z] SSH_AGENT_PID=62 [2021-10-29T00:42:01.119Z] Running ssh-add (command line suppressed) [2021-10-29T00:42:01.219Z] 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) [2021-10-29T00:42:01.238Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T00:42:01.543Z] + git semver init [2021-10-29T00:42:01.543Z] # -> Open(): unable to determine branch for HEAD [2021-10-29T00:42:01.543Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-285/.git [2021-10-29T00:42:01.543Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-285 [2021-10-29T00:42:01.543Z] # $SEMVER_REMOTE_NAME = origin [2021-10-29T00:42:01.543Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-29T00:42:01.543Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-29T00:42:01.543Z] # $SEMVER_BRANCH = PR-285 [2021-10-29T00:42:01.543Z] # $SEMVER_TEMP = /tmp/semver-989957503 [2021-10-29T00:42:01.543Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-10-29T00:42:02.116Z] # '/tmp/semver-989957503' -> '/w/workspace/xfoundry_device-modbus-go_PR-285/.semver' [2021-10-29T00:42:02.116Z] # -> Force: false [2021-10-29T00:42:02.116Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-285/.semver [Pipeline] } [2021-10-29T00:42:02.130Z] $ docker exec --env ******** --env ******** e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 ssh-agent -k [2021-10-29T00:42:02.228Z] unset SSH_AUTH_SOCK; [2021-10-29T00:42:02.228Z] unset SSH_AGENT_PID; [2021-10-29T00:42:02.229Z] echo Agent pid 62 killed; [2021-10-29T00:42:02.238Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-29T00:42:02.545Z] + git semver [Pipeline] } [2021-10-29T00:42:02.558Z] $ docker stop --time=1 e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 [2021-10-29T00:42:03.758Z] $ docker rm -f e8d67cffda18b75888ea6390f2b8d6fd573b35b75d2c2922d941bb484733b548 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-29T00:42:04.101Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-29T00:42:04.355Z] Stashed 1 file(s) [Pipeline] echo [2021-10-29T00:42:04.358Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-29T00:42:19.505Z] Still waiting to schedule task [2021-10-29T00:42:19.505Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-29T00:42:19.506Z] Still waiting to schedule task [2021-10-29T00:42:19.506Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-13358’ [2021-10-29T00:43:00.050Z] Running on prd-centos7-docker-4c-2g-13367 in /w/workspace/xfoundry_device-modbus-go_PR-285 [Pipeline] { [Pipeline] ws [2021-10-29T00:43:00.059Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2021-10-29T00:43:00.148Z] Selected Git installation does not exist. Using Default [2021-10-29T00:43:00.148Z] The recommended git tool is: NONE [2021-10-29T00:43:02.326Z] using credential edgex-jenkins-ssh [2021-10-29T00:43:02.341Z] Cloning the remote Git repository [2021-10-29T00:43:01.915Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-10-29T00:43:01.978Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2021-10-29T00:43:02.012Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-10-29T00:43:02.013Z] > git --version # timeout=10 [2021-10-29T00:43:02.023Z] > git --version # 'git version 2.24.4' [2021-10-29T00:43:02.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:43:02.056Z] [INFO] Currently running in a labeled security context [2021-10-29T00:43:02.056Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T00:43:02.056Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/2@tmp/jenkins-gitclient-ssh8293070646658602461.key [2021-10-29T00:43:02.066Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:43:02.896Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-10-29T00:43:02.904Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:43:02.920Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-10-29T00:43:02.938Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-10-29T00:43:02.939Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:43:02.940Z] [INFO] Currently running in a labeled security context [2021-10-29T00:43:02.940Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T00:43:02.940Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/2@tmp/jenkins-gitclient-ssh3336399525654682170.key [2021-10-29T00:43:02.947Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-29T00:43:03.935Z] Merging remotes/origin/main commit 2914c8785d6fb43e30410761fbe9b43bb07dce53 into PR head commit 419d3104d188162c9bbfd623df928f1f835260e1 [2021-10-29T00:43:04.028Z] Merge succeeded, producing 419d3104d188162c9bbfd623df928f1f835260e1 [2021-10-29T00:43:04.029Z] Checking out Revision 419d3104d188162c9bbfd623df928f1f835260e1 (PR-285) [2021-10-29T00:43:03.496Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:43:03.508Z] > git checkout -f 419d3104d188162c9bbfd623df928f1f835260e1 # timeout=10 [2021-10-29T00:43:03.536Z] > git remote # timeout=10 [2021-10-29T00:43:03.547Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T00:43:03.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:43:03.552Z] [INFO] Currently running in a labeled security context [2021-10-29T00:43:03.552Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T00:43:03.552Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/2@tmp/jenkins-gitclient-ssh7875638488303031042.key [2021-10-29T00:43:03.558Z] > git merge 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 [2021-10-29T00:43:03.568Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T00:43:03.585Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:43:03.593Z] > git checkout -f 419d3104d188162c9bbfd623df928f1f835260e1 # timeout=10 [2021-10-29T00:43:07.522Z] 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 [2021-10-29T00:43:07.928Z] provisioning config files... [2021-10-29T00:43:07.944Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config528803403242732840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:43:08.349Z] ---> docker-login.sh [2021-10-29T00:43:08.349Z] nexus3.edgexfoundry.org:10001 [2021-10-29T00:43:08.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:43:08.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:43:08.349Z] Configure a credential helper to remove this warning. See [2021-10-29T00:43:08.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:43:08.349Z] [2021-10-29T00:43:08.349Z] Login Succeeded [2021-10-29T00:43:08.349Z] nexus3.edgexfoundry.org:10002 [2021-10-29T00:43:08.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:43:08.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:43:08.621Z] Configure a credential helper to remove this warning. See [2021-10-29T00:43:08.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:43:08.621Z] [2021-10-29T00:43:08.621Z] Login Succeeded [2021-10-29T00:43:08.621Z] nexus3.edgexfoundry.org:10003 [2021-10-29T00:43:08.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:43:08.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:43:08.621Z] Configure a credential helper to remove this warning. See [2021-10-29T00:43:08.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:43:08.621Z] [2021-10-29T00:43:08.621Z] Login Succeeded [2021-10-29T00:43:08.621Z] nexus3.edgexfoundry.org:10004 [2021-10-29T00:43:08.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:43:08.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:43:08.892Z] Configure a credential helper to remove this warning. See [2021-10-29T00:43:08.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:43:08.892Z] [2021-10-29T00:43:08.892Z] Login Succeeded [2021-10-29T00:43:08.892Z] docker.io [2021-10-29T00:43:08.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:43:09.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:43:09.154Z] Configure a credential helper to remove this warning. See [2021-10-29T00:43:09.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:43:09.154Z] [2021-10-29T00:43:09.154Z] Login Succeeded [2021-10-29T00:43:09.154Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T00:43:09.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T00:43:09.316Z] ========================================================= [2021-10-29T00:43:09.316Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-29T00:43:09.316Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:43:09.626Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-29T00:43:09.626Z] Sending build context to Docker daemon 705.5kB [2021-10-29T00:43:09.626Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T00:43:09.626Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-29T00:43:09.626Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-29T00:43:09.626Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T00:43:09.626Z] 31adcdaf11c8: Pulling fs layer [2021-10-29T00:43:09.626Z] b8b176561691: Pulling fs layer [2021-10-29T00:43:09.626Z] 4527c011a84f: Pulling fs layer [2021-10-29T00:43:09.626Z] 5d74067f8e1e: Pulling fs layer [2021-10-29T00:43:09.626Z] e0aca202a116: Pulling fs layer [2021-10-29T00:43:09.626Z] 3a43be97a3b4: Pulling fs layer [2021-10-29T00:43:09.626Z] 34cad66bf833: Pulling fs layer [2021-10-29T00:43:09.626Z] b4e3c513aaa6: Pulling fs layer [2021-10-29T00:43:09.626Z] 4527c011a84f: Waiting [2021-10-29T00:43:09.626Z] 5d74067f8e1e: Waiting [2021-10-29T00:43:09.626Z] e0aca202a116: Waiting [2021-10-29T00:43:09.626Z] 3a43be97a3b4: Waiting [2021-10-29T00:43:09.626Z] 34cad66bf833: Waiting [2021-10-29T00:43:09.626Z] b4e3c513aaa6: Waiting [2021-10-29T00:43:09.626Z] b8b176561691: Verifying Checksum [2021-10-29T00:43:09.626Z] b8b176561691: Download complete [2021-10-29T00:43:09.626Z] 31adcdaf11c8: Verifying Checksum [2021-10-29T00:43:09.626Z] 31adcdaf11c8: Download complete [2021-10-29T00:43:09.626Z] 5d74067f8e1e: Verifying Checksum [2021-10-29T00:43:09.626Z] 5d74067f8e1e: Download complete [2021-10-29T00:43:09.626Z] e0aca202a116: Verifying Checksum [2021-10-29T00:43:09.626Z] e0aca202a116: Download complete [2021-10-29T00:43:09.626Z] a0d0a0d46f8b: Verifying Checksum [2021-10-29T00:43:09.626Z] a0d0a0d46f8b: Download complete [2021-10-29T00:43:09.626Z] 3a43be97a3b4: Verifying Checksum [2021-10-29T00:43:09.626Z] 3a43be97a3b4: Download complete [2021-10-29T00:43:09.891Z] 34cad66bf833: Verifying Checksum [2021-10-29T00:43:09.891Z] 34cad66bf833: Download complete [2021-10-29T00:43:10.162Z] a0d0a0d46f8b: Pull complete [2021-10-29T00:43:10.162Z] 31adcdaf11c8: Pull complete [2021-10-29T00:43:10.428Z] b8b176561691: Pull complete [2021-10-29T00:43:10.428Z] 4527c011a84f: Verifying Checksum [2021-10-29T00:43:10.428Z] 4527c011a84f: Download complete [2021-10-29T00:43:10.428Z] b4e3c513aaa6: Verifying Checksum [2021-10-29T00:43:10.428Z] b4e3c513aaa6: Download complete [2021-10-29T00:43:14.696Z] 4527c011a84f: Pull complete [2021-10-29T00:43:14.696Z] 5d74067f8e1e: Pull complete [2021-10-29T00:43:14.696Z] e0aca202a116: Pull complete [2021-10-29T00:43:14.696Z] 3a43be97a3b4: Pull complete [2021-10-29T00:43:14.964Z] 34cad66bf833: Pull complete [2021-10-29T00:43:18.318Z] b4e3c513aaa6: Pull complete [2021-10-29T00:43:18.318Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-29T00:43:18.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-29T00:43:18.318Z] ---> 9f6097aaca64 [2021-10-29T00:43:18.318Z] Step 3/9 : ARG MAKE='make build' [2021-10-29T00:43:19.710Z] ---> Running in 92893181ecfc [2021-10-29T00:43:19.710Z] Removing intermediate container 92893181ecfc [2021-10-29T00:43:19.710Z] ---> 675b0e844f99 [2021-10-29T00:43:19.710Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T00:43:19.710Z] ---> Running in 82313b688b32 [2021-10-29T00:43:20.288Z] Removing intermediate container 82313b688b32 [2021-10-29T00:43:20.288Z] ---> b7b04e5fdc85 [2021-10-29T00:43:20.288Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-10-29T00:43:20.288Z] ---> Running in 769ca83f3d62 [2021-10-29T00:43:20.550Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-29T00:43:21.491Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-29T00:43:21.752Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T00:43:21.752Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-10-29T00:43:21.752Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T00:43:22.014Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T00:43:22.014Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-10-29T00:43:22.014Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-10-29T00:43:22.276Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-10-29T00:43:22.276Z] (8/8) Installing openssh (8.6_p1-r3) [2021-10-29T00:43:22.539Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T00:43:22.539Z] OK: 226 MiB in 60 packages [2021-10-29T00:43:22.803Z] Removing intermediate container 769ca83f3d62 [2021-10-29T00:43:22.803Z] ---> b9193c962c71 [2021-10-29T00:43:22.803Z] Step 6/9 : WORKDIR /device-modbus-go [2021-10-29T00:43:22.803Z] ---> Running in 5b6ab43bb561 [2021-10-29T00:43:22.803Z] Removing intermediate container 5b6ab43bb561 [2021-10-29T00:43:22.803Z] ---> 4810446de743 [2021-10-29T00:43:22.803Z] Step 7/9 : COPY . . [2021-10-29T00:43:23.072Z] ---> e8b4c1d1433f [2021-10-29T00:43:23.072Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T00:43:23.072Z] ---> Running in 7328f7f42420 [2021-10-29T00:43:55.250Z] Removing intermediate container 7328f7f42420 [2021-10-29T00:43:55.250Z] ---> 19bda1352245 [2021-10-29T00:43:55.250Z] Step 9/9 : RUN ${MAKE} [2021-10-29T00:43:55.250Z] ---> Running in a240836368f1 [2021-10-29T00:43:55.250Z] noop [2021-10-29T00:43:55.250Z] Removing intermediate container a240836368f1 [2021-10-29T00:43:55.250Z] ---> 7b12495159c5 [2021-10-29T00:43:55.250Z] Successfully built 7b12495159c5 [2021-10-29T00:43:55.250Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:43:55.548Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T00:43:55.549Z] . [Pipeline] withDockerContainer [2021-10-29T00:43:55.618Z] prd-centos7-docker-4c-2g-13367 does not seem to be running inside a container [2021-10-29T00:43:55.658Z] $ 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 [2021-10-29T00:43:55.999Z] $ docker top 04c9b11b4360a58484672db217c15d4004927c751df1044ba35b4286e5fff8db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T00:43:56.364Z] + go version [2021-10-29T00:43:56.364Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-29T00:43:56.374Z] $ docker stop --time=1 04c9b11b4360a58484672db217c15d4004927c751df1044ba35b4286e5fff8db [2021-10-29T00:43:57.559Z] $ docker rm -f 04c9b11b4360a58484672db217c15d4004927c751df1044ba35b4286e5fff8db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:43:58.074Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T00:43:58.074Z] . [Pipeline] withDockerContainer [2021-10-29T00:43:58.156Z] prd-centos7-docker-4c-2g-13367 does not seem to be running inside a container [2021-10-29T00:43:58.197Z] $ 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 [2021-10-29T00:43:58.539Z] $ docker top 62be1d5bc1e380f40403b8766181515ce500f7f55ef6a0325da9595ce480901e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T00:43:58.906Z] + make test [2021-10-29T00:43:58.906Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-29T00:43:59.169Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-10-29T00:44:17.416Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-10-29T00:44:17.416Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.6% of statements [2021-10-29T00:44:17.416Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-29T00:44:22.770Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-29T00:44:22.770Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-29T00:44:22.770Z] ./bin/test-attribution-txt.sh [2021-10-29T00:44:22.770Z] An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add [2021-10-29T00:44:22.770Z] An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add [2021-10-29T00:44:22.770Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2021-10-29T00:44:22.780Z] $ docker stop --time=1 62be1d5bc1e380f40403b8766181515ce500f7f55ef6a0325da9595ce480901e [2021-10-29T00:44:24.212Z] $ 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 [2021-10-29T00:44:24.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:44:24.983Z] [2021-10-29T00:44:24.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:44:25.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:44:26.231Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T00:44:26.231Z] b4d181a07f80: Pulling fs layer [2021-10-29T00:44:26.231Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T00:44:26.231Z] ed53099fbce6: Pulling fs layer [2021-10-29T00:44:26.231Z] dc539afda2c1: Pulling fs layer [2021-10-29T00:44:26.231Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T00:44:26.231Z] 9065ff56babe: Pulling fs layer [2021-10-29T00:44:26.231Z] d287ab97295c: Pulling fs layer [2021-10-29T00:44:26.231Z] 77bc0d833cb6: Waiting [2021-10-29T00:44:26.231Z] dc539afda2c1: Waiting [2021-10-29T00:44:26.231Z] 9065ff56babe: Waiting [2021-10-29T00:44:26.231Z] d287ab97295c: Waiting [2021-10-29T00:44:26.231Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T00:44:26.231Z] a1111a8f2ec3: Download complete [2021-10-29T00:44:26.231Z] dc539afda2c1: Verifying Checksum [2021-10-29T00:44:26.231Z] dc539afda2c1: Download complete [2021-10-29T00:44:26.231Z] ed53099fbce6: Verifying Checksum [2021-10-29T00:44:26.231Z] ed53099fbce6: Download complete [2021-10-29T00:44:26.231Z] 9065ff56babe: Verifying Checksum [2021-10-29T00:44:26.231Z] 9065ff56babe: Download complete [2021-10-29T00:44:26.231Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T00:44:26.231Z] 77bc0d833cb6: Download complete [2021-10-29T00:44:26.231Z] b4d181a07f80: Verifying Checksum [2021-10-29T00:44:26.231Z] b4d181a07f80: Download complete [2021-10-29T00:44:27.180Z] d287ab97295c: Verifying Checksum [2021-10-29T00:44:27.180Z] d287ab97295c: Download complete [2021-10-29T00:44:27.765Z] b4d181a07f80: Pull complete [2021-10-29T00:44:28.025Z] a1111a8f2ec3: Pull complete [2021-10-29T00:44:28.603Z] ed53099fbce6: Pull complete [2021-10-29T00:44:28.603Z] dc539afda2c1: Pull complete [2021-10-29T00:44:28.877Z] 77bc0d833cb6: Pull complete [2021-10-29T00:44:28.877Z] 9065ff56babe: Pull complete [2021-10-29T00:44:34.197Z] d287ab97295c: Pull complete [2021-10-29T00:44:34.197Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T00:44:34.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:44:34.197Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T00:44:34.265Z] prd-centos7-docker-4c-2g-13367 does not seem to be running inside a container [2021-10-29T00:44:34.311Z] $ 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 [2021-10-29T00:44:36.798Z] $ docker top b052d0a607bac7f4c567c69ca3c9811911a52e4b06ea64b7b8b1ee04197ea864 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:44:37.199Z] ---> job-cost.sh [2021-10-29T00:44:37.199Z] lf-activate-venv: SKIPPING [2021-10-29T00:44:37.199Z] INFO: No Stack... [2021-10-29T00:44:39.119Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T00:44:39.379Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T00:44:39.689Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2021-10-29T00:44:39.689Z] + cut -d, -f6 [Pipeline] lock [2021-10-29T00:44:39.711Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] [2021-10-29T00:44:39.716Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] did not exist. Created. [2021-10-29T00:44:39.716Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T00:44:40.026Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-29T00:44:40.196Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T00:44:40.203Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T00:44:40.218Z] $ docker stop --time=1 b052d0a607bac7f4c567c69ca3c9811911a52e4b06ea64b7b8b1ee04197ea864 [2021-10-29T00:44:41.359Z] $ 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] } [2021-10-29T00:44:41.591Z] Failed in branch amd64 [2021-10-29T00:45:07.123Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13369 in /w/workspace/xfoundry_device-modbus-go_PR-285 [Pipeline] { [Pipeline] ws [2021-10-29T00:45:07.137Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2021-10-29T00:45:07.378Z] Selected Git installation does not exist. Using Default [2021-10-29T00:45:07.378Z] The recommended git tool is: NONE [2021-10-29T00:45:13.474Z] using credential edgex-jenkins-ssh [2021-10-29T00:45:13.496Z] Cloning the remote Git repository [2021-10-29T00:45:13.589Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-10-29T00:45:13.768Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2021-10-29T00:45:13.856Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-10-29T00:45:13.857Z] > git --version # timeout=10 [2021-10-29T00:45:13.874Z] > git --version # 'git version 2.17.1' [2021-10-29T00:45:13.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:45:13.978Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:45:14.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-10-29T00:45:14.799Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:45:14.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-10-29T00:45:14.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-10-29T00:45:14.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:45:14.884Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/285/head:refs/remotes/origin/PR-285 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-29T00:45:15.526Z] Merging remotes/origin/main commit 2914c8785d6fb43e30410761fbe9b43bb07dce53 into PR head commit 419d3104d188162c9bbfd623df928f1f835260e1 [2021-10-29T00:45:15.734Z] Merge succeeded, producing 419d3104d188162c9bbfd623df928f1f835260e1 [2021-10-29T00:45:15.734Z] Checking out Revision 419d3104d188162c9bbfd623df928f1f835260e1 (PR-285) [2021-10-29T00:45:15.545Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:45:15.562Z] > git checkout -f 419d3104d188162c9bbfd623df928f1f835260e1 # timeout=10 [2021-10-29T00:45:15.650Z] > git remote # timeout=10 [2021-10-29T00:45:15.674Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T00:45:15.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:45:15.695Z] > git merge 2914c8785d6fb43e30410761fbe9b43bb07dce53 # timeout=10 [2021-10-29T00:45:15.718Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T00:45:15.741Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:45:15.763Z] > git checkout -f 419d3104d188162c9bbfd623df928f1f835260e1 # timeout=10 [2021-10-29T00:45:20.024Z] 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 [2021-10-29T00:45:20.902Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-29T00:45:20.903Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-29T00:45:20.903Z] Dload Upload Total Spent Left Speed [2021-10-29T00:45:20.903Z] 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 [2021-10-29T00:45:21.347Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-29T00:45:21.698Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-29T00:45:21.698Z] + sudo tee /etc/docker/daemon.new [2021-10-29T00:45:21.698Z] { [2021-10-29T00:45:21.698Z] "registry-mirrors": [ [2021-10-29T00:45:21.698Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-29T00:45:21.698Z] ], [2021-10-29T00:45:21.698Z] "bip": "10.250.0.254/24", [2021-10-29T00:45:21.698Z] "hosts": [ [2021-10-29T00:45:21.698Z] "tcp://0.0.0.0:5555", [2021-10-29T00:45:21.698Z] "unix:///var/run/docker.sock" [2021-10-29T00:45:21.698Z] ], [2021-10-29T00:45:21.698Z] "mtu": 1458, [2021-10-29T00:45:21.698Z] "selinux-enabled": true, [2021-10-29T00:45:21.698Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-29T00:45:21.698Z] } [Pipeline] sh [2021-10-29T00:45:22.036Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-29T00:45:22.413Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T00:45:40.815Z] provisioning config files... [2021-10-29T00:45:40.845Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config2216118120922094556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:45:41.220Z] ---> docker-login.sh [2021-10-29T00:45:41.220Z] nexus3.edgexfoundry.org:10001 [2021-10-29T00:45:42.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:45:42.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:45:42.486Z] Configure a credential helper to remove this warning. See [2021-10-29T00:45:42.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:45:42.486Z] [2021-10-29T00:45:42.486Z] Login Succeeded [2021-10-29T00:45:42.486Z] nexus3.edgexfoundry.org:10002 [2021-10-29T00:45:43.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:45:43.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:45:43.084Z] Configure a credential helper to remove this warning. See [2021-10-29T00:45:43.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:45:43.084Z] [2021-10-29T00:45:43.084Z] Login Succeeded [2021-10-29T00:45:43.084Z] nexus3.edgexfoundry.org:10003 [2021-10-29T00:45:43.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:45:43.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:45:43.692Z] Configure a credential helper to remove this warning. See [2021-10-29T00:45:43.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:45:43.692Z] [2021-10-29T00:45:43.692Z] Login Succeeded [2021-10-29T00:45:43.692Z] nexus3.edgexfoundry.org:10004 [2021-10-29T00:45:43.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:45:44.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:45:44.244Z] Configure a credential helper to remove this warning. See [2021-10-29T00:45:44.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:45:44.244Z] [2021-10-29T00:45:44.244Z] Login Succeeded [2021-10-29T00:45:44.244Z] docker.io [2021-10-29T00:45:44.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:45:45.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:45:45.114Z] Configure a credential helper to remove this warning. See [2021-10-29T00:45:45.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:45:45.114Z] [2021-10-29T00:45:45.114Z] Login Succeeded [2021-10-29T00:45:45.114Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T00:45:45.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T00:45:45.593Z] ========================================================= [2021-10-29T00:45:45.593Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-29T00:45:45.593Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:45:45.945Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-29T00:45:46.223Z] Sending build context to Docker daemon 704.5kB [2021-10-29T00:45:46.510Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T00:45:46.510Z] Step 2/9 : FROM ${BASE} AS builder [2021-10-29T00:45:46.510Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-29T00:45:46.510Z] 552d1f2373af: Pulling fs layer [2021-10-29T00:45:46.510Z] ea3f2d53f512: Pulling fs layer [2021-10-29T00:45:46.510Z] 9e70ebbbe112: Pulling fs layer [2021-10-29T00:45:46.510Z] 7a9cfe048b4a: Pulling fs layer [2021-10-29T00:45:46.510Z] 72dc09318566: Pulling fs layer [2021-10-29T00:45:46.510Z] f4f7b4309257: Pulling fs layer [2021-10-29T00:45:46.510Z] 0ac9a79272e3: Pulling fs layer [2021-10-29T00:45:46.510Z] b78e95d17946: Pulling fs layer [2021-10-29T00:45:46.510Z] f4f7b4309257: Waiting [2021-10-29T00:45:46.510Z] 7a9cfe048b4a: Waiting [2021-10-29T00:45:46.510Z] 72dc09318566: Waiting [2021-10-29T00:45:46.510Z] 0ac9a79272e3: Waiting [2021-10-29T00:45:46.510Z] b78e95d17946: Waiting [2021-10-29T00:45:46.510Z] 9e70ebbbe112: Verifying Checksum [2021-10-29T00:45:46.510Z] 9e70ebbbe112: Download complete [2021-10-29T00:45:46.785Z] ea3f2d53f512: Verifying Checksum [2021-10-29T00:45:46.785Z] ea3f2d53f512: Download complete [2021-10-29T00:45:46.785Z] 72dc09318566: Verifying Checksum [2021-10-29T00:45:46.785Z] 72dc09318566: Download complete [2021-10-29T00:45:46.785Z] f4f7b4309257: Verifying Checksum [2021-10-29T00:45:46.785Z] f4f7b4309257: Download complete [2021-10-29T00:45:46.785Z] 552d1f2373af: Download complete [2021-10-29T00:45:46.785Z] 0ac9a79272e3: Verifying Checksum [2021-10-29T00:45:46.785Z] 0ac9a79272e3: Download complete [2021-10-29T00:45:47.389Z] 552d1f2373af: Pull complete [2021-10-29T00:45:48.381Z] ea3f2d53f512: Pull complete [2021-10-29T00:45:48.658Z] 9e70ebbbe112: Pull complete [2021-10-29T00:45:48.658Z] b78e95d17946: Verifying Checksum [2021-10-29T00:45:48.658Z] b78e95d17946: Download complete [2021-10-29T00:45:49.255Z] 7a9cfe048b4a: Verifying Checksum [2021-10-29T00:45:49.255Z] 7a9cfe048b4a: Download complete [2021-10-29T00:45:59.415Z] 7a9cfe048b4a: Pull complete [2021-10-29T00:45:59.690Z] 72dc09318566: Pull complete [2021-10-29T00:45:59.963Z] f4f7b4309257: Pull complete [2021-10-29T00:46:00.560Z] 0ac9a79272e3: Pull complete [2021-10-29T00:46:07.306Z] b78e95d17946: Pull complete [2021-10-29T00:46:07.306Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-29T00:46:07.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-29T00:46:07.306Z] ---> 8b459fc5aaf0 [2021-10-29T00:46:07.306Z] Step 3/9 : ARG MAKE='make build' [2021-10-29T00:46:08.743Z] ---> Running in a4b9af9ebfc3 [2021-10-29T00:46:09.352Z] Removing intermediate container a4b9af9ebfc3 [2021-10-29T00:46:09.352Z] ---> 12357ca9bd24 [2021-10-29T00:46:09.352Z] Step 4/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T00:46:09.352Z] ---> Running in 228adcc252b6 [2021-10-29T00:46:11.978Z] Removing intermediate container 228adcc252b6 [2021-10-29T00:46:11.978Z] ---> e3bf692d7305 [2021-10-29T00:46:11.978Z] Step 5/9 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-10-29T00:46:11.978Z] ---> Running in a11159be9616 [2021-10-29T00:46:12.956Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-29T00:46:13.936Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-29T00:46:14.919Z] (1/8) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T00:46:14.919Z] (2/8) Installing libedit (20210216.3.1-r0) [2021-10-29T00:46:14.919Z] (3/8) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T00:46:15.191Z] (4/8) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T00:46:15.191Z] (5/8) Installing openssh-sftp-server (8.6_p1-r3) [2021-10-29T00:46:15.191Z] (6/8) Installing openssh-server-common (8.6_p1-r3) [2021-10-29T00:46:15.464Z] (7/8) Installing openssh-server (8.6_p1-r3) [2021-10-29T00:46:15.464Z] (8/8) Installing openssh (8.6_p1-r3) [2021-10-29T00:46:15.739Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T00:46:15.739Z] OK: 225 MiB in 60 packages [2021-10-29T00:46:16.726Z] Removing intermediate container a11159be9616 [2021-10-29T00:46:16.726Z] ---> 0932f0933477 [2021-10-29T00:46:16.726Z] Step 6/9 : WORKDIR /device-modbus-go [2021-10-29T00:46:17.007Z] ---> Running in 3018dd8a164e [2021-10-29T00:46:17.281Z] Removing intermediate container 3018dd8a164e [2021-10-29T00:46:17.281Z] ---> a4fc2885d8ef [2021-10-29T00:46:17.281Z] Step 7/9 : COPY . . [2021-10-29T00:46:18.267Z] ---> 8d901cedd720 [2021-10-29T00:46:18.267Z] Step 8/9 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T00:46:18.540Z] ---> Running in a7bd0247a6c0 [2021-10-29T00:47:40.333Z] Removing intermediate container a7bd0247a6c0 [2021-10-29T00:47:40.333Z] ---> d26d4f69da50 [2021-10-29T00:47:40.333Z] Step 9/9 : RUN ${MAKE} [2021-10-29T00:47:40.333Z] ---> Running in 40673c6b39ba [2021-10-29T00:47:40.333Z] noop [2021-10-29T00:47:40.333Z] Removing intermediate container 40673c6b39ba [2021-10-29T00:47:40.333Z] ---> 0780ef825db7 [2021-10-29T00:47:40.333Z] Successfully built 0780ef825db7 [2021-10-29T00:47:40.333Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:47:40.678Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T00:47:40.678Z] . [Pipeline] withDockerContainer [2021-10-29T00:47:40.941Z] prd-ubuntu18.04-docker-arm64-4c-16g-13369 does not seem to be running inside a container [2021-10-29T00:47:41.017Z] $ 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 [2021-10-29T00:47:42.631Z] $ docker top 7d45061c2b8e5764e81126a2ef045a69a1318fa350396efa73348b338c930779 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T00:47:43.606Z] + go version [2021-10-29T00:47:43.606Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-29T00:47:43.628Z] $ docker stop --time=1 7d45061c2b8e5764e81126a2ef045a69a1318fa350396efa73348b338c930779 [2021-10-29T00:47:45.393Z] $ docker rm -f 7d45061c2b8e5764e81126a2ef045a69a1318fa350396efa73348b338c930779 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:47:46.047Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T00:47:46.047Z] . [Pipeline] withDockerContainer [2021-10-29T00:47:46.285Z] prd-ubuntu18.04-docker-arm64-4c-16g-13369 does not seem to be running inside a container [2021-10-29T00:47:46.365Z] $ 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 [2021-10-29T00:47:47.783Z] $ docker top 66e0f0f8730cdb7816b8c78d0a7676865d7c06ca90c7189a790993d8614d56df -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T00:47:48.721Z] + make test [2021-10-29T00:47:48.721Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-29T00:47:50.164Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2021-10-29T00:48:46.757Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2021-10-29T00:48:47.360Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 46.6% of statements [2021-10-29T00:48:47.630Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-29T00:49:14.465Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-29T00:49:14.465Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-29T00:49:14.465Z] ./bin/test-attribution-txt.sh [2021-10-29T00:49:15.449Z] An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add [2021-10-29T00:49:15.449Z] An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add [2021-10-29T00:49:15.721Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2021-10-29T00:49:15.739Z] $ docker stop --time=1 66e0f0f8730cdb7816b8c78d0a7676865d7c06ca90c7189a790993d8614d56df [2021-10-29T00:49:17.684Z] $ 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 [2021-10-29T00:49:18.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T00:49:18.864Z] [2021-10-29T00:49:18.864Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:49:19.216Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T00:49:19.497Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-29T00:49:19.497Z] 448f6bf000e3: Pulling fs layer [2021-10-29T00:49:19.497Z] f757da607395: Pulling fs layer [2021-10-29T00:49:19.497Z] 05883995daec: Pulling fs layer [2021-10-29T00:49:19.497Z] 8603b9c90790: Pulling fs layer [2021-10-29T00:49:19.497Z] 1560dd03e051: Pulling fs layer [2021-10-29T00:49:19.497Z] 27f5ce0e4adf: Pulling fs layer [2021-10-29T00:49:19.497Z] c2d8d7efcc4b: Pulling fs layer [2021-10-29T00:49:19.497Z] 8603b9c90790: Waiting [2021-10-29T00:49:19.497Z] 1560dd03e051: Waiting [2021-10-29T00:49:19.497Z] 27f5ce0e4adf: Waiting [2021-10-29T00:49:19.497Z] c2d8d7efcc4b: Waiting [2021-10-29T00:49:19.497Z] f757da607395: Verifying Checksum [2021-10-29T00:49:19.497Z] f757da607395: Download complete [2021-10-29T00:49:19.497Z] 8603b9c90790: Verifying Checksum [2021-10-29T00:49:19.497Z] 8603b9c90790: Download complete [2021-10-29T00:49:19.777Z] 1560dd03e051: Verifying Checksum [2021-10-29T00:49:19.777Z] 1560dd03e051: Download complete [2021-10-29T00:49:19.777Z] 05883995daec: Verifying Checksum [2021-10-29T00:49:19.777Z] 05883995daec: Download complete [2021-10-29T00:49:19.777Z] 27f5ce0e4adf: Verifying Checksum [2021-10-29T00:49:19.777Z] 27f5ce0e4adf: Download complete [2021-10-29T00:49:20.056Z] 448f6bf000e3: Verifying Checksum [2021-10-29T00:49:20.056Z] 448f6bf000e3: Download complete [2021-10-29T00:49:22.691Z] c2d8d7efcc4b: Verifying Checksum [2021-10-29T00:49:22.691Z] c2d8d7efcc4b: Download complete [2021-10-29T00:49:24.134Z] 448f6bf000e3: Pull complete [2021-10-29T00:49:24.410Z] f757da607395: Pull complete [2021-10-29T00:49:25.843Z] 05883995daec: Pull complete [2021-10-29T00:49:26.439Z] 8603b9c90790: Pull complete [2021-10-29T00:49:27.417Z] 1560dd03e051: Pull complete [2021-10-29T00:49:27.689Z] 27f5ce0e4adf: Pull complete [2021-10-29T00:49:42.872Z] c2d8d7efcc4b: Pull complete [2021-10-29T00:49:42.872Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-29T00:49:42.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T00:49:42.872Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-29T00:49:43.159Z] prd-ubuntu18.04-docker-arm64-4c-16g-13369 does not seem to be running inside a container [2021-10-29T00:49:43.259Z] $ 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 [2021-10-29T00:49:46.691Z] $ docker top 41dbccf72d680f1d28d54226c752d8cd4d4d23b8eae5779f0e5ba079d5e63c42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:49:47.686Z] ---> job-cost.sh [2021-10-29T00:49:47.687Z] lf-activate-venv: SKIPPING [2021-10-29T00:49:47.687Z] INFO: No Stack... [2021-10-29T00:49:47.961Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-29T00:49:48.556Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T00:49:49.210Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2021-10-29T00:49:49.210Z] + cut -d, -f6 [Pipeline] lock [2021-10-29T00:49:49.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] [2021-10-29T00:49:49.278Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] did not exist. Created. [2021-10-29T00:49:49.278Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T00:49:49.947Z] /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 [2021-10-29T00:49:50.624Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-29T00:49:50.650Z] Warning: overwriting stash ‘stack-cost’ [2021-10-29T00:49:51.194Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T00:49:51.200Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-285-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T00:49:51.215Z] $ docker stop --time=1 41dbccf72d680f1d28d54226c752d8cd4d4d23b8eae5779f0e5ba079d5e63c42 [2021-10-29T00:49:52.874Z] $ 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] } [2021-10-29T00:49:53.348Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-29T00:49:54.485Z] + '[' -d /w/workspace/xfoundry_device-modbus-go_PR-285/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:49:54.794Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:49:55.370Z] ---> package-listing.sh [2021-10-29T00:49:55.370Z] ++ facter osfamily [2021-10-29T00:49:55.370Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-29T00:49:55.648Z] + OS_FAMILY=redhat [2021-10-29T00:49:55.648Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-285 [2021-10-29T00:49:55.648Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-29T00:49:55.648Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-29T00:49:55.648Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-29T00:49:55.648Z] + PACKAGES=/tmp/packages_start.txt [2021-10-29T00:49:55.648Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-285 ']' [2021-10-29T00:49:55.648Z] + PACKAGES=/tmp/packages_end.txt [2021-10-29T00:49:55.648Z] + case "${OS_FAMILY}" in [2021-10-29T00:49:55.648Z] + sort [2021-10-29T00:49:55.648Z] + rpm -qa [2021-10-29T00:49:56.227Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-29T00:49:56.227Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-29T00:49:56.227Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-29T00:49:56.227Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-285 ']' [2021-10-29T00:49:56.227Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-285/archives/ [2021-10-29T00:49:56.227Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-285/archives/ [Pipeline] echo [2021-10-29T00:49:56.239Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-285/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-29T00:49:56.527Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:49:57.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:49:57.112Z] [2021-10-29T00:49:57.112Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:49:57.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:49:57.408Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T00:49:57.408Z] b4d181a07f80: Pulling fs layer [2021-10-29T00:49:57.408Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T00:49:57.408Z] ed53099fbce6: Pulling fs layer [2021-10-29T00:49:57.408Z] dc539afda2c1: Pulling fs layer [2021-10-29T00:49:57.408Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T00:49:57.408Z] 9065ff56babe: Pulling fs layer [2021-10-29T00:49:57.408Z] d287ab97295c: Pulling fs layer [2021-10-29T00:49:57.408Z] 9065ff56babe: Waiting [2021-10-29T00:49:57.408Z] dc539afda2c1: Waiting [2021-10-29T00:49:57.408Z] 77bc0d833cb6: Waiting [2021-10-29T00:49:57.408Z] d287ab97295c: Waiting [2021-10-29T00:49:57.408Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T00:49:57.408Z] a1111a8f2ec3: Download complete [2021-10-29T00:49:57.408Z] dc539afda2c1: Verifying Checksum [2021-10-29T00:49:57.408Z] dc539afda2c1: Download complete [2021-10-29T00:49:57.408Z] ed53099fbce6: Verifying Checksum [2021-10-29T00:49:57.408Z] ed53099fbce6: Download complete [2021-10-29T00:49:57.672Z] 9065ff56babe: Download complete [2021-10-29T00:49:57.672Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T00:49:57.672Z] 77bc0d833cb6: Download complete [2021-10-29T00:49:57.937Z] b4d181a07f80: Verifying Checksum [2021-10-29T00:49:57.937Z] b4d181a07f80: Download complete [2021-10-29T00:49:58.531Z] d287ab97295c: Verifying Checksum [2021-10-29T00:49:58.532Z] d287ab97295c: Download complete [2021-10-29T00:49:59.497Z] b4d181a07f80: Pull complete [2021-10-29T00:49:59.497Z] a1111a8f2ec3: Pull complete [2021-10-29T00:50:00.103Z] ed53099fbce6: Pull complete [2021-10-29T00:50:00.103Z] dc539afda2c1: Pull complete [2021-10-29T00:50:00.370Z] 77bc0d833cb6: Pull complete [2021-10-29T00:50:00.370Z] 9065ff56babe: Pull complete [2021-10-29T00:50:05.702Z] d287ab97295c: Pull complete [2021-10-29T00:50:05.702Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T00:50:05.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:50:05.702Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T00:50:05.765Z] prd-centos7-docker-4c-2g-13364 does not seem to be running inside a container [2021-10-29T00:50:05.804Z] $ 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 [2021-10-29T00:50:08.249Z] $ docker top a5dd4f3a510f10cab92bd1416e99a994e767a039429eff922573b23d7e021f08 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T00:50:08.609Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-29T00:50:08.893Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-29T00:50:09.186Z] + ls /var/log/sa-host [2021-10-29T00:50:09.186Z] + sadf -c /var/log/sa-host/sa29 [2021-10-29T00:50:09.186Z] file_magic: OK [2021-10-29T00:50:09.186Z] HZ: Using current value: 100 [2021-10-29T00:50:09.186Z] file_header: OK [2021-10-29T00:50:09.186Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-29T00:50:09.186Z] Statistics: [2021-10-29T00:50:09.186Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T00:50:09.186Z] File successfully converted to sysstat format version 12.0.3 [2021-10-29T00:50:09.186Z] + sadf -c /var/log/sa-host/sa30 [2021-10-29T00:50:09.186Z] file_magic: OK [2021-10-29T00:50:09.186Z] HZ: Using current value: 100 [2021-10-29T00:50:09.186Z] file_header: OK [2021-10-29T00:50:09.186Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-29T00:50:09.186Z] Statistics: [2021-10-29T00:50:09.186Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T00:50:09.186Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T00:50:09.270Z] provisioning config files... [2021-10-29T00:50:09.280Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-285@tmp/config2289519956094518502tmp [Pipeline] { [Pipeline] echo [2021-10-29T00:50:09.297Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:09.586Z] ---> create-netrc.sh [Pipeline] } [2021-10-29T00:50:09.593Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:09.926Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-29T00:50:09.936Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:10.233Z] ---> sudo-logs.sh [2021-10-29T00:50:10.233Z] Archiving 'sudo' log.. [2021-10-29T00:50:10.233Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13364.novalocal: Name or service not known [2021-10-29T00:50:10.233Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13364.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-29T00:50:10.281Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:10.579Z] ---> job-cost.sh [2021-10-29T00:50:10.579Z] lf-activate-venv: SKIPPING [2021-10-29T00:50:10.579Z] DEBUG: total: 0.10999999940395355 [2021-10-29T00:50:10.579Z] INFO: Retrieving Stack Cost... [2021-10-29T00:50:10.843Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T00:50:11.105Z] INFO: Archiving Costs [Pipeline] echo [2021-10-29T00:50:11.119Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:11.426Z] ---> logs-deploy.sh [2021-10-29T00:50:11.426Z] lf-activate-venv: SKIPPING [2021-10-29T00:50:11.426Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-285/2 [2021-10-29T00:50:11.426Z] INFO: archiving workspace using pattern(s): [2021-10-29T00:50:12.000Z] Archives upload complete. [2021-10-29T00:50:12.262Z] INFO: archiving logs to Nexus