Pull request #222 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 902eff6e3bf3907c0b7d951246858f337eb277ae+626f6c6d709bfdfff0bd38f00197e38acd6ec0eb (f64e4f1c85b5904161cdb6806e8e508003e71b5d) 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-ssh13221145984749760738.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh7062401292519956103.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4025833154828873450.key Verifying host key using known hosts file > 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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12802939076327462561.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 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-ssh104557494937195766.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17076947993118130759.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [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-65512 in /w/workspace/gexfoundry_device-rest-go_PR-222 [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-222 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb into PR head commit 902eff6e3bf3907c0b7d951246858f337eb277ae Merge succeeded, producing 902eff6e3bf3907c0b7d951246858f337eb277ae Checking out Revision 902eff6e3bf3907c0b7d951246858f337eb277ae (PR-222) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902eff6e3bf3907c0b7d951246858f337eb277ae # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902eff6e3bf3907c0b7d951246858f337eb277ae # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T01:39:55.351Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T01:39:55.544Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T01:39:55.643Z] ========================================================= [2022-10-25T01:39:55.643Z] EdgeX Global Pipelines Version Info [2022-10-25T01:39:55.643Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:39:56.412Z] ------------------- [2022-10-25T01:39:56.412Z] stable info: [2022-10-25T01:39:56.412Z] ------------------- [2022-10-25T01:39:56.412Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T01:39:56.412Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T01:39:56.412Z] Message: update stable to v1.0.243 [2022-10-25T01:39:56.996Z] ------------------- [2022-10-25T01:39:56.996Z] experimental info: [2022-10-25T01:39:56.996Z] ------------------- [2022-10-25T01:39:56.996Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T01:39:56.996Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T01:39:56.996Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T01:39:57.320Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-25T01:39:57.366Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-25T01:39:57.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T01:39:57.447Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T01:39:57.487Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T01:39:57.526Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T01:39:57.570Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T01:39:57.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T01:39:57.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T01:39:57.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T01:39:57.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T01:39:57.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-25T01:39:57.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T01:39:57.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T01:39:57.877Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T01:39:57.910Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T01:39:57.946Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T01:39:57.981Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T01:39:58.021Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T01:39:58.055Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T01:39:58.094Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T01:39:58.133Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T01:39:58.172Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T01:39:58.213Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T01:39:58.252Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T01:39:58.291Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T01:39:58.332Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T01:39:58.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo [2022-10-25T01:39:58.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo [2022-10-25T01:39:58.444Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo [2022-10-25T01:39:58.482Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 902eff6e3bf3907c0b7d951246858f337eb277ae [Pipeline] echo [2022-10-25T01:39:58.520Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 902eff6 [Pipeline] echo [2022-10-25T01:39:58.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T01:39:58.660Z] provisioning config files... [2022-10-25T01:39:58.688Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config5272515968274526736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:39:59.028Z] ---> docker-login.sh [2022-10-25T01:39:59.029Z] nexus3.edgexfoundry.org:10001 [2022-10-25T01:39:59.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:39:59.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:39:59.549Z] Configure a credential helper to remove this warning. See [2022-10-25T01:39:59.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:39:59.549Z] [2022-10-25T01:39:59.549Z] Login Succeeded [2022-10-25T01:39:59.549Z] nexus3.edgexfoundry.org:10002 [2022-10-25T01:39:59.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:39:59.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:39:59.549Z] Configure a credential helper to remove this warning. See [2022-10-25T01:39:59.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:39:59.549Z] [2022-10-25T01:39:59.549Z] Login Succeeded [2022-10-25T01:39:59.549Z] nexus3.edgexfoundry.org:10003 [2022-10-25T01:39:59.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:39:59.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:39:59.808Z] Configure a credential helper to remove this warning. See [2022-10-25T01:39:59.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:39:59.808Z] [2022-10-25T01:39:59.808Z] Login Succeeded [2022-10-25T01:39:59.808Z] nexus3.edgexfoundry.org:10004 [2022-10-25T01:39:59.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:39:59.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:39:59.808Z] Configure a credential helper to remove this warning. See [2022-10-25T01:39:59.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:39:59.808Z] [2022-10-25T01:39:59.808Z] Login Succeeded [2022-10-25T01:39:59.808Z] docker.io [2022-10-25T01:40:00.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:40:00.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:40:00.330Z] Configure a credential helper to remove this warning. See [2022-10-25T01:40:00.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:40:00.330Z] [2022-10-25T01:40:00.330Z] Login Succeeded [2022-10-25T01:40:00.330Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T01:40:00.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T01:40:00.953Z] + git rev-list -1 --merges 902eff6e3bf3907c0b7d951246858f337eb277ae~1..902eff6e3bf3907c0b7d951246858f337eb277ae [Pipeline] echo [2022-10-25T01:40:01.004Z] -----------> git rev-list -1 --merges 902eff6e3bf3907c0b7d951246858f337eb277ae~1..902eff6e3bf3907c0b7d951246858f337eb277ae 902eff6e3bf3907c0b7d951246858f337eb277ae [false] [Pipeline] sh [2022-10-25T01:40:01.329Z] + git log --format=format:%s -1 902eff6e3bf3907c0b7d951246858f337eb277ae [Pipeline] echo [2022-10-25T01:40:01.370Z] ========================================================= [2022-10-25T01:40:01.370Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T01:40:01.370Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T01:40:01.807Z] + git log --format=format:%s -1 902eff6e3bf3907c0b7d951246858f337eb277ae [Pipeline] echo [2022-10-25T01:40:01.842Z] [semverPrep] GIT_COMMIT: 902eff6e3bf3907c0b7d951246858f337eb277ae, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-25T01:40:01.872Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T01:40:02.332Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T01:40:02.332Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T01:40:02.332Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T01:40:02.332Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T01:40:02.332Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T01:40:02.332Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T01:40:02.332Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:40:02.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T01:40:02.828Z] [2022-10-25T01:40:02.828Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:40:03.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T01:40:03.210Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T01:40:03.210Z] b85a868b505f: Pulling fs layer [2022-10-25T01:40:03.210Z] e2be974225ed: Pulling fs layer [2022-10-25T01:40:03.210Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T01:40:03.210Z] 988bab9f4d93: Pulling fs layer [2022-10-25T01:40:03.210Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T01:40:03.210Z] eaf3925da568: Pulling fs layer [2022-10-25T01:40:03.210Z] bab4dde63d76: Pulling fs layer [2022-10-25T01:40:03.210Z] bde34c3a00c8: Pulling fs layer [2022-10-25T01:40:03.210Z] b352a97aabf1: Pulling fs layer [2022-10-25T01:40:03.210Z] 4872d77fe225: Pulling fs layer [2022-10-25T01:40:03.210Z] 5851b861e8e6: Pulling fs layer [2022-10-25T01:40:03.210Z] 988bab9f4d93: Waiting [2022-10-25T01:40:03.210Z] 1469e6f7b9e6: Waiting [2022-10-25T01:40:03.210Z] eaf3925da568: Waiting [2022-10-25T01:40:03.210Z] bab4dde63d76: Waiting [2022-10-25T01:40:03.210Z] bde34c3a00c8: Waiting [2022-10-25T01:40:03.210Z] b352a97aabf1: Waiting [2022-10-25T01:40:03.210Z] 4872d77fe225: Waiting [2022-10-25T01:40:03.210Z] 5851b861e8e6: Waiting [2022-10-25T01:40:03.210Z] e2be974225ed: Verifying Checksum [2022-10-25T01:40:03.210Z] e2be974225ed: Download complete [2022-10-25T01:40:03.210Z] 988bab9f4d93: Verifying Checksum [2022-10-25T01:40:03.210Z] 988bab9f4d93: Download complete [2022-10-25T01:40:03.474Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T01:40:03.474Z] 1469e6f7b9e6: Download complete [2022-10-25T01:40:03.474Z] eaf3925da568: Verifying Checksum [2022-10-25T01:40:03.474Z] eaf3925da568: Download complete [2022-10-25T01:40:03.474Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T01:40:03.474Z] 339a4e72a1f5: Download complete [2022-10-25T01:40:03.474Z] bde34c3a00c8: Download complete [2022-10-25T01:40:03.474Z] b352a97aabf1: Download complete [2022-10-25T01:40:03.474Z] 4872d77fe225: Download complete [2022-10-25T01:40:03.474Z] 5851b861e8e6: Verifying Checksum [2022-10-25T01:40:03.474Z] 5851b861e8e6: Download complete [2022-10-25T01:40:03.474Z] b85a868b505f: Verifying Checksum [2022-10-25T01:40:03.474Z] b85a868b505f: Download complete [2022-10-25T01:40:03.735Z] bab4dde63d76: Verifying Checksum [2022-10-25T01:40:03.735Z] bab4dde63d76: Download complete [2022-10-25T01:40:04.670Z] b85a868b505f: Pull complete [2022-10-25T01:40:04.929Z] e2be974225ed: Pull complete [2022-10-25T01:40:05.498Z] 339a4e72a1f5: Pull complete [2022-10-25T01:40:05.498Z] 988bab9f4d93: Pull complete [2022-10-25T01:40:05.758Z] 1469e6f7b9e6: Pull complete [2022-10-25T01:40:05.758Z] eaf3925da568: Pull complete [2022-10-25T01:40:07.662Z] bab4dde63d76: Pull complete [2022-10-25T01:40:07.662Z] bde34c3a00c8: Pull complete [2022-10-25T01:40:07.662Z] b352a97aabf1: Pull complete [2022-10-25T01:40:07.663Z] 4872d77fe225: Pull complete [2022-10-25T01:40:07.927Z] 5851b861e8e6: Pull complete [2022-10-25T01:40:07.927Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T01:40:07.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T01:40:07.927Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:40:08.160Z] prd-ubuntu20.04-docker-8c-8g-65512 does not seem to be running inside a container [2022-10-25T01:40:08.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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-devops/py-git-semver:0.1.4 cat [2022-10-25T01:40:09.641Z] $ docker top b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 -eo pid,comm [2022-10-25T01:40:09.698Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-25T01:40:09.698Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T01:40:09.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T01:40:09.821Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T01:40:09.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T01:40:09.947Z] $ docker exec b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 ssh-agent [2022-10-25T01:40:10.055Z] SSH_AUTH_SOCK=/tmp/ssh-0ltdGyzknd5m/agent.33 [2022-10-25T01:40:10.055Z] SSH_AGENT_PID=39 [2022-10-25T01:40:10.062Z] Running ssh-add (command line suppressed) [2022-10-25T01:40:10.159Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_18268394680100375569.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_18268394680100375569.key) [2022-10-25T01:40:10.168Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T01:40:10.497Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T01:40:10.524Z] $ docker exec --env ******** --env ******** b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 ssh-agent -k [2022-10-25T01:40:10.626Z] unset SSH_AUTH_SOCK; [2022-10-25T01:40:10.626Z] unset SSH_AGENT_PID; [2022-10-25T01:40:10.626Z] echo Agent pid 39 killed; [2022-10-25T01:40:10.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T01:40:10.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T01:40:10.718Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T01:40:10.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T01:40:10.840Z] $ docker exec b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 ssh-agent [2022-10-25T01:40:10.948Z] SSH_AUTH_SOCK=/tmp/ssh-7h3ieHleodjA/agent.71 [2022-10-25T01:40:10.948Z] SSH_AGENT_PID=77 [2022-10-25T01:40:10.953Z] Running ssh-add (command line suppressed) [2022-10-25T01:40:11.059Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_17049474977887766508.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_17049474977887766508.key) [2022-10-25T01:40:11.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T01:40:11.398Z] + git semver init [2022-10-25T01:40:11.658Z] 2022-10-25 01:40:11,576 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T01:40:11.658Z] 2022-10-25 01:40:11,577 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-10-25T01:40:11.658Z] 2022-10-25 01:40:11,578 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-10-25T01:40:11.658Z] 2022-10-25 01:40:11,578 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222, universal_newlines=False, shell=None, istream=None) [2022-10-25T01:40:13.039Z] 2022-10-25 01:40:12,646 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude [2022-10-25T01:40:13.039Z] 2022-10-25 01:40:12,646 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 with force:False [2022-10-25T01:40:13.039Z] 2022-10-25 01:40:12,646 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-10-25T01:40:13.039Z] 2022-10-25 01:40:12,650 [execute] INFO git cat-file --batch-check [2022-10-25T01:40:13.039Z] 2022-10-25 01:40:12,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T01:40:13.039Z] 2022-10-25 01:40:12,657 [execute] INFO git cat-file --batch [2022-10-25T01:40:13.039Z] 2022-10-25 01:40:12,657 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T01:40:13.039Z] 2022-10-25 01:40:12,662 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-10-25T01:40:13.039Z] 0.0.0 [Pipeline] } [2022-10-25T01:40:13.066Z] $ docker exec --env ******** --env ******** b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 ssh-agent -k [2022-10-25T01:40:13.165Z] unset SSH_AUTH_SOCK; [2022-10-25T01:40:13.166Z] unset SSH_AGENT_PID; [2022-10-25T01:40:13.166Z] echo Agent pid 77 killed; [2022-10-25T01:40:13.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T01:40:13.595Z] + git semver [Pipeline] } [2022-10-25T01:40:13.880Z] $ docker stop --time=1 b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 [2022-10-25T01:40:15.199Z] $ docker rm -f b0fd0afcc34e69a0dd0032eed05bf5a0fd0eaec7e36c1407e8e2b00866ea40e9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T01:40:15.610Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T01:40:15.866Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T01:40:15.891Z] [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-10-25T01:40:16.540Z] provisioning config files... [2022-10-25T01:40:16.548Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config9779653836117567317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:40:16.911Z] ---> docker-login.sh [2022-10-25T01:40:16.911Z] nexus3.edgexfoundry.org:10001 [2022-10-25T01:40:16.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:40:16.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:40:16.911Z] Configure a credential helper to remove this warning. See [2022-10-25T01:40:16.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:40:16.911Z] [2022-10-25T01:40:16.911Z] Login Succeeded [2022-10-25T01:40:16.911Z] nexus3.edgexfoundry.org:10002 [2022-10-25T01:40:16.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:40:16.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:40:16.911Z] Configure a credential helper to remove this warning. See [2022-10-25T01:40:16.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:40:16.911Z] [2022-10-25T01:40:16.911Z] Login Succeeded [2022-10-25T01:40:16.911Z] nexus3.edgexfoundry.org:10003 [2022-10-25T01:40:17.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:40:17.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:40:17.171Z] Configure a credential helper to remove this warning. See [2022-10-25T01:40:17.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:40:17.171Z] [2022-10-25T01:40:17.171Z] Login Succeeded [2022-10-25T01:40:17.171Z] nexus3.edgexfoundry.org:10004 [2022-10-25T01:40:17.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:40:17.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:40:17.171Z] Configure a credential helper to remove this warning. See [2022-10-25T01:40:17.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:40:17.171Z] [2022-10-25T01:40:17.171Z] Login Succeeded [2022-10-25T01:40:17.171Z] docker.io [2022-10-25T01:40:17.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:40:17.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:40:17.691Z] Configure a credential helper to remove this warning. See [2022-10-25T01:40:17.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:40:17.691Z] [2022-10-25T01:40:17.691Z] Login Succeeded [2022-10-25T01:40:17.691Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T01:40:17.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T01:40:17.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T01:40:17.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T01:40:17.984Z] ========================================================= [2022-10-25T01:40:17.984Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T01:40:17.984Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:40:18.455Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T01:40:18.455Z] Sending build context to Docker daemon 10.74MB [2022-10-25T01:40:18.455Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T01:40:18.455Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T01:40:18.455Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T01:40:18.455Z] 213ec9aee27d: Pulling fs layer [2022-10-25T01:40:18.455Z] 4583459ba037: Pulling fs layer [2022-10-25T01:40:18.455Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T01:40:18.455Z] 53926ce57604: Pulling fs layer [2022-10-25T01:40:18.455Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T01:40:18.455Z] 30f14e443154: Pulling fs layer [2022-10-25T01:40:18.455Z] 801331c1e519: Pulling fs layer [2022-10-25T01:40:18.455Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T01:40:18.455Z] 21b2b0c7a3f4: Waiting [2022-10-25T01:40:18.455Z] 30f14e443154: Waiting [2022-10-25T01:40:18.455Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T01:40:18.455Z] 801331c1e519: Waiting [2022-10-25T01:40:18.455Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T01:40:18.455Z] 93c1e223e6f2: Download complete [2022-10-25T01:40:18.455Z] 4583459ba037: Verifying Checksum [2022-10-25T01:40:18.455Z] 4583459ba037: Download complete [2022-10-25T01:40:18.714Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T01:40:18.714Z] 21b2b0c7a3f4: Download complete [2022-10-25T01:40:18.714Z] 30f14e443154: Verifying Checksum [2022-10-25T01:40:18.714Z] 30f14e443154: Download complete [2022-10-25T01:40:18.714Z] 213ec9aee27d: Verifying Checksum [2022-10-25T01:40:18.714Z] 213ec9aee27d: Download complete [2022-10-25T01:40:18.714Z] 801331c1e519: Verifying Checksum [2022-10-25T01:40:18.714Z] 801331c1e519: Download complete [2022-10-25T01:40:18.714Z] 213ec9aee27d: Pull complete [2022-10-25T01:40:18.974Z] 4583459ba037: Pull complete [2022-10-25T01:40:18.974Z] 93c1e223e6f2: Pull complete [2022-10-25T01:40:19.544Z] 53926ce57604: Verifying Checksum [2022-10-25T01:40:19.544Z] 53926ce57604: Download complete [2022-10-25T01:40:19.544Z] 7d9ed39f4882: Download complete [2022-10-25T01:40:19.803Z] 99cc6dd402b0: Download complete [2022-10-25T01:40:23.993Z] 53926ce57604: Pull complete [2022-10-25T01:40:23.993Z] 21b2b0c7a3f4: Pull complete [2022-10-25T01:40:23.993Z] 30f14e443154: Pull complete [2022-10-25T01:40:23.993Z] 801331c1e519: Pull complete [2022-10-25T01:40:25.902Z] 99cc6dd402b0: Pull complete [2022-10-25T01:40:26.839Z] 7d9ed39f4882: Pull complete [2022-10-25T01:40:26.839Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T01:40:26.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T01:40:26.839Z] ---> 1dedd983c030 [2022-10-25T01:40:26.839Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T01:40:28.743Z] ---> Running in 97929ca13fff [2022-10-25T01:40:28.743Z] Removing intermediate container 97929ca13fff [2022-10-25T01:40:28.743Z] ---> b124df817d00 [2022-10-25T01:40:28.743Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T01:40:29.002Z] ---> Running in bbbd984cf660 [2022-10-25T01:40:29.002Z] Removing intermediate container bbbd984cf660 [2022-10-25T01:40:29.002Z] ---> 6db577d635f1 [2022-10-25T01:40:29.002Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T01:40:29.002Z] ---> Running in 81bd00783798 [2022-10-25T01:40:29.261Z] Removing intermediate container 81bd00783798 [2022-10-25T01:40:29.261Z] ---> d2bf0cc7ef0d [2022-10-25T01:40:29.261Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T01:40:29.261Z] ---> Running in e70eb9f4ac98 [2022-10-25T01:40:29.261Z] Removing intermediate container e70eb9f4ac98 [2022-10-25T01:40:29.261Z] ---> 102d99d10465 [2022-10-25T01:40:29.261Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T01:40:29.261Z] ---> Running in 5ea44f15343f [2022-10-25T01:40:29.830Z] Removing intermediate container 5ea44f15343f [2022-10-25T01:40:29.830Z] ---> bcc0b1925aaf [2022-10-25T01:40:29.830Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T01:40:30.089Z] ---> Running in ae7623e4fa55 [2022-10-25T01:40:30.349Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T01:40:31.283Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T01:40:31.341Z] Still waiting to schedule task [2022-10-25T01:40:31.341Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-65548’ is offline [2022-10-25T01:40:31.542Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T01:40:31.542Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T01:40:31.542Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T01:40:31.800Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T01:40:31.800Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T01:40:31.800Z] OK: 216 MiB in 55 packages [2022-10-25T01:40:32.368Z] Removing intermediate container ae7623e4fa55 [2022-10-25T01:40:32.368Z] ---> f33a10e57bfd [2022-10-25T01:40:32.368Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T01:40:32.368Z] ---> Running in e88f18fb955f [2022-10-25T01:40:32.368Z] Removing intermediate container e88f18fb955f [2022-10-25T01:40:32.368Z] ---> 142a2dbab9c1 [2022-10-25T01:40:32.368Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T01:40:32.628Z] ---> 82199619f744 [2022-10-25T01:40:32.628Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T01:40:32.628Z] ---> Running in 67511fe0a555 [2022-10-25T01:40:50.748Z] Removing intermediate container 67511fe0a555 [2022-10-25T01:40:50.748Z] ---> 6c475e96ae1e [2022-10-25T01:40:50.748Z] Step 12/13 : COPY . . [2022-10-25T01:40:51.006Z] ---> c974768bca85 [2022-10-25T01:40:51.007Z] Step 13/13 : RUN $MAKE [2022-10-25T01:40:51.007Z] ---> Running in 1d81bf0d4bb4 [2022-10-25T01:40:51.265Z] noop [2022-10-25T01:40:51.833Z] Removing intermediate container 1d81bf0d4bb4 [2022-10-25T01:40:51.833Z] ---> 8a5f5ebe4dd9 [2022-10-25T01:40:51.833Z] Successfully built 8a5f5ebe4dd9 [2022-10-25T01:40:51.833Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:40:52.307Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T01:40:52.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:40:52.449Z] prd-ubuntu20.04-docker-8c-8g-65512 does not seem to be running inside a container [2022-10-25T01:40:52.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T01:40:52.851Z] $ docker top aa642a299f26c3aa1dacbdfd9b69d4148f38b635817de4eaaa4bb46a81a0a162 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T01:40:53.232Z] + go version [2022-10-25T01:40:53.232Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T01:40:53.260Z] $ docker stop --time=1 aa642a299f26c3aa1dacbdfd9b69d4148f38b635817de4eaaa4bb46a81a0a162 [2022-10-25T01:40:54.580Z] $ docker rm -f aa642a299f26c3aa1dacbdfd9b69d4148f38b635817de4eaaa4bb46a81a0a162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:40:55.265Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T01:40:55.265Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:40:55.449Z] prd-ubuntu20.04-docker-8c-8g-65512 does not seem to be running inside a container [2022-10-25T01:40:55.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T01:40:55.855Z] $ docker top 4629267b3a40209ac2269c5a2f2e9f1969bd3bee7613b0eebaa32fb741ef5787 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T01:40:56.244Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh [2022-10-25T01:40:56.596Z] + make test [2022-10-25T01:40:56.596Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T01:40:56.854Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T01:41:06.812Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T01:41:06.812Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-10-25T01:41:13.371Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-25T01:41:13.371Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T01:41:15.904Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T01:41:15.904Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T01:41:15.904Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T01:41:15.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T01:41:15.979Z] $ docker stop --time=1 4629267b3a40209ac2269c5a2f2e9f1969bd3bee7613b0eebaa32fb741ef5787 [2022-10-25T01:41:17.788Z] $ docker rm -f 4629267b3a40209ac2269c5a2f2e9f1969bd3bee7613b0eebaa32fb741ef5787 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T01:41:18.340Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T01:41:18.393Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T01:41:19.251Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T01:41:19.555Z] + ls -al . [2022-10-25T01:41:19.555Z] total 180 [2022-10-25T01:41:19.555Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 01:40 . [2022-10-25T01:41:19.555Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:39 .. [2022-10-25T01:41:19.555Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 01:39 .dockerignore [2022-10-25T01:41:19.555Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:41 .git [2022-10-25T01:41:19.555Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:39 .github [2022-10-25T01:41:19.555Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 01:39 .gitignore [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:39 .golangci.yml [2022-10-25T01:41:19.556Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:40 .semver [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 01:39 Attribution.txt [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 01:39 CHANGELOG.md [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 01:39 Dockerfile [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:39 GOVERNANCE.md [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 01:39 Jenkinsfile [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:39 LICENSE [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 01:39 Makefile [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 01:39 OWNERS.md [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 01:39 README.md [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:40 VERSION [2022-10-25T01:41:19.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:39 bin [2022-10-25T01:41:19.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:39 cmd [2022-10-25T01:41:19.556Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 01:41 coverage.out [2022-10-25T01:41:19.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:39 driver [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 25 01:39 go.mod [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 38123 Oct 25 01:39 go.sum [2022-10-25T01:41:19.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:39 snap [2022-10-25T01:41:19.556Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 01:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:41:20.012Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=902eff6e3bf3907c0b7d951246858f337eb277ae --label arch=amd64 --label version=0.0.0 . [2022-10-25T01:41:20.012Z] Sending build context to Docker daemon 10.76MB [2022-10-25T01:41:20.012Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T01:41:20.012Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T01:41:20.012Z] ---> 8a5f5ebe4dd9 [2022-10-25T01:41:20.012Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T01:41:20.012Z] ---> Running in dcff61dc7863 [2022-10-25T01:41:20.269Z] Removing intermediate container dcff61dc7863 [2022-10-25T01:41:20.269Z] ---> 4440460e92af [2022-10-25T01:41:20.269Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T01:41:20.269Z] ---> Running in 2aa1509a0d42 [2022-10-25T01:41:20.269Z] Removing intermediate container 2aa1509a0d42 [2022-10-25T01:41:20.269Z] ---> 2b97facbcd8a [2022-10-25T01:41:20.269Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T01:41:20.528Z] ---> Running in 3f357def5ef3 [2022-10-25T01:41:20.528Z] Removing intermediate container 3f357def5ef3 [2022-10-25T01:41:20.528Z] ---> 48bf977d24b2 [2022-10-25T01:41:20.528Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T01:41:20.528Z] ---> Running in 02e1ed0ec397 [2022-10-25T01:41:20.528Z] Removing intermediate container 02e1ed0ec397 [2022-10-25T01:41:20.528Z] ---> 58ec315c5d79 [2022-10-25T01:41:20.528Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T01:41:20.786Z] ---> Running in 32ea671d6511 [2022-10-25T01:41:21.354Z] Removing intermediate container 32ea671d6511 [2022-10-25T01:41:21.354Z] ---> 39ca6972d90e [2022-10-25T01:41:21.354Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T01:41:21.354Z] ---> Running in b762401f751d [2022-10-25T01:41:21.614Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T01:41:22.549Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T01:41:22.830Z] OK: 216 MiB in 55 packages [2022-10-25T01:41:23.089Z] Removing intermediate container b762401f751d [2022-10-25T01:41:23.089Z] ---> 583d9b360a37 [2022-10-25T01:41:23.089Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-25T01:41:23.089Z] ---> Running in 44125e2302f0 [2022-10-25T01:41:23.089Z] Removing intermediate container 44125e2302f0 [2022-10-25T01:41:23.089Z] ---> 22bc06839b93 [2022-10-25T01:41:23.089Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T01:41:23.346Z] ---> 4a20518ef767 [2022-10-25T01:41:23.346Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T01:41:23.346Z] ---> Running in 7adc0de18fc4 [2022-10-25T01:41:23.913Z] Removing intermediate container 7adc0de18fc4 [2022-10-25T01:41:23.913Z] ---> b77bac51e307 [2022-10-25T01:41:23.913Z] Step 12/26 : COPY . . [2022-10-25T01:41:24.172Z] ---> 1c8f73981c54 [2022-10-25T01:41:24.172Z] Step 13/26 : RUN $MAKE [2022-10-25T01:41:24.430Z] ---> Running in 5aa74a88c2ca [2022-10-25T01:41:24.430Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-25T01:41:42.500Z] Removing intermediate container 5aa74a88c2ca [2022-10-25T01:41:42.500Z] ---> 95c430b3d9f0 [2022-10-25T01:41:42.500Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T01:41:43.067Z] 3.16: Pulling from library/alpine [2022-10-25T01:41:43.067Z] 213ec9aee27d: Already exists [2022-10-25T01:41:43.326Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T01:41:43.326Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T01:41:43.326Z] ---> 9c6f07244728 [2022-10-25T01:41:43.326Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T01:41:43.326Z] ---> Running in 3bc373892d9f [2022-10-25T01:41:43.326Z] Removing intermediate container 3bc373892d9f [2022-10-25T01:41:43.326Z] ---> ae6c29aee401 [2022-10-25T01:41:43.326Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T01:41:43.326Z] ---> Running in 237d04866e82 [2022-10-25T01:41:43.585Z] Removing intermediate container 237d04866e82 [2022-10-25T01:41:43.585Z] ---> 3218af5e2281 [2022-10-25T01:41:43.585Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T01:41:43.585Z] ---> Running in 04fd0c50e7d7 [2022-10-25T01:41:43.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T01:41:43.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T01:41:44.102Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T01:41:44.102Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T01:41:44.102Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T01:41:44.102Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T01:41:44.102Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T01:41:44.102Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T01:41:44.366Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T01:41:44.366Z] OK: 8 MiB in 20 packages [2022-10-25T01:41:44.624Z] Removing intermediate container 04fd0c50e7d7 [2022-10-25T01:41:44.624Z] ---> 9ddd432cf2bc [2022-10-25T01:41:44.624Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T01:41:45.200Z] ---> 6328e0fe4a3a [2022-10-25T01:41:45.200Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T01:41:45.458Z] ---> e67f6515ab94 [2022-10-25T01:41:45.458Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T01:41:45.458Z] ---> 796ba016e186 [2022-10-25T01:41:45.458Z] Step 21/26 : EXPOSE 59986 [2022-10-25T01:41:45.458Z] ---> Running in 08cf33845afb [2022-10-25T01:41:45.717Z] Removing intermediate container 08cf33845afb [2022-10-25T01:41:45.717Z] ---> 6e1fd2a3adda [2022-10-25T01:41:45.717Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-25T01:41:45.717Z] ---> Running in e5916fd59cbc [2022-10-25T01:41:45.717Z] Removing intermediate container e5916fd59cbc [2022-10-25T01:41:45.717Z] ---> 5526a5577e71 [2022-10-25T01:41:45.717Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T01:41:45.717Z] ---> Running in cf8b41943852 [2022-10-25T01:41:45.977Z] Removing intermediate container cf8b41943852 [2022-10-25T01:41:45.977Z] ---> 90e21ae7a08a [2022-10-25T01:41:45.977Z] Step 24/26 : LABEL arch=amd64 [2022-10-25T01:41:45.977Z] ---> Running in 4d8bef9d90d8 [2022-10-25T01:41:45.977Z] Removing intermediate container 4d8bef9d90d8 [2022-10-25T01:41:45.977Z] ---> 647448ab22ab [2022-10-25T01:41:45.977Z] Step 25/26 : LABEL git_sha=902eff6e3bf3907c0b7d951246858f337eb277ae [2022-10-25T01:41:45.977Z] ---> Running in dd0c5b161b56 [2022-10-25T01:41:46.236Z] Removing intermediate container dd0c5b161b56 [2022-10-25T01:41:46.236Z] ---> b3e20aed8dcf [2022-10-25T01:41:46.236Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T01:41:46.236Z] ---> Running in 2746bbcfa418 [2022-10-25T01:41:46.236Z] Removing intermediate container 2746bbcfa418 [2022-10-25T01:41:46.236Z] ---> adb59ed44f0a [2022-10-25T01:41:46.236Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T01:41:46.236Z] Successfully built adb59ed44f0a [2022-10-25T01:41:46.236Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:41:47.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T01:41:47.089Z] [2022-10-25T01:41:47.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:41:47.458Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T01:41:47.458Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T01:41:47.458Z] 5eb5b503b376: Pulling fs layer [2022-10-25T01:41:47.458Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T01:41:47.458Z] ec43610c2a17: Pulling fs layer [2022-10-25T01:41:47.458Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T01:41:47.458Z] 33b1e0a273af: Pulling fs layer [2022-10-25T01:41:47.458Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T01:41:47.459Z] 2f39f015ded8: Pulling fs layer [2022-10-25T01:41:47.459Z] 33b1e0a273af: Waiting [2022-10-25T01:41:47.459Z] 5d3b04190fa2: Waiting [2022-10-25T01:41:47.459Z] 3a2ae6a8a46f: Waiting [2022-10-25T01:41:47.459Z] 2f39f015ded8: Waiting [2022-10-25T01:41:47.459Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T01:41:47.459Z] 5c69ac0246d0: Download complete [2022-10-25T01:41:47.459Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T01:41:47.459Z] 3a2ae6a8a46f: Download complete [2022-10-25T01:41:47.459Z] 33b1e0a273af: Verifying Checksum [2022-10-25T01:41:47.459Z] 33b1e0a273af: Download complete [2022-10-25T01:41:47.459Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T01:41:47.459Z] 5d3b04190fa2: Download complete [2022-10-25T01:41:47.725Z] ec43610c2a17: Verifying Checksum [2022-10-25T01:41:47.725Z] 5eb5b503b376: Verifying Checksum [2022-10-25T01:41:47.725Z] 5eb5b503b376: Download complete [2022-10-25T01:41:48.294Z] 2f39f015ded8: Download complete [2022-10-25T01:41:48.862Z] 5eb5b503b376: Pull complete [2022-10-25T01:41:48.862Z] 5c69ac0246d0: Pull complete [2022-10-25T01:41:49.428Z] ec43610c2a17: Pull complete [2022-10-25T01:41:49.428Z] 3a2ae6a8a46f: Pull complete [2022-10-25T01:41:49.685Z] 33b1e0a273af: Pull complete [2022-10-25T01:41:49.685Z] 5d3b04190fa2: Pull complete [2022-10-25T01:41:53.866Z] 2f39f015ded8: Pull complete [2022-10-25T01:41:53.866Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T01:41:53.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T01:41:53.866Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:41:54.143Z] prd-ubuntu20.04-docker-8c-8g-65512 does not seem to be running inside a container [2022-10-25T01:41:54.175Z] $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T01:41:55.894Z] $ docker top 4932f8e2140bbbf2ef7cf6534e5de896e27637d7e91a5beaba5f4f14c18f2aa3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:41:56.373Z] ---> job-cost.sh [2022-10-25T01:41:56.373Z] lf-activate-venv: SKIPPING [2022-10-25T01:41:56.373Z] INFO: No Stack... [2022-10-25T01:41:56.632Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T01:41:56.893Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T01:41:57.209Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-222/archives/cost.csv [2022-10-25T01:41:57.209Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T01:41:57.249Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-1-stack-cost] [2022-10-25T01:41:57.255Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-1-stack-cost] did not exist. Created. [2022-10-25T01:41:57.255Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T01:41:57.644Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T01:41:57.689Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T01:41:57.718Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T01:41:57.795Z] $ docker stop --time=1 4932f8e2140bbbf2ef7cf6534e5de896e27637d7e91a5beaba5f4f14c18f2aa3 [2022-10-25T01:41:58.957Z] $ docker rm -f 4932f8e2140bbbf2ef7cf6534e5de896e27637d7e91a5beaba5f4f14c18f2aa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T04:30:44.267Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-81776 in /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] { [Pipeline] ws [2022-10-25T04:30:44.316Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-10-25T04:30:44.389Z] The recommended git tool is: git [2022-10-25T04:30:49.266Z] using credential edgex-jenkins-ssh [2022-10-25T04:30:49.288Z] Cloning the remote Git repository [2022-10-25T04:30:49.329Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T04:30:49.398Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-10-25T04:30:49.520Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T04:30:49.521Z] > git --version # timeout=10 [2022-10-25T04:30:49.540Z] > git --version # 'git version 2.25.1' [2022-10-25T04:30:49.541Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:30:49.585Z] Verifying host key using known hosts file [2022-10-25T04:30:49.796Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T04:30:49.810Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T04:30:51.646Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T04:30:51.669Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T04:30:53.095Z] Merging remotes/origin/main commit 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb into PR head commit 902eff6e3bf3907c0b7d951246858f337eb277ae [2022-10-25T04:30:52.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T04:30:52.540Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T04:30:52.541Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:30:52.546Z] Verifying host key using known hosts file [2022-10-25T04:30:52.552Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T04:30:52.563Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T04:30:53.116Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T04:30:53.139Z] > git checkout -f 902eff6e3bf3907c0b7d951246858f337eb277ae # timeout=10 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T04:30:53.463Z] 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-10-25T04:30:55.509Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] [2022-10-25T04:30:55.509Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-25T04:30:55.509Z] total 16 [2022-10-25T04:30:55.509Z] drwxr-xr-x 3 root root 4096 Oct 25 01:41 . [2022-10-25T04:30:55.509Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 01:41 .. [2022-10-25T04:30:55.509Z] drwxr-xr-x 2 root root 4096 Oct 25 01:41 cost [2022-10-25T04:30:55.509Z] -rw-r--r-- 1 root root 86 Oct 25 01:41 cost.csv [2022-10-25T04:30:55.510Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-25T04:30:55.510Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-25T04:30:55.510Z] total 16 [2022-10-25T04:30:55.510Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:41 . [2022-10-25T04:30:55.510Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 01:41 .. [2022-10-25T04:30:55.510Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 01:41 cost [2022-10-25T04:30:55.510Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 25 01:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:30:55.839Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:30:56.725Z] ---> package-listing.sh [2022-10-25T04:30:56.725Z] ++ facter osfamily [2022-10-25T04:30:56.725Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T04:30:56.984Z] + OS_FAMILY=debian [2022-10-25T04:30:56.984Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 [2022-10-25T04:30:56.984Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T04:30:56.984Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T04:30:56.984Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T04:30:56.984Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T04:30:56.984Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-10-25T04:30:56.984Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T04:30:56.984Z] + case "${OS_FAMILY}" in [2022-10-25T04:30:56.984Z] + dpkg -l [2022-10-25T04:30:56.984Z] + grep '^ii' [2022-10-25T04:30:56.984Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T04:30:56.984Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T04:30:56.984Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T04:30:56.984Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-10-25T04:30:56.984Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [2022-10-25T04:30:56.984Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [Pipeline] echo [2022-10-25T04:30:57.036Z] 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T04:30:57.327Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:30:57.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T04:30:57.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:30:58.104Z] prd-ubuntu20.04-docker-8c-8g-65512 does not seem to be running inside a container [2022-10-25T04:30:58.135Z] $ 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-222/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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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-10-25T04:30:58.839Z] $ docker top 49d80a9e8a09bc9c5582eb09f3bef576c5e96b2018ade3715c722ae43f1f7830 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:30:59.238Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T04:30:59.547Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T04:30:59.858Z] + ls /var/log/sa-host [2022-10-25T04:30:59.858Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T04:31:00.070Z] provisioning config files... [2022-10-25T04:31:00.078Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config227226808554118526tmp [Pipeline] { [Pipeline] echo [2022-10-25T04:31:00.131Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:31:00.443Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T04:31:00.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:31:00.859Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T04:31:00.894Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:31:01.204Z] ---> sudo-logs.sh [2022-10-25T04:31:01.204Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T04:31:01.297Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:31:01.602Z] ---> job-cost.sh [2022-10-25T04:31:01.602Z] lf-activate-venv: SKIPPING [2022-10-25T04:31:01.602Z] DEBUG: total: 0.2199999988079071 [2022-10-25T04:31:01.602Z] INFO: Retrieving Stack Cost... [2022-10-25T04:31:01.860Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T04:31:02.427Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T04:31:02.464Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:31:02.777Z] ---> logs-deploy.sh [2022-10-25T04:31:02.777Z] lf-activate-venv: SKIPPING [2022-10-25T04:31:02.777Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/1 [2022-10-25T04:31:02.777Z] INFO: archiving workspace using pattern(s): [2022-10-25T04:31:03.712Z] Archives upload complete. [2022-10-25T04:31:03.972Z] INFO: archiving logs to Nexus [2022-10-25T04:31:04.541Z] ---> uname -a: [2022-10-25T04:31:04.541Z] Linux prd-ubuntu20-04-docker-8c-8g-65512 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-25T04:31:04.541Z] [2022-10-25T04:31:04.541Z] [2022-10-25T04:31:04.541Z] ---> lscpu: [2022-10-25T04:31:04.541Z] Architecture: x86_64 [2022-10-25T04:31:04.541Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-25T04:31:04.541Z] Byte Order: Little Endian [2022-10-25T04:31:04.541Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-25T04:31:04.541Z] CPU(s): 8 [2022-10-25T04:31:04.541Z] On-line CPU(s) list: 0-7 [2022-10-25T04:31:04.541Z] Thread(s) per core: 1 [2022-10-25T04:31:04.541Z] Core(s) per socket: 1 [2022-10-25T04:31:04.541Z] Socket(s): 8 [2022-10-25T04:31:04.541Z] NUMA node(s): 1 [2022-10-25T04:31:04.541Z] Vendor ID: AuthenticAMD [2022-10-25T04:31:04.541Z] CPU family: 23 [2022-10-25T04:31:04.541Z] Model: 49 [2022-10-25T04:31:04.541Z] Model name: AMD EPYC-Rome Processor [2022-10-25T04:31:04.541Z] Stepping: 0 [2022-10-25T04:31:04.541Z] CPU MHz: 2799.998 [2022-10-25T04:31:04.541Z] BogoMIPS: 5599.99 [2022-10-25T04:31:04.541Z] Virtualization: AMD-V [2022-10-25T04:31:04.541Z] Hypervisor vendor: KVM [2022-10-25T04:31:04.541Z] Virtualization type: full [2022-10-25T04:31:04.541Z] L1d cache: 256 KiB [2022-10-25T04:31:04.541Z] L1i cache: 256 KiB [2022-10-25T04:31:04.541Z] L2 cache: 4 MiB [2022-10-25T04:31:04.541Z] L3 cache: 128 MiB [2022-10-25T04:31:04.541Z] NUMA node0 CPU(s): 0-7 [2022-10-25T04:31:04.541Z] Vulnerability Itlb multihit: Not affected [2022-10-25T04:31:04.541Z] Vulnerability L1tf: Not affected [2022-10-25T04:31:04.541Z] Vulnerability Mds: Not affected [2022-10-25T04:31:04.541Z] Vulnerability Meltdown: Not affected [2022-10-25T04:31:04.541Z] Vulnerability Mmio stale data: Not affected [2022-10-25T04:31:04.541Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-25T04:31:04.541Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-25T04:31:04.541Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-25T04:31:04.541Z] Vulnerability Srbds: Not affected [2022-10-25T04:31:04.541Z] Vulnerability Tsx async abort: Not affected [2022-10-25T04:31:04.541Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-25T04:31:04.541Z] [2022-10-25T04:31:04.541Z] [2022-10-25T04:31:04.541Z] ---> nproc: [2022-10-25T04:31:04.541Z] 8 [2022-10-25T04:31:04.541Z] [2022-10-25T04:31:04.541Z] [2022-10-25T04:31:04.541Z] ---> df -h: [2022-10-25T04:31:04.541Z] Filesystem Size Used Avail Use% Mounted on [2022-10-25T04:31:04.541Z] overlay 155G 12G 144G 8% / [2022-10-25T04:31:04.541Z] tmpfs 64M 0 64M 0% /dev [2022-10-25T04:31:04.541Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-25T04:31:04.541Z] shm 64M 0 64M 0% /dev/shm [2022-10-25T04:31:04.541Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-25T04:31:04.541Z] [2022-10-25T04:31:04.541Z]