Pull request #324 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4eed79be54b12ae509a72bc9210372e8e6b10a90+8f99c6f6f95ddf2a2695655a7f109a71384649ab (d821f321f3421f3f70e07886043984e07dc8d698) 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-ssh4349452256687074077.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh11583100097867091978.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-324/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-324/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16325364077179039744.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-324/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8591795559768801623.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6561193481167941458.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-324/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-324/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11478452581511624102.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 USE_ALPINE: true 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 Running on prd-ubuntu20.04-docker-8c-8g-10623 in /w/workspace/xfoundry_device-modbus-go_PR-324 [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-324 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8f99c6f6f95ddf2a2695655a7f109a71384649ab into PR head commit 4eed79be54b12ae509a72bc9210372e8e6b10a90 Merge succeeded, producing 4eed79be54b12ae509a72bc9210372e8e6b10a90 Checking out Revision 4eed79be54b12ae509a72bc9210372e8e6b10a90 (PR-324) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/324/head:refs/remotes/origin/PR-324 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4eed79be54b12ae509a72bc9210372e8e6b10a90 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8f99c6f6f95ddf2a2695655a7f109a71384649ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4eed79be54b12ae509a72bc9210372e8e6b10a90 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-04T05:03:49.364Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-04T05:03:49.563Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-04T05:03:49.667Z] ========================================================= [2022-04-04T05:03:49.667Z] EdgeX Global Pipelines Version Info [2022-04-04T05:03:49.667Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:03:50.484Z] ------------------- [2022-04-04T05:03:50.484Z] stable info: [2022-04-04T05:03:50.484Z] ------------------- [2022-04-04T05:03:50.484Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-04T05:03:50.484Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T05:03:50.484Z] Message: update stable to v1.0.221 [2022-04-04T05:03:51.059Z] ------------------- [2022-04-04T05:03:51.059Z] experimental info: [2022-04-04T05:03:51.059Z] ------------------- [2022-04-04T05:03:51.059Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-04T05:03:51.059Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T05:03:51.059Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-04T05:03:51.333Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-04-04T05:03:51.377Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-04-04T05:03:51.419Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-04T05:03:51.461Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-04T05:03:51.508Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-04T05:03:51.550Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-04T05:03:51.591Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-04T05:03:51.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-04T05:03:51.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-04T05:03:51.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-04T05:03:51.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-04T05:03:51.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-04-04T05:03:51.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-04T05:03:51.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-04T05:03:51.930Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T05:03:51.973Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T05:03:52.017Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T05:03:52.062Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T05:03:52.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-04T05:03:52.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-04-04T05:03:52.186Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-04T05:03:52.230Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-04T05:03:52.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-04T05:03:52.321Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-04T05:03:52.369Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-04T05:03:52.412Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-04T05:03:52.460Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-324 [Pipeline] echo [2022-04-04T05:03:52.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-324 [Pipeline] echo [2022-04-04T05:03:52.551Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-324 [Pipeline] echo [2022-04-04T05:03:52.599Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4eed79be54b12ae509a72bc9210372e8e6b10a90 [Pipeline] echo [2022-04-04T05:03:52.646Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4eed79b [Pipeline] echo [2022-04-04T05:03:52.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T05:03:52.828Z] provisioning config files... [2022-04-04T05:03:52.846Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-324@tmp/config2661695441162423839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:03:53.205Z] ---> docker-login.sh [2022-04-04T05:03:53.205Z] nexus3.edgexfoundry.org:10001 [2022-04-04T05:03:53.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:03:53.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:03:53.468Z] Configure a credential helper to remove this warning. See [2022-04-04T05:03:53.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:03:53.468Z] [2022-04-04T05:03:53.468Z] Login Succeeded [2022-04-04T05:03:53.468Z] nexus3.edgexfoundry.org:10002 [2022-04-04T05:03:53.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:03:53.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:03:53.728Z] Configure a credential helper to remove this warning. See [2022-04-04T05:03:53.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:03:53.728Z] [2022-04-04T05:03:53.728Z] Login Succeeded [2022-04-04T05:03:53.728Z] nexus3.edgexfoundry.org:10003 [2022-04-04T05:03:53.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:03:53.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:03:53.728Z] Configure a credential helper to remove this warning. See [2022-04-04T05:03:53.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:03:53.728Z] [2022-04-04T05:03:53.728Z] Login Succeeded [2022-04-04T05:03:53.728Z] nexus3.edgexfoundry.org:10004 [2022-04-04T05:03:53.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:03:53.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:03:53.989Z] Configure a credential helper to remove this warning. See [2022-04-04T05:03:53.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:03:53.989Z] [2022-04-04T05:03:53.989Z] Login Succeeded [2022-04-04T05:03:53.989Z] docker.io [2022-04-04T05:03:53.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:03:54.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:03:54.571Z] Configure a credential helper to remove this warning. See [2022-04-04T05:03:54.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:03:54.571Z] [2022-04-04T05:03:54.571Z] Login Succeeded [2022-04-04T05:03:54.571Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T05:03:54.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-04T05:03:55.233Z] + git rev-list -1 --merges 4eed79be54b12ae509a72bc9210372e8e6b10a90~1..4eed79be54b12ae509a72bc9210372e8e6b10a90 [Pipeline] echo [2022-04-04T05:03:55.382Z] -----------> git rev-list -1 --merges 4eed79be54b12ae509a72bc9210372e8e6b10a90~1..4eed79be54b12ae509a72bc9210372e8e6b10a90 4eed79be54b12ae509a72bc9210372e8e6b10a90 [false] [Pipeline] sh [2022-04-04T05:03:55.700Z] + git log --format=format:%s -1 4eed79be54b12ae509a72bc9210372e8e6b10a90 [Pipeline] echo [2022-04-04T05:03:55.736Z] ========================================================= [2022-04-04T05:03:55.736Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-04T05:03:55.736Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T05:03:56.181Z] + git log --format=format:%s -1 4eed79be54b12ae509a72bc9210372e8e6b10a90 [Pipeline] echo [2022-04-04T05:03:56.218Z] [semverPrep] GIT_COMMIT: 4eed79be54b12ae509a72bc9210372e8e6b10a90, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-04T05:03:56.251Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-04T05:03:56.668Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-04T05:03:56.668Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-04T05:03:56.668Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-04T05:03:56.668Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-04T05:03:56.668Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-04T05:03:56.668Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-04T05:03:56.668Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:03:57.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T05:03:57.059Z] [2022-04-04T05:03:57.059Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:03:57.411Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T05:03:57.411Z] latest: Pulling from edgex-devops/git-semver [2022-04-04T05:03:57.411Z] a0d0a0d46f8b: Pulling fs layer [2022-04-04T05:03:57.411Z] 3e5f54012d9b: Pulling fs layer [2022-04-04T05:03:57.411Z] 4c7163046ea9: Pulling fs layer [2022-04-04T05:03:57.411Z] 0c2d73faf560: Pulling fs layer [2022-04-04T05:03:57.411Z] 0c2d73faf560: Waiting [2022-04-04T05:03:57.411Z] 3e5f54012d9b: Verifying Checksum [2022-04-04T05:03:57.411Z] 3e5f54012d9b: Download complete [2022-04-04T05:03:57.411Z] a0d0a0d46f8b: Download complete [2022-04-04T05:03:57.411Z] 0c2d73faf560: Verifying Checksum [2022-04-04T05:03:57.411Z] 0c2d73faf560: Download complete [2022-04-04T05:03:57.411Z] 4c7163046ea9: Verifying Checksum [2022-04-04T05:03:57.411Z] 4c7163046ea9: Download complete [2022-04-04T05:03:57.671Z] a0d0a0d46f8b: Pull complete [2022-04-04T05:03:57.671Z] 3e5f54012d9b: Pull complete [2022-04-04T05:03:57.930Z] 4c7163046ea9: Pull complete [2022-04-04T05:03:58.190Z] 0c2d73faf560: Pull complete [2022-04-04T05:03:58.191Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-04T05:03:58.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T05:03:58.191Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-04T05:03:58.294Z] prd-ubuntu20.04-docker-8c-8g-10623 does not seem to be running inside a container [2022-04-04T05:03:58.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-324 -v /w/workspace/xfoundry_device-modbus-go_PR-324:/w/workspace/xfoundry_device-modbus-go_PR-324:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-324@tmp:/w/workspace/xfoundry_device-modbus-go_PR-324@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-04T05:03:59.067Z] $ docker top 698636c92ee646f40e03795d24a37e52b06a835a2efa7183e9c90b5f2d9fd560 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-04T05:03:59.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T05:03:59.280Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T05:03:59.411Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T05:03:59.415Z] $ docker exec 698636c92ee646f40e03795d24a37e52b06a835a2efa7183e9c90b5f2d9fd560 ssh-agent [2022-04-04T05:03:59.548Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdGicNo/agent.14 [2022-04-04T05:03:59.548Z] SSH_AGENT_PID=21 [2022-04-04T05:03:59.558Z] Running ssh-add (command line suppressed) [2022-04-04T05:03:59.678Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-324@tmp/private_key_8782067038466091305.key (/w/workspace/xfoundry_device-modbus-go_PR-324@tmp/private_key_8782067038466091305.key) [2022-04-04T05:03:59.699Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T05:04:00.045Z] + git tag --points-at HEAD [Pipeline] } [2022-04-04T05:04:00.072Z] $ docker exec --env ******** --env ******** 698636c92ee646f40e03795d24a37e52b06a835a2efa7183e9c90b5f2d9fd560 ssh-agent -k [2022-04-04T05:04:00.182Z] unset SSH_AUTH_SOCK; [2022-04-04T05:04:00.183Z] unset SSH_AGENT_PID; [2022-04-04T05:04:00.183Z] echo Agent pid 21 killed; [2022-04-04T05:04:00.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-04T05:04:00.292Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T05:04:00.292Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T05:04:00.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T05:04:00.421Z] $ docker exec 698636c92ee646f40e03795d24a37e52b06a835a2efa7183e9c90b5f2d9fd560 ssh-agent [2022-04-04T05:04:00.547Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAaihBn/agent.54 [2022-04-04T05:04:00.547Z] SSH_AGENT_PID=60 [2022-04-04T05:04:00.554Z] Running ssh-add (command line suppressed) [2022-04-04T05:04:00.668Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-324@tmp/private_key_8166967329659504455.key (/w/workspace/xfoundry_device-modbus-go_PR-324@tmp/private_key_8166967329659504455.key) [2022-04-04T05:04:00.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T05:04:01.032Z] + git semver init [2022-04-04T05:04:01.032Z] # -> Open(): unable to determine branch for HEAD [2022-04-04T05:04:01.032Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-324/.git [2022-04-04T05:04:01.032Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-324 [2022-04-04T05:04:01.032Z] # $SEMVER_REMOTE_NAME = origin [2022-04-04T05:04:01.032Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-04T05:04:01.032Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-04T05:04:01.032Z] # $SEMVER_BRANCH = PR-324 [2022-04-04T05:04:01.032Z] # $SEMVER_TEMP = /tmp/semver-640340062 [2022-04-04T05:04:01.032Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-04-04T05:04:01.976Z] # '/tmp/semver-640340062' -> '/w/workspace/xfoundry_device-modbus-go_PR-324/.semver' [2022-04-04T05:04:01.976Z] # -> Force: false [2022-04-04T05:04:01.976Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-324/.semver [Pipeline] } [2022-04-04T05:04:02.004Z] $ docker exec --env ******** --env ******** 698636c92ee646f40e03795d24a37e52b06a835a2efa7183e9c90b5f2d9fd560 ssh-agent -k [2022-04-04T05:04:02.117Z] unset SSH_AUTH_SOCK; [2022-04-04T05:04:02.118Z] unset SSH_AGENT_PID; [2022-04-04T05:04:02.118Z] echo Agent pid 60 killed; [2022-04-04T05:04:02.129Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-04T05:04:02.775Z] + git semver [Pipeline] } [2022-04-04T05:04:02.816Z] $ docker stop --time=1 698636c92ee646f40e03795d24a37e52b06a835a2efa7183e9c90b5f2d9fd560 [2022-04-04T05:04:04.185Z] $ docker rm -f 698636c92ee646f40e03795d24a37e52b06a835a2efa7183e9c90b5f2d9fd560 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T05:04:04.613Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-04T05:04:04.933Z] Stashed 1 file(s) [Pipeline] echo [2022-04-04T05:04:04.953Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T05:04:05.546Z] provisioning config files... [2022-04-04T05:04:05.558Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-324@tmp/config3809754664482683930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:04:05.909Z] ---> docker-login.sh [2022-04-04T05:04:05.909Z] nexus3.edgexfoundry.org:10001 [2022-04-04T05:04:05.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:05.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:05.909Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:05.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:05.909Z] [2022-04-04T05:04:05.909Z] Login Succeeded [2022-04-04T05:04:05.909Z] nexus3.edgexfoundry.org:10002 [2022-04-04T05:04:05.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:06.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:06.172Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:06.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:06.172Z] [2022-04-04T05:04:06.172Z] Login Succeeded [2022-04-04T05:04:06.172Z] nexus3.edgexfoundry.org:10003 [2022-04-04T05:04:06.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:06.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:06.172Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:06.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:06.172Z] [2022-04-04T05:04:06.172Z] Login Succeeded [2022-04-04T05:04:06.172Z] nexus3.edgexfoundry.org:10004 [2022-04-04T05:04:06.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:06.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:06.433Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:06.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:06.433Z] [2022-04-04T05:04:06.433Z] Login Succeeded [2022-04-04T05:04:06.433Z] docker.io [2022-04-04T05:04:06.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:04:06.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:04:06.694Z] Configure a credential helper to remove this warning. See [2022-04-04T05:04:06.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:04:06.694Z] [2022-04-04T05:04:06.694Z] Login Succeeded [2022-04-04T05:04:06.694Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T05:04:06.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T05:04:06.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T05:04:06.952Z] ========================================================= [2022-04-04T05:04:06.952Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-04T05:04:06.952Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:04:07.371Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-04T05:04:07.371Z] Sending build context to Docker daemon 5.744MB [2022-04-04T05:04:07.371Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T05:04:07.371Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-04T05:04:07.371Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-04T05:04:07.371Z] 59bf1c3509f3: Pulling fs layer [2022-04-04T05:04:07.371Z] 666ba61612fd: Pulling fs layer [2022-04-04T05:04:07.371Z] 8ed8ca486205: Pulling fs layer [2022-04-04T05:04:07.371Z] 4fe6c5a15a65: Pulling fs layer [2022-04-04T05:04:07.371Z] 22a0e8bec74d: Pulling fs layer [2022-04-04T05:04:07.371Z] 640e595b4fbd: Pulling fs layer [2022-04-04T05:04:07.371Z] 763cafe07f6e: Pulling fs layer [2022-04-04T05:04:07.371Z] 0c0b528cf693: Pulling fs layer [2022-04-04T05:04:07.371Z] 10935f4eaf8b: Pulling fs layer [2022-04-04T05:04:07.371Z] 22a0e8bec74d: Waiting [2022-04-04T05:04:07.371Z] 640e595b4fbd: Waiting [2022-04-04T05:04:07.371Z] 763cafe07f6e: Waiting [2022-04-04T05:04:07.371Z] 10935f4eaf8b: Waiting [2022-04-04T05:04:07.371Z] 0c0b528cf693: Waiting [2022-04-04T05:04:07.371Z] 4fe6c5a15a65: Waiting [2022-04-04T05:04:07.632Z] 8ed8ca486205: Verifying Checksum [2022-04-04T05:04:07.632Z] 8ed8ca486205: Download complete [2022-04-04T05:04:07.632Z] 666ba61612fd: Download complete [2022-04-04T05:04:07.632Z] 22a0e8bec74d: Verifying Checksum [2022-04-04T05:04:07.632Z] 22a0e8bec74d: Download complete [2022-04-04T05:04:07.632Z] 640e595b4fbd: Verifying Checksum [2022-04-04T05:04:07.632Z] 640e595b4fbd: Download complete [2022-04-04T05:04:07.632Z] 59bf1c3509f3: Verifying Checksum [2022-04-04T05:04:07.632Z] 59bf1c3509f3: Download complete [2022-04-04T05:04:07.632Z] 763cafe07f6e: Verifying Checksum [2022-04-04T05:04:07.632Z] 763cafe07f6e: Download complete [2022-04-04T05:04:07.632Z] 0c0b528cf693: Verifying Checksum [2022-04-04T05:04:07.632Z] 0c0b528cf693: Download complete [2022-04-04T05:04:07.632Z] 59bf1c3509f3: Pull complete [2022-04-04T05:04:07.895Z] 666ba61612fd: Pull complete [2022-04-04T05:04:07.895Z] 8ed8ca486205: Pull complete [2022-04-04T05:04:08.157Z] 10935f4eaf8b: Verifying Checksum [2022-04-04T05:04:08.157Z] 10935f4eaf8b: Download complete [2022-04-04T05:04:08.157Z] 4fe6c5a15a65: Verifying Checksum [2022-04-04T05:04:08.157Z] 4fe6c5a15a65: Download complete [2022-04-04T05:04:12.358Z] 4fe6c5a15a65: Pull complete [2022-04-04T05:04:12.358Z] 22a0e8bec74d: Pull complete [2022-04-04T05:04:12.358Z] 640e595b4fbd: Pull complete [2022-04-04T05:04:12.358Z] 763cafe07f6e: Pull complete [2022-04-04T05:04:12.358Z] 0c0b528cf693: Pull complete [2022-04-04T05:04:14.898Z] 10935f4eaf8b: Pull complete [2022-04-04T05:04:14.898Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-04T05:04:14.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-04T05:04:14.898Z] ---> 99d49a6021b9 [2022-04-04T05:04:14.898Z] Step 3/10 : ARG MAKE='make build' [2022-04-04T05:04:15.837Z] ---> Running in 80eb2dfbb127 [2022-04-04T05:04:16.098Z] Removing intermediate container 80eb2dfbb127 [2022-04-04T05:04:16.098Z] ---> ffde467a872c [2022-04-04T05:04:16.098Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T05:04:16.098Z] ---> Running in aa5371bd480f [2022-04-04T05:04:16.668Z] Removing intermediate container aa5371bd480f [2022-04-04T05:04:16.668Z] ---> 369a902a4fc0 [2022-04-04T05:04:16.668Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-04T05:04:16.668Z] ---> Running in 18e9ddc14afb [2022-04-04T05:04:16.929Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T05:04:17.874Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T05:04:18.137Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T05:04:18.137Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-04T05:04:18.398Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T05:04:18.398Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T05:04:18.398Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-04T05:04:18.658Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-04T05:04:18.658Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-04T05:04:18.658Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-04T05:04:18.922Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T05:04:18.922Z] OK: 226 MiB in 60 packages [2022-04-04T05:04:19.492Z] Removing intermediate container 18e9ddc14afb [2022-04-04T05:04:19.492Z] ---> b3fad61a1747 [2022-04-04T05:04:19.492Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-04T05:04:19.492Z] ---> Running in bec3812db89b [2022-04-04T05:04:19.492Z] Removing intermediate container bec3812db89b [2022-04-04T05:04:19.492Z] ---> 3dcc6a3fd40b [2022-04-04T05:04:19.492Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-04T05:04:19.755Z] ---> d7088b682730 [2022-04-04T05:04:19.755Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T05:04:19.755Z] ---> Running in 42ac5701f60d [2022-04-04T05:04:20.357Z] Still waiting to schedule task [2022-04-04T05:04:20.357Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-04T05:04:34.666Z] Removing intermediate container 42ac5701f60d [2022-04-04T05:04:34.666Z] ---> eb2b568502c3 [2022-04-04T05:04:34.666Z] Step 9/10 : COPY . . [2022-04-04T05:04:34.666Z] ---> 7305bfdc9403 [2022-04-04T05:04:34.666Z] Step 10/10 : RUN ${MAKE} [2022-04-04T05:04:34.666Z] ---> Running in 90dab6348e13 [2022-04-04T05:04:34.926Z] noop [2022-04-04T05:04:35.185Z] Removing intermediate container 90dab6348e13 [2022-04-04T05:04:35.185Z] ---> c60178c37bbd [2022-04-04T05:04:35.185Z] Successfully built c60178c37bbd [2022-04-04T05:04:35.185Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:04:35.520Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T05:04:35.520Z] . [Pipeline] withDockerContainer [2022-04-04T05:04:35.618Z] prd-ubuntu20.04-docker-8c-8g-10623 does not seem to be running inside a container [2022-04-04T05:04:35.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-324 -v /w/workspace/xfoundry_device-modbus-go_PR-324:/w/workspace/xfoundry_device-modbus-go_PR-324:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-324@tmp:/w/workspace/xfoundry_device-modbus-go_PR-324@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 ******** ci-base-image-x86_64 cat [2022-04-04T05:04:36.026Z] $ docker top 5257a7ac214d4c6ae0e702ec600babe37d071e1f90bd2582312fd3811e1c215f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T05:04:36.428Z] + go version [2022-04-04T05:04:36.429Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-04T05:04:36.461Z] $ docker stop --time=1 5257a7ac214d4c6ae0e702ec600babe37d071e1f90bd2582312fd3811e1c215f [2022-04-04T05:04:37.764Z] $ docker rm -f 5257a7ac214d4c6ae0e702ec600babe37d071e1f90bd2582312fd3811e1c215f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:04:38.470Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T05:04:38.470Z] . [Pipeline] withDockerContainer [2022-04-04T05:04:38.592Z] prd-ubuntu20.04-docker-8c-8g-10623 does not seem to be running inside a container [2022-04-04T05:04:38.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-324 -v /w/workspace/xfoundry_device-modbus-go_PR-324:/w/workspace/xfoundry_device-modbus-go_PR-324:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-324@tmp:/w/workspace/xfoundry_device-modbus-go_PR-324@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 ******** ci-base-image-x86_64 cat [2022-04-04T05:04:39.091Z] $ docker top 0c7447c003014a7ff67fc3bce112553c8640114cb387a4ffa9b8c31564d0270d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T05:04:39.572Z] + make test [2022-04-04T05:04:39.572Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T05:04:39.832Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-04T05:04:47.963Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-04T05:04:47.963Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 46.6% of statements [2022-04-04T05:04:47.963Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T05:04:52.163Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T05:04:52.163Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T05:04:52.163Z] ./bin/test-attribution-txt.sh [2022-04-04T05:04:52.163Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-04-04T05:04:52.163Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-04-04T05:04:52.163Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-04-04T05:04:52.163Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-04-04T05:04:52.163Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-04-04T05:04:52.163Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-04-04T05:04:52.163Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-04-04T05:04:52.163Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-04-04T05:04:52.212Z] $ docker stop --time=1 0c7447c003014a7ff67fc3bce112553c8640114cb387a4ffa9b8c31564d0270d [2022-04-04T05:04:53.929Z] $ docker rm -f 0c7447c003014a7ff67fc3bce112553c8640114cb387a4ffa9b8c31564d0270d [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 [2022-04-04T05:04:55.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T05:04:55.063Z] [2022-04-04T05:04:55.063Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:04:55.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T05:04:55.410Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-04T05:04:55.410Z] 5eb5b503b376: Pulling fs layer [2022-04-04T05:04:55.410Z] 5c69ac0246d0: Pulling fs layer [2022-04-04T05:04:55.410Z] ec43610c2a17: Pulling fs layer [2022-04-04T05:04:55.410Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-04T05:04:55.410Z] 33b1e0a273af: Pulling fs layer [2022-04-04T05:04:55.410Z] 5d3b04190fa2: Pulling fs layer [2022-04-04T05:04:55.410Z] 2f39f015ded8: Pulling fs layer [2022-04-04T05:04:55.410Z] 3a2ae6a8a46f: Waiting [2022-04-04T05:04:55.410Z] 33b1e0a273af: Waiting [2022-04-04T05:04:55.410Z] 5d3b04190fa2: Waiting [2022-04-04T05:04:55.410Z] 2f39f015ded8: Waiting [2022-04-04T05:04:55.410Z] 5c69ac0246d0: Verifying Checksum [2022-04-04T05:04:55.410Z] 5c69ac0246d0: Download complete [2022-04-04T05:04:55.410Z] 3a2ae6a8a46f: Download complete [2022-04-04T05:04:55.410Z] 33b1e0a273af: Verifying Checksum [2022-04-04T05:04:55.410Z] 33b1e0a273af: Download complete [2022-04-04T05:04:55.410Z] ec43610c2a17: Verifying Checksum [2022-04-04T05:04:55.410Z] ec43610c2a17: Download complete [2022-04-04T05:04:55.670Z] 5eb5b503b376: Verifying Checksum [2022-04-04T05:04:55.670Z] 5eb5b503b376: Download complete [2022-04-04T05:04:56.239Z] 2f39f015ded8: Verifying Checksum [2022-04-04T05:04:56.239Z] 2f39f015ded8: Download complete [2022-04-04T05:04:56.806Z] 5eb5b503b376: Pull complete [2022-04-04T05:04:57.067Z] 5c69ac0246d0: Pull complete [2022-04-04T05:04:57.328Z] ec43610c2a17: Pull complete [2022-04-04T05:04:57.328Z] 3a2ae6a8a46f: Pull complete [2022-04-04T05:04:57.589Z] 33b1e0a273af: Pull complete [2022-04-04T05:04:57.850Z] 5d3b04190fa2: Pull complete [2022-04-04T05:05:02.057Z] 2f39f015ded8: Pull complete [2022-04-04T05:05:02.057Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-04T05:05:02.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T05:05:02.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-04T05:05:02.151Z] prd-ubuntu20.04-docker-8c-8g-10623 does not seem to be running inside a container [2022-04-04T05:05:02.194Z] $ 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/xfoundry_device-modbus-go_PR-324 -v /w/workspace/xfoundry_device-modbus-go_PR-324:/w/workspace/xfoundry_device-modbus-go_PR-324:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-324@tmp:/w/workspace/xfoundry_device-modbus-go_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-04T05:05:04.085Z] $ docker top e9cea0cc8f2d9db85ab64ef5aff854f3c7848fa3bffdf00b030f76fa7430d9d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:05:04.645Z] ---> job-cost.sh [2022-04-04T05:05:04.645Z] lf-activate-venv: SKIPPING [2022-04-04T05:05:04.645Z] INFO: No Stack... [2022-04-04T05:05:04.906Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T05:05:05.476Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T05:05:05.797Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-324/archives/cost.csv [2022-04-04T05:05:05.797Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T05:05:05.837Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-324-1-stack-cost] [2022-04-04T05:05:05.842Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-324-1-stack-cost] did not exist. Created. [2022-04-04T05:05:05.843Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-324-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T05:05:06.244Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-04T05:05:06.307Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T05:05:06.326Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-324-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T05:05:06.412Z] $ docker stop --time=1 e9cea0cc8f2d9db85ab64ef5aff854f3c7848fa3bffdf00b030f76fa7430d9d7 [2022-04-04T05:05:07.569Z] $ docker rm -f e9cea0cc8f2d9db85ab64ef5aff854f3c7848fa3bffdf00b030f76fa7430d9d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T05:05:07.996Z] Failed in branch amd64 [2022-04-04T05:07:07.785Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10628 in /w/workspace/xfoundry_device-modbus-go_PR-324 [Pipeline] { [Pipeline] ws [2022-04-04T05:07:07.831Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-04-04T05:07:08.521Z] Selected Git installation does not exist. Using Default [2022-04-04T05:07:08.522Z] The recommended git tool is: NONE [2022-04-04T05:07:16.099Z] using credential edgex-jenkins-ssh [2022-04-04T05:07:16.128Z] Cloning the remote Git repository [2022-04-04T05:07:16.232Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-04-04T05:07:16.365Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-04-04T05:07:16.559Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-04T05:07:16.560Z] > git --version # timeout=10 [2022-04-04T05:07:16.599Z] > git --version # 'git version 2.25.1' [2022-04-04T05:07:16.601Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T05:07:16.727Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T05:07:18.865Z] Merging remotes/origin/main commit 8f99c6f6f95ddf2a2695655a7f109a71384649ab into PR head commit 4eed79be54b12ae509a72bc9210372e8e6b10a90 [2022-04-04T05:07:18.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-04T05:07:18.097Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T05:07:18.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-04-04T05:07:18.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-04-04T05:07:18.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T05:07:18.285Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/324/head:refs/remotes/origin/PR-324 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-04T05:07:18.888Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T05:07:18.908Z] > git checkout -f 4eed79be54b12ae509a72bc9210372e8e6b10a90 # timeout=10 [2022-04-04T05:07:19.121Z] Merge succeeded, producing 4eed79be54b12ae509a72bc9210372e8e6b10a90 [2022-04-04T05:07:19.122Z] Checking out Revision 4eed79be54b12ae509a72bc9210372e8e6b10a90 (PR-324) [2022-04-04T05:07:19.013Z] > git remote # timeout=10 [2022-04-04T05:07:19.041Z] > git config --get remote.origin.url # timeout=10 [2022-04-04T05:07:19.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T05:07:19.074Z] > git merge 8f99c6f6f95ddf2a2695655a7f109a71384649ab # timeout=10 [2022-04-04T05:07:19.103Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-04T05:07:19.132Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T05:07:19.148Z] > git checkout -f 4eed79be54b12ae509a72bc9210372e8e6b10a90 # timeout=10 [2022-04-04T05:07:23.581Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-04T05:07:23.660Z] > git --version # timeout=10 [2022-04-04T05:07:23.672Z] > git --version # 'git version 2.25.1' [2022-04-04T05:07:23.689Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T05:07:24.833Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-04T05:07:24.833Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T05:07:24.833Z] Dload Upload Total Spent Left Speed [2022-04-04T05:07:24.833Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2022-04-04T05:07:25.412Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-04T05:07:25.783Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-04T05:07:25.783Z] + sudo tee /etc/docker/daemon.new [2022-04-04T05:07:25.783Z] { [2022-04-04T05:07:25.783Z] "registry-mirrors": [ [2022-04-04T05:07:25.783Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-04T05:07:25.783Z] ], [2022-04-04T05:07:25.783Z] "bip": "10.250.0.254/24", [2022-04-04T05:07:25.783Z] "hosts": [ [2022-04-04T05:07:25.783Z] "tcp://0.0.0.0:5555", [2022-04-04T05:07:25.783Z] "unix:///var/run/docker.sock" [2022-04-04T05:07:25.783Z] ], [2022-04-04T05:07:25.783Z] "mtu": 1458, [2022-04-04T05:07:25.783Z] "selinux-enabled": true, [2022-04-04T05:07:25.783Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-04T05:07:25.783Z] } [Pipeline] sh [2022-04-04T05:07:26.155Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-04T05:07:26.545Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T05:07:45.063Z] provisioning config files... [2022-04-04T05:07:45.097Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1591866023824316494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:07:45.721Z] ---> docker-login.sh [2022-04-04T05:07:45.721Z] nexus3.edgexfoundry.org:10001 [2022-04-04T05:07:46.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:07:46.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:07:46.604Z] Configure a credential helper to remove this warning. See [2022-04-04T05:07:46.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:07:46.604Z] [2022-04-04T05:07:46.604Z] Login Succeeded [2022-04-04T05:07:46.604Z] nexus3.edgexfoundry.org:10002 [2022-04-04T05:07:47.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:07:47.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:07:47.211Z] Configure a credential helper to remove this warning. See [2022-04-04T05:07:47.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:07:47.211Z] [2022-04-04T05:07:47.211Z] Login Succeeded [2022-04-04T05:07:47.211Z] nexus3.edgexfoundry.org:10003 [2022-04-04T05:07:47.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:07:47.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:07:47.770Z] Configure a credential helper to remove this warning. See [2022-04-04T05:07:47.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:07:47.770Z] [2022-04-04T05:07:47.770Z] Login Succeeded [2022-04-04T05:07:47.770Z] nexus3.edgexfoundry.org:10004 [2022-04-04T05:07:48.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:07:48.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:07:48.324Z] Configure a credential helper to remove this warning. See [2022-04-04T05:07:48.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:07:48.324Z] [2022-04-04T05:07:48.324Z] Login Succeeded [2022-04-04T05:07:48.324Z] docker.io [2022-04-04T05:07:48.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T05:07:48.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T05:07:48.875Z] Configure a credential helper to remove this warning. See [2022-04-04T05:07:48.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T05:07:48.875Z] [2022-04-04T05:07:48.875Z] Login Succeeded [2022-04-04T05:07:49.151Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T05:07:49.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T05:07:49.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T05:07:49.653Z] ========================================================= [2022-04-04T05:07:49.653Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-04T05:07:49.653Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:07:50.117Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-04T05:07:50.396Z] Sending build context to Docker daemon 3.01MB [2022-04-04T05:07:50.675Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T05:07:50.675Z] Step 2/10 : FROM ${BASE} AS builder [2022-04-04T05:07:50.675Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-04T05:07:50.675Z] 9b3977197b4f: Pulling fs layer [2022-04-04T05:07:50.675Z] 1a89e8eeedd5: Pulling fs layer [2022-04-04T05:07:50.675Z] 94645a83ff95: Pulling fs layer [2022-04-04T05:07:50.675Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-04T05:07:50.675Z] 0c92f367c5e7: Pulling fs layer [2022-04-04T05:07:50.675Z] f7c0051592d6: Pulling fs layer [2022-04-04T05:07:50.675Z] a227ed2f7395: Pulling fs layer [2022-04-04T05:07:50.675Z] 7b1c46037f91: Pulling fs layer [2022-04-04T05:07:50.675Z] 3f3a8bcf1eab: Waiting [2022-04-04T05:07:50.675Z] 0c92f367c5e7: Waiting [2022-04-04T05:07:50.675Z] f7c0051592d6: Waiting [2022-04-04T05:07:50.675Z] a227ed2f7395: Waiting [2022-04-04T05:07:50.675Z] 7b1c46037f91: Waiting [2022-04-04T05:07:50.675Z] 94645a83ff95: Verifying Checksum [2022-04-04T05:07:50.675Z] 94645a83ff95: Download complete [2022-04-04T05:07:50.675Z] 1a89e8eeedd5: Download complete [2022-04-04T05:07:50.675Z] 0c92f367c5e7: Download complete [2022-04-04T05:07:50.956Z] 9b3977197b4f: Verifying Checksum [2022-04-04T05:07:50.956Z] 9b3977197b4f: Download complete [2022-04-04T05:07:50.956Z] f7c0051592d6: Verifying Checksum [2022-04-04T05:07:50.956Z] f7c0051592d6: Download complete [2022-04-04T05:07:50.956Z] a227ed2f7395: Verifying Checksum [2022-04-04T05:07:50.956Z] a227ed2f7395: Download complete [2022-04-04T05:07:51.562Z] 9b3977197b4f: Pull complete [2022-04-04T05:07:52.180Z] 1a89e8eeedd5: Pull complete [2022-04-04T05:07:52.458Z] 94645a83ff95: Pull complete [2022-04-04T05:07:53.062Z] 7b1c46037f91: Verifying Checksum [2022-04-04T05:07:53.062Z] 7b1c46037f91: Download complete [2022-04-04T05:07:53.337Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-04T05:07:53.337Z] 3f3a8bcf1eab: Download complete [2022-04-04T05:08:05.771Z] 3f3a8bcf1eab: Pull complete [2022-04-04T05:08:05.771Z] 0c92f367c5e7: Pull complete [2022-04-04T05:08:05.771Z] f7c0051592d6: Pull complete [2022-04-04T05:08:06.044Z] a227ed2f7395: Pull complete [2022-04-04T05:08:12.811Z] 7b1c46037f91: Pull complete [2022-04-04T05:08:12.811Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-04T05:08:12.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-04T05:08:12.811Z] ---> f79e39bc4007 [2022-04-04T05:08:12.811Z] Step 3/10 : ARG MAKE='make build' [2022-04-04T05:08:13.417Z] ---> Running in 502481c3b450 [2022-04-04T05:08:13.695Z] Removing intermediate container 502481c3b450 [2022-04-04T05:08:13.695Z] ---> 1f27ff08bed1 [2022-04-04T05:08:13.695Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T05:08:13.695Z] ---> Running in 3f812d97761f [2022-04-04T05:08:15.699Z] Removing intermediate container 3f812d97761f [2022-04-04T05:08:15.699Z] ---> 3abdacf67613 [2022-04-04T05:08:15.699Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-04-04T05:08:15.699Z] ---> Running in ebcc542dd503 [2022-04-04T05:08:17.149Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T05:08:17.748Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T05:08:18.740Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T05:08:19.035Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-04-04T05:08:19.035Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T05:08:19.311Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T05:08:19.311Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-04-04T05:08:19.596Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-04-04T05:08:19.596Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-04-04T05:08:19.596Z] (8/8) Installing openssh (8.8_p1-r1) [2022-04-04T05:08:19.876Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T05:08:19.876Z] OK: 226 MiB in 60 packages [2022-04-04T05:08:21.347Z] Removing intermediate container ebcc542dd503 [2022-04-04T05:08:21.347Z] ---> 2abcbb3dcb3d [2022-04-04T05:08:21.347Z] Step 6/10 : WORKDIR /device-modbus-go [2022-04-04T05:08:21.347Z] ---> Running in eecfc6235213 [2022-04-04T05:08:22.339Z] Removing intermediate container eecfc6235213 [2022-04-04T05:08:22.339Z] ---> d26d04b86cbd [2022-04-04T05:08:22.339Z] Step 7/10 : COPY go.mod vendor* ./ [2022-04-04T05:08:22.945Z] ---> a2ed7d757604 [2022-04-04T05:08:22.945Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T05:08:22.945Z] ---> Running in 524675ed0991 [2022-04-04T05:09:10.276Z] Removing intermediate container 524675ed0991 [2022-04-04T05:09:10.276Z] ---> fcd5ebb57ed4 [2022-04-04T05:09:10.276Z] Step 9/10 : COPY . . [2022-04-04T05:09:10.276Z] ---> c8ae4898ba57 [2022-04-04T05:09:10.276Z] Step 10/10 : RUN ${MAKE} [2022-04-04T05:09:10.276Z] ---> Running in 20f131db9cf7 [2022-04-04T05:09:11.264Z] noop [2022-04-04T05:09:12.259Z] Removing intermediate container 20f131db9cf7 [2022-04-04T05:09:12.259Z] ---> 6c2b2ec060d0 [2022-04-04T05:09:12.259Z] Successfully built 6c2b2ec060d0 [2022-04-04T05:09:12.259Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:09:12.657Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T05:09:12.657Z] . [Pipeline] withDockerContainer [2022-04-04T05:09:12.938Z] prd-ubuntu20.04-docker-arm64-4c-16g-10628 does not seem to be running inside a container [2022-04-04T05:09:13.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-04T05:09:14.386Z] $ docker top bb86b3b915cd040dfaf25e92b04f08dfae7344392e05b566c8ee989231e90eae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T05:09:15.379Z] + go version [2022-04-04T05:09:15.379Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-04T05:09:15.417Z] $ docker stop --time=1 bb86b3b915cd040dfaf25e92b04f08dfae7344392e05b566c8ee989231e90eae [2022-04-04T05:09:17.040Z] $ docker rm -f bb86b3b915cd040dfaf25e92b04f08dfae7344392e05b566c8ee989231e90eae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:09:17.966Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T05:09:17.966Z] . [Pipeline] withDockerContainer [2022-04-04T05:09:18.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-10628 does not seem to be running inside a container [2022-04-04T05:09:18.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-04T05:09:19.663Z] $ docker top 387ea5575431dfdca49a5947752c69e122198a1d3687b96ce7cac84fc1cae7d9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T05:09:20.736Z] + make test [2022-04-04T05:09:20.737Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T05:09:22.763Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-04-04T05:10:59.852Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-04-04T05:10:59.852Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.060s coverage: 46.6% of statements [2022-04-04T05:10:59.852Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T05:11:18.275Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T05:11:18.275Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T05:11:18.275Z] ./bin/test-attribution-txt.sh [2022-04-04T05:11:19.728Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-04-04T05:11:19.728Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-04-04T05:11:20.006Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-04-04T05:11:20.006Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-04-04T05:11:20.006Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-04-04T05:11:20.006Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-04-04T05:11:20.006Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-04-04T05:11:20.280Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-04-04T05:11:20.336Z] $ docker stop --time=1 387ea5575431dfdca49a5947752c69e122198a1d3687b96ce7cac84fc1cae7d9 [2022-04-04T05:11:22.178Z] $ docker rm -f 387ea5575431dfdca49a5947752c69e122198a1d3687b96ce7cac84fc1cae7d9 [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 [2022-04-04T05:11:23.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T05:11:23.807Z] [2022-04-04T05:11:23.807Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:11:24.206Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T05:11:24.484Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-04T05:11:24.484Z] 8998bd30e6a1: Pulling fs layer [2022-04-04T05:11:24.484Z] 04944245beec: Pulling fs layer [2022-04-04T05:11:24.484Z] 699f458cf7ca: Pulling fs layer [2022-04-04T05:11:24.484Z] 765212b225bb: Pulling fs layer [2022-04-04T05:11:24.484Z] f23df028b6ca: Pulling fs layer [2022-04-04T05:11:24.484Z] d65c8cfc05b1: Pulling fs layer [2022-04-04T05:11:24.484Z] 2437ff75d9bd: Pulling fs layer [2022-04-04T05:11:24.484Z] f23df028b6ca: Waiting [2022-04-04T05:11:24.484Z] 2437ff75d9bd: Waiting [2022-04-04T05:11:24.484Z] d65c8cfc05b1: Waiting [2022-04-04T05:11:24.484Z] 765212b225bb: Waiting [2022-04-04T05:11:24.484Z] 04944245beec: Verifying Checksum [2022-04-04T05:11:24.484Z] 04944245beec: Download complete [2022-04-04T05:11:24.484Z] 765212b225bb: Download complete [2022-04-04T05:11:24.484Z] f23df028b6ca: Verifying Checksum [2022-04-04T05:11:24.484Z] f23df028b6ca: Download complete [2022-04-04T05:11:24.763Z] d65c8cfc05b1: Verifying Checksum [2022-04-04T05:11:24.763Z] d65c8cfc05b1: Download complete [2022-04-04T05:11:24.763Z] 699f458cf7ca: Verifying Checksum [2022-04-04T05:11:24.763Z] 699f458cf7ca: Download complete [2022-04-04T05:11:25.042Z] 8998bd30e6a1: Verifying Checksum [2022-04-04T05:11:25.042Z] 8998bd30e6a1: Download complete [2022-04-04T05:11:27.682Z] 2437ff75d9bd: Verifying Checksum [2022-04-04T05:11:27.682Z] 2437ff75d9bd: Download complete [2022-04-04T05:11:29.663Z] 8998bd30e6a1: Pull complete [2022-04-04T05:11:30.264Z] 04944245beec: Pull complete [2022-04-04T05:11:31.704Z] 699f458cf7ca: Pull complete [2022-04-04T05:11:31.977Z] 765212b225bb: Pull complete [2022-04-04T05:11:32.970Z] f23df028b6ca: Pull complete [2022-04-04T05:11:33.248Z] d65c8cfc05b1: Pull complete [2022-04-04T05:11:48.364Z] 2437ff75d9bd: Pull complete [2022-04-04T05:11:48.364Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-04T05:11:48.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T05:11:48.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-04T05:11:48.617Z] prd-ubuntu20.04-docker-arm64-4c-16g-10628 does not seem to be running inside a container [2022-04-04T05:11:48.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-04T05:11:51.345Z] $ docker top 5ed953313943911f595dc5938b00de46bb812f4fa7f5d7efde3a32f051d4514c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:11:52.371Z] ---> job-cost.sh [2022-04-04T05:11:52.371Z] lf-activate-venv: SKIPPING [2022-04-04T05:11:52.371Z] INFO: No Stack... [2022-04-04T05:11:52.970Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-04T05:11:53.956Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T05:11:54.668Z] + + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-04-04T05:11:54.668Z] cut -d, -f6 [Pipeline] lock [2022-04-04T05:11:54.732Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-324-1-stack-cost] [2022-04-04T05:11:54.739Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-324-1-stack-cost] did not exist. Created. [2022-04-04T05:11:54.739Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-324-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T05:11:55.505Z] /w/workspace/device-modbus-go/1@tmp/durable-916b6dfc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-04T05:11:56.217Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-04T05:11:56.253Z] Warning: overwriting stash ‘stack-cost’ [2022-04-04T05:11:56.726Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T05:11:56.744Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-324-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T05:11:56.832Z] $ docker stop --time=1 5ed953313943911f595dc5938b00de46bb812f4fa7f5d7efde3a32f051d4514c [2022-04-04T05:11:58.402Z] $ docker rm -f 5ed953313943911f595dc5938b00de46bb812f4fa7f5d7efde3a32f051d4514c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T05:11:59.347Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-04T05:12:01.456Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-324/archives ] [2022-04-04T05:12:01.457Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-324/archives [2022-04-04T05:12:01.457Z] total 16 [2022-04-04T05:12:01.457Z] drwxr-xr-x 3 root root 4096 Apr 4 05:05 . [2022-04-04T05:12:01.457Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 4 05:05 .. [2022-04-04T05:12:01.457Z] drwxr-xr-x 2 root root 4096 Apr 4 05:05 cost [2022-04-04T05:12:01.457Z] -rw-r--r-- 1 root root 87 Apr 4 05:05 cost.csv [2022-04-04T05:12:01.457Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-324/archives [2022-04-04T05:12:01.457Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-324/archives [2022-04-04T05:12:01.457Z] total 16 [2022-04-04T05:12:01.457Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 05:05 . [2022-04-04T05:12:01.457Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 4 05:05 .. [2022-04-04T05:12:01.457Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 05:05 cost [2022-04-04T05:12:01.457Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 4 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:01.795Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:02.696Z] ---> package-listing.sh [2022-04-04T05:12:02.696Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-04T05:12:02.696Z] ++ facter osfamily [2022-04-04T05:12:02.956Z] + OS_FAMILY=debian [2022-04-04T05:12:02.956Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-324 [2022-04-04T05:12:02.956Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-04T05:12:02.956Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-04T05:12:02.956Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-04T05:12:02.956Z] + PACKAGES=/tmp/packages_start.txt [2022-04-04T05:12:02.956Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-324 ']' [2022-04-04T05:12:02.956Z] + PACKAGES=/tmp/packages_end.txt [2022-04-04T05:12:02.956Z] + case "${OS_FAMILY}" in [2022-04-04T05:12:02.956Z] + dpkg -l [2022-04-04T05:12:02.956Z] + grep '^ii' [2022-04-04T05:12:02.956Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-04T05:12:02.956Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-04T05:12:02.956Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-04T05:12:02.956Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-324 ']' [2022-04-04T05:12:02.956Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-324/archives/ [2022-04-04T05:12:02.956Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-324/archives/ [Pipeline] echo [2022-04-04T05:12:02.994Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-324/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-04T05:12:03.294Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-04T05:12:03.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T05:12:03.929Z] . [Pipeline] withDockerContainer [2022-04-04T05:12:04.038Z] prd-ubuntu20.04-docker-8c-8g-10623 does not seem to be running inside a container [2022-04-04T05:12:04.077Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-324/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-324 -v /w/workspace/xfoundry_device-modbus-go_PR-324:/w/workspace/xfoundry_device-modbus-go_PR-324:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-324@tmp:/w/workspace/xfoundry_device-modbus-go_PR-324@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-04T05:12:04.305Z] $ docker top 5d74651d95dae7dbe352e100b55a132830d4153f9f86754c7881b806db541238 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T05:12:04.721Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-04T05:12:05.044Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-04T05:12:05.359Z] + ls /var/log/sa-host [2022-04-04T05:12:05.359Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T05:12:05.575Z] provisioning config files... [2022-04-04T05:12:05.586Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-324@tmp/config9066950463877011614tmp [Pipeline] { [Pipeline] echo [2022-04-04T05:12:05.639Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:05.961Z] ---> create-netrc.sh [Pipeline] } [2022-04-04T05:12:05.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:06.427Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-04T05:12:06.478Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:06.802Z] ---> sudo-logs.sh [2022-04-04T05:12:06.802Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-04T05:12:06.908Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:07.232Z] ---> job-cost.sh [2022-04-04T05:12:07.233Z] lf-activate-venv: SKIPPING [2022-04-04T05:12:07.233Z] DEBUG: total: 0.2199999988079071 [2022-04-04T05:12:07.233Z] INFO: Retrieving Stack Cost... [2022-04-04T05:12:07.811Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T05:12:08.081Z] INFO: Archiving Costs [Pipeline] echo [2022-04-04T05:12:08.120Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T05:12:08.432Z] ---> logs-deploy.sh [2022-04-04T05:12:08.432Z] lf-activate-venv: SKIPPING [2022-04-04T05:12:08.432Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-324/1 [2022-04-04T05:12:08.432Z] INFO: archiving workspace using pattern(s): [2022-04-04T05:12:09.378Z] Archives upload complete. [2022-04-04T05:12:09.378Z] INFO: archiving logs to Nexus