Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 573a93dc585fd2e24dadc7fb4d4ae830a990380c 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-ssh11910074345667431319.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh9468151330206823513.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6903420610205098984.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh8970148249187532470.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6155714934727638896.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20448 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision 573a93dc585fd2e24dadc7fb4d4ae830a990380c (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 573a93dc585fd2e24dadc7fb4d4ae830a990380c # timeout=10 Commit message: "Merge pull request #207 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" > git rev-list --no-walk a8865c056b3ddfa2315b5fa3a0a86be937f1051f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-18T23:52:29.330Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-18T23:52:29.395Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-18T23:52:29.408Z] ========================================================= [2022-07-18T23:52:29.408Z] EdgeX Global Pipelines Version Info [2022-07-18T23:52:29.408Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-18T23:52:30.171Z] ------------------- [2022-07-18T23:52:30.171Z] stable info: [2022-07-18T23:52:30.171Z] ------------------- [2022-07-18T23:52:30.171Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T23:52:30.171Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T23:52:30.171Z] Message: update stable to v1.0.238 [2022-07-18T23:52:30.744Z] ------------------- [2022-07-18T23:52:30.744Z] experimental info: [2022-07-18T23:52:30.744Z] ------------------- [2022-07-18T23:52:30.744Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T23:52:30.744Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T23:52:30.744Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-18T23:52:31.102Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-18T23:52:31.116Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-18T23:52:31.126Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-18T23:52:31.137Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-18T23:52:31.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-18T23:52:31.165Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-18T23:52:31.178Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-18T23:52:31.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-18T23:52:31.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-18T23:52:31.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-18T23:52:31.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-18T23:52:31.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-18T23:52:31.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-18T23:52:31.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-18T23:52:31.276Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T23:52:31.287Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T23:52:31.299Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T23:52:31.310Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T23:52:31.321Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-18T23:52:31.333Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-18T23:52:31.347Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-18T23:52:31.361Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-18T23:52:31.377Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-18T23:52:31.388Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-18T23:52:31.402Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-18T23:52:31.413Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-18T23:52:31.424Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-18T23:52:31.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-18T23:52:31.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-18T23:52:31.457Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-18T23:52:31.469Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 573a93dc585fd2e24dadc7fb4d4ae830a990380c [Pipeline] echo [2022-07-18T23:52:31.482Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 573a93d [Pipeline] echo [2022-07-18T23:52:31.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T23:52:31.535Z] provisioning config files... [2022-07-18T23:52:31.547Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7401826737394338026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T23:52:31.851Z] ---> docker-login.sh [2022-07-18T23:52:31.851Z] nexus3.edgexfoundry.org:10001 [2022-07-18T23:52:32.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:52:32.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:52:32.373Z] Configure a credential helper to remove this warning. See [2022-07-18T23:52:32.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:52:32.373Z] [2022-07-18T23:52:32.373Z] Login Succeeded [2022-07-18T23:52:32.373Z] nexus3.edgexfoundry.org:10002 [2022-07-18T23:52:32.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:52:32.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:52:32.634Z] Configure a credential helper to remove this warning. See [2022-07-18T23:52:32.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:52:32.634Z] [2022-07-18T23:52:32.634Z] Login Succeeded [2022-07-18T23:52:32.634Z] nexus3.edgexfoundry.org:10003 [2022-07-18T23:52:32.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:52:32.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:52:32.634Z] Configure a credential helper to remove this warning. See [2022-07-18T23:52:32.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:52:32.634Z] [2022-07-18T23:52:32.634Z] Login Succeeded [2022-07-18T23:52:32.634Z] nexus3.edgexfoundry.org:10004 [2022-07-18T23:52:32.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:52:32.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:52:32.896Z] Configure a credential helper to remove this warning. See [2022-07-18T23:52:32.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:52:32.896Z] [2022-07-18T23:52:32.896Z] Login Succeeded [2022-07-18T23:52:32.896Z] docker.io [2022-07-18T23:52:32.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:52:33.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:52:33.156Z] Configure a credential helper to remove this warning. See [2022-07-18T23:52:33.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:52:33.156Z] [2022-07-18T23:52:33.156Z] Login Succeeded [2022-07-18T23:52:33.156Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T23:52:33.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-18T23:52:33.531Z] + git rev-list -1 --merges 573a93dc585fd2e24dadc7fb4d4ae830a990380c~1..573a93dc585fd2e24dadc7fb4d4ae830a990380c [Pipeline] echo [2022-07-18T23:52:33.562Z] -----------> git rev-list -1 --merges 573a93dc585fd2e24dadc7fb4d4ae830a990380c~1..573a93dc585fd2e24dadc7fb4d4ae830a990380c 573a93dc585fd2e24dadc7fb4d4ae830a990380c [2022-07-18T23:52:33.562Z] 573a93dc585fd2e24dadc7fb4d4ae830a990380c [false] [Pipeline] sh [2022-07-18T23:52:33.859Z] + git log --format=format:%s -1 573a93dc585fd2e24dadc7fb4d4ae830a990380c [Pipeline] echo [2022-07-18T23:52:33.875Z] ========================================================= [2022-07-18T23:52:33.875Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T23:52:33.875Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T23:52:34.216Z] + git log --format=format:%s -1 573a93dc585fd2e24dadc7fb4d4ae830a990380c [Pipeline] echo [2022-07-18T23:52:34.230Z] [semverPrep] GIT_COMMIT: 573a93dc585fd2e24dadc7fb4d4ae830a990380c, Commit Message: Merge pull request #207 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14 [Pipeline] echo [2022-07-18T23:52:34.241Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-18T23:52:34.602Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T23:52:34.602Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-18T23:52:34.602Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-18T23:52:34.602Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-18T23:52:34.602Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-18T23:52:34.602Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-18T23:52:34.602Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:52:35.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T23:52:35.002Z] [2022-07-18T23:52:35.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:52:35.312Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T23:52:35.312Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-18T23:52:35.312Z] b85a868b505f: Pulling fs layer [2022-07-18T23:52:35.312Z] e2be974225ed: Pulling fs layer [2022-07-18T23:52:35.312Z] 339a4e72a1f5: Pulling fs layer [2022-07-18T23:52:35.312Z] 988bab9f4d93: Pulling fs layer [2022-07-18T23:52:35.312Z] 1469e6f7b9e6: Pulling fs layer [2022-07-18T23:52:35.312Z] eaf3925da568: Pulling fs layer [2022-07-18T23:52:35.312Z] bab4dde63d76: Pulling fs layer [2022-07-18T23:52:35.312Z] bde34c3a00c8: Pulling fs layer [2022-07-18T23:52:35.312Z] b352a97aabf1: Pulling fs layer [2022-07-18T23:52:35.312Z] 4872d77fe225: Pulling fs layer [2022-07-18T23:52:35.312Z] 5851b861e8e6: Pulling fs layer [2022-07-18T23:52:35.312Z] 988bab9f4d93: Waiting [2022-07-18T23:52:35.312Z] 1469e6f7b9e6: Waiting [2022-07-18T23:52:35.312Z] b352a97aabf1: Waiting [2022-07-18T23:52:35.312Z] 4872d77fe225: Waiting [2022-07-18T23:52:35.312Z] 5851b861e8e6: Waiting [2022-07-18T23:52:35.312Z] bab4dde63d76: Waiting [2022-07-18T23:52:35.312Z] eaf3925da568: Waiting [2022-07-18T23:52:35.312Z] bde34c3a00c8: Waiting [2022-07-18T23:52:35.312Z] e2be974225ed: Verifying Checksum [2022-07-18T23:52:35.312Z] 988bab9f4d93: Download complete [2022-07-18T23:52:35.573Z] 1469e6f7b9e6: Verifying Checksum [2022-07-18T23:52:35.573Z] 1469e6f7b9e6: Download complete [2022-07-18T23:52:35.573Z] eaf3925da568: Verifying Checksum [2022-07-18T23:52:35.573Z] eaf3925da568: Download complete [2022-07-18T23:52:35.573Z] 339a4e72a1f5: Verifying Checksum [2022-07-18T23:52:35.573Z] 339a4e72a1f5: Download complete [2022-07-18T23:52:35.573Z] bde34c3a00c8: Verifying Checksum [2022-07-18T23:52:35.573Z] bde34c3a00c8: Download complete [2022-07-18T23:52:35.573Z] b352a97aabf1: Verifying Checksum [2022-07-18T23:52:35.573Z] b352a97aabf1: Download complete [2022-07-18T23:52:35.573Z] 4872d77fe225: Download complete [2022-07-18T23:52:35.573Z] 5851b861e8e6: Verifying Checksum [2022-07-18T23:52:35.573Z] 5851b861e8e6: Download complete [2022-07-18T23:52:35.573Z] b85a868b505f: Verifying Checksum [2022-07-18T23:52:35.573Z] b85a868b505f: Download complete [2022-07-18T23:52:35.834Z] bab4dde63d76: Verifying Checksum [2022-07-18T23:52:35.834Z] bab4dde63d76: Download complete [2022-07-18T23:52:36.775Z] b85a868b505f: Pull complete [2022-07-18T23:52:37.035Z] e2be974225ed: Pull complete [2022-07-18T23:52:37.623Z] 339a4e72a1f5: Pull complete [2022-07-18T23:52:37.623Z] 988bab9f4d93: Pull complete [2022-07-18T23:52:37.884Z] 1469e6f7b9e6: Pull complete [2022-07-18T23:52:37.884Z] eaf3925da568: Pull complete [2022-07-18T23:52:39.795Z] bab4dde63d76: Pull complete [2022-07-18T23:52:39.795Z] bde34c3a00c8: Pull complete [2022-07-18T23:52:40.056Z] b352a97aabf1: Pull complete [2022-07-18T23:52:40.056Z] 4872d77fe225: Pull complete [2022-07-18T23:52:40.318Z] 5851b861e8e6: Pull complete [2022-07-18T23:52:40.318Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-18T23:52:40.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T23:52:40.578Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T23:52:40.683Z] prd-ubuntu20.04-docker-8c-8g-20448 does not seem to be running inside a container [2022-07-18T23:52:40.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-18T23:52:44.203Z] $ docker top 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 -eo pid,comm [2022-07-18T23:52:44.259Z] 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-07-18T23:52:44.259Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T23:52:44.296Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T23:52:44.296Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T23:52:44.418Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T23:52:44.427Z] $ docker exec 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 ssh-agent [2022-07-18T23:52:44.540Z] SSH_AUTH_SOCK=/tmp/ssh-yGavOZHerpFD/agent.32 [2022-07-18T23:52:44.540Z] SSH_AGENT_PID=39 [2022-07-18T23:52:44.547Z] Running ssh-add (command line suppressed) [2022-07-18T23:52:44.680Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5832451869158521581.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5832451869158521581.key) [2022-07-18T23:52:44.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T23:52:44.978Z] + git tag --points-at HEAD [Pipeline] } [2022-07-18T23:52:45.001Z] $ docker exec --env ******** --env ******** 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 ssh-agent -k [2022-07-18T23:52:45.116Z] unset SSH_AUTH_SOCK; [2022-07-18T23:52:45.116Z] unset SSH_AGENT_PID; [2022-07-18T23:52:45.116Z] echo Agent pid 39 killed; [2022-07-18T23:52:45.122Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-18T23:52:45.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T23:52:45.144Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T23:52:45.249Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T23:52:45.258Z] $ docker exec 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 ssh-agent [2022-07-18T23:52:45.362Z] SSH_AUTH_SOCK=/tmp/ssh-jrnioJCUVPpJ/agent.71 [2022-07-18T23:52:45.362Z] SSH_AGENT_PID=79 [2022-07-18T23:52:45.366Z] Running ssh-add (command line suppressed) [2022-07-18T23:52:45.489Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8252505668478047364.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8252505668478047364.key) [2022-07-18T23:52:45.496Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T23:52:45.784Z] + git semver init [2022-07-18T23:52:46.044Z] 2022-07-18 23:52:45,977 [run_init] DEBUG init version:0.0.0 force:False [2022-07-18T23:52:46.044Z] 2022-07-18 23:52:45,978 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-07-18T23:52:46.044Z] 2022-07-18 23:52:45,978 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-07-18T23:52:46.044Z] 2022-07-18 23:52:45,978 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-07-18T23:52:46.983Z] 2022-07-18 23:52:46,877 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-07-18T23:52:46.983Z] 2022-07-18 23:52:46,877 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-07-18T23:52:46.983Z] 2022-07-18 23:52:46,877 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-18T23:52:46.983Z] 2022-07-18 23:52:46,878 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-18T23:52:46.983Z] 2.2.1-dev.10 [Pipeline] } [2022-07-18T23:52:47.000Z] $ docker exec --env ******** --env ******** 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 ssh-agent -k [2022-07-18T23:52:47.112Z] unset SSH_AUTH_SOCK; [2022-07-18T23:52:47.112Z] unset SSH_AGENT_PID; [2022-07-18T23:52:47.112Z] echo Agent pid 79 killed; [2022-07-18T23:52:47.118Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T23:52:47.421Z] + git semver [Pipeline] } [2022-07-18T23:52:47.700Z] $ docker stop --time=1 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 [2022-07-18T23:52:48.968Z] $ docker rm -f 5e5d960df63e4af7bcd1dba67df3429d2ce007e7df5e3d16d3c4dfa07ccf9fa2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T23:52:49.314Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-18T23:52:49.551Z] Stashed 1 file(s) [Pipeline] echo [2022-07-18T23:52:49.553Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.10 [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-07-18T23:52:49.660Z] provisioning config files... [2022-07-18T23:52:49.670Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1781909363265496259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T23:52:49.967Z] ---> docker-login.sh [2022-07-18T23:52:49.967Z] nexus3.edgexfoundry.org:10001 [2022-07-18T23:52:49.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:52:49.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:52:49.967Z] Configure a credential helper to remove this warning. See [2022-07-18T23:52:49.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:52:49.967Z] [2022-07-18T23:52:49.967Z] Login Succeeded [2022-07-18T23:52:49.967Z] nexus3.edgexfoundry.org:10002 [2022-07-18T23:52:49.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:52:50.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:52:50.227Z] Configure a credential helper to remove this warning. See [2022-07-18T23:52:50.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:52:50.227Z] [2022-07-18T23:52:50.227Z] Login Succeeded [2022-07-18T23:52:50.227Z] nexus3.edgexfoundry.org:10003 [2022-07-18T23:52:50.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:52:50.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:52:50.227Z] Configure a credential helper to remove this warning. See [2022-07-18T23:52:50.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:52:50.227Z] [2022-07-18T23:52:50.227Z] Login Succeeded [2022-07-18T23:52:50.227Z] nexus3.edgexfoundry.org:10004 [2022-07-18T23:52:50.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:52:50.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:52:50.488Z] Configure a credential helper to remove this warning. See [2022-07-18T23:52:50.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:52:50.488Z] [2022-07-18T23:52:50.488Z] Login Succeeded [2022-07-18T23:52:50.488Z] docker.io [2022-07-18T23:52:50.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:52:50.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:52:50.749Z] Configure a credential helper to remove this warning. See [2022-07-18T23:52:50.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:52:50.749Z] [2022-07-18T23:52:50.749Z] Login Succeeded [2022-07-18T23:52:50.749Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T23:52:50.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T23:52:50.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T23:52:50.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T23:52:50.836Z] ========================================================= [2022-07-18T23:52:50.836Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-18T23:52:50.836Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:52:51.145Z] + 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-07-18T23:52:51.145Z] Sending build context to Docker daemon 10.68MB [2022-07-18T23:52:51.145Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T23:52:51.145Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T23:52:51.405Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-18T23:52:51.405Z] 2408cc74d12b: Pulling fs layer [2022-07-18T23:52:51.405Z] ea60b727a1ce: Pulling fs layer [2022-07-18T23:52:51.405Z] 30c4a7721957: Pulling fs layer [2022-07-18T23:52:51.405Z] 370296b7ddb6: Pulling fs layer [2022-07-18T23:52:51.405Z] 7c6cee850709: Pulling fs layer [2022-07-18T23:52:51.405Z] 39a5fcdaea64: Pulling fs layer [2022-07-18T23:52:51.405Z] d94ebbe4e438: Pulling fs layer [2022-07-18T23:52:51.405Z] 370296b7ddb6: Waiting [2022-07-18T23:52:51.405Z] 7c6cee850709: Waiting [2022-07-18T23:52:51.405Z] 39a5fcdaea64: Waiting [2022-07-18T23:52:51.405Z] bcfd1f05c69d: Pulling fs layer [2022-07-18T23:52:51.405Z] d94ebbe4e438: Waiting [2022-07-18T23:52:51.405Z] 59ccb84bbe0f: Pulling fs layer [2022-07-18T23:52:51.405Z] 30c4a7721957: Verifying Checksum [2022-07-18T23:52:51.405Z] 30c4a7721957: Download complete [2022-07-18T23:52:51.405Z] ea60b727a1ce: Verifying Checksum [2022-07-18T23:52:51.405Z] ea60b727a1ce: Download complete [2022-07-18T23:52:51.405Z] 7c6cee850709: Verifying Checksum [2022-07-18T23:52:51.405Z] 7c6cee850709: Download complete [2022-07-18T23:52:51.405Z] 39a5fcdaea64: Download complete [2022-07-18T23:52:51.405Z] 2408cc74d12b: Download complete [2022-07-18T23:52:51.405Z] d94ebbe4e438: Verifying Checksum [2022-07-18T23:52:51.405Z] d94ebbe4e438: Download complete [2022-07-18T23:52:51.668Z] 2408cc74d12b: Pull complete [2022-07-18T23:52:51.668Z] ea60b727a1ce: Pull complete [2022-07-18T23:52:51.930Z] 59ccb84bbe0f: Verifying Checksum [2022-07-18T23:52:51.930Z] 59ccb84bbe0f: Download complete [2022-07-18T23:52:51.930Z] 30c4a7721957: Pull complete [2022-07-18T23:52:52.190Z] 370296b7ddb6: Verifying Checksum [2022-07-18T23:52:52.190Z] 370296b7ddb6: Download complete [2022-07-18T23:52:52.190Z] bcfd1f05c69d: Verifying Checksum [2022-07-18T23:52:52.190Z] bcfd1f05c69d: Download complete [2022-07-18T23:52:56.438Z] 370296b7ddb6: Pull complete [2022-07-18T23:52:56.438Z] 7c6cee850709: Pull complete [2022-07-18T23:52:56.438Z] 39a5fcdaea64: Pull complete [2022-07-18T23:52:56.438Z] d94ebbe4e438: Pull complete [2022-07-18T23:52:57.814Z] bcfd1f05c69d: Pull complete [2022-07-18T23:52:58.752Z] 59ccb84bbe0f: Pull complete [2022-07-18T23:52:58.752Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-18T23:52:58.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-18T23:52:58.752Z] ---> a4fb48ad2a94 [2022-07-18T23:52:58.752Z] Step 3/12 : ARG MAKE='make build' [2022-07-18T23:53:02.059Z] ---> Running in 74db9afaf01b [2022-07-18T23:53:02.059Z] Removing intermediate container 74db9afaf01b [2022-07-18T23:53:02.059Z] ---> ab6e9fca009e [2022-07-18T23:53:02.059Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T23:53:02.059Z] ---> Running in 132d318ab447 [2022-07-18T23:53:02.059Z] Removing intermediate container 132d318ab447 [2022-07-18T23:53:02.059Z] ---> 3ca4a8b22805 [2022-07-18T23:53:02.059Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T23:53:02.059Z] ---> Running in 36f0a90f9490 [2022-07-18T23:53:02.059Z] Removing intermediate container 36f0a90f9490 [2022-07-18T23:53:02.059Z] ---> 0e8988ab543e [2022-07-18T23:53:02.059Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T23:53:02.059Z] ---> Running in ac75c9d42bc3 [2022-07-18T23:53:02.629Z] Removing intermediate container ac75c9d42bc3 [2022-07-18T23:53:02.629Z] ---> 6400eebe26df [2022-07-18T23:53:02.629Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T23:53:02.629Z] ---> Running in 2725fd9da821 [2022-07-18T23:53:02.890Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T23:53:03.829Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T23:53:03.829Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T23:53:04.090Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T23:53:04.090Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T23:53:04.349Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T23:53:04.349Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T23:53:04.349Z] OK: 216 MiB in 55 packages [2022-07-18T23:53:04.632Z] Still waiting to schedule task [2022-07-18T23:53:04.633Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-18T23:53:04.921Z] Removing intermediate container 2725fd9da821 [2022-07-18T23:53:04.922Z] ---> 8b6c43cfa82f [2022-07-18T23:53:04.922Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-18T23:53:04.922Z] ---> Running in b79a07e82d9e [2022-07-18T23:53:04.922Z] Removing intermediate container b79a07e82d9e [2022-07-18T23:53:04.922Z] ---> cb8076c43049 [2022-07-18T23:53:04.922Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-18T23:53:04.922Z] ---> 947f616f33a2 [2022-07-18T23:53:04.922Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T23:53:04.922Z] ---> Running in 3eecc6486d86 [2022-07-18T23:53:23.250Z] Removing intermediate container 3eecc6486d86 [2022-07-18T23:53:23.250Z] ---> 97d7286fc4e7 [2022-07-18T23:53:23.250Z] Step 11/12 : COPY . . [2022-07-18T23:53:23.250Z] ---> 31929f1c2438 [2022-07-18T23:53:23.250Z] Step 12/12 : RUN $MAKE [2022-07-18T23:53:23.250Z] ---> Running in 36a9ebef1657 [2022-07-18T23:53:23.250Z] noop [2022-07-18T23:53:23.250Z] Removing intermediate container 36a9ebef1657 [2022-07-18T23:53:23.250Z] ---> 415108159e84 [2022-07-18T23:53:23.250Z] Successfully built 415108159e84 [2022-07-18T23:53:23.250Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:53:23.575Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T23:53:23.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T23:53:23.656Z] prd-ubuntu20.04-docker-8c-8g-20448 does not seem to be running inside a container [2022-07-18T23:53:23.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat [2022-07-18T23:53:24.039Z] $ docker top 6eea738560a41a4f923b5648f543519da2d7870f0f3285ae6d0617e0681f4212 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T23:53:24.387Z] + go version [2022-07-18T23:53:24.387Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-18T23:53:24.404Z] $ docker stop --time=1 6eea738560a41a4f923b5648f543519da2d7870f0f3285ae6d0617e0681f4212 [2022-07-18T23:53:25.651Z] $ docker rm -f 6eea738560a41a4f923b5648f543519da2d7870f0f3285ae6d0617e0681f4212 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:53:26.056Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T23:53:26.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T23:53:26.163Z] prd-ubuntu20.04-docker-8c-8g-20448 does not seem to be running inside a container [2022-07-18T23:53:26.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat [2022-07-18T23:53:26.579Z] $ docker top 8610d112725a239ecc9d9b53bd4f39c3d88e04bc390cbe603959ab8a991f5ba5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T23:53:26.929Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-07-18T23:53:27.229Z] + make test [2022-07-18T23:53:27.229Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T23:53:27.489Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-18T23:53:37.475Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-18T23:53:37.475Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-07-18T23:53:44.052Z] 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-07-18T23:53:44.052Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T23:53:46.590Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T23:53:46.590Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T23:53:46.590Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T23:53:46.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T23:53:46.624Z] $ docker stop --time=1 8610d112725a239ecc9d9b53bd4f39c3d88e04bc390cbe603959ab8a991f5ba5 [2022-07-18T23:53:48.776Z] $ docker rm -f 8610d112725a239ecc9d9b53bd4f39c3d88e04bc390cbe603959ab8a991f5ba5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T23:53:49.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T23:53:49.285Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-18T23:53:49.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T23:53:50.103Z] + ls -al . [2022-07-18T23:53:50.103Z] total 172 [2022-07-18T23:53:50.103Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 23:53 . [2022-07-18T23:53:50.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 23:52 .. [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 18 23:52 .dockerignore [2022-07-18T23:53:50.103Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 23:53 .git [2022-07-18T23:53:50.103Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 23:52 .github [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 18 23:52 .gitignore [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 23:52 .golangci.yml [2022-07-18T23:53:50.103Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 23:52 .semver [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 18 23:52 Attribution.txt [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 18 23:52 CHANGELOG.md [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 18 23:52 Dockerfile [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 23:52 GOVERNANCE.md [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 18 23:52 Jenkinsfile [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 23:52 LICENSE [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 18 23:52 Makefile [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 23:52 OWNERS.md [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 18 23:52 README.md [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 18 23:52 VERSION [2022-07-18T23:53:50.103Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 23:52 bin [2022-07-18T23:53:50.103Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 23:52 cmd [2022-07-18T23:53:50.103Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 18 23:53 coverage.out [2022-07-18T23:53:50.103Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 23:52 driver [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 3339 Jul 18 23:52 go.mod [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 35353 Jul 18 23:52 go.sum [2022-07-18T23:53:50.103Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 23:52 snap [2022-07-18T23:53:50.103Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 18 23:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:53:50.412Z] + 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=573a93dc585fd2e24dadc7fb4d4ae830a990380c --label arch=amd64 --label version=2.2.1-dev.10 . [2022-07-18T23:53:50.412Z] Sending build context to Docker daemon 10.7MB [2022-07-18T23:53:50.412Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T23:53:50.412Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-18T23:53:50.412Z] ---> 415108159e84 [2022-07-18T23:53:50.412Z] Step 3/25 : ARG MAKE='make build' [2022-07-18T23:53:50.673Z] ---> Running in 80e49f9b9d20 [2022-07-18T23:53:50.673Z] Removing intermediate container 80e49f9b9d20 [2022-07-18T23:53:50.673Z] ---> 8331c5a5395f [2022-07-18T23:53:50.673Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T23:53:50.673Z] ---> Running in fc70ebd4e9c0 [2022-07-18T23:53:50.673Z] Removing intermediate container fc70ebd4e9c0 [2022-07-18T23:53:50.673Z] ---> 2a2c767ec7f8 [2022-07-18T23:53:50.673Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T23:53:50.673Z] ---> Running in 178dcacb6528 [2022-07-18T23:53:50.934Z] Removing intermediate container 178dcacb6528 [2022-07-18T23:53:50.934Z] ---> f19e286d6804 [2022-07-18T23:53:50.934Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T23:53:50.934Z] ---> Running in 8952a029e2a6 [2022-07-18T23:53:51.503Z] Removing intermediate container 8952a029e2a6 [2022-07-18T23:53:51.503Z] ---> 6896de53d7a9 [2022-07-18T23:53:51.503Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T23:53:51.503Z] ---> Running in 2fdee0f37c6d [2022-07-18T23:53:51.764Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T23:53:52.719Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T23:53:52.979Z] OK: 216 MiB in 55 packages [2022-07-18T23:53:53.245Z] Removing intermediate container 2fdee0f37c6d [2022-07-18T23:53:53.245Z] ---> da610e5e9b5a [2022-07-18T23:53:53.245Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-18T23:53:53.245Z] ---> Running in d206d82cd07c [2022-07-18T23:53:53.245Z] Removing intermediate container d206d82cd07c [2022-07-18T23:53:53.245Z] ---> 8db590720b12 [2022-07-18T23:53:53.245Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-18T23:53:53.505Z] ---> 8a1719373474 [2022-07-18T23:53:53.505Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T23:53:53.505Z] ---> Running in ca66f9b97e42 [2022-07-18T23:53:54.078Z] Removing intermediate container ca66f9b97e42 [2022-07-18T23:53:54.078Z] ---> f5b24a4e7546 [2022-07-18T23:53:54.078Z] Step 11/25 : COPY . . [2022-07-18T23:53:54.648Z] ---> 305064479514 [2022-07-18T23:53:54.648Z] Step 12/25 : RUN $MAKE [2022-07-18T23:53:54.648Z] ---> Running in d4e469ec261e [2022-07-18T23:53:54.909Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-18T23:54:16.868Z] Removing intermediate container d4e469ec261e [2022-07-18T23:54:16.868Z] ---> 0eef03d601b0 [2022-07-18T23:54:16.868Z] Step 13/25 : FROM alpine:3.16 [2022-07-18T23:54:16.868Z] 3.16: Pulling from library/alpine [2022-07-18T23:54:16.868Z] 530afca65e2e: Pulling fs layer [2022-07-18T23:54:16.868Z] 530afca65e2e: Download complete [2022-07-18T23:54:16.868Z] 530afca65e2e: Pull complete [2022-07-18T23:54:16.868Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-18T23:54:16.868Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T23:54:16.868Z] ---> d7d3d98c851f [2022-07-18T23:54:16.868Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-18T23:54:16.868Z] ---> Running in 3d48ee6d2514 [2022-07-18T23:54:16.868Z] Removing intermediate container 3d48ee6d2514 [2022-07-18T23:54:16.868Z] ---> 6fc23c59acab [2022-07-18T23:54:16.868Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-18T23:54:16.868Z] ---> Running in ad4180ebe6df [2022-07-18T23:54:16.868Z] Removing intermediate container ad4180ebe6df [2022-07-18T23:54:16.868Z] ---> 81036b2ac03c [2022-07-18T23:54:16.868Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-18T23:54:16.868Z] ---> Running in ba8c4f9d1130 [2022-07-18T23:54:16.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T23:54:22.147Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: temporary error (try again later) [2022-07-18T23:54:22.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T23:54:26.346Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/community: temporary error (try again later) [2022-07-18T23:54:26.346Z] ERROR: unable to select packages: [2022-07-18T23:54:26.346Z]  dumb-init (no such package): [2022-07-18T23:54:26.346Z] required by: world[dumb-init] [2022-07-18T23:54:26.346Z] zeromq (no such package): [2022-07-18T23:54:26.346Z] required by: world[zeromq] [2022-07-18T23:54:26.605Z] The command '/bin/sh -c apk add --update --no-cache zeromq dumb-init' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:54:27.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T23:54:27.017Z] [2022-07-18T23:54:27.017Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:54:27.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T23:54:27.319Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-18T23:54:27.319Z] 5eb5b503b376: Pulling fs layer [2022-07-18T23:54:27.319Z] 5c69ac0246d0: Pulling fs layer [2022-07-18T23:54:27.319Z] ec43610c2a17: Pulling fs layer [2022-07-18T23:54:27.319Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-18T23:54:27.319Z] 33b1e0a273af: Pulling fs layer [2022-07-18T23:54:27.319Z] 5d3b04190fa2: Pulling fs layer [2022-07-18T23:54:27.319Z] 2f39f015ded8: Pulling fs layer [2022-07-18T23:54:27.319Z] 33b1e0a273af: Waiting [2022-07-18T23:54:27.319Z] 5d3b04190fa2: Waiting [2022-07-18T23:54:27.319Z] 2f39f015ded8: Waiting [2022-07-18T23:54:27.319Z] 3a2ae6a8a46f: Waiting [2022-07-18T23:54:27.319Z] 5c69ac0246d0: Download complete [2022-07-18T23:54:27.319Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-18T23:54:27.319Z] 3a2ae6a8a46f: Download complete [2022-07-18T23:54:27.319Z] 33b1e0a273af: Verifying Checksum [2022-07-18T23:54:27.319Z] 33b1e0a273af: Download complete [2022-07-18T23:54:27.319Z] 5d3b04190fa2: Download complete [2022-07-18T23:54:27.578Z] ec43610c2a17: Verifying Checksum [2022-07-18T23:54:27.578Z] ec43610c2a17: Download complete [2022-07-18T23:54:27.578Z] 5eb5b503b376: Verifying Checksum [2022-07-18T23:54:27.578Z] 5eb5b503b376: Download complete [2022-07-18T23:54:28.146Z] 2f39f015ded8: Download complete [2022-07-18T23:54:28.715Z] 5eb5b503b376: Pull complete [2022-07-18T23:54:28.975Z] 5c69ac0246d0: Pull complete [2022-07-18T23:54:29.545Z] ec43610c2a17: Pull complete [2022-07-18T23:54:29.545Z] 3a2ae6a8a46f: Pull complete [2022-07-18T23:54:29.545Z] 33b1e0a273af: Pull complete [2022-07-18T23:54:29.803Z] 5d3b04190fa2: Pull complete [2022-07-18T23:54:33.992Z] 2f39f015ded8: Pull complete [2022-07-18T23:54:33.992Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-18T23:54:33.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T23:54:34.250Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T23:54:34.341Z] prd-ubuntu20.04-docker-8c-8g-20448 does not seem to be running inside a container [2022-07-18T23:54:34.380Z] $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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-07-18T23:54:36.236Z] $ docker top f770fc4de43dba551a14e55811822751a926158de50d3f5cdbf62c24752ec7c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T23:54:36.641Z] ---> job-cost.sh [2022-07-18T23:54:36.642Z] lf-activate-venv: SKIPPING [2022-07-18T23:54:36.642Z] INFO: No Stack... [2022-07-18T23:54:36.901Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T23:54:37.471Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T23:54:37.763Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-07-18T23:54:37.763Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T23:54:37.776Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] [2022-07-18T23:54:37.781Z] Resource [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] did not exist. Created. [2022-07-18T23:54:37.781Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T23:54:38.085Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-18T23:54:38.110Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T23:54:38.116Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T23:54:38.143Z] $ docker stop --time=1 f770fc4de43dba551a14e55811822751a926158de50d3f5cdbf62c24752ec7c9 [2022-07-18T23:54:39.319Z] $ docker rm -f f770fc4de43dba551a14e55811822751a926158de50d3f5cdbf62c24752ec7c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-18T23:54:39.452Z] Failed in branch amd64 [2022-07-18T23:54:42.015Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20449 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-07-18T23:54:42.026Z] Running in /w/workspace/device-rest-go/53 [Pipeline] { [Pipeline] checkout [2022-07-18T23:54:42.055Z] The recommended git tool is: git [2022-07-18T23:54:48.264Z] using credential edgex-jenkins-ssh [2022-07-18T23:54:48.286Z] Cloning the remote Git repository [2022-07-18T23:54:48.373Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-18T23:54:48.452Z] > git init /w/workspace/device-rest-go/53 # timeout=10 [2022-07-18T23:54:48.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-18T23:54:48.537Z] > git --version # timeout=10 [2022-07-18T23:54:48.554Z] > git --version # 'git version 2.25.1' [2022-07-18T23:54:48.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T23:54:48.653Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T23:54:50.466Z] Avoid second fetch [2022-07-18T23:54:50.466Z] Checking out Revision 573a93dc585fd2e24dadc7fb4d4ae830a990380c (main) [2022-07-18T23:54:50.422Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-18T23:54:50.451Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T23:54:50.490Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T23:54:50.506Z] > git checkout -f 573a93dc585fd2e24dadc7fb4d4ae830a990380c # timeout=10 [2022-07-18T23:54:54.623Z] Commit message: "Merge pull request #207 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T23:54:55.546Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-18T23:54:55.546Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T23:54:55.547Z] Dload Upload Total Spent Left Speed [2022-07-18T23:54:55.547Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97102 0 --:--:-- --:--:-- --:--:-- 97102 [Pipeline] sh [2022-07-18T23:54:56.197Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-18T23:54:56.546Z] + sudo tee /etc/docker/daemon.new [2022-07-18T23:54:56.546Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-18T23:54:56.546Z] { [2022-07-18T23:54:56.546Z] "registry-mirrors": [ [2022-07-18T23:54:56.546Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-18T23:54:56.546Z] ], [2022-07-18T23:54:56.546Z] "bip": "10.250.0.254/24", [2022-07-18T23:54:56.546Z] "hosts": [ [2022-07-18T23:54:56.546Z] "tcp://0.0.0.0:5555", [2022-07-18T23:54:56.546Z] "unix:///var/run/docker.sock" [2022-07-18T23:54:56.546Z] ], [2022-07-18T23:54:56.546Z] "mtu": 1458, [2022-07-18T23:54:56.546Z] "selinux-enabled": true, [2022-07-18T23:54:56.546Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-18T23:54:56.546Z] } [Pipeline] sh [2022-07-18T23:54:56.941Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-18T23:54:57.286Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T23:55:15.621Z] provisioning config files... [2022-07-18T23:55:15.645Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/53@tmp/config1861017252055814493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T23:55:16.003Z] ---> docker-login.sh [2022-07-18T23:55:16.003Z] nexus3.edgexfoundry.org:10001 [2022-07-18T23:55:16.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:55:16.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:55:16.875Z] Configure a credential helper to remove this warning. See [2022-07-18T23:55:16.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:55:16.875Z] [2022-07-18T23:55:16.875Z] Login Succeeded [2022-07-18T23:55:16.875Z] nexus3.edgexfoundry.org:10002 [2022-07-18T23:55:17.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:55:17.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:55:17.147Z] Configure a credential helper to remove this warning. See [2022-07-18T23:55:17.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:55:17.147Z] [2022-07-18T23:55:17.147Z] Login Succeeded [2022-07-18T23:55:17.147Z] nexus3.edgexfoundry.org:10003 [2022-07-18T23:55:17.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:55:17.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:55:17.755Z] Configure a credential helper to remove this warning. See [2022-07-18T23:55:17.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:55:17.755Z] [2022-07-18T23:55:17.755Z] Login Succeeded [2022-07-18T23:55:17.755Z] nexus3.edgexfoundry.org:10004 [2022-07-18T23:55:18.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:55:18.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:55:18.033Z] Configure a credential helper to remove this warning. See [2022-07-18T23:55:18.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:55:18.033Z] [2022-07-18T23:55:18.033Z] Login Succeeded [2022-07-18T23:55:18.033Z] docker.io [2022-07-18T23:55:18.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T23:55:18.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T23:55:18.901Z] Configure a credential helper to remove this warning. See [2022-07-18T23:55:18.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T23:55:18.901Z] [2022-07-18T23:55:18.901Z] Login Succeeded [2022-07-18T23:55:18.901Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T23:55:18.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T23:55:19.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T23:55:19.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T23:55:19.433Z] ========================================================= [2022-07-18T23:55:19.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-18T23:55:19.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:55:19.830Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-18T23:55:19.830Z] Sending build context to Docker daemon 126.5kB [2022-07-18T23:55:20.105Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T23:55:20.105Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T23:55:20.380Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-18T23:55:20.380Z] b3c136eddcbf: Pulling fs layer [2022-07-18T23:55:20.380Z] c0a3192eca97: Pulling fs layer [2022-07-18T23:55:20.380Z] a050256f5b6f: Pulling fs layer [2022-07-18T23:55:20.380Z] 656be50a0ddc: Pulling fs layer [2022-07-18T23:55:20.380Z] 2bbca73fdf42: Pulling fs layer [2022-07-18T23:55:20.380Z] 46d945488cbd: Pulling fs layer [2022-07-18T23:55:20.380Z] 8a5474983e97: Pulling fs layer [2022-07-18T23:55:20.380Z] 329c88fbcd65: Pulling fs layer [2022-07-18T23:55:20.380Z] 2bbca73fdf42: Waiting [2022-07-18T23:55:20.380Z] 46d945488cbd: Waiting [2022-07-18T23:55:20.380Z] 8a5474983e97: Waiting [2022-07-18T23:55:20.380Z] 329c88fbcd65: Waiting [2022-07-18T23:55:20.380Z] 656be50a0ddc: Waiting [2022-07-18T23:55:20.380Z] a050256f5b6f: Verifying Checksum [2022-07-18T23:55:20.380Z] a050256f5b6f: Download complete [2022-07-18T23:55:20.380Z] c0a3192eca97: Download complete [2022-07-18T23:55:20.380Z] 2bbca73fdf42: Verifying Checksum [2022-07-18T23:55:20.380Z] 2bbca73fdf42: Download complete [2022-07-18T23:55:20.380Z] 46d945488cbd: Verifying Checksum [2022-07-18T23:55:20.380Z] 46d945488cbd: Download complete [2022-07-18T23:55:20.380Z] b3c136eddcbf: Verifying Checksum [2022-07-18T23:55:20.380Z] b3c136eddcbf: Download complete [2022-07-18T23:55:21.377Z] b3c136eddcbf: Pull complete [2022-07-18T23:55:21.377Z] 329c88fbcd65: Verifying Checksum [2022-07-18T23:55:21.377Z] 329c88fbcd65: Download complete [2022-07-18T23:55:21.980Z] c0a3192eca97: Pull complete [2022-07-18T23:55:21.980Z] a050256f5b6f: Pull complete [2022-07-18T23:55:22.593Z] 8a5474983e97: Verifying Checksum [2022-07-18T23:55:23.197Z] 656be50a0ddc: Download complete [2022-07-18T23:55:35.627Z] 656be50a0ddc: Pull complete [2022-07-18T23:55:35.902Z] 2bbca73fdf42: Pull complete [2022-07-18T23:55:36.179Z] 46d945488cbd: Pull complete [2022-07-18T23:55:42.911Z] 8a5474983e97: Pull complete [2022-07-18T23:55:44.349Z] 329c88fbcd65: Pull complete [2022-07-18T23:55:44.622Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-18T23:55:44.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-18T23:55:44.622Z] ---> ff4287adb874 [2022-07-18T23:55:44.622Z] Step 3/12 : ARG MAKE='make build' [2022-07-18T23:55:46.059Z] ---> Running in b32725a5089c [2022-07-18T23:55:46.336Z] Removing intermediate container b32725a5089c [2022-07-18T23:55:46.336Z] ---> 51cd71a41c4a [2022-07-18T23:55:46.336Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T23:55:46.610Z] ---> Running in 875d8de1fda3 [2022-07-18T23:55:46.886Z] Removing intermediate container 875d8de1fda3 [2022-07-18T23:55:46.886Z] ---> 87d8939974e6 [2022-07-18T23:55:46.886Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T23:55:46.886Z] ---> Running in 85377bd56bb5 [2022-07-18T23:55:47.162Z] Removing intermediate container 85377bd56bb5 [2022-07-18T23:55:47.162Z] ---> 605edbb50b94 [2022-07-18T23:55:47.162Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T23:55:47.162Z] ---> Running in 5551aebe66ea [2022-07-18T23:55:50.613Z] Removing intermediate container 5551aebe66ea [2022-07-18T23:55:50.613Z] ---> b41c30b50493 [2022-07-18T23:55:50.613Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T23:55:50.613Z] ---> Running in 5ee8106c1ec4 [2022-07-18T23:55:51.594Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T23:55:52.186Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T23:55:53.164Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T23:55:53.164Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T23:55:53.164Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T23:55:53.437Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T23:55:53.437Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T23:55:53.710Z] OK: 226 MiB in 55 packages [2022-07-18T23:55:54.704Z] Removing intermediate container 5ee8106c1ec4 [2022-07-18T23:55:54.704Z] ---> 8054e41bf99a [2022-07-18T23:55:54.704Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-18T23:55:54.704Z] ---> Running in 1eeb50dcc979 [2022-07-18T23:55:54.980Z] Removing intermediate container 1eeb50dcc979 [2022-07-18T23:55:54.980Z] ---> ab19df9cc067 [2022-07-18T23:55:54.980Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-18T23:55:55.576Z] ---> 6a52b0f88055 [2022-07-18T23:55:55.576Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T23:55:55.576Z] ---> Running in ba1c3ce07d80 [2022-07-18T23:56:42.568Z] Removing intermediate container ba1c3ce07d80 [2022-07-18T23:56:42.568Z] ---> bf616b9ed6cd [2022-07-18T23:56:42.568Z] Step 11/12 : COPY . . [2022-07-18T23:56:42.568Z] ---> a7502722681d [2022-07-18T23:56:42.568Z] Step 12/12 : RUN $MAKE [2022-07-18T23:56:42.568Z] ---> Running in 631e16088c9c [2022-07-18T23:56:42.568Z] noop [2022-07-18T23:56:42.568Z] Removing intermediate container 631e16088c9c [2022-07-18T23:56:42.568Z] ---> 0c2f32b83ca0 [2022-07-18T23:56:42.568Z] Successfully built 0c2f32b83ca0 [2022-07-18T23:56:42.568Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:56:42.933Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T23:56:42.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T23:56:43.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-20449 does not seem to be running inside a container [2022-07-18T23:56:43.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/53 -v /w/workspace/device-rest-go/53:/w/workspace/device-rest-go/53:rw,z -v /w/workspace/device-rest-go/53@tmp:/w/workspace/device-rest-go/53@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-arm64 cat [2022-07-18T23:56:44.623Z] $ docker top 5e4cfb7eb1a40115f477c7a02995e2af0da7393867b6f17cbd907f997df1334b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T23:56:45.533Z] + go version [2022-07-18T23:56:45.533Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-18T23:56:45.564Z] $ docker stop --time=1 5e4cfb7eb1a40115f477c7a02995e2af0da7393867b6f17cbd907f997df1334b [2022-07-18T23:56:47.225Z] $ docker rm -f 5e4cfb7eb1a40115f477c7a02995e2af0da7393867b6f17cbd907f997df1334b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:56:47.840Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T23:56:47.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T23:56:48.097Z] prd-ubuntu20.04-docker-arm64-4c-16g-20449 does not seem to be running inside a container [2022-07-18T23:56:48.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/53 -v /w/workspace/device-rest-go/53:/w/workspace/device-rest-go/53:rw,z -v /w/workspace/device-rest-go/53@tmp:/w/workspace/device-rest-go/53@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-arm64 cat [2022-07-18T23:56:49.468Z] $ docker top 2af7a0be68912333f5399f1265c851a0d509de07e6c94b8d394a3aaffb854ecc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T23:56:50.376Z] + git config --global --add safe.directory /w/workspace/device-rest-go/53 [Pipeline] fileExists [Pipeline] sh [2022-07-18T23:56:51.051Z] + make test [2022-07-18T23:56:51.051Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T23:56:52.499Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-18T23:58:14.353Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-18T23:58:14.353Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements [2022-07-18T23:58:14.353Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-18T23:58:14.353Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T23:58:32.707Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T23:58:32.707Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T23:58:32.707Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T23:58:32.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T23:58:32.747Z] $ docker stop --time=1 2af7a0be68912333f5399f1265c851a0d509de07e6c94b8d394a3aaffb854ecc [2022-07-18T23:58:34.526Z] $ docker rm -f 2af7a0be68912333f5399f1265c851a0d509de07e6c94b8d394a3aaffb854ecc [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T23:58:35.431Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T23:58:35.458Z] Warning: overwriting stash ‘coverage-report’ [2022-07-18T23:58:35.886Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T23:58:36.289Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T23:58:36.626Z] + ls -al . [2022-07-18T23:58:36.626Z] total 168 [2022-07-18T23:58:36.626Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 23:56 . [2022-07-18T23:58:36.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 23:54 .. [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 18 23:54 .dockerignore [2022-07-18T23:58:36.626Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 23:54 .git [2022-07-18T23:58:36.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 23:54 .github [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 18 23:54 .gitignore [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 23:54 .golangci.yml [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 18 23:54 Attribution.txt [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 18 23:54 CHANGELOG.md [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 18 23:54 Dockerfile [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 23:54 GOVERNANCE.md [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 18 23:54 Jenkinsfile [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 23:54 LICENSE [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 18 23:54 Makefile [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 23:54 OWNERS.md [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 18 23:54 README.md [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 18 23:52 VERSION [2022-07-18T23:58:36.626Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 23:54 bin [2022-07-18T23:58:36.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 23:54 cmd [2022-07-18T23:58:36.626Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 18 23:58 coverage.out [2022-07-18T23:58:36.626Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 23:54 driver [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 3339 Jul 18 23:54 go.mod [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 35353 Jul 18 23:54 go.sum [2022-07-18T23:58:36.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 23:54 snap [2022-07-18T23:58:36.626Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 18 23:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T23:58:36.983Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=573a93dc585fd2e24dadc7fb4d4ae830a990380c --label arch=arm64 --label version=2.2.1-dev.10 . [2022-07-18T23:58:36.983Z] Sending build context to Docker daemon 136.7kB [2022-07-18T23:58:37.254Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T23:58:37.254Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-18T23:58:37.254Z] ---> 0c2f32b83ca0 [2022-07-18T23:58:37.254Z] Step 3/25 : ARG MAKE='make build' [2022-07-18T23:58:37.254Z] ---> Running in 29f0b47b39e5 [2022-07-18T23:58:37.535Z] Removing intermediate container 29f0b47b39e5 [2022-07-18T23:58:37.535Z] ---> 6a5c24eca143 [2022-07-18T23:58:37.535Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T23:58:37.807Z] ---> Running in 1eb2bf159ae5 [2022-07-18T23:58:38.079Z] Removing intermediate container 1eb2bf159ae5 [2022-07-18T23:58:38.079Z] ---> c02f1b0e0a20 [2022-07-18T23:58:38.079Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T23:58:38.079Z] ---> Running in 5af785f06b50 [2022-07-18T23:58:38.352Z] Removing intermediate container 5af785f06b50 [2022-07-18T23:58:38.352Z] ---> 3b6f157bec9e [2022-07-18T23:58:38.352Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T23:58:38.352Z] ---> Running in bf7f2afffc34 [2022-07-18T23:58:40.441Z] Removing intermediate container bf7f2afffc34 [2022-07-18T23:58:40.441Z] ---> 4fd9293e52a5 [2022-07-18T23:58:40.441Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T23:58:40.441Z] ---> Running in 546f4e203973 [2022-07-18T23:58:41.513Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T23:58:42.108Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T23:58:43.083Z] OK: 226 MiB in 55 packages [2022-07-18T23:58:44.066Z] Removing intermediate container 546f4e203973 [2022-07-18T23:58:44.066Z] ---> 665730f8db42 [2022-07-18T23:58:44.066Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-18T23:58:44.066Z] ---> Running in f1841fd27089 [2022-07-18T23:58:44.337Z] Removing intermediate container f1841fd27089 [2022-07-18T23:58:44.337Z] ---> 527b4f277a73 [2022-07-18T23:58:44.337Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-18T23:58:44.936Z] ---> 6bcc713599ed [2022-07-18T23:58:44.937Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T23:58:44.937Z] ---> Running in b5f248369413 [2022-07-18T23:58:46.911Z] Removing intermediate container b5f248369413 [2022-07-18T23:58:46.911Z] ---> 91880d6a13e6 [2022-07-18T23:58:46.911Z] Step 11/25 : COPY . . [2022-07-18T23:58:47.190Z] ---> ad5d17aa0c7e [2022-07-18T23:58:47.190Z] Step 12/25 : RUN $MAKE [2022-07-18T23:58:47.190Z] ---> Running in a4285d72e7ce [2022-07-18T23:58:48.169Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-19T00:00:55.058Z] Removing intermediate container a4285d72e7ce [2022-07-19T00:00:55.058Z] ---> 6614cd11326a [2022-07-19T00:00:55.058Z] Step 13/25 : FROM alpine:3.16 [2022-07-19T00:00:55.058Z] 3.16: Pulling from library/alpine [2022-07-19T00:00:55.058Z] f97344484467: Pulling fs layer [2022-07-19T00:00:55.058Z] f97344484467: Verifying Checksum [2022-07-19T00:00:55.058Z] f97344484467: Download complete [2022-07-19T00:00:55.058Z] f97344484467: Pull complete [2022-07-19T00:00:55.058Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-19T00:00:55.058Z] Status: Downloaded newer image for alpine:3.16 [2022-07-19T00:00:55.058Z] ---> 3d81c46cd875 [2022-07-19T00:00:55.058Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-19T00:00:55.058Z] ---> Running in 284e0fbd5d09 [2022-07-19T00:00:55.058Z] Removing intermediate container 284e0fbd5d09 [2022-07-19T00:00:55.058Z] ---> d57dd8f73b9f [2022-07-19T00:00:55.058Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-19T00:00:55.058Z] ---> Running in 114b63c3da6d [2022-07-19T00:00:55.058Z] Removing intermediate container 114b63c3da6d [2022-07-19T00:00:55.058Z] ---> 54f72d1d991b [2022-07-19T00:00:55.058Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-19T00:00:55.058Z] ---> Running in d1d6f612f0fa [2022-07-19T00:00:55.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-19T00:00:55.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-19T00:00:55.058Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-19T00:00:55.058Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-19T00:00:55.058Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-19T00:00:55.058Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-19T00:00:55.058Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-19T00:00:55.058Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-19T00:00:55.058Z] Executing busybox-1.35.0-r15.trigger [2022-07-19T00:00:55.058Z] OK: 8 MiB in 20 packages [2022-07-19T00:00:55.058Z] Removing intermediate container d1d6f612f0fa [2022-07-19T00:00:55.058Z] ---> 002ec9ea3fd5 [2022-07-19T00:00:55.058Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-19T00:00:55.058Z] ---> 3ed1cd690bf4 [2022-07-19T00:00:55.058Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-19T00:00:55.658Z] ---> f2e0d51e9237 [2022-07-19T00:00:55.658Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-19T00:00:55.936Z] ---> 3fe7eab13d95 [2022-07-19T00:00:55.936Z] Step 20/25 : EXPOSE 59986 [2022-07-19T00:00:56.227Z] ---> Running in 798bcfcf278c [2022-07-19T00:00:56.506Z] Removing intermediate container 798bcfcf278c [2022-07-19T00:00:56.506Z] ---> f36fdcef27ed [2022-07-19T00:00:56.506Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-19T00:00:56.506Z] ---> Running in 53dc592c889b [2022-07-19T00:00:56.788Z] Removing intermediate container 53dc592c889b [2022-07-19T00:00:56.788Z] ---> 5359466fde27 [2022-07-19T00:00:56.788Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-19T00:00:57.063Z] ---> Running in 694cb6fab86a [2022-07-19T00:00:57.346Z] Removing intermediate container 694cb6fab86a [2022-07-19T00:00:57.346Z] ---> 8dadf84c6dd5 [2022-07-19T00:00:57.346Z] Step 23/25 : LABEL arch=arm64 [2022-07-19T00:00:57.346Z] ---> Running in e3f586492951 [2022-07-19T00:00:57.622Z] Removing intermediate container e3f586492951 [2022-07-19T00:00:57.622Z] ---> ee2dc5c070dd [2022-07-19T00:00:57.622Z] Step 24/25 : LABEL git_sha=573a93dc585fd2e24dadc7fb4d4ae830a990380c [2022-07-19T00:00:57.622Z] ---> Running in 8d0514ac1236 [2022-07-19T00:00:57.895Z] Removing intermediate container 8d0514ac1236 [2022-07-19T00:00:57.895Z] ---> 742477d2f57b [2022-07-19T00:00:57.895Z] Step 25/25 : LABEL version=2.2.1-dev.10 [2022-07-19T00:00:58.167Z] ---> Running in cf3cdcb36eb2 [2022-07-19T00:00:58.440Z] Removing intermediate container cf3cdcb36eb2 [2022-07-19T00:00:58.440Z] ---> 11f06200ad78 [2022-07-19T00:00:58.440Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-19T00:00:58.440Z] Successfully built 11f06200ad78 [2022-07-19T00:00:58.440Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T00:00:58.543Z] provisioning config files... [2022-07-19T00:00:58.560Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/53@tmp/config7964666542051834935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T00:00:58.904Z] ---> docker-login.sh [2022-07-19T00:00:58.904Z] nexus3.edgexfoundry.org:10001 [2022-07-19T00:00:59.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T00:00:59.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T00:00:59.178Z] Configure a credential helper to remove this warning. See [2022-07-19T00:00:59.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T00:00:59.178Z] [2022-07-19T00:00:59.178Z] Login Succeeded [2022-07-19T00:00:59.178Z] nexus3.edgexfoundry.org:10002 [2022-07-19T00:00:59.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T00:00:59.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T00:00:59.775Z] Configure a credential helper to remove this warning. See [2022-07-19T00:00:59.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T00:00:59.775Z] [2022-07-19T00:00:59.775Z] Login Succeeded [2022-07-19T00:00:59.775Z] nexus3.edgexfoundry.org:10003 [2022-07-19T00:01:00.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T00:01:00.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T00:01:00.321Z] Configure a credential helper to remove this warning. See [2022-07-19T00:01:00.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T00:01:00.321Z] [2022-07-19T00:01:00.321Z] Login Succeeded [2022-07-19T00:01:00.321Z] nexus3.edgexfoundry.org:10004 [2022-07-19T00:01:00.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T00:01:00.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T00:01:00.868Z] Configure a credential helper to remove this warning. See [2022-07-19T00:01:00.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T00:01:00.868Z] [2022-07-19T00:01:00.868Z] Login Succeeded [2022-07-19T00:01:00.868Z] docker.io [2022-07-19T00:01:01.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T00:01:01.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T00:01:01.414Z] Configure a credential helper to remove this warning. See [2022-07-19T00:01:01.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T00:01:01.414Z] [2022-07-19T00:01:01.414Z] Login Succeeded [2022-07-19T00:01:01.414Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T00:01:01.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-19T00:01:01.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T00:01:01.488Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-07-19T00:01:01.488Z] 573a93dc585fd2e24dadc7fb4d4ae830a990380c [2022-07-19T00:01:01.488Z] latest [2022-07-19T00:01:01.488Z] 2.2.1-dev.10 [2022-07-19T00:01:01.488Z] 573a93dc585fd2e24dadc7fb4d4ae830a990380c-2.2.1-dev.10 [2022-07-19T00:01:01.488Z] main [2022-07-19T00:01:01.488Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:01.862Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:02.238Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c [2022-07-19T00:01:02.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-19T00:01:02.238Z] 432489c9e278: Preparing [2022-07-19T00:01:02.238Z] 02903b136714: Preparing [2022-07-19T00:01:02.238Z] c35c00b2a110: Preparing [2022-07-19T00:01:02.238Z] 64c900030eab: Preparing [2022-07-19T00:01:02.238Z] 5b7df235d876: Preparing [2022-07-19T00:01:02.513Z] 432489c9e278: Pushed [2022-07-19T00:01:02.513Z] 02903b136714: Pushed [2022-07-19T00:01:03.112Z] 64c900030eab: Pushed [2022-07-19T00:01:04.088Z] 5b7df235d876: Pushed [2022-07-19T00:01:08.380Z] c35c00b2a110: Pushed [2022-07-19T00:01:08.381Z] 573a93dc585fd2e24dadc7fb4d4ae830a990380c: digest: sha256:f9c1c94ff529999e1520f430a2b5a052a79c70371f5692c337b34848a96215ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:08.748Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:09.103Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-07-19T00:01:09.103Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-19T00:01:09.103Z] 432489c9e278: Preparing [2022-07-19T00:01:09.103Z] 02903b136714: Preparing [2022-07-19T00:01:09.103Z] c35c00b2a110: Preparing [2022-07-19T00:01:09.103Z] 64c900030eab: Preparing [2022-07-19T00:01:09.103Z] 5b7df235d876: Preparing [2022-07-19T00:01:09.103Z] 432489c9e278: Layer already exists [2022-07-19T00:01:09.103Z] 64c900030eab: Layer already exists [2022-07-19T00:01:09.103Z] c35c00b2a110: Layer already exists [2022-07-19T00:01:09.103Z] 5b7df235d876: Layer already exists [2022-07-19T00:01:09.103Z] 02903b136714: Layer already exists [2022-07-19T00:01:09.375Z] latest: digest: sha256:f9c1c94ff529999e1520f430a2b5a052a79c70371f5692c337b34848a96215ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:09.745Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:10.103Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.10 [2022-07-19T00:01:10.103Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-19T00:01:10.103Z] 432489c9e278: Preparing [2022-07-19T00:01:10.103Z] 02903b136714: Preparing [2022-07-19T00:01:10.103Z] c35c00b2a110: Preparing [2022-07-19T00:01:10.103Z] 64c900030eab: Preparing [2022-07-19T00:01:10.103Z] 5b7df235d876: Preparing [2022-07-19T00:01:10.103Z] 5b7df235d876: Layer already exists [2022-07-19T00:01:10.103Z] 64c900030eab: Layer already exists [2022-07-19T00:01:10.103Z] 02903b136714: Layer already exists [2022-07-19T00:01:10.103Z] c35c00b2a110: Layer already exists [2022-07-19T00:01:10.103Z] 432489c9e278: Layer already exists [2022-07-19T00:01:10.374Z] 2.2.1-dev.10: digest: sha256:f9c1c94ff529999e1520f430a2b5a052a79c70371f5692c337b34848a96215ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:10.738Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c-2.2.1-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:11.103Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c-2.2.1-dev.10 [2022-07-19T00:01:11.103Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-19T00:01:11.103Z] 432489c9e278: Preparing [2022-07-19T00:01:11.103Z] 02903b136714: Preparing [2022-07-19T00:01:11.103Z] c35c00b2a110: Preparing [2022-07-19T00:01:11.103Z] 64c900030eab: Preparing [2022-07-19T00:01:11.103Z] 5b7df235d876: Preparing [2022-07-19T00:01:11.103Z] 02903b136714: Layer already exists [2022-07-19T00:01:11.103Z] c35c00b2a110: Layer already exists [2022-07-19T00:01:11.103Z] 64c900030eab: Layer already exists [2022-07-19T00:01:11.103Z] 432489c9e278: Layer already exists [2022-07-19T00:01:11.103Z] 5b7df235d876: Layer already exists [2022-07-19T00:01:11.376Z] 573a93dc585fd2e24dadc7fb4d4ae830a990380c-2.2.1-dev.10: digest: sha256:f9c1c94ff529999e1520f430a2b5a052a79c70371f5692c337b34848a96215ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:11.742Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:12.098Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-07-19T00:01:12.098Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-19T00:01:12.098Z] 432489c9e278: Preparing [2022-07-19T00:01:12.098Z] 02903b136714: Preparing [2022-07-19T00:01:12.098Z] c35c00b2a110: Preparing [2022-07-19T00:01:12.098Z] 64c900030eab: Preparing [2022-07-19T00:01:12.098Z] 5b7df235d876: Preparing [2022-07-19T00:01:12.098Z] 5b7df235d876: Layer already exists [2022-07-19T00:01:12.098Z] 02903b136714: Layer already exists [2022-07-19T00:01:12.098Z] 432489c9e278: Layer already exists [2022-07-19T00:01:12.098Z] 64c900030eab: Layer already exists [2022-07-19T00:01:12.098Z] c35c00b2a110: Layer already exists [2022-07-19T00:01:12.371Z] main: digest: sha256:f9c1c94ff529999e1520f430a2b5a052a79c70371f5692c337b34848a96215ca size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-19T00:01:12.431Z] ===================================================== [Pipeline] echo [2022-07-19T00:01:12.437Z] taggedImages: [2022-07-19T00:01:12.437Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c [2022-07-19T00:01:12.437Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-07-19T00:01:12.437Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.10 [2022-07-19T00:01:12.437Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:573a93dc585fd2e24dadc7fb4d4ae830a990380c-2.2.1-dev.10 [2022-07-19T00:01:12.437Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:12.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T00:01:12.798Z] [2022-07-19T00:01:12.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:13.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T00:01:13.438Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-19T00:01:13.439Z] 8998bd30e6a1: Pulling fs layer [2022-07-19T00:01:13.439Z] 04944245beec: Pulling fs layer [2022-07-19T00:01:13.439Z] 699f458cf7ca: Pulling fs layer [2022-07-19T00:01:13.439Z] 765212b225bb: Pulling fs layer [2022-07-19T00:01:13.439Z] f23df028b6ca: Pulling fs layer [2022-07-19T00:01:13.439Z] d65c8cfc05b1: Pulling fs layer [2022-07-19T00:01:13.439Z] 2437ff75d9bd: Pulling fs layer [2022-07-19T00:01:13.439Z] f23df028b6ca: Waiting [2022-07-19T00:01:13.439Z] d65c8cfc05b1: Waiting [2022-07-19T00:01:13.439Z] 765212b225bb: Waiting [2022-07-19T00:01:13.439Z] 2437ff75d9bd: Waiting [2022-07-19T00:01:13.439Z] 04944245beec: Verifying Checksum [2022-07-19T00:01:13.439Z] 04944245beec: Download complete [2022-07-19T00:01:13.439Z] 765212b225bb: Verifying Checksum [2022-07-19T00:01:13.439Z] 765212b225bb: Download complete [2022-07-19T00:01:13.439Z] f23df028b6ca: Verifying Checksum [2022-07-19T00:01:13.439Z] f23df028b6ca: Download complete [2022-07-19T00:01:13.439Z] d65c8cfc05b1: Download complete [2022-07-19T00:01:13.716Z] 699f458cf7ca: Verifying Checksum [2022-07-19T00:01:13.716Z] 699f458cf7ca: Download complete [2022-07-19T00:01:13.990Z] 8998bd30e6a1: Download complete [2022-07-19T00:01:16.616Z] 2437ff75d9bd: Verifying Checksum [2022-07-19T00:01:16.616Z] 2437ff75d9bd: Download complete [2022-07-19T00:01:18.592Z] 8998bd30e6a1: Pull complete [2022-07-19T00:01:18.867Z] 04944245beec: Pull complete [2022-07-19T00:01:20.298Z] 699f458cf7ca: Pull complete [2022-07-19T00:01:20.572Z] 765212b225bb: Pull complete [2022-07-19T00:01:21.550Z] f23df028b6ca: Pull complete [2022-07-19T00:01:21.824Z] d65c8cfc05b1: Pull complete [2022-07-19T00:01:36.918Z] 2437ff75d9bd: Pull complete [2022-07-19T00:01:36.918Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-19T00:01:36.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T00:01:36.918Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T00:01:37.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-20449 does not seem to be running inside a container [2022-07-19T00:01:37.332Z] $ 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/53 -v /w/workspace/device-rest-go/53:/w/workspace/device-rest-go/53:rw,z -v /w/workspace/device-rest-go/53@tmp:/w/workspace/device-rest-go/53@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:arm64 cat [2022-07-19T00:01:39.932Z] $ docker top b4e8373804583570c90838c090e371a58bd50c2d37650f4079e31aed1b23d9a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T00:01:40.911Z] ---> job-cost.sh [2022-07-19T00:01:40.911Z] lf-activate-venv: SKIPPING [2022-07-19T00:01:40.911Z] INFO: No Stack... [2022-07-19T00:01:41.506Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-19T00:01:42.478Z] INFO: Archiving Costs [Pipeline] sh [2022-07-19T00:01:43.142Z] + + cutcat -d, /w/workspace/device-rest-go/53/archives/cost.csv -f6 [2022-07-19T00:01:43.142Z] [Pipeline] lock [2022-07-19T00:01:43.203Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] [2022-07-19T00:01:43.211Z] Resource [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] did not exist. Created. [2022-07-19T00:01:43.211Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-19T00:01:43.882Z] /w/workspace/device-rest-go/53@tmp/durable-0bf1158e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-19T00:01:44.550Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-19T00:01:44.569Z] Warning: overwriting stash ‘stack-cost’ [2022-07-19T00:01:44.608Z] Stashed 1 file(s) [Pipeline] } [2022-07-19T00:01:44.618Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-19T00:01:44.639Z] $ docker stop --time=1 b4e8373804583570c90838c090e371a58bd50c2d37650f4079e31aed1b23d9a2 [2022-07-19T00:01:46.181Z] $ docker rm -f b4e8373804583570c90838c090e371a58bd50c2d37650f4079e31aed1b23d9a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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-07-19T00:01:47.172Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-07-19T00:01:47.172Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-19T00:01:47.172Z] total 16 [2022-07-19T00:01:47.172Z] drwxr-xr-x 3 root root 4096 Jul 18 23:54 . [2022-07-19T00:01:47.172Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 23:54 .. [2022-07-19T00:01:47.172Z] drwxr-xr-x 2 root root 4096 Jul 18 23:54 cost [2022-07-19T00:01:47.172Z] -rw-r--r-- 1 root root 84 Jul 18 23:54 cost.csv [2022-07-19T00:01:47.172Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-19T00:01:47.172Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-19T00:01:47.172Z] total 16 [2022-07-19T00:01:47.172Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 23:54 . [2022-07-19T00:01:47.172Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 23:54 .. [2022-07-19T00:01:47.172Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 23:54 cost [2022-07-19T00:01:47.172Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 18 23:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-19T00:01:47.468Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T00:01:48.331Z] ---> package-listing.sh [2022-07-19T00:01:48.332Z] ++ facter osfamily [2022-07-19T00:01:48.332Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-19T00:01:48.592Z] + OS_FAMILY=debian [2022-07-19T00:01:48.592Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-07-19T00:01:48.592Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-19T00:01:48.592Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-19T00:01:48.592Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-19T00:01:48.592Z] + PACKAGES=/tmp/packages_start.txt [2022-07-19T00:01:48.592Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-07-19T00:01:48.592Z] + PACKAGES=/tmp/packages_end.txt [2022-07-19T00:01:48.592Z] + case "${OS_FAMILY}" in [2022-07-19T00:01:48.592Z] + dpkg -l [2022-07-19T00:01:48.592Z] + grep '^ii' [2022-07-19T00:01:48.592Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-19T00:01:48.592Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-19T00:01:48.592Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-19T00:01:48.592Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-07-19T00:01:48.592Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-07-19T00:01:48.592Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-07-19T00:01:48.603Z] 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-19T00:01:48.880Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T00:01:49.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T00:01:49.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T00:01:49.525Z] prd-ubuntu20.04-docker-8c-8g-20448 does not seem to be running inside a container [2022-07-19T00:01:49.565Z] $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-19T00:01:49.757Z] $ docker top 0aec97b8b2ce47a1f460c06da7b3eb3c80d50212278170c123349b4c577f96b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T00:01:50.101Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-19T00:01:50.389Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-19T00:01:50.677Z] + ls /var/log/sa-host [2022-07-19T00:01:50.677Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T00:01:50.798Z] provisioning config files... [2022-07-19T00:01:50.807Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2863437362984611462tmp [Pipeline] { [Pipeline] echo [2022-07-19T00:01:50.823Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T00:01:51.106Z] ---> create-netrc.sh [Pipeline] } [2022-07-19T00:01:51.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-19T00:01:51.440Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-19T00:01:51.449Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T00:01:51.730Z] ---> sudo-logs.sh [2022-07-19T00:01:51.730Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-19T00:01:51.755Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T00:01:52.038Z] ---> job-cost.sh [2022-07-19T00:01:52.038Z] lf-activate-venv: SKIPPING [2022-07-19T00:01:52.038Z] DEBUG: total: 0.2199999988079071 [2022-07-19T00:01:52.038Z] INFO: Retrieving Stack Cost... [2022-07-19T00:01:52.298Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-19T00:01:52.868Z] INFO: Archiving Costs [Pipeline] echo [2022-07-19T00:01:52.883Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T00:01:53.169Z] ---> logs-deploy.sh [2022-07-19T00:01:53.170Z] lf-activate-venv: SKIPPING [2022-07-19T00:01:53.170Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/53 [2022-07-19T00:01:53.170Z] INFO: archiving workspace using pattern(s): [2022-07-19T00:01:54.110Z] Archives upload complete. [2022-07-19T00:01:54.370Z] INFO: archiving logs to Nexus [2022-07-19T00:01:54.940Z] ---> uname -a: [2022-07-19T00:01:54.940Z] Linux prd-ubuntu20-04-docker-8c-8g-20448 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] ---> lscpu: [2022-07-19T00:01:54.940Z] Architecture: x86_64 [2022-07-19T00:01:54.940Z] CPU op-mode(s): 32-bit, 64-bit [2022-07-19T00:01:54.940Z] Byte Order: Little Endian [2022-07-19T00:01:54.940Z] Address sizes: 40 bits physical, 48 bits virtual [2022-07-19T00:01:54.940Z] CPU(s): 8 [2022-07-19T00:01:54.940Z] On-line CPU(s) list: 0-7 [2022-07-19T00:01:54.940Z] Thread(s) per core: 1 [2022-07-19T00:01:54.940Z] Core(s) per socket: 1 [2022-07-19T00:01:54.940Z] Socket(s): 8 [2022-07-19T00:01:54.940Z] NUMA node(s): 1 [2022-07-19T00:01:54.940Z] Vendor ID: AuthenticAMD [2022-07-19T00:01:54.940Z] CPU family: 23 [2022-07-19T00:01:54.940Z] Model: 49 [2022-07-19T00:01:54.940Z] Model name: AMD EPYC-Rome Processor [2022-07-19T00:01:54.940Z] Stepping: 0 [2022-07-19T00:01:54.940Z] CPU MHz: 2799.864 [2022-07-19T00:01:54.940Z] BogoMIPS: 5599.72 [2022-07-19T00:01:54.940Z] Virtualization: AMD-V [2022-07-19T00:01:54.940Z] Hypervisor vendor: KVM [2022-07-19T00:01:54.940Z] Virtualization type: full [2022-07-19T00:01:54.940Z] L1d cache: 256 KiB [2022-07-19T00:01:54.940Z] L1i cache: 256 KiB [2022-07-19T00:01:54.940Z] L2 cache: 4 MiB [2022-07-19T00:01:54.940Z] L3 cache: 128 MiB [2022-07-19T00:01:54.940Z] NUMA node0 CPU(s): 0-7 [2022-07-19T00:01:54.940Z] Vulnerability Itlb multihit: Not affected [2022-07-19T00:01:54.940Z] Vulnerability L1tf: Not affected [2022-07-19T00:01:54.940Z] Vulnerability Mds: Not affected [2022-07-19T00:01:54.940Z] Vulnerability Meltdown: Not affected [2022-07-19T00:01:54.940Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-07-19T00:01:54.940Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-07-19T00:01:54.940Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-07-19T00:01:54.940Z] Vulnerability Srbds: Not affected [2022-07-19T00:01:54.940Z] Vulnerability Tsx async abort: Not affected [2022-07-19T00:01:54.940Z] 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-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] ---> nproc: [2022-07-19T00:01:54.940Z] 8 [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] ---> df -h: [2022-07-19T00:01:54.940Z] Filesystem Size Used Avail Use% Mounted on [2022-07-19T00:01:54.940Z] overlay 155G 11G 145G 7% / [2022-07-19T00:01:54.940Z] tmpfs 64M 0 64M 0% /dev [2022-07-19T00:01:54.940Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-07-19T00:01:54.940Z] shm 64M 0 64M 0% /dev/shm [2022-07-19T00:01:54.940Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] ---> sar -b -r -n DEV: [2022-07-19T00:01:54.940Z] Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20448) 07/19/22 _x86_64_ (8 CPU) [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] 00:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2022-07-19T00:01:54.940Z] 00:00:01 400.00 0.00 400.00 0.00 0.00 7200.00 0.00 [2022-07-19T00:01:54.940Z] 00:01:01 6.18 0.03 6.15 0.00 0.27 153.84 0.00 [2022-07-19T00:01:54.940Z] Average: 6.25 0.03 6.21 0.00 0.27 155.01 0.00 [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2022-07-19T00:01:54.940Z] 00:00:01 27708944 31773440 516744 1.57 170640 4047656 1889480 5.57 1256524 3409088 244 [2022-07-19T00:01:54.940Z] 00:01:01 27708420 31773500 516632 1.57 170916 4047672 1925508 5.67 1257076 3408364 156 [2022-07-19T00:01:54.940Z] Average: 27708682 31773470 516688 1.57 170778 4047664 1907494 5.62 1256800 3408726 200 [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z] 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2022-07-19T00:01:54.940Z] 00:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-07-19T00:01:54.940Z] 00:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-07-19T00:01:54.940Z] 00:00:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-07-19T00:01:54.940Z] 00:01:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 [2022-07-19T00:01:54.940Z] 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-07-19T00:01:54.940Z] 00:01:01 ens3 0.08 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2022-07-19T00:01:54.940Z] Average: lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 [2022-07-19T00:01:54.940Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-07-19T00:01:54.940Z] Average: ens3 0.08 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2022-07-19T00:01:54.940Z] [2022-07-19T00:01:54.940Z]