Pull request #179 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f17a959956fc561d4771619dc1a45ddee013e59e+238d080d640a7e3d9ba0ccf186e4988c74ba76ef (0ca5c5823b82c5919e0125fae82d4e6a6db505f5) 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-ssh18084447443097412739.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-ssh1254038305517798663.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-179/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-179/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh674476052869393881.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-179/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2696699538465029669.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-ssh10104558229589550483.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-179/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-179/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4212853331553223745.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22892 in /w/workspace/gexfoundry_device-rest-go_PR-179 [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-179 # 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit f17a959956fc561d4771619dc1a45ddee013e59e Merge succeeded, producing f17a959956fc561d4771619dc1a45ddee013e59e Checking out Revision f17a959956fc561d4771619dc1a45ddee013e59e (PR-179) > 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/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # 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-25T20:23:48.731Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-25T20:23:48.899Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-25T20:23:48.989Z] ========================================================= [2022-04-25T20:23:48.989Z] EdgeX Global Pipelines Version Info [2022-04-25T20:23:48.989Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:23:49.796Z] ------------------- [2022-04-25T20:23:49.796Z] stable info: [2022-04-25T20:23:49.796Z] ------------------- [2022-04-25T20:23:49.796Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T20:23:49.796Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-25T20:23:49.796Z] Message: update stable to v1.0.221 [2022-04-25T20:23:50.371Z] ------------------- [2022-04-25T20:23:50.371Z] experimental info: [2022-04-25T20:23:50.371Z] ------------------- [2022-04-25T20:23:50.371Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T20:23:50.371Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-25T20:23:50.371Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-25T20:23:50.607Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-25T20:23:50.647Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-25T20:23:50.682Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-25T20:23:50.717Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-25T20:23:50.755Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-25T20:23:50.792Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-25T20:23:50.829Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-25T20:23:50.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-25T20:23:50.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-25T20:23:50.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-25T20:23:50.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-25T20:23:51.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-25T20:23:51.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-25T20:23:51.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-25T20:23:51.138Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T20:23:51.183Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T20:23:51.232Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T20:23:51.275Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T20:23:51.315Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-25T20:23:51.355Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-25T20:23:51.396Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-25T20:23:51.438Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-25T20:23:51.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-25T20:23:51.512Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-25T20:23:51.546Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-25T20:23:51.585Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-25T20:23:51.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo [2022-04-25T20:23:51.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo [2022-04-25T20:23:51.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo [2022-04-25T20:23:51.748Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f17a959956fc561d4771619dc1a45ddee013e59e [Pipeline] echo [2022-04-25T20:23:51.789Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f17a959 [Pipeline] echo [2022-04-25T20:23:51.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T20:23:51.933Z] provisioning config files... [2022-04-25T20:23:51.949Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config7228103031894167472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:23:52.292Z] ---> docker-login.sh [2022-04-25T20:23:52.292Z] nexus3.edgexfoundry.org:10001 [2022-04-25T20:23:52.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:23:52.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:23:52.555Z] Configure a credential helper to remove this warning. See [2022-04-25T20:23:52.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:23:52.555Z] [2022-04-25T20:23:52.555Z] Login Succeeded [2022-04-25T20:23:52.555Z] nexus3.edgexfoundry.org:10002 [2022-04-25T20:23:52.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:23:52.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:23:52.816Z] Configure a credential helper to remove this warning. See [2022-04-25T20:23:52.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:23:52.816Z] [2022-04-25T20:23:52.816Z] Login Succeeded [2022-04-25T20:23:52.816Z] nexus3.edgexfoundry.org:10003 [2022-04-25T20:23:52.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:23:53.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:23:53.078Z] Configure a credential helper to remove this warning. See [2022-04-25T20:23:53.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:23:53.078Z] [2022-04-25T20:23:53.078Z] Login Succeeded [2022-04-25T20:23:53.078Z] nexus3.edgexfoundry.org:10004 [2022-04-25T20:23:53.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:23:53.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:23:53.078Z] Configure a credential helper to remove this warning. See [2022-04-25T20:23:53.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:23:53.078Z] [2022-04-25T20:23:53.078Z] Login Succeeded [2022-04-25T20:23:53.078Z] docker.io [2022-04-25T20:23:53.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:23:53.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:23:53.651Z] Configure a credential helper to remove this warning. See [2022-04-25T20:23:53.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:23:53.651Z] [2022-04-25T20:23:53.651Z] Login Succeeded [2022-04-25T20:23:53.651Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T20:23:53.674Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-25T20:23:54.261Z] + git rev-list -1 --merges f17a959956fc561d4771619dc1a45ddee013e59e~1..f17a959956fc561d4771619dc1a45ddee013e59e [Pipeline] echo [2022-04-25T20:23:54.401Z] -----------> git rev-list -1 --merges f17a959956fc561d4771619dc1a45ddee013e59e~1..f17a959956fc561d4771619dc1a45ddee013e59e f17a959956fc561d4771619dc1a45ddee013e59e [false] [Pipeline] sh [2022-04-25T20:23:54.713Z] + git log --format=format:%s -1 f17a959956fc561d4771619dc1a45ddee013e59e [Pipeline] echo [2022-04-25T20:23:54.749Z] ========================================================= [2022-04-25T20:23:54.749Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-25T20:23:54.749Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T20:23:55.184Z] + git log --format=format:%s -1 f17a959956fc561d4771619dc1a45ddee013e59e [Pipeline] echo [2022-04-25T20:23:55.214Z] [semverPrep] GIT_COMMIT: f17a959956fc561d4771619dc1a45ddee013e59e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-25T20:23:55.246Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-25T20:23:55.704Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-25T20:23:55.704Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-25T20:23:55.704Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-25T20:23:55.704Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-25T20:23:55.704Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-25T20:23:55.704Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-25T20:23:55.704Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:23:56.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T20:23:56.193Z] [2022-04-25T20:23:56.193Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:23:56.544Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T20:23:56.544Z] latest: Pulling from edgex-devops/git-semver [2022-04-25T20:23:56.544Z] a0d0a0d46f8b: Pulling fs layer [2022-04-25T20:23:56.544Z] 3e5f54012d9b: Pulling fs layer [2022-04-25T20:23:56.544Z] 4c7163046ea9: Pulling fs layer [2022-04-25T20:23:56.544Z] 0c2d73faf560: Pulling fs layer [2022-04-25T20:23:56.544Z] 0c2d73faf560: Waiting [2022-04-25T20:23:56.544Z] 3e5f54012d9b: Verifying Checksum [2022-04-25T20:23:56.544Z] 3e5f54012d9b: Download complete [2022-04-25T20:23:56.544Z] a0d0a0d46f8b: Verifying Checksum [2022-04-25T20:23:56.544Z] a0d0a0d46f8b: Download complete [2022-04-25T20:23:56.544Z] 0c2d73faf560: Verifying Checksum [2022-04-25T20:23:56.544Z] 0c2d73faf560: Download complete [2022-04-25T20:23:56.805Z] 4c7163046ea9: Download complete [2022-04-25T20:23:56.805Z] a0d0a0d46f8b: Pull complete [2022-04-25T20:23:56.805Z] 3e5f54012d9b: Pull complete [2022-04-25T20:23:57.379Z] 4c7163046ea9: Pull complete [2022-04-25T20:23:57.379Z] 0c2d73faf560: Pull complete [2022-04-25T20:23:57.379Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-25T20:23:57.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T20:23:57.379Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-25T20:23:57.482Z] prd-ubuntu20.04-docker-8c-8g-22892 does not seem to be running inside a container [2022-04-25T20:23:57.514Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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-25T20:23:58.204Z] $ docker top 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-25T20:23:58.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T20:23:58.416Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T20:23:58.546Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T20:23:58.543Z] $ docker exec 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 ssh-agent [2022-04-25T20:23:58.678Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNlInkb/agent.13 [2022-04-25T20:23:58.678Z] SSH_AGENT_PID=20 [2022-04-25T20:23:58.687Z] Running ssh-add (command line suppressed) [2022-04-25T20:23:58.817Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_32944658356448920.key (/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_32944658356448920.key) [2022-04-25T20:23:58.839Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T20:23:59.182Z] + git tag --points-at HEAD [Pipeline] } [2022-04-25T20:23:59.203Z] $ docker exec --env ******** --env ******** 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 ssh-agent -k [2022-04-25T20:23:59.333Z] unset SSH_AUTH_SOCK; [2022-04-25T20:23:59.334Z] unset SSH_AGENT_PID; [2022-04-25T20:23:59.334Z] echo Agent pid 20 killed; [2022-04-25T20:23:59.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-25T20:23:59.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T20:23:59.443Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T20:23:59.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T20:23:59.567Z] $ docker exec 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 ssh-agent [2022-04-25T20:23:59.710Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKMKCBl/agent.54 [2022-04-25T20:23:59.710Z] SSH_AGENT_PID=60 [2022-04-25T20:23:59.716Z] Running ssh-add (command line suppressed) [2022-04-25T20:23:59.849Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_4557647987814190076.key (/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_4557647987814190076.key) [2022-04-25T20:23:59.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T20:24:00.200Z] + git semver init [2022-04-25T20:24:00.200Z] # -> Open(): unable to determine branch for HEAD [2022-04-25T20:24:00.200Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-179/.git [2022-04-25T20:24:00.200Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-179 [2022-04-25T20:24:00.200Z] # $SEMVER_REMOTE_NAME = origin [2022-04-25T20:24:00.200Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-25T20:24:00.200Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-25T20:24:00.200Z] # $SEMVER_BRANCH = PR-179 [2022-04-25T20:24:00.200Z] # $SEMVER_TEMP = /tmp/semver-944245555 [2022-04-25T20:24:00.200Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-25T20:24:01.585Z] # '/tmp/semver-944245555' -> '/w/workspace/gexfoundry_device-rest-go_PR-179/.semver' [2022-04-25T20:24:01.585Z] # -> Force: false [2022-04-25T20:24:01.585Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-179/.semver [Pipeline] } [2022-04-25T20:24:01.609Z] $ docker exec --env ******** --env ******** 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 ssh-agent -k [2022-04-25T20:24:01.710Z] unset SSH_AUTH_SOCK; [2022-04-25T20:24:01.711Z] unset SSH_AGENT_PID; [2022-04-25T20:24:01.711Z] echo Agent pid 60 killed; [2022-04-25T20:24:01.726Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-25T20:24:02.191Z] + git semver [Pipeline] } [2022-04-25T20:24:02.236Z] $ docker stop --time=1 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 [2022-04-25T20:24:03.608Z] $ docker rm -f 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T20:24:04.047Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-25T20:24:04.360Z] Stashed 1 file(s) [Pipeline] echo [2022-04-25T20:24:04.380Z] [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-25T20:24:04.954Z] provisioning config files... [2022-04-25T20:24:04.975Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config8429055435172140654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:24:05.324Z] ---> docker-login.sh [2022-04-25T20:24:05.324Z] nexus3.edgexfoundry.org:10001 [2022-04-25T20:24:05.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:24:05.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:24:05.324Z] Configure a credential helper to remove this warning. See [2022-04-25T20:24:05.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:24:05.324Z] [2022-04-25T20:24:05.324Z] Login Succeeded [2022-04-25T20:24:05.324Z] nexus3.edgexfoundry.org:10002 [2022-04-25T20:24:05.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:24:05.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:24:05.584Z] Configure a credential helper to remove this warning. See [2022-04-25T20:24:05.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:24:05.584Z] [2022-04-25T20:24:05.584Z] Login Succeeded [2022-04-25T20:24:05.584Z] nexus3.edgexfoundry.org:10003 [2022-04-25T20:24:05.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:24:05.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:24:05.585Z] Configure a credential helper to remove this warning. See [2022-04-25T20:24:05.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:24:05.585Z] [2022-04-25T20:24:05.585Z] Login Succeeded [2022-04-25T20:24:05.585Z] nexus3.edgexfoundry.org:10004 [2022-04-25T20:24:05.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:24:05.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:24:05.846Z] Configure a credential helper to remove this warning. See [2022-04-25T20:24:05.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:24:05.846Z] [2022-04-25T20:24:05.846Z] Login Succeeded [2022-04-25T20:24:05.846Z] docker.io [2022-04-25T20:24:05.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:24:06.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:24:06.107Z] Configure a credential helper to remove this warning. See [2022-04-25T20:24:06.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:24:06.107Z] [2022-04-25T20:24:06.107Z] Login Succeeded [2022-04-25T20:24:06.107Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T20:24:06.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T20:24:06.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T20:24:06.365Z] ========================================================= [2022-04-25T20:24:06.365Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-25T20:24:06.365Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:24:06.783Z] + 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-25T20:24:06.783Z] Sending build context to Docker daemon 10.58MB [2022-04-25T20:24:06.783Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T20:24:06.783Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T20:24:06.783Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-25T20:24:06.783Z] 59bf1c3509f3: Pulling fs layer [2022-04-25T20:24:06.783Z] 666ba61612fd: Pulling fs layer [2022-04-25T20:24:06.783Z] 8ed8ca486205: Pulling fs layer [2022-04-25T20:24:06.783Z] 4fe6c5a15a65: Pulling fs layer [2022-04-25T20:24:06.783Z] 22a0e8bec74d: Pulling fs layer [2022-04-25T20:24:06.783Z] ca2b28591e48: Pulling fs layer [2022-04-25T20:24:06.783Z] a51346096db8: Pulling fs layer [2022-04-25T20:24:06.783Z] daebc70d1ce1: Pulling fs layer [2022-04-25T20:24:06.783Z] 0e18a0eac166: Pulling fs layer [2022-04-25T20:24:06.783Z] ca2b28591e48: Waiting [2022-04-25T20:24:06.783Z] daebc70d1ce1: Waiting [2022-04-25T20:24:06.783Z] 0e18a0eac166: Waiting [2022-04-25T20:24:06.783Z] a51346096db8: Waiting [2022-04-25T20:24:06.783Z] 22a0e8bec74d: Waiting [2022-04-25T20:24:06.783Z] 4fe6c5a15a65: Waiting [2022-04-25T20:24:06.783Z] 8ed8ca486205: Verifying Checksum [2022-04-25T20:24:06.783Z] 8ed8ca486205: Download complete [2022-04-25T20:24:07.044Z] 666ba61612fd: Download complete [2022-04-25T20:24:07.044Z] 22a0e8bec74d: Verifying Checksum [2022-04-25T20:24:07.044Z] 22a0e8bec74d: Download complete [2022-04-25T20:24:07.044Z] ca2b28591e48: Download complete [2022-04-25T20:24:07.044Z] 59bf1c3509f3: Verifying Checksum [2022-04-25T20:24:07.044Z] 59bf1c3509f3: Download complete [2022-04-25T20:24:07.044Z] a51346096db8: Verifying Checksum [2022-04-25T20:24:07.044Z] a51346096db8: Download complete [2022-04-25T20:24:07.044Z] daebc70d1ce1: Verifying Checksum [2022-04-25T20:24:07.044Z] daebc70d1ce1: Download complete [2022-04-25T20:24:07.044Z] 59bf1c3509f3: Pull complete [2022-04-25T20:24:07.306Z] 666ba61612fd: Pull complete [2022-04-25T20:24:07.306Z] 8ed8ca486205: Pull complete [2022-04-25T20:24:07.567Z] 0e18a0eac166: Verifying Checksum [2022-04-25T20:24:07.567Z] 0e18a0eac166: Download complete [2022-04-25T20:24:07.843Z] 4fe6c5a15a65: Verifying Checksum [2022-04-25T20:24:07.843Z] 4fe6c5a15a65: Download complete [2022-04-25T20:24:12.051Z] 4fe6c5a15a65: Pull complete [2022-04-25T20:24:12.052Z] 22a0e8bec74d: Pull complete [2022-04-25T20:24:12.052Z] ca2b28591e48: Pull complete [2022-04-25T20:24:12.052Z] a51346096db8: Pull complete [2022-04-25T20:24:12.052Z] daebc70d1ce1: Pull complete [2022-04-25T20:24:14.588Z] 0e18a0eac166: Pull complete [2022-04-25T20:24:14.588Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-25T20:24:14.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-25T20:24:14.588Z] ---> f018257e8ee9 [2022-04-25T20:24:14.588Z] Step 3/12 : ARG MAKE='make build' [2022-04-25T20:24:15.532Z] ---> Running in a6ead0282fdf [2022-04-25T20:24:15.532Z] Removing intermediate container a6ead0282fdf [2022-04-25T20:24:15.532Z] ---> 66cf9a2998bd [2022-04-25T20:24:15.532Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T20:24:15.532Z] ---> Running in d6987011a0a4 [2022-04-25T20:24:15.793Z] Removing intermediate container d6987011a0a4 [2022-04-25T20:24:15.793Z] ---> 4e4e8924fab0 [2022-04-25T20:24:15.793Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T20:24:15.793Z] ---> Running in fc1f627b4592 [2022-04-25T20:24:15.793Z] Removing intermediate container fc1f627b4592 [2022-04-25T20:24:15.793Z] ---> 07022960ba79 [2022-04-25T20:24:15.793Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T20:24:15.793Z] ---> Running in b72c2f7bbe12 [2022-04-25T20:24:16.366Z] Removing intermediate container b72c2f7bbe12 [2022-04-25T20:24:16.366Z] ---> 67ace28e78d5 [2022-04-25T20:24:16.366Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T20:24:16.366Z] ---> Running in d75e029862be [2022-04-25T20:24:16.947Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T20:24:17.519Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T20:24:18.092Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T20:24:18.092Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T20:24:18.092Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T20:24:18.092Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T20:24:18.355Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T20:24:18.355Z] OK: 224 MiB in 56 packages [2022-04-25T20:24:18.619Z] Removing intermediate container d75e029862be [2022-04-25T20:24:18.619Z] ---> 63516d766126 [2022-04-25T20:24:18.619Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-25T20:24:18.879Z] ---> Running in 45be28acca5f [2022-04-25T20:24:18.879Z] Removing intermediate container 45be28acca5f [2022-04-25T20:24:18.879Z] ---> be52a6a2eb78 [2022-04-25T20:24:18.879Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-25T20:24:18.879Z] ---> e4e921997ada [2022-04-25T20:24:18.879Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T20:24:19.142Z] ---> Running in 8a29ae2875c4 [2022-04-25T20:24:19.772Z] Still waiting to schedule task [2022-04-25T20:24:19.773Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-25T20:24:34.064Z] Removing intermediate container 8a29ae2875c4 [2022-04-25T20:24:34.064Z] ---> 422e8730abdc [2022-04-25T20:24:34.064Z] Step 11/12 : COPY . . [2022-04-25T20:24:34.064Z] ---> 69c9c6bdfa98 [2022-04-25T20:24:34.064Z] Step 12/12 : RUN $MAKE [2022-04-25T20:24:34.064Z] ---> Running in d68af93250c2 [2022-04-25T20:24:34.637Z] noop [2022-04-25T20:24:34.637Z] Removing intermediate container d68af93250c2 [2022-04-25T20:24:34.637Z] ---> 22debf089228 [2022-04-25T20:24:34.637Z] Successfully built 22debf089228 [2022-04-25T20:24:34.637Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:24:34.972Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T20:24:34.972Z] . [Pipeline] withDockerContainer [2022-04-25T20:24:35.064Z] prd-ubuntu20.04-docker-8c-8g-22892 does not seem to be running inside a container [2022-04-25T20:24:35.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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-25T20:24:35.476Z] $ docker top 0fac6a6103c023e6643c25163b764ef3bc528b55441af7e551a707d52fd145d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T20:24:35.888Z] + go version [2022-04-25T20:24:35.888Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-25T20:24:35.933Z] $ docker stop --time=1 0fac6a6103c023e6643c25163b764ef3bc528b55441af7e551a707d52fd145d1 [2022-04-25T20:24:37.261Z] $ docker rm -f 0fac6a6103c023e6643c25163b764ef3bc528b55441af7e551a707d52fd145d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:24:37.913Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T20:24:37.913Z] . [Pipeline] withDockerContainer [2022-04-25T20:24:38.023Z] prd-ubuntu20.04-docker-8c-8g-22892 does not seem to be running inside a container [2022-04-25T20:24:38.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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-25T20:24:38.532Z] $ docker top 76db1b78844d83ccaed7c071077b1d918804abe628a05dd2474e6140dc8c8100 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T20:24:38.997Z] + make test [2022-04-25T20:24:38.997Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-25T20:24:39.259Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-25T20:24:49.250Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-25T20:24:49.250Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-04-25T20:24:54.538Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T20:24:58.740Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T20:24:58.740Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T20:24:58.740Z] ./bin/test-attribution-txt.sh [2022-04-25T20:24:58.740Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-25T20:24:58.740Z] make: *** [Makefile:46: test] Error 1 [Pipeline] } [2022-04-25T20:24:58.789Z] $ docker stop --time=1 76db1b78844d83ccaed7c071077b1d918804abe628a05dd2474e6140dc8c8100 [2022-04-25T20:25:00.529Z] $ docker rm -f 76db1b78844d83ccaed7c071077b1d918804abe628a05dd2474e6140dc8c8100 [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-25T20:25:01.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T20:25:01.632Z] [2022-04-25T20:25:01.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:25:01.963Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T20:25:01.963Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-25T20:25:01.963Z] 5eb5b503b376: Pulling fs layer [2022-04-25T20:25:01.963Z] 5c69ac0246d0: Pulling fs layer [2022-04-25T20:25:01.963Z] ec43610c2a17: Pulling fs layer [2022-04-25T20:25:01.963Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-25T20:25:01.963Z] 33b1e0a273af: Pulling fs layer [2022-04-25T20:25:01.963Z] 5d3b04190fa2: Pulling fs layer [2022-04-25T20:25:01.963Z] 2f39f015ded8: Pulling fs layer [2022-04-25T20:25:01.963Z] 3a2ae6a8a46f: Waiting [2022-04-25T20:25:01.963Z] 33b1e0a273af: Waiting [2022-04-25T20:25:01.963Z] 5d3b04190fa2: Waiting [2022-04-25T20:25:01.963Z] 2f39f015ded8: Waiting [2022-04-25T20:25:01.963Z] 5c69ac0246d0: Verifying Checksum [2022-04-25T20:25:01.963Z] 5c69ac0246d0: Download complete [2022-04-25T20:25:01.963Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-25T20:25:01.963Z] 3a2ae6a8a46f: Download complete [2022-04-25T20:25:01.963Z] 33b1e0a273af: Verifying Checksum [2022-04-25T20:25:01.963Z] 33b1e0a273af: Download complete [2022-04-25T20:25:01.963Z] ec43610c2a17: Verifying Checksum [2022-04-25T20:25:01.963Z] ec43610c2a17: Download complete [2022-04-25T20:25:01.963Z] 5d3b04190fa2: Verifying Checksum [2022-04-25T20:25:01.963Z] 5d3b04190fa2: Download complete [2022-04-25T20:25:02.223Z] 5eb5b503b376: Verifying Checksum [2022-04-25T20:25:02.223Z] 5eb5b503b376: Download complete [2022-04-25T20:25:02.793Z] 2f39f015ded8: Download complete [2022-04-25T20:25:03.731Z] 5eb5b503b376: Pull complete [2022-04-25T20:25:03.731Z] 5c69ac0246d0: Pull complete [2022-04-25T20:25:03.990Z] ec43610c2a17: Pull complete [2022-04-25T20:25:04.250Z] 3a2ae6a8a46f: Pull complete [2022-04-25T20:25:04.250Z] 33b1e0a273af: Pull complete [2022-04-25T20:25:04.508Z] 5d3b04190fa2: Pull complete [2022-04-25T20:25:08.707Z] 2f39f015ded8: Pull complete [2022-04-25T20:25:08.707Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-25T20:25:08.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T20:25:08.707Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-25T20:25:08.794Z] prd-ubuntu20.04-docker-8c-8g-22892 does not seem to be running inside a container [2022-04-25T20:25:08.850Z] $ 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-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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-25T20:25:10.440Z] $ docker top 8375706e8be1de3d39b0c5ed0928437a185aea1bece413f1e626531b470ad26f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:25:10.917Z] ---> job-cost.sh [2022-04-25T20:25:10.917Z] lf-activate-venv: SKIPPING [2022-04-25T20:25:10.917Z] INFO: No Stack... [2022-04-25T20:25:11.178Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T20:25:11.745Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T20:25:12.061Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-179/archives/cost.csv [2022-04-25T20:25:12.062Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T20:25:12.099Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] [2022-04-25T20:25:12.103Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] did not exist. Created. [2022-04-25T20:25:12.104Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T20:25:12.494Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-25T20:25:12.553Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T20:25:12.570Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T20:25:12.653Z] $ docker stop --time=1 8375706e8be1de3d39b0c5ed0928437a185aea1bece413f1e626531b470ad26f [2022-04-25T20:25:13.815Z] $ docker rm -f 8375706e8be1de3d39b0c5ed0928437a185aea1bece413f1e626531b470ad26f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T20:25:14.135Z] Failed in branch amd64 [2022-04-25T20:45:09.073Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23514 in /w/workspace/gexfoundry_device-rest-go_PR-179 [Pipeline] { [Pipeline] ws [2022-04-25T20:45:09.115Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-04-25T20:45:09.708Z] The recommended git tool is: git [2022-04-25T20:45:19.758Z] using credential edgex-jenkins-ssh [2022-04-25T20:45:19.782Z] Cloning the remote Git repository [2022-04-25T20:45:19.867Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-25T20:45:19.981Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-04-25T20:45:20.106Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-25T20:45:20.108Z] > git --version # timeout=10 [2022-04-25T20:45:20.136Z] > git --version # 'git version 2.25.1' [2022-04-25T20:45:20.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T20:45:20.236Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T20:45:23.131Z] Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit f17a959956fc561d4771619dc1a45ddee013e59e [2022-04-25T20:45:23.444Z] Merge succeeded, producing f17a959956fc561d4771619dc1a45ddee013e59e [2022-04-25T20:45:23.444Z] Checking out Revision f17a959956fc561d4771619dc1a45ddee013e59e (PR-179) [2022-04-25T20:45:22.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-25T20:45:22.425Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T20:45:22.469Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-25T20:45:22.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-25T20:45:22.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T20:45:22.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-25T20:45:23.161Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T20:45:23.187Z] > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 [2022-04-25T20:45:23.305Z] > git remote # timeout=10 [2022-04-25T20:45:23.347Z] > git config --get remote.origin.url # timeout=10 [2022-04-25T20:45:23.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T20:45:23.392Z] > git merge 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 [2022-04-25T20:45:23.427Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-25T20:45:23.462Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T20:45:23.486Z] > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 [2022-04-25T20:45:28.059Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-25T20:45:28.156Z] > git --version # timeout=10 [2022-04-25T20:45:28.170Z] > git --version # 'git version 2.25.1' [2022-04-25T20:45:28.196Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T20:45:29.294Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-25T20:45:29.294Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T20:45:29.294Z] Dload Upload Total Spent Left Speed [2022-04-25T20:45:29.294Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2022-04-25T20:45:29.871Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-25T20:45:30.237Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-25T20:45:30.237Z] + sudo tee /etc/docker/daemon.new [2022-04-25T20:45:30.237Z] { [2022-04-25T20:45:30.237Z] "registry-mirrors": [ [2022-04-25T20:45:30.237Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-25T20:45:30.237Z] ], [2022-04-25T20:45:30.237Z] "bip": "10.250.0.254/24", [2022-04-25T20:45:30.237Z] "hosts": [ [2022-04-25T20:45:30.237Z] "tcp://0.0.0.0:5555", [2022-04-25T20:45:30.237Z] "unix:///var/run/docker.sock" [2022-04-25T20:45:30.237Z] ], [2022-04-25T20:45:30.237Z] "mtu": 1458, [2022-04-25T20:45:30.237Z] "selinux-enabled": true, [2022-04-25T20:45:30.237Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-25T20:45:30.237Z] } [Pipeline] sh [2022-04-25T20:45:30.610Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-25T20:45:30.991Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T20:45:49.468Z] provisioning config files... [2022-04-25T20:45:49.546Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8175554348615726225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:45:50.180Z] ---> docker-login.sh [2022-04-25T20:45:50.180Z] nexus3.edgexfoundry.org:10001 [2022-04-25T20:45:51.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:45:51.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:45:51.942Z] Configure a credential helper to remove this warning. See [2022-04-25T20:45:51.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:45:51.942Z] [2022-04-25T20:45:51.942Z] Login Succeeded [2022-04-25T20:45:51.942Z] nexus3.edgexfoundry.org:10002 [2022-04-25T20:45:52.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:45:52.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:45:52.524Z] Configure a credential helper to remove this warning. See [2022-04-25T20:45:52.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:45:52.524Z] [2022-04-25T20:45:52.524Z] Login Succeeded [2022-04-25T20:45:52.524Z] nexus3.edgexfoundry.org:10003 [2022-04-25T20:45:53.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:45:53.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:45:53.142Z] Configure a credential helper to remove this warning. See [2022-04-25T20:45:53.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:45:53.142Z] [2022-04-25T20:45:53.142Z] Login Succeeded [2022-04-25T20:45:53.142Z] nexus3.edgexfoundry.org:10004 [2022-04-25T20:45:53.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:45:54.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:45:54.045Z] Configure a credential helper to remove this warning. See [2022-04-25T20:45:54.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:45:54.045Z] [2022-04-25T20:45:54.045Z] Login Succeeded [2022-04-25T20:45:54.045Z] docker.io [2022-04-25T20:45:54.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T20:45:54.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T20:45:54.936Z] Configure a credential helper to remove this warning. See [2022-04-25T20:45:54.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T20:45:54.936Z] [2022-04-25T20:45:54.936Z] Login Succeeded [2022-04-25T20:45:54.936Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T20:45:54.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T20:45:55.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T20:45:55.530Z] ========================================================= [2022-04-25T20:45:55.530Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-25T20:45:55.530Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:45:56.007Z] + 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-25T20:45:56.007Z] Sending build context to Docker daemon 129.5kB [2022-04-25T20:45:56.629Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T20:45:56.629Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T20:45:56.629Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-25T20:45:56.629Z] 9b3977197b4f: Pulling fs layer [2022-04-25T20:45:56.629Z] 1a89e8eeedd5: Pulling fs layer [2022-04-25T20:45:56.629Z] 94645a83ff95: Pulling fs layer [2022-04-25T20:45:56.629Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-25T20:45:56.629Z] 0c92f367c5e7: Pulling fs layer [2022-04-25T20:45:56.629Z] 3096ccb668a1: Pulling fs layer [2022-04-25T20:45:56.629Z] e8cf19c19ddd: Pulling fs layer [2022-04-25T20:45:56.629Z] a4caa8a26152: Pulling fs layer [2022-04-25T20:45:56.629Z] 3f3a8bcf1eab: Waiting [2022-04-25T20:45:56.629Z] 0c92f367c5e7: Waiting [2022-04-25T20:45:56.629Z] 3096ccb668a1: Waiting [2022-04-25T20:45:56.629Z] e8cf19c19ddd: Waiting [2022-04-25T20:45:56.629Z] a4caa8a26152: Waiting [2022-04-25T20:45:56.629Z] 94645a83ff95: Verifying Checksum [2022-04-25T20:45:56.629Z] 94645a83ff95: Download complete [2022-04-25T20:45:56.629Z] 1a89e8eeedd5: Verifying Checksum [2022-04-25T20:45:56.629Z] 1a89e8eeedd5: Download complete [2022-04-25T20:45:56.914Z] 0c92f367c5e7: Verifying Checksum [2022-04-25T20:45:56.914Z] 0c92f367c5e7: Download complete [2022-04-25T20:45:56.914Z] 3096ccb668a1: Verifying Checksum [2022-04-25T20:45:56.914Z] 3096ccb668a1: Download complete [2022-04-25T20:45:56.914Z] e8cf19c19ddd: Verifying Checksum [2022-04-25T20:45:56.914Z] e8cf19c19ddd: Download complete [2022-04-25T20:45:56.914Z] 9b3977197b4f: Download complete [2022-04-25T20:45:57.947Z] 9b3977197b4f: Pull complete [2022-04-25T20:45:58.564Z] 1a89e8eeedd5: Pull complete [2022-04-25T20:45:58.846Z] 94645a83ff95: Pull complete [2022-04-25T20:45:59.459Z] a4caa8a26152: Verifying Checksum [2022-04-25T20:45:59.459Z] a4caa8a26152: Download complete [2022-04-25T20:46:00.067Z] 3f3a8bcf1eab: Download complete [2022-04-25T20:46:15.244Z] 3f3a8bcf1eab: Pull complete [2022-04-25T20:46:15.244Z] 0c92f367c5e7: Pull complete [2022-04-25T20:46:15.244Z] 3096ccb668a1: Pull complete [2022-04-25T20:46:15.522Z] e8cf19c19ddd: Pull complete [2022-04-25T20:46:23.886Z] a4caa8a26152: Pull complete [2022-04-25T20:46:23.886Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-25T20:46:23.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-25T20:46:23.886Z] ---> 725f1c02e7f9 [2022-04-25T20:46:23.886Z] Step 3/12 : ARG MAKE='make build' [2022-04-25T20:46:24.885Z] ---> Running in 533cb8a47904 [2022-04-25T20:46:25.166Z] Removing intermediate container 533cb8a47904 [2022-04-25T20:46:25.166Z] ---> 453e3039b582 [2022-04-25T20:46:25.166Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T20:46:25.166Z] ---> Running in afc1dd28f1e2 [2022-04-25T20:46:25.775Z] Removing intermediate container afc1dd28f1e2 [2022-04-25T20:46:25.775Z] ---> 44c7a8f05d0b [2022-04-25T20:46:25.775Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T20:46:25.775Z] ---> Running in 2fbb80d70041 [2022-04-25T20:46:26.053Z] Removing intermediate container 2fbb80d70041 [2022-04-25T20:46:26.053Z] ---> ba54fbc07a48 [2022-04-25T20:46:26.053Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T20:46:26.338Z] ---> Running in 8640da6a6cd5 [2022-04-25T20:46:28.348Z] Removing intermediate container 8640da6a6cd5 [2022-04-25T20:46:28.348Z] ---> 35f836d252d5 [2022-04-25T20:46:28.348Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T20:46:28.348Z] ---> Running in c02d3f1529e2 [2022-04-25T20:46:29.797Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T20:46:30.402Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T20:46:31.839Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T20:46:32.440Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T20:46:32.440Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T20:46:32.716Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T20:46:32.716Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T20:46:32.993Z] OK: 224 MiB in 56 packages [2022-04-25T20:46:33.992Z] Removing intermediate container c02d3f1529e2 [2022-04-25T20:46:33.992Z] ---> f70fcd27eb3e [2022-04-25T20:46:33.992Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-25T20:46:33.992Z] ---> Running in 0f4e2d0e4a23 [2022-04-25T20:46:34.488Z] Removing intermediate container 0f4e2d0e4a23 [2022-04-25T20:46:34.488Z] ---> aab397e4692e [2022-04-25T20:46:34.488Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-25T20:46:34.767Z] ---> 0164c44f130e [2022-04-25T20:46:34.767Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T20:46:35.048Z] ---> Running in a28f01db996d [2022-04-25T20:47:31.688Z] Removing intermediate container a28f01db996d [2022-04-25T20:47:31.688Z] ---> d49446e6b99a [2022-04-25T20:47:31.688Z] Step 11/12 : COPY . . [2022-04-25T20:47:31.688Z] ---> da65b5887631 [2022-04-25T20:47:31.688Z] Step 12/12 : RUN $MAKE [2022-04-25T20:47:31.688Z] ---> Running in ca830996895b [2022-04-25T20:47:31.688Z] noop [2022-04-25T20:47:31.689Z] Removing intermediate container ca830996895b [2022-04-25T20:47:31.689Z] ---> 7fb72141cc20 [2022-04-25T20:47:31.689Z] Successfully built 7fb72141cc20 [2022-04-25T20:47:31.689Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:47:32.077Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T20:47:32.077Z] . [Pipeline] withDockerContainer [2022-04-25T20:47:32.361Z] prd-ubuntu20.04-docker-arm64-4c-16g-23514 does not seem to be running inside a container [2022-04-25T20:47:32.465Z] $ 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-04-25T20:47:33.995Z] $ docker top d8dd4d1baa14bca9aa3c90ad111e70846408e8f5b2ff1defb51779aca944c282 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T20:47:35.056Z] + go version [2022-04-25T20:47:35.056Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-25T20:47:35.096Z] $ docker stop --time=1 d8dd4d1baa14bca9aa3c90ad111e70846408e8f5b2ff1defb51779aca944c282 [2022-04-25T20:47:36.813Z] $ docker rm -f d8dd4d1baa14bca9aa3c90ad111e70846408e8f5b2ff1defb51779aca944c282 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:47:37.734Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T20:47:37.734Z] . [Pipeline] withDockerContainer [2022-04-25T20:47:38.026Z] prd-ubuntu20.04-docker-arm64-4c-16g-23514 does not seem to be running inside a container [2022-04-25T20:47:38.125Z] $ 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-04-25T20:47:39.645Z] $ docker top 9e336c9a699fb527bb66902bdb9b2bc6264555acbc97e413fb6c189901a2b6c8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T20:47:40.701Z] + make test [2022-04-25T20:47:40.701Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-25T20:47:42.711Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-25T20:49:19.615Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-25T20:49:19.615Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 55.2% of statements [2022-04-25T20:49:19.615Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-25T20:49:19.615Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T20:49:41.859Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T20:49:41.859Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T20:49:41.859Z] ./bin/test-attribution-txt.sh [2022-04-25T20:49:44.473Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-25T20:49:44.747Z] make: *** [Makefile:46: test] Error 1 [Pipeline] } [2022-04-25T20:49:44.794Z] $ docker stop --time=1 9e336c9a699fb527bb66902bdb9b2bc6264555acbc97e413fb6c189901a2b6c8 [2022-04-25T20:49:46.659Z] $ docker rm -f 9e336c9a699fb527bb66902bdb9b2bc6264555acbc97e413fb6c189901a2b6c8 [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-25T20:49:48.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T20:49:48.267Z] [2022-04-25T20:49:48.267Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:49:48.655Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T20:49:48.934Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-25T20:49:48.934Z] 8998bd30e6a1: Pulling fs layer [2022-04-25T20:49:48.934Z] 04944245beec: Pulling fs layer [2022-04-25T20:49:48.934Z] 699f458cf7ca: Pulling fs layer [2022-04-25T20:49:48.934Z] 765212b225bb: Pulling fs layer [2022-04-25T20:49:48.934Z] f23df028b6ca: Pulling fs layer [2022-04-25T20:49:48.934Z] d65c8cfc05b1: Pulling fs layer [2022-04-25T20:49:48.934Z] 2437ff75d9bd: Pulling fs layer [2022-04-25T20:49:48.934Z] d65c8cfc05b1: Waiting [2022-04-25T20:49:48.934Z] 2437ff75d9bd: Waiting [2022-04-25T20:49:48.934Z] f23df028b6ca: Waiting [2022-04-25T20:49:48.934Z] 765212b225bb: Waiting [2022-04-25T20:49:48.934Z] 04944245beec: Download complete [2022-04-25T20:49:48.934Z] 765212b225bb: Download complete [2022-04-25T20:49:49.215Z] f23df028b6ca: Download complete [2022-04-25T20:49:49.215Z] d65c8cfc05b1: Download complete [2022-04-25T20:49:49.215Z] 699f458cf7ca: Verifying Checksum [2022-04-25T20:49:49.215Z] 699f458cf7ca: Download complete [2022-04-25T20:49:49.489Z] 8998bd30e6a1: Download complete [2022-04-25T20:49:52.123Z] 2437ff75d9bd: Verifying Checksum [2022-04-25T20:49:52.123Z] 2437ff75d9bd: Download complete [2022-04-25T20:49:54.106Z] 8998bd30e6a1: Pull complete [2022-04-25T20:49:54.387Z] 04944245beec: Pull complete [2022-04-25T20:49:55.820Z] 699f458cf7ca: Pull complete [2022-04-25T20:49:56.093Z] 765212b225bb: Pull complete [2022-04-25T20:49:56.689Z] f23df028b6ca: Pull complete [2022-04-25T20:49:56.962Z] d65c8cfc05b1: Pull complete [2022-04-25T20:50:12.082Z] 2437ff75d9bd: Pull complete [2022-04-25T20:50:12.082Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-25T20:50:12.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T20:50:12.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-25T20:50:12.337Z] prd-ubuntu20.04-docker-arm64-4c-16g-23514 does not seem to be running inside a container [2022-04-25T20:50:12.442Z] $ 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-04-25T20:50:15.298Z] $ docker top cc997265999265e8ea5061e84f778a5126e766b5e851d00a20fdb2744eef9ffb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:50:16.307Z] ---> job-cost.sh [2022-04-25T20:50:16.308Z] lf-activate-venv: SKIPPING [2022-04-25T20:50:16.308Z] INFO: No Stack... [2022-04-25T20:50:16.585Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-25T20:50:17.570Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T20:50:18.275Z] + + cut -d, -f6 [2022-04-25T20:50:18.275Z] cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-04-25T20:50:18.370Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] [2022-04-25T20:50:18.374Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] did not exist. Created. [2022-04-25T20:50:18.374Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T20:50:19.124Z] /w/workspace/device-rest-go/1@tmp/durable-75640b35/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-25T20:50:19.829Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-25T20:50:19.865Z] Warning: overwriting stash ‘stack-cost’ [2022-04-25T20:50:20.387Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T20:50:20.403Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T20:50:20.482Z] $ docker stop --time=1 cc997265999265e8ea5061e84f778a5126e766b5e851d00a20fdb2744eef9ffb [2022-04-25T20:50:22.001Z] $ docker rm -f cc997265999265e8ea5061e84f778a5126e766b5e851d00a20fdb2744eef9ffb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T20:50:22.760Z] 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-25T20:50:24.675Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-179/archives ] [2022-04-25T20:50:24.675Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-179/archives [2022-04-25T20:50:24.675Z] total 16 [2022-04-25T20:50:24.675Z] drwxr-xr-x 3 root root 4096 Apr 25 20:25 . [2022-04-25T20:50:24.675Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 20:25 .. [2022-04-25T20:50:24.675Z] drwxr-xr-x 2 root root 4096 Apr 25 20:25 cost [2022-04-25T20:50:24.675Z] -rw-r--r-- 1 root root 85 Apr 25 20:25 cost.csv [2022-04-25T20:50:24.675Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-179/archives [2022-04-25T20:50:24.675Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-179/archives [2022-04-25T20:50:24.675Z] total 16 [2022-04-25T20:50:24.675Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 20:25 . [2022-04-25T20:50:24.675Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 20:25 .. [2022-04-25T20:50:24.675Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 20:25 cost [2022-04-25T20:50:24.675Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 25 20:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:50:25.013Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:50:25.910Z] ---> package-listing.sh [2022-04-25T20:50:25.910Z] ++ facter osfamily [2022-04-25T20:50:25.910Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-25T20:50:26.171Z] + OS_FAMILY=debian [2022-04-25T20:50:26.171Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-179 [2022-04-25T20:50:26.171Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-25T20:50:26.171Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-25T20:50:26.171Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-25T20:50:26.171Z] + PACKAGES=/tmp/packages_start.txt [2022-04-25T20:50:26.171Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-179 ']' [2022-04-25T20:50:26.171Z] + PACKAGES=/tmp/packages_end.txt [2022-04-25T20:50:26.171Z] + case "${OS_FAMILY}" in [2022-04-25T20:50:26.171Z] + dpkg -l [2022-04-25T20:50:26.171Z] + grep '^ii' [2022-04-25T20:50:26.171Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-25T20:50:26.171Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-25T20:50:26.171Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-25T20:50:26.171Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-179 ']' [2022-04-25T20:50:26.171Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-179/archives/ [2022-04-25T20:50:26.171Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-179/archives/ [Pipeline] echo [2022-04-25T20:50:26.206Z] 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-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-25T20:50:26.506Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-25T20:50:27.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T20:50:27.090Z] . [Pipeline] withDockerContainer [2022-04-25T20:50:27.186Z] prd-ubuntu20.04-docker-8c-8g-22892 does not seem to be running inside a container [2022-04-25T20:50:27.236Z] $ 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-179/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-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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-25T20:50:27.468Z] $ docker top 92ef54adcf0de3b62d757cd54c0e51a923e69e65dbf981630a1f6ecf47c43a2c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T20:50:27.851Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-25T20:50:28.239Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-25T20:50:28.545Z] + ls /var/log/sa-host [2022-04-25T20:50:28.545Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T20:50:28.704Z] provisioning config files... [2022-04-25T20:50:28.713Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config3388088169936965805tmp [Pipeline] { [Pipeline] echo [2022-04-25T20:50:28.765Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:50:29.077Z] ---> create-netrc.sh [Pipeline] } [2022-04-25T20:50:29.103Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:50:29.508Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-25T20:50:29.542Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:50:29.858Z] ---> sudo-logs.sh [2022-04-25T20:50:29.858Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-25T20:50:29.944Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:50:30.267Z] ---> job-cost.sh [2022-04-25T20:50:30.267Z] lf-activate-venv: SKIPPING [2022-04-25T20:50:30.267Z] DEBUG: total: 0.2199999988079071 [2022-04-25T20:50:30.267Z] INFO: Retrieving Stack Cost... [2022-04-25T20:50:30.838Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T20:50:31.100Z] INFO: Archiving Costs [Pipeline] echo [2022-04-25T20:50:31.140Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T20:50:31.462Z] ---> logs-deploy.sh [2022-04-25T20:50:31.462Z] lf-activate-venv: SKIPPING [2022-04-25T20:50:31.462Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-179/1 [2022-04-25T20:50:31.462Z] INFO: archiving workspace using pattern(s): [2022-04-25T20:50:32.405Z] Archives upload complete. [2022-04-25T20:50:32.405Z] INFO: archiving logs to Nexus