Pull request #159 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3406e3f22b3c847434dd54b97308148b1bbd6321+f3318b721e0f943881393329fd3e7443e525a415 (19ad595c201f214ca3eaa799a503c8264200d5e7) 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-ssh13100175295992524901.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-ssh8299880385525404922.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-rest-go/branches/PR-159/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-rest-go/branches/PR-159/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15052255579721161819.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-rest-go/branches/PR-159/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4561241377231772212.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-ssh18423495970981316217.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-rest-go/branches/PR-159/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-rest-go/branches/PR-159/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12238328530807035772.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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-rest 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: false 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7064 in /w/workspace/gexfoundry_device-rest-go_PR-159 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-159 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f3318b721e0f943881393329fd3e7443e525a415 into PR head commit 3406e3f22b3c847434dd54b97308148b1bbd6321 Merge succeeded, producing 3406e3f22b3c847434dd54b97308148b1bbd6321 Checking out Revision 3406e3f22b3c847434dd54b97308148b1bbd6321 (PR-159) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3406e3f22b3c847434dd54b97308148b1bbd6321 # 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 f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3406e3f22b3c847434dd54b97308148b1bbd6321 # 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-03-14T20:04:44.228Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-14T20:04:44.389Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-14T20:04:44.480Z] ========================================================= [2022-03-14T20:04:44.480Z] EdgeX Global Pipelines Version Info [2022-03-14T20:04:44.480Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:04:45.310Z] ------------------- [2022-03-14T20:04:45.310Z] stable info: [2022-03-14T20:04:45.310Z] ------------------- [2022-03-14T20:04:45.310Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-14T20:04:45.310Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-14T20:04:45.310Z] Message: update stable to v1.0.221 [2022-03-14T20:04:45.886Z] ------------------- [2022-03-14T20:04:45.886Z] experimental info: [2022-03-14T20:04:45.886Z] ------------------- [2022-03-14T20:04:45.886Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-14T20:04:45.886Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-14T20:04:45.886Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-14T20:04:46.181Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-03-14T20:04:46.221Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-03-14T20:04:46.311Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-14T20:04:46.353Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-14T20:04:46.396Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-14T20:04:46.441Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-14T20:04:46.485Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-14T20:04:46.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-14T20:04:46.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-14T20:04:46.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-14T20:04:46.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-14T20:04:46.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-03-14T20:04:46.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-14T20:04:46.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-14T20:04:46.815Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-14T20:04:46.855Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-14T20:04:46.898Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-14T20:04:46.936Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-14T20:04:46.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-14T20:04:47.027Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-14T20:04:47.067Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-14T20:04:47.107Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-14T20:04:47.149Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-14T20:04:47.186Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-14T20:04:47.223Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-14T20:04:47.259Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-14T20:04:47.296Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-159 [Pipeline] echo [2022-03-14T20:04:47.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-159 [Pipeline] echo [2022-03-14T20:04:47.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-159 [Pipeline] echo [2022-03-14T20:04:47.417Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3406e3f22b3c847434dd54b97308148b1bbd6321 [Pipeline] echo [2022-03-14T20:04:47.453Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3406e3f [Pipeline] echo [2022-03-14T20:04:47.492Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-14T20:04:47.598Z] provisioning config files... [2022-03-14T20:04:47.613Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-159@tmp/config3203808444411562339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:04:47.973Z] ---> docker-login.sh [2022-03-14T20:04:47.973Z] nexus3.edgexfoundry.org:10001 [2022-03-14T20:04:48.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:04:48.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:04:48.238Z] Configure a credential helper to remove this warning. See [2022-03-14T20:04:48.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:04:48.238Z] [2022-03-14T20:04:48.238Z] Login Succeeded [2022-03-14T20:04:48.238Z] nexus3.edgexfoundry.org:10002 [2022-03-14T20:04:48.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:04:48.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:04:48.500Z] Configure a credential helper to remove this warning. See [2022-03-14T20:04:48.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:04:48.500Z] [2022-03-14T20:04:48.500Z] Login Succeeded [2022-03-14T20:04:48.500Z] nexus3.edgexfoundry.org:10003 [2022-03-14T20:04:48.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:04:48.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:04:48.500Z] Configure a credential helper to remove this warning. See [2022-03-14T20:04:48.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:04:48.500Z] [2022-03-14T20:04:48.500Z] Login Succeeded [2022-03-14T20:04:48.500Z] nexus3.edgexfoundry.org:10004 [2022-03-14T20:04:48.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:04:48.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:04:48.762Z] Configure a credential helper to remove this warning. See [2022-03-14T20:04:48.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:04:48.762Z] [2022-03-14T20:04:48.762Z] Login Succeeded [2022-03-14T20:04:48.762Z] docker.io [2022-03-14T20:04:48.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:04:49.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:04:49.029Z] Configure a credential helper to remove this warning. See [2022-03-14T20:04:49.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:04:49.029Z] [2022-03-14T20:04:49.029Z] Login Succeeded [2022-03-14T20:04:49.029Z] ---> docker-login.sh ends [Pipeline] } [2022-03-14T20:04:49.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-14T20:04:49.705Z] + git rev-list -1 --merges 3406e3f22b3c847434dd54b97308148b1bbd6321~1..3406e3f22b3c847434dd54b97308148b1bbd6321 [Pipeline] echo [2022-03-14T20:04:49.822Z] -----------> git rev-list -1 --merges 3406e3f22b3c847434dd54b97308148b1bbd6321~1..3406e3f22b3c847434dd54b97308148b1bbd6321 3406e3f22b3c847434dd54b97308148b1bbd6321 [false] [Pipeline] sh [2022-03-14T20:04:50.151Z] + git log --format=format:%s -1 3406e3f22b3c847434dd54b97308148b1bbd6321 [Pipeline] echo [2022-03-14T20:04:50.187Z] ========================================================= [2022-03-14T20:04:50.187Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-14T20:04:50.187Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-14T20:04:50.631Z] + git log --format=format:%s -1 3406e3f22b3c847434dd54b97308148b1bbd6321 [Pipeline] echo [2022-03-14T20:04:50.663Z] [semverPrep] GIT_COMMIT: 3406e3f22b3c847434dd54b97308148b1bbd6321, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-03-14T20:04:50.694Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-14T20:04:51.107Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-14T20:04:51.107Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-14T20:04:51.107Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-14T20:04:51.107Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-14T20:04:51.107Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-14T20:04:51.107Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-14T20:04:51.107Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:04:51.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-14T20:04:51.494Z] [2022-03-14T20:04:51.494Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:04:51.846Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-14T20:04:51.846Z] latest: Pulling from edgex-devops/git-semver [2022-03-14T20:04:51.846Z] a0d0a0d46f8b: Pulling fs layer [2022-03-14T20:04:51.846Z] 3e5f54012d9b: Pulling fs layer [2022-03-14T20:04:51.846Z] 4c7163046ea9: Pulling fs layer [2022-03-14T20:04:51.846Z] 0c2d73faf560: Pulling fs layer [2022-03-14T20:04:51.846Z] 0c2d73faf560: Waiting [2022-03-14T20:04:51.846Z] 3e5f54012d9b: Verifying Checksum [2022-03-14T20:04:51.846Z] 3e5f54012d9b: Download complete [2022-03-14T20:04:51.846Z] a0d0a0d46f8b: Download complete [2022-03-14T20:04:51.846Z] 0c2d73faf560: Verifying Checksum [2022-03-14T20:04:51.846Z] 0c2d73faf560: Download complete [2022-03-14T20:04:51.846Z] 4c7163046ea9: Verifying Checksum [2022-03-14T20:04:52.107Z] a0d0a0d46f8b: Pull complete [2022-03-14T20:04:52.107Z] 3e5f54012d9b: Pull complete [2022-03-14T20:04:52.370Z] 4c7163046ea9: Pull complete [2022-03-14T20:04:52.631Z] 0c2d73faf560: Pull complete [2022-03-14T20:04:52.631Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-14T20:04:52.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-14T20:04:52.631Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-14T20:04:52.731Z] prd-ubuntu20.04-docker-8c-8g-7064 does not seem to be running inside a container [2022-03-14T20:04:52.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-159 -v /w/workspace/gexfoundry_device-rest-go_PR-159:/w/workspace/gexfoundry_device-rest-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-159@tmp:/w/workspace/gexfoundry_device-rest-go_PR-159@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-14T20:04:53.441Z] $ docker top 079e2b92d87a4a80655b2c153aefb0af0bd1f9e6ed658f1231b25c61af9df7bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-14T20:04:53.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-14T20:04:53.624Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-14T20:04:53.760Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-14T20:04:53.761Z] $ docker exec 079e2b92d87a4a80655b2c153aefb0af0bd1f9e6ed658f1231b25c61af9df7bb ssh-agent [2022-03-14T20:04:53.891Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPnOifo/agent.13 [2022-03-14T20:04:53.891Z] SSH_AGENT_PID=19 [2022-03-14T20:04:53.900Z] Running ssh-add (command line suppressed) [2022-03-14T20:04:54.033Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-159@tmp/private_key_391497109049044170.key (/w/workspace/gexfoundry_device-rest-go_PR-159@tmp/private_key_391497109049044170.key) [2022-03-14T20:04:54.053Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-14T20:04:54.432Z] + git tag --points-at HEAD [Pipeline] } [2022-03-14T20:04:54.457Z] $ docker exec --env ******** --env ******** 079e2b92d87a4a80655b2c153aefb0af0bd1f9e6ed658f1231b25c61af9df7bb ssh-agent -k [2022-03-14T20:04:54.579Z] unset SSH_AUTH_SOCK; [2022-03-14T20:04:54.579Z] unset SSH_AGENT_PID; [2022-03-14T20:04:54.579Z] echo Agent pid 19 killed; [2022-03-14T20:04:54.593Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-14T20:04:54.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-14T20:04:54.684Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-14T20:04:54.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-14T20:04:54.830Z] $ docker exec 079e2b92d87a4a80655b2c153aefb0af0bd1f9e6ed658f1231b25c61af9df7bb ssh-agent [2022-03-14T20:04:54.946Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJECpfp/agent.52 [2022-03-14T20:04:54.946Z] SSH_AGENT_PID=58 [2022-03-14T20:04:54.952Z] Running ssh-add (command line suppressed) [2022-03-14T20:04:55.075Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-159@tmp/private_key_1017973973734191036.key (/w/workspace/gexfoundry_device-rest-go_PR-159@tmp/private_key_1017973973734191036.key) [2022-03-14T20:04:55.094Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-14T20:04:55.433Z] + git semver init [2022-03-14T20:04:55.434Z] # -> Open(): unable to determine branch for HEAD [2022-03-14T20:04:55.434Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-159/.git [2022-03-14T20:04:55.434Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-159 [2022-03-14T20:04:55.434Z] # $SEMVER_REMOTE_NAME = origin [2022-03-14T20:04:55.434Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-14T20:04:55.434Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-14T20:04:55.434Z] # $SEMVER_BRANCH = PR-159 [2022-03-14T20:04:55.434Z] # $SEMVER_TEMP = /tmp/semver-729105898 [2022-03-14T20:04:55.434Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-03-14T20:04:56.826Z] # '/tmp/semver-729105898' -> '/w/workspace/gexfoundry_device-rest-go_PR-159/.semver' [2022-03-14T20:04:56.826Z] # -> Force: false [2022-03-14T20:04:56.826Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-159/.semver [Pipeline] } [2022-03-14T20:04:56.850Z] $ docker exec --env ******** --env ******** 079e2b92d87a4a80655b2c153aefb0af0bd1f9e6ed658f1231b25c61af9df7bb ssh-agent -k [2022-03-14T20:04:56.957Z] unset SSH_AUTH_SOCK; [2022-03-14T20:04:56.958Z] unset SSH_AGENT_PID; [2022-03-14T20:04:56.958Z] echo Agent pid 58 killed; [2022-03-14T20:04:56.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-14T20:04:57.395Z] + git semver [Pipeline] } [2022-03-14T20:04:57.428Z] $ docker stop --time=1 079e2b92d87a4a80655b2c153aefb0af0bd1f9e6ed658f1231b25c61af9df7bb [2022-03-14T20:04:58.803Z] $ docker rm -f 079e2b92d87a4a80655b2c153aefb0af0bd1f9e6ed658f1231b25c61af9df7bb [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-14T20:04:59.233Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-14T20:04:59.547Z] Stashed 1 file(s) [Pipeline] echo [2022-03-14T20:04:59.566Z] [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-03-14T20:05:00.174Z] provisioning config files... [2022-03-14T20:05:00.185Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-159@tmp/config5401937075128202834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:05:00.535Z] ---> docker-login.sh [2022-03-14T20:05:00.535Z] nexus3.edgexfoundry.org:10001 [2022-03-14T20:05:00.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:05:00.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:05:00.535Z] Configure a credential helper to remove this warning. See [2022-03-14T20:05:00.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:05:00.535Z] [2022-03-14T20:05:00.535Z] Login Succeeded [2022-03-14T20:05:00.535Z] nexus3.edgexfoundry.org:10002 [2022-03-14T20:05:00.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:05:00.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:05:00.797Z] Configure a credential helper to remove this warning. See [2022-03-14T20:05:00.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:05:00.797Z] [2022-03-14T20:05:00.797Z] Login Succeeded [2022-03-14T20:05:00.797Z] nexus3.edgexfoundry.org:10003 [2022-03-14T20:05:00.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:05:00.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:05:00.797Z] Configure a credential helper to remove this warning. See [2022-03-14T20:05:00.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:05:00.797Z] [2022-03-14T20:05:00.797Z] Login Succeeded [2022-03-14T20:05:00.797Z] nexus3.edgexfoundry.org:10004 [2022-03-14T20:05:00.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:05:01.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:05:01.059Z] Configure a credential helper to remove this warning. See [2022-03-14T20:05:01.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:05:01.059Z] [2022-03-14T20:05:01.059Z] Login Succeeded [2022-03-14T20:05:01.059Z] docker.io [2022-03-14T20:05:01.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:05:01.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:05:01.320Z] Configure a credential helper to remove this warning. See [2022-03-14T20:05:01.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:05:01.320Z] [2022-03-14T20:05:01.320Z] Login Succeeded [2022-03-14T20:05:01.320Z] ---> docker-login.sh ends [Pipeline] } [2022-03-14T20:05:01.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-14T20:05:01.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-14T20:05:01.596Z] ========================================================= [2022-03-14T20:05:01.596Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-14T20:05:01.596Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:05:02.003Z] + 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-03-14T20:05:02.003Z] Sending build context to Docker daemon 10.55MB [2022-03-14T20:05:02.003Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-14T20:05:02.003Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-14T20:05:02.003Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-14T20:05:02.003Z] 59bf1c3509f3: Pulling fs layer [2022-03-14T20:05:02.003Z] 666ba61612fd: Pulling fs layer [2022-03-14T20:05:02.003Z] 8ed8ca486205: Pulling fs layer [2022-03-14T20:05:02.003Z] 4fe6c5a15a65: Pulling fs layer [2022-03-14T20:05:02.003Z] 22a0e8bec74d: Pulling fs layer [2022-03-14T20:05:02.003Z] 640e595b4fbd: Pulling fs layer [2022-03-14T20:05:02.003Z] 763cafe07f6e: Pulling fs layer [2022-03-14T20:05:02.003Z] 0c0b528cf693: Pulling fs layer [2022-03-14T20:05:02.003Z] 10935f4eaf8b: Pulling fs layer [2022-03-14T20:05:02.003Z] 763cafe07f6e: Waiting [2022-03-14T20:05:02.003Z] 10935f4eaf8b: Waiting [2022-03-14T20:05:02.003Z] 640e595b4fbd: Waiting [2022-03-14T20:05:02.003Z] 22a0e8bec74d: Waiting [2022-03-14T20:05:02.003Z] 0c0b528cf693: Waiting [2022-03-14T20:05:02.003Z] 8ed8ca486205: Verifying Checksum [2022-03-14T20:05:02.003Z] 8ed8ca486205: Download complete [2022-03-14T20:05:02.003Z] 666ba61612fd: Verifying Checksum [2022-03-14T20:05:02.003Z] 666ba61612fd: Download complete [2022-03-14T20:05:02.265Z] 640e595b4fbd: Verifying Checksum [2022-03-14T20:05:02.265Z] 640e595b4fbd: Download complete [2022-03-14T20:05:02.265Z] 59bf1c3509f3: Verifying Checksum [2022-03-14T20:05:02.265Z] 59bf1c3509f3: Download complete [2022-03-14T20:05:02.265Z] 763cafe07f6e: Verifying Checksum [2022-03-14T20:05:02.265Z] 763cafe07f6e: Download complete [2022-03-14T20:05:02.265Z] 0c0b528cf693: Verifying Checksum [2022-03-14T20:05:02.265Z] 0c0b528cf693: Download complete [2022-03-14T20:05:02.265Z] 59bf1c3509f3: Pull complete [2022-03-14T20:05:02.525Z] 666ba61612fd: Pull complete [2022-03-14T20:05:02.525Z] 8ed8ca486205: Pull complete [2022-03-14T20:05:02.785Z] 10935f4eaf8b: Verifying Checksum [2022-03-14T20:05:02.785Z] 10935f4eaf8b: Download complete [2022-03-14T20:05:03.048Z] 4fe6c5a15a65: Verifying Checksum [2022-03-14T20:05:03.048Z] 4fe6c5a15a65: Download complete [2022-03-14T20:05:07.245Z] 4fe6c5a15a65: Pull complete [2022-03-14T20:05:07.245Z] 22a0e8bec74d: Pull complete [2022-03-14T20:05:07.245Z] 640e595b4fbd: Pull complete [2022-03-14T20:05:07.245Z] 763cafe07f6e: Pull complete [2022-03-14T20:05:07.245Z] 0c0b528cf693: Pull complete [2022-03-14T20:05:09.782Z] 10935f4eaf8b: Pull complete [2022-03-14T20:05:09.782Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-14T20:05:09.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-14T20:05:09.782Z] ---> 99d49a6021b9 [2022-03-14T20:05:09.782Z] Step 3/12 : ARG MAKE='make build' [2022-03-14T20:05:10.722Z] ---> Running in 11ec3a440075 [2022-03-14T20:05:10.981Z] Removing intermediate container 11ec3a440075 [2022-03-14T20:05:10.982Z] ---> 48f1c8ee2b12 [2022-03-14T20:05:10.982Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-14T20:05:10.982Z] ---> Running in 2896bcb5a26e [2022-03-14T20:05:10.982Z] Removing intermediate container 2896bcb5a26e [2022-03-14T20:05:10.982Z] ---> c96ee3f30219 [2022-03-14T20:05:10.982Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-14T20:05:10.982Z] ---> Running in 94217e47c765 [2022-03-14T20:05:11.244Z] Removing intermediate container 94217e47c765 [2022-03-14T20:05:11.244Z] ---> 1387d24019b7 [2022-03-14T20:05:11.244Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-14T20:05:11.244Z] ---> Running in 27d3ccb58393 [2022-03-14T20:05:11.818Z] Removing intermediate container 27d3ccb58393 [2022-03-14T20:05:11.818Z] ---> 0179ecdfeb6f [2022-03-14T20:05:11.818Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-14T20:05:11.818Z] ---> Running in 494149186d59 [2022-03-14T20:05:12.079Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-14T20:05:13.025Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-14T20:05:13.286Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-14T20:05:13.286Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-14T20:05:13.286Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-14T20:05:13.546Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-14T20:05:13.546Z] Executing busybox-1.34.1-r3.trigger [2022-03-14T20:05:13.546Z] OK: 224 MiB in 56 packages [2022-03-14T20:05:14.118Z] Removing intermediate container 494149186d59 [2022-03-14T20:05:14.118Z] ---> 64cab7931aba [2022-03-14T20:05:14.118Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-14T20:05:14.118Z] ---> Running in e29ae0fd8049 [2022-03-14T20:05:14.118Z] Removing intermediate container e29ae0fd8049 [2022-03-14T20:05:14.118Z] ---> aa40cf244021 [2022-03-14T20:05:14.118Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-14T20:05:14.379Z] ---> 8d63b256dcf9 [2022-03-14T20:05:14.379Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-14T20:05:14.379Z] ---> Running in d30a1fe881a2 [2022-03-14T20:05:14.981Z] Still waiting to schedule task [2022-03-14T20:05:14.981Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-14T20:05:40.960Z] Removing intermediate container d30a1fe881a2 [2022-03-14T20:05:40.960Z] ---> 9f8845a6b938 [2022-03-14T20:05:40.960Z] Step 11/12 : COPY . . [2022-03-14T20:05:41.221Z] ---> ac230d9c7878 [2022-03-14T20:05:41.221Z] Step 12/12 : RUN $MAKE [2022-03-14T20:05:41.221Z] ---> Running in ced579b2eff4 [2022-03-14T20:05:41.793Z] noop [2022-03-14T20:05:41.793Z] Removing intermediate container ced579b2eff4 [2022-03-14T20:05:41.793Z] ---> 881c0f582574 [2022-03-14T20:05:41.793Z] Successfully built 881c0f582574 [2022-03-14T20:05:41.793Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:05:42.394Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-14T20:05:42.394Z] . [Pipeline] withDockerContainer [2022-03-14T20:05:42.491Z] prd-ubuntu20.04-docker-8c-8g-7064 does not seem to be running inside a container [2022-03-14T20:05:42.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-159 -v /w/workspace/gexfoundry_device-rest-go_PR-159:/w/workspace/gexfoundry_device-rest-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-159@tmp:/w/workspace/gexfoundry_device-rest-go_PR-159@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-x86_64 cat [2022-03-14T20:05:42.955Z] $ docker top e7e29b2109d00d926a123a377579c2136fc160a77de6df9197de9087309af48e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-14T20:05:43.363Z] + go version [2022-03-14T20:05:43.363Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-14T20:05:43.403Z] $ docker stop --time=1 e7e29b2109d00d926a123a377579c2136fc160a77de6df9197de9087309af48e [2022-03-14T20:05:44.734Z] $ docker rm -f e7e29b2109d00d926a123a377579c2136fc160a77de6df9197de9087309af48e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:05:45.394Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-14T20:05:45.394Z] . [Pipeline] withDockerContainer [2022-03-14T20:05:45.493Z] prd-ubuntu20.04-docker-8c-8g-7064 does not seem to be running inside a container [2022-03-14T20:05:45.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-159 -v /w/workspace/gexfoundry_device-rest-go_PR-159:/w/workspace/gexfoundry_device-rest-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-159@tmp:/w/workspace/gexfoundry_device-rest-go_PR-159@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-x86_64 cat [2022-03-14T20:05:45.932Z] $ docker top 7e9881e47124800e9c13370efe4b7b8d5c90d71716e5319752c6df782b6137a2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-14T20:05:46.454Z] + make test [2022-03-14T20:05:46.454Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-14T20:05:46.712Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-14T20:05:50.929Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-03-14T20:05:50.929Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.17/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-03-14T20:05:50.929Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.17/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-03-14T20:05:50.929Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.17/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-03-14T20:05:52.848Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-03-14T20:05:52.848Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.17/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-03-14T20:05:52.848Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2022-03-14T20:05:52.848Z] make: *** [Makefile:27: test] Error 2 [Pipeline] } [2022-03-14T20:05:52.897Z] $ docker stop --time=1 7e9881e47124800e9c13370efe4b7b8d5c90d71716e5319752c6df782b6137a2 [2022-03-14T20:05:54.437Z] $ docker rm -f 7e9881e47124800e9c13370efe4b7b8d5c90d71716e5319752c6df782b6137a2 [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-03-14T20:05:55.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-14T20:05:55.556Z] [2022-03-14T20:05:55.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:05:55.908Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-14T20:05:55.908Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-14T20:05:55.908Z] 5eb5b503b376: Pulling fs layer [2022-03-14T20:05:55.908Z] 5c69ac0246d0: Pulling fs layer [2022-03-14T20:05:55.908Z] ec43610c2a17: Pulling fs layer [2022-03-14T20:05:55.908Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-14T20:05:55.908Z] 33b1e0a273af: Pulling fs layer [2022-03-14T20:05:55.908Z] 5d3b04190fa2: Pulling fs layer [2022-03-14T20:05:55.908Z] 3a2ae6a8a46f: Waiting [2022-03-14T20:05:55.908Z] 33b1e0a273af: Waiting [2022-03-14T20:05:55.908Z] 2f39f015ded8: Pulling fs layer [2022-03-14T20:05:55.908Z] 5d3b04190fa2: Waiting [2022-03-14T20:05:55.908Z] 2f39f015ded8: Waiting [2022-03-14T20:05:55.908Z] 5c69ac0246d0: Download complete [2022-03-14T20:05:55.908Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-14T20:05:55.908Z] 3a2ae6a8a46f: Download complete [2022-03-14T20:05:55.908Z] 33b1e0a273af: Verifying Checksum [2022-03-14T20:05:55.908Z] 33b1e0a273af: Download complete [2022-03-14T20:05:56.169Z] 5d3b04190fa2: Download complete [2022-03-14T20:05:56.169Z] ec43610c2a17: Verifying Checksum [2022-03-14T20:05:56.169Z] 5eb5b503b376: Verifying Checksum [2022-03-14T20:05:56.169Z] 5eb5b503b376: Download complete [2022-03-14T20:05:56.738Z] 2f39f015ded8: Download complete [2022-03-14T20:05:57.678Z] 5eb5b503b376: Pull complete [2022-03-14T20:05:57.678Z] 5c69ac0246d0: Pull complete [2022-03-14T20:05:58.247Z] ec43610c2a17: Pull complete [2022-03-14T20:05:58.247Z] 3a2ae6a8a46f: Pull complete [2022-03-14T20:05:58.509Z] 33b1e0a273af: Pull complete [2022-03-14T20:05:58.769Z] 5d3b04190fa2: Pull complete [2022-03-14T20:06:04.060Z] 2f39f015ded8: Pull complete [2022-03-14T20:06:04.060Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-14T20:06:04.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-14T20:06:04.060Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-14T20:06:04.158Z] prd-ubuntu20.04-docker-8c-8g-7064 does not seem to be running inside a container [2022-03-14T20:06:04.199Z] $ 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/gexfoundry_device-rest-go_PR-159 -v /w/workspace/gexfoundry_device-rest-go_PR-159:/w/workspace/gexfoundry_device-rest-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-159@tmp:/w/workspace/gexfoundry_device-rest-go_PR-159@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:latest cat [2022-03-14T20:06:05.852Z] $ docker top 552168c0e07f3f68dc436a44a36f81759630cad2a59b0b1de2060c8192bc4cf1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:06:06.309Z] ---> job-cost.sh [2022-03-14T20:06:06.309Z] lf-activate-venv: SKIPPING [2022-03-14T20:06:06.309Z] INFO: No Stack... [2022-03-14T20:06:06.882Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-14T20:06:07.143Z] INFO: Archiving Costs [Pipeline] sh [2022-03-14T20:06:07.464Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-159/archives/cost.csv [2022-03-14T20:06:07.464Z] + cut -d, -f6 [Pipeline] lock [2022-03-14T20:06:07.502Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-159-1-stack-cost] [2022-03-14T20:06:07.506Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-159-1-stack-cost] did not exist. Created. [2022-03-14T20:06:07.506Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-159-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-14T20:06:07.898Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-14T20:06:07.954Z] Stashed 1 file(s) [Pipeline] } [2022-03-14T20:06:07.981Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-159-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-14T20:06:08.074Z] $ docker stop --time=1 552168c0e07f3f68dc436a44a36f81759630cad2a59b0b1de2060c8192bc4cf1 [2022-03-14T20:06:09.267Z] $ docker rm -f 552168c0e07f3f68dc436a44a36f81759630cad2a59b0b1de2060c8192bc4cf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-14T20:06:09.647Z] Failed in branch amd64 [2022-03-14T20:07:14.508Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7065 in /w/workspace/gexfoundry_device-rest-go_PR-159 [Pipeline] { [Pipeline] ws [2022-03-14T20:07:14.556Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-03-14T20:07:15.524Z] The recommended git tool is: git [2022-03-14T20:07:23.279Z] using credential edgex-jenkins-ssh [2022-03-14T20:07:23.306Z] Cloning the remote Git repository [2022-03-14T20:07:23.435Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-03-14T20:07:23.552Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-03-14T20:07:23.789Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-14T20:07:23.791Z] > git --version # timeout=10 [2022-03-14T20:07:23.831Z] > git --version # 'git version 2.25.1' [2022-03-14T20:07:23.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-14T20:07:24.115Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-14T20:07:26.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-14T20:07:26.357Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-14T20:07:27.046Z] Merging remotes/origin/main commit f3318b721e0f943881393329fd3e7443e525a415 into PR head commit 3406e3f22b3c847434dd54b97308148b1bbd6321 [2022-03-14T20:07:27.318Z] Merge succeeded, producing 3406e3f22b3c847434dd54b97308148b1bbd6321 [2022-03-14T20:07:27.318Z] Checking out Revision 3406e3f22b3c847434dd54b97308148b1bbd6321 (PR-159) [2022-03-14T20:07:26.415Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-14T20:07:26.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-14T20:07:26.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-14T20:07:26.472Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-14T20:07:27.070Z] > git config core.sparsecheckout # timeout=10 [2022-03-14T20:07:27.089Z] > git checkout -f 3406e3f22b3c847434dd54b97308148b1bbd6321 # timeout=10 [2022-03-14T20:07:27.186Z] > git remote # timeout=10 [2022-03-14T20:07:27.223Z] > git config --get remote.origin.url # timeout=10 [2022-03-14T20:07:27.248Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-14T20:07:27.267Z] > git merge f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 [2022-03-14T20:07:27.301Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-14T20:07:27.330Z] > git config core.sparsecheckout # timeout=10 [2022-03-14T20:07:27.344Z] > git checkout -f 3406e3f22b3c847434dd54b97308148b1bbd6321 # timeout=10 [2022-03-14T20:07:31.776Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-03-14T20:07:31.847Z] > git --version # timeout=10 [2022-03-14T20:07:31.859Z] > git --version # 'git version 2.25.1' [2022-03-14T20:07:31.877Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-14T20:07:33.049Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-14T20:07:33.049Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-14T20:07:33.049Z] Dload Upload Total Spent Left Speed [2022-03-14T20:07:33.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43862 0 --:--:-- --:--:-- --:--:-- 44026 [Pipeline] sh [2022-03-14T20:07:33.657Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-14T20:07:34.039Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-14T20:07:34.039Z] + sudo tee /etc/docker/daemon.new [2022-03-14T20:07:34.039Z] { [2022-03-14T20:07:34.039Z] "registry-mirrors": [ [2022-03-14T20:07:34.039Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-14T20:07:34.039Z] ], [2022-03-14T20:07:34.039Z] "bip": "10.250.0.254/24", [2022-03-14T20:07:34.039Z] "hosts": [ [2022-03-14T20:07:34.039Z] "tcp://0.0.0.0:5555", [2022-03-14T20:07:34.039Z] "unix:///var/run/docker.sock" [2022-03-14T20:07:34.039Z] ], [2022-03-14T20:07:34.039Z] "mtu": 1458, [2022-03-14T20:07:34.039Z] "selinux-enabled": true, [2022-03-14T20:07:34.039Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-14T20:07:34.039Z] } [Pipeline] sh [2022-03-14T20:07:34.449Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-14T20:07:34.829Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-14T20:07:53.352Z] provisioning config files... [2022-03-14T20:07:53.381Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config981529130357457691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:07:53.961Z] ---> docker-login.sh [2022-03-14T20:07:53.962Z] nexus3.edgexfoundry.org:10001 [2022-03-14T20:07:54.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:07:54.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:07:54.842Z] Configure a credential helper to remove this warning. See [2022-03-14T20:07:54.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:07:54.842Z] [2022-03-14T20:07:54.842Z] Login Succeeded [2022-03-14T20:07:54.842Z] nexus3.edgexfoundry.org:10002 [2022-03-14T20:07:55.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:07:55.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:07:55.447Z] Configure a credential helper to remove this warning. See [2022-03-14T20:07:55.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:07:55.447Z] [2022-03-14T20:07:55.447Z] Login Succeeded [2022-03-14T20:07:55.447Z] nexus3.edgexfoundry.org:10003 [2022-03-14T20:07:56.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:07:56.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:07:56.053Z] Configure a credential helper to remove this warning. See [2022-03-14T20:07:56.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:07:56.053Z] [2022-03-14T20:07:56.053Z] Login Succeeded [2022-03-14T20:07:56.053Z] nexus3.edgexfoundry.org:10004 [2022-03-14T20:07:56.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:07:56.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:07:56.650Z] Configure a credential helper to remove this warning. See [2022-03-14T20:07:56.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:07:56.650Z] [2022-03-14T20:07:56.650Z] Login Succeeded [2022-03-14T20:07:56.650Z] docker.io [2022-03-14T20:07:56.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-14T20:07:57.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-14T20:07:57.526Z] Configure a credential helper to remove this warning. See [2022-03-14T20:07:57.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-14T20:07:57.527Z] [2022-03-14T20:07:57.527Z] Login Succeeded [2022-03-14T20:07:57.527Z] ---> docker-login.sh ends [Pipeline] } [2022-03-14T20:07:57.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-14T20:07:58.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-14T20:07:58.055Z] ========================================================= [2022-03-14T20:07:58.055Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-14T20:07:58.055Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:07:58.518Z] + 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-03-14T20:07:58.518Z] Sending build context to Docker daemon 124.4kB [2022-03-14T20:07:58.796Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-14T20:07:58.796Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-14T20:07:59.074Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-14T20:07:59.074Z] 9b3977197b4f: Pulling fs layer [2022-03-14T20:07:59.074Z] 1a89e8eeedd5: Pulling fs layer [2022-03-14T20:07:59.074Z] 94645a83ff95: Pulling fs layer [2022-03-14T20:07:59.074Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-14T20:07:59.074Z] 0c92f367c5e7: Pulling fs layer [2022-03-14T20:07:59.074Z] f7c0051592d6: Pulling fs layer [2022-03-14T20:07:59.074Z] 3f3a8bcf1eab: Waiting [2022-03-14T20:07:59.074Z] 0c92f367c5e7: Waiting [2022-03-14T20:07:59.074Z] f7c0051592d6: Waiting [2022-03-14T20:07:59.074Z] a227ed2f7395: Pulling fs layer [2022-03-14T20:07:59.074Z] 7b1c46037f91: Pulling fs layer [2022-03-14T20:07:59.074Z] a227ed2f7395: Waiting [2022-03-14T20:07:59.074Z] 7b1c46037f91: Waiting [2022-03-14T20:07:59.074Z] 94645a83ff95: Verifying Checksum [2022-03-14T20:07:59.074Z] 94645a83ff95: Download complete [2022-03-14T20:07:59.074Z] 1a89e8eeedd5: Verifying Checksum [2022-03-14T20:07:59.074Z] 1a89e8eeedd5: Download complete [2022-03-14T20:07:59.074Z] 0c92f367c5e7: Verifying Checksum [2022-03-14T20:07:59.074Z] 0c92f367c5e7: Download complete [2022-03-14T20:07:59.074Z] f7c0051592d6: Verifying Checksum [2022-03-14T20:07:59.074Z] f7c0051592d6: Download complete [2022-03-14T20:07:59.354Z] 9b3977197b4f: Download complete [2022-03-14T20:07:59.355Z] a227ed2f7395: Verifying Checksum [2022-03-14T20:07:59.355Z] a227ed2f7395: Download complete [2022-03-14T20:07:59.968Z] 9b3977197b4f: Pull complete [2022-03-14T20:08:00.618Z] 1a89e8eeedd5: Pull complete [2022-03-14T20:08:00.902Z] 94645a83ff95: Pull complete [2022-03-14T20:08:01.510Z] 7b1c46037f91: Download complete [2022-03-14T20:08:02.116Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-14T20:08:02.116Z] 3f3a8bcf1eab: Download complete [2022-03-14T20:08:17.262Z] 3f3a8bcf1eab: Pull complete [2022-03-14T20:08:17.262Z] 0c92f367c5e7: Pull complete [2022-03-14T20:08:17.262Z] f7c0051592d6: Pull complete [2022-03-14T20:08:17.262Z] a227ed2f7395: Pull complete [2022-03-14T20:08:22.715Z] 7b1c46037f91: Pull complete [2022-03-14T20:08:22.715Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-14T20:08:22.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-14T20:08:22.715Z] ---> f79e39bc4007 [2022-03-14T20:08:22.715Z] Step 3/12 : ARG MAKE='make build' [2022-03-14T20:08:23.322Z] ---> Running in b8f59464f9f0 [2022-03-14T20:08:23.598Z] Removing intermediate container b8f59464f9f0 [2022-03-14T20:08:23.598Z] ---> 6b5e28a717fa [2022-03-14T20:08:23.598Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-14T20:08:23.888Z] ---> Running in 5d3c9fc41d34 [2022-03-14T20:08:24.165Z] Removing intermediate container 5d3c9fc41d34 [2022-03-14T20:08:24.165Z] ---> abd436343334 [2022-03-14T20:08:24.165Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-14T20:08:24.165Z] ---> Running in 1e05d351c0fb [2022-03-14T20:08:24.768Z] Removing intermediate container 1e05d351c0fb [2022-03-14T20:08:24.768Z] ---> 4659911ed879 [2022-03-14T20:08:24.768Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-14T20:08:24.768Z] ---> Running in bc24bc423ac2 [2022-03-14T20:08:26.770Z] Removing intermediate container bc24bc423ac2 [2022-03-14T20:08:26.770Z] ---> b29b7bc490b5 [2022-03-14T20:08:26.770Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-14T20:08:26.770Z] ---> Running in 44dbb3f89449 [2022-03-14T20:08:27.774Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-14T20:08:28.791Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-14T20:08:30.271Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-14T20:08:30.271Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-14T20:08:30.271Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-14T20:08:30.553Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-14T20:08:30.553Z] Executing busybox-1.34.1-r3.trigger [2022-03-14T20:08:30.835Z] OK: 224 MiB in 56 packages [2022-03-14T20:08:31.838Z] Removing intermediate container 44dbb3f89449 [2022-03-14T20:08:31.838Z] ---> ed3684508295 [2022-03-14T20:08:31.838Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-14T20:08:31.838Z] ---> Running in af865e6943ca [2022-03-14T20:08:32.442Z] Removing intermediate container af865e6943ca [2022-03-14T20:08:32.442Z] ---> 204b6f23d4df [2022-03-14T20:08:32.442Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-14T20:08:33.049Z] ---> 5196b9c726ab [2022-03-14T20:08:33.049Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-14T20:08:33.049Z] ---> Running in 7ae3d64e2e47 [2022-03-14T20:10:09.955Z] Removing intermediate container 7ae3d64e2e47 [2022-03-14T20:10:09.955Z] ---> 9734928eaa95 [2022-03-14T20:10:09.955Z] Step 11/12 : COPY . . [2022-03-14T20:10:09.955Z] ---> bb25c2a1fb0a [2022-03-14T20:10:09.955Z] Step 12/12 : RUN $MAKE [2022-03-14T20:10:09.955Z] ---> Running in 6659565e4173 [2022-03-14T20:10:09.955Z] noop [2022-03-14T20:10:09.955Z] Removing intermediate container 6659565e4173 [2022-03-14T20:10:09.955Z] ---> e179446831fc [2022-03-14T20:10:09.955Z] Successfully built e179446831fc [2022-03-14T20:10:09.955Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:10:10.366Z] + docker inspect -f . ci-base-image-arm64 [2022-03-14T20:10:10.366Z] . [Pipeline] withDockerContainer [2022-03-14T20:10:10.673Z] prd-ubuntu20.04-docker-arm64-4c-16g-7065 does not seem to be running inside a container [2022-03-14T20:10:10.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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-03-14T20:10:12.303Z] $ docker top 6691365892b5ddd3266424ae56cc1d541ebc558633712d0a208e0bf2df6ae143 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-14T20:10:13.318Z] + go version [2022-03-14T20:10:13.318Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-14T20:10:13.364Z] $ docker stop --time=1 6691365892b5ddd3266424ae56cc1d541ebc558633712d0a208e0bf2df6ae143 [2022-03-14T20:10:15.138Z] $ docker rm -f 6691365892b5ddd3266424ae56cc1d541ebc558633712d0a208e0bf2df6ae143 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:10:16.123Z] + docker inspect -f . ci-base-image-arm64 [2022-03-14T20:10:16.123Z] . [Pipeline] withDockerContainer [2022-03-14T20:10:16.423Z] prd-ubuntu20.04-docker-arm64-4c-16g-7065 does not seem to be running inside a container [2022-03-14T20:10:16.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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-03-14T20:10:18.120Z] $ docker top 34bbcac6eaf7e21e89f06dd46bbe0ecf60fd51dbc40dad964376377703e96e8e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-14T20:10:19.202Z] + make test [2022-03-14T20:10:19.202Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-14T20:10:20.655Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-14T20:10:59.833Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-03-14T20:10:59.833Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.17/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-03-14T20:10:59.833Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.17/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-03-14T20:10:59.833Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.17/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-03-14T20:11:08.225Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-03-14T20:11:08.225Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.17/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-03-14T20:11:18.441Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2022-03-14T20:11:18.715Z] make: *** [Makefile:27: test] Error 2 [Pipeline] } [2022-03-14T20:11:18.768Z] $ docker stop --time=1 34bbcac6eaf7e21e89f06dd46bbe0ecf60fd51dbc40dad964376377703e96e8e [2022-03-14T20:11:20.731Z] $ docker rm -f 34bbcac6eaf7e21e89f06dd46bbe0ecf60fd51dbc40dad964376377703e96e8e [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-03-14T20:11:22.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-14T20:11:22.204Z] [2022-03-14T20:11:22.204Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:11:22.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-14T20:11:23.150Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-14T20:11:23.150Z] 8998bd30e6a1: Pulling fs layer [2022-03-14T20:11:23.150Z] 04944245beec: Pulling fs layer [2022-03-14T20:11:23.150Z] 699f458cf7ca: Pulling fs layer [2022-03-14T20:11:23.150Z] 765212b225bb: Pulling fs layer [2022-03-14T20:11:23.150Z] f23df028b6ca: Pulling fs layer [2022-03-14T20:11:23.150Z] d65c8cfc05b1: Pulling fs layer [2022-03-14T20:11:23.150Z] 2437ff75d9bd: Pulling fs layer [2022-03-14T20:11:23.150Z] 765212b225bb: Waiting [2022-03-14T20:11:23.150Z] f23df028b6ca: Waiting [2022-03-14T20:11:23.150Z] 2437ff75d9bd: Waiting [2022-03-14T20:11:23.150Z] d65c8cfc05b1: Waiting [2022-03-14T20:11:23.150Z] 04944245beec: Verifying Checksum [2022-03-14T20:11:23.150Z] 04944245beec: Download complete [2022-03-14T20:11:23.150Z] 765212b225bb: Verifying Checksum [2022-03-14T20:11:23.150Z] 765212b225bb: Download complete [2022-03-14T20:11:23.430Z] f23df028b6ca: Verifying Checksum [2022-03-14T20:11:23.430Z] f23df028b6ca: Download complete [2022-03-14T20:11:23.430Z] d65c8cfc05b1: Verifying Checksum [2022-03-14T20:11:23.430Z] d65c8cfc05b1: Download complete [2022-03-14T20:11:23.430Z] 699f458cf7ca: Verifying Checksum [2022-03-14T20:11:23.430Z] 699f458cf7ca: Download complete [2022-03-14T20:11:24.034Z] 8998bd30e6a1: Verifying Checksum [2022-03-14T20:11:24.034Z] 8998bd30e6a1: Download complete [2022-03-14T20:11:26.671Z] 2437ff75d9bd: Verifying Checksum [2022-03-14T20:11:26.671Z] 2437ff75d9bd: Download complete [2022-03-14T20:11:28.662Z] 8998bd30e6a1: Pull complete [2022-03-14T20:11:29.267Z] 04944245beec: Pull complete [2022-03-14T20:11:30.721Z] 699f458cf7ca: Pull complete [2022-03-14T20:11:30.996Z] 765212b225bb: Pull complete [2022-03-14T20:11:31.984Z] f23df028b6ca: Pull complete [2022-03-14T20:11:32.264Z] d65c8cfc05b1: Pull complete [2022-03-14T20:11:50.646Z] 2437ff75d9bd: Pull complete [2022-03-14T20:11:50.646Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-14T20:11:50.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-14T20:11:50.646Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-14T20:11:50.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-7065 does not seem to be running inside a container [2022-03-14T20:11:51.070Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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-03-14T20:11:54.246Z] $ docker top 480b44c579eb2fbb92a88456174a2835fc4b7ddf90f50e257d0ebe680887139a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:11:55.320Z] ---> job-cost.sh [2022-03-14T20:11:55.320Z] lf-activate-venv: SKIPPING [2022-03-14T20:11:55.320Z] INFO: No Stack... [2022-03-14T20:11:55.926Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-14T20:11:56.919Z] INFO: Archiving Costs [Pipeline] sh [2022-03-14T20:11:57.633Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-03-14T20:11:57.633Z] + cut -d, -f6 [Pipeline] lock [2022-03-14T20:11:57.690Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-159-1-stack-cost] [2022-03-14T20:11:57.698Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-159-1-stack-cost] did not exist. Created. [2022-03-14T20:11:57.698Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-159-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-14T20:11:58.458Z] /w/workspace/device-rest-go/1@tmp/durable-e3075a6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-14T20:11:59.198Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-14T20:11:59.237Z] Warning: overwriting stash ‘stack-cost’ [2022-03-14T20:11:59.772Z] Stashed 1 file(s) [Pipeline] } [2022-03-14T20:11:59.786Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-159-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-14T20:11:59.863Z] $ docker stop --time=1 480b44c579eb2fbb92a88456174a2835fc4b7ddf90f50e257d0ebe680887139a [2022-03-14T20:12:01.442Z] $ docker rm -f 480b44c579eb2fbb92a88456174a2835fc4b7ddf90f50e257d0ebe680887139a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-14T20:12:02.252Z] 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-03-14T20:12:04.331Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-159/archives ] [2022-03-14T20:12:04.331Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-159/archives [2022-03-14T20:12:04.331Z] total 16 [2022-03-14T20:12:04.331Z] drwxr-xr-x 3 root root 4096 Mar 14 20:06 . [2022-03-14T20:12:04.331Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 20:06 .. [2022-03-14T20:12:04.331Z] drwxr-xr-x 2 root root 4096 Mar 14 20:06 cost [2022-03-14T20:12:04.331Z] -rw-r--r-- 1 root root 85 Mar 14 20:06 cost.csv [2022-03-14T20:12:04.331Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-159/archives [2022-03-14T20:12:04.331Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-159/archives [2022-03-14T20:12:04.331Z] total 16 [2022-03-14T20:12:04.331Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:06 . [2022-03-14T20:12:04.331Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 20:06 .. [2022-03-14T20:12:04.331Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 20:06 cost [2022-03-14T20:12:04.331Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 14 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:12:04.665Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:12:05.562Z] ---> package-listing.sh [2022-03-14T20:12:05.562Z] ++ facter osfamily [2022-03-14T20:12:05.562Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-14T20:12:05.823Z] + OS_FAMILY=debian [2022-03-14T20:12:05.823Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-159 [2022-03-14T20:12:05.823Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-14T20:12:05.823Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-14T20:12:05.823Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-14T20:12:05.823Z] + PACKAGES=/tmp/packages_start.txt [2022-03-14T20:12:05.823Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-159 ']' [2022-03-14T20:12:05.823Z] + PACKAGES=/tmp/packages_end.txt [2022-03-14T20:12:05.823Z] + case "${OS_FAMILY}" in [2022-03-14T20:12:05.823Z] + dpkg -l [2022-03-14T20:12:05.823Z] + grep '^ii' [2022-03-14T20:12:05.823Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-14T20:12:05.823Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-14T20:12:05.823Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-14T20:12:05.823Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-159 ']' [2022-03-14T20:12:05.823Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-159/archives/ [2022-03-14T20:12:05.823Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-159/archives/ [Pipeline] echo [2022-03-14T20:12:05.861Z] 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/gexfoundry_device-rest-go_PR-159/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-14T20:12:06.158Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-14T20:12:06.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-14T20:12:06.754Z] . [Pipeline] withDockerContainer [2022-03-14T20:12:06.923Z] prd-ubuntu20.04-docker-8c-8g-7064 does not seem to be running inside a container [2022-03-14T20:12:06.979Z] $ 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/gexfoundry_device-rest-go_PR-159/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-159 -v /w/workspace/gexfoundry_device-rest-go_PR-159:/w/workspace/gexfoundry_device-rest-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-159@tmp:/w/workspace/gexfoundry_device-rest-go_PR-159@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-03-14T20:12:07.244Z] $ docker top cc184a62b67fccb8415ed13178e33a78a4748d0131526bbad6a2f5e9a6c5b9b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-14T20:12:07.642Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-14T20:12:07.954Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-14T20:12:08.281Z] + ls /var/log/sa-host [2022-03-14T20:12:08.281Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-14T20:12:08.424Z] provisioning config files... [2022-03-14T20:12:08.434Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-159@tmp/config6292698528285498781tmp [Pipeline] { [Pipeline] echo [2022-03-14T20:12:08.496Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:12:08.814Z] ---> create-netrc.sh [Pipeline] } [2022-03-14T20:12:08.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:12:09.242Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-14T20:12:09.277Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:12:09.596Z] ---> sudo-logs.sh [2022-03-14T20:12:09.596Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-14T20:12:09.680Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:12:09.999Z] ---> job-cost.sh [2022-03-14T20:12:10.000Z] lf-activate-venv: SKIPPING [2022-03-14T20:12:10.000Z] DEBUG: total: 0.2199999988079071 [2022-03-14T20:12:10.000Z] INFO: Retrieving Stack Cost... [2022-03-14T20:12:10.261Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-14T20:12:10.832Z] INFO: Archiving Costs [Pipeline] echo [2022-03-14T20:12:10.865Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-14T20:12:11.181Z] ---> logs-deploy.sh [2022-03-14T20:12:11.181Z] lf-activate-venv: SKIPPING [2022-03-14T20:12:11.181Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-159/1 [2022-03-14T20:12:11.181Z] INFO: archiving workspace using pattern(s): [2022-03-14T20:12:12.133Z] Archives upload complete. [2022-03-14T20:12:12.133Z] INFO: archiving logs to Nexus