Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 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-ssh14416128221112493080.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7e4371ac6d730b8e642184b898413c6ef59a5643 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-ssh529055123898837962.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 7e4371ac6d730b8e642184b898413c6ef59a5643 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-ssh4021315049772848994.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7e4371ac6d730b8e642184b898413c6ef59a5643 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7e4371ac6d730b8e642184b898413c6ef59a5643 # timeout=10 Commit message: "Merge pull request #404 from bill-mahoney/go-1.18" > 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-ssh3020949702361424686.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-ssh485120766098259882.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19320 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 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (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 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 Commit message: "Merge pull request #205 from lenny-intel/Go1.18" > git rev-list --no-walk 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-11T18:13:26.636Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-11T18:13:26.675Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-11T18:13:26.688Z] ========================================================= [2022-07-11T18:13:26.688Z] EdgeX Global Pipelines Version Info [2022-07-11T18:13:26.688Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:13:27.516Z] ------------------- [2022-07-11T18:13:27.516Z] stable info: [2022-07-11T18:13:27.516Z] ------------------- [2022-07-11T18:13:27.516Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T18:13:27.516Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T18:13:27.516Z] Message: update stable to v1.0.236 [2022-07-11T18:13:28.089Z] ------------------- [2022-07-11T18:13:28.089Z] experimental info: [2022-07-11T18:13:28.089Z] ------------------- [2022-07-11T18:13:28.089Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-11T18:13:28.089Z] Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 [2022-07-11T18:13:28.089Z] Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-11T18:13:28.299Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-11T18:13:28.315Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-11T18:13:28.325Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-11T18:13:28.337Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-11T18:13:28.349Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-11T18:13:28.360Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-11T18:13:28.370Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-11T18:13:28.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-11T18:13:28.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-11T18:13:28.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-11T18:13:28.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-11T18:13:28.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-11T18:13:28.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-11T18:13:28.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-11T18:13:28.444Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T18:13:28.452Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-11T18:13:28.460Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T18:13:28.468Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-11T18:13:28.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-11T18:13:28.484Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-11T18:13:28.497Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-11T18:13:28.516Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-11T18:13:28.526Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-11T18:13:28.534Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-11T18:13:28.548Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-11T18:13:28.565Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-11T18:13:28.582Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-11T18:13:28.593Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-11T18:13:28.607Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-11T18:13:28.618Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-11T18:13:28.631Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo [2022-07-11T18:13:28.643Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 328f14c [Pipeline] echo [2022-07-11T18:13:28.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T18:13:28.691Z] provisioning config files... [2022-07-11T18:13:28.705Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4927142803579130889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:13:29.009Z] ---> docker-login.sh [2022-07-11T18:13:29.009Z] nexus3.edgexfoundry.org:10001 [2022-07-11T18:13:29.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:13:29.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:13:29.270Z] Configure a credential helper to remove this warning. See [2022-07-11T18:13:29.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:13:29.270Z] [2022-07-11T18:13:29.270Z] Login Succeeded [2022-07-11T18:13:29.270Z] nexus3.edgexfoundry.org:10002 [2022-07-11T18:13:29.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:13:29.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:13:29.531Z] Configure a credential helper to remove this warning. See [2022-07-11T18:13:29.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:13:29.531Z] [2022-07-11T18:13:29.531Z] Login Succeeded [2022-07-11T18:13:29.531Z] nexus3.edgexfoundry.org:10003 [2022-07-11T18:13:29.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:13:29.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:13:29.792Z] Configure a credential helper to remove this warning. See [2022-07-11T18:13:29.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:13:29.792Z] [2022-07-11T18:13:29.792Z] Login Succeeded [2022-07-11T18:13:29.792Z] nexus3.edgexfoundry.org:10004 [2022-07-11T18:13:29.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:13:29.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:13:29.792Z] Configure a credential helper to remove this warning. See [2022-07-11T18:13:29.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:13:29.792Z] [2022-07-11T18:13:29.792Z] Login Succeeded [2022-07-11T18:13:29.792Z] docker.io [2022-07-11T18:13:29.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:13:30.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:13:30.367Z] Configure a credential helper to remove this warning. See [2022-07-11T18:13:30.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:13:30.367Z] [2022-07-11T18:13:30.367Z] Login Succeeded [2022-07-11T18:13:30.367Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T18:13:30.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-11T18:13:30.762Z] + git rev-list -1 --merges 328f14cd4e0e2f12280e28257e4d0d1118a94cd7~1..328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo [2022-07-11T18:13:30.789Z] -----------> git rev-list -1 --merges 328f14cd4e0e2f12280e28257e4d0d1118a94cd7~1..328f14cd4e0e2f12280e28257e4d0d1118a94cd7 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T18:13:30.790Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [false] [Pipeline] sh [2022-07-11T18:13:31.092Z] + git log --format=format:%s -1 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo [2022-07-11T18:13:31.110Z] ========================================================= [2022-07-11T18:13:31.110Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-11T18:13:31.110Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T18:13:31.453Z] + git log --format=format:%s -1 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo [2022-07-11T18:13:31.467Z] [semverPrep] GIT_COMMIT: 328f14cd4e0e2f12280e28257e4d0d1118a94cd7, Commit Message: Merge pull request #205 from lenny-intel/Go1.18 [Pipeline] echo [2022-07-11T18:13:31.476Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-11T18:13:31.822Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-11T18:13:31.822Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-11T18:13:31.822Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-11T18:13:31.822Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-11T18:13:31.822Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-11T18:13:31.822Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-11T18:13:31.822Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:13:32.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T18:13:32.178Z] [2022-07-11T18:13:32.178Z] 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-11T18:13:32.482Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T18:13:32.482Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-11T18:13:32.482Z] b85a868b505f: Pulling fs layer [2022-07-11T18:13:32.482Z] e2be974225ed: Pulling fs layer [2022-07-11T18:13:32.482Z] 339a4e72a1f5: Pulling fs layer [2022-07-11T18:13:32.482Z] 988bab9f4d93: Pulling fs layer [2022-07-11T18:13:32.482Z] 1469e6f7b9e6: Pulling fs layer [2022-07-11T18:13:32.482Z] eaf3925da568: Pulling fs layer [2022-07-11T18:13:32.482Z] bab4dde63d76: Pulling fs layer [2022-07-11T18:13:32.482Z] bde34c3a00c8: Pulling fs layer [2022-07-11T18:13:32.482Z] b352a97aabf1: Pulling fs layer [2022-07-11T18:13:32.482Z] 1469e6f7b9e6: Waiting [2022-07-11T18:13:32.482Z] 4872d77fe225: Pulling fs layer [2022-07-11T18:13:32.482Z] bab4dde63d76: Waiting [2022-07-11T18:13:32.482Z] 5851b861e8e6: Pulling fs layer [2022-07-11T18:13:32.482Z] b352a97aabf1: Waiting [2022-07-11T18:13:32.482Z] 4872d77fe225: Waiting [2022-07-11T18:13:32.482Z] 5851b861e8e6: Waiting [2022-07-11T18:13:32.482Z] bde34c3a00c8: Waiting [2022-07-11T18:13:32.482Z] eaf3925da568: Waiting [2022-07-11T18:13:32.482Z] 988bab9f4d93: Waiting [2022-07-11T18:13:32.482Z] e2be974225ed: Download complete [2022-07-11T18:13:32.482Z] 988bab9f4d93: Download complete [2022-07-11T18:13:32.742Z] 1469e6f7b9e6: Verifying Checksum [2022-07-11T18:13:32.742Z] 1469e6f7b9e6: Download complete [2022-07-11T18:13:32.742Z] 339a4e72a1f5: Verifying Checksum [2022-07-11T18:13:32.742Z] 339a4e72a1f5: Download complete [2022-07-11T18:13:32.742Z] eaf3925da568: Verifying Checksum [2022-07-11T18:13:32.742Z] eaf3925da568: Download complete [2022-07-11T18:13:32.742Z] bde34c3a00c8: Verifying Checksum [2022-07-11T18:13:32.742Z] bde34c3a00c8: Download complete [2022-07-11T18:13:32.742Z] b352a97aabf1: Verifying Checksum [2022-07-11T18:13:32.743Z] 4872d77fe225: Verifying Checksum [2022-07-11T18:13:32.743Z] 4872d77fe225: Download complete [2022-07-11T18:13:32.743Z] 5851b861e8e6: Download complete [2022-07-11T18:13:32.743Z] b85a868b505f: Download complete [2022-07-11T18:13:33.002Z] bab4dde63d76: Verifying Checksum [2022-07-11T18:13:33.002Z] bab4dde63d76: Download complete [2022-07-11T18:13:34.382Z] b85a868b505f: Pull complete [2022-07-11T18:13:34.382Z] e2be974225ed: Pull complete [2022-07-11T18:13:34.953Z] 339a4e72a1f5: Pull complete [2022-07-11T18:13:34.953Z] 988bab9f4d93: Pull complete [2022-07-11T18:13:35.218Z] 1469e6f7b9e6: Pull complete [2022-07-11T18:13:35.479Z] eaf3925da568: Pull complete [2022-07-11T18:13:37.412Z] bab4dde63d76: Pull complete [2022-07-11T18:13:37.412Z] bde34c3a00c8: Pull complete [2022-07-11T18:13:37.676Z] b352a97aabf1: Pull complete [2022-07-11T18:13:37.676Z] 4872d77fe225: Pull complete [2022-07-11T18:13:37.677Z] 5851b861e8e6: Pull complete [2022-07-11T18:13:37.938Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-11T18:13:37.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-11T18:13:37.938Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:13:38.045Z] prd-ubuntu20.04-docker-8c-8g-19320 does not seem to be running inside a container [2022-07-11T18:13:38.093Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-11T18:13:39.598Z] $ docker top 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b -eo pid,comm [2022-07-11T18:13:39.669Z] 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-11T18:13:39.669Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-11T18:13:39.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T18:13:39.698Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T18:13:39.839Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T18:13:39.847Z] $ docker exec 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b ssh-agent [2022-07-11T18:13:39.976Z] SSH_AUTH_SOCK=/tmp/ssh-6cZ3XzEHXl8e/agent.33 [2022-07-11T18:13:39.976Z] SSH_AGENT_PID=39 [2022-07-11T18:13:39.983Z] Running ssh-add (command line suppressed) [2022-07-11T18:13:40.118Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6111775620220940372.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6111775620220940372.key) [2022-07-11T18:13:40.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T18:13:40.418Z] + git tag --points-at HEAD [Pipeline] } [2022-07-11T18:13:40.439Z] $ docker exec --env ******** --env ******** 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b ssh-agent -k [2022-07-11T18:13:40.575Z] unset SSH_AUTH_SOCK; [2022-07-11T18:13:40.576Z] unset SSH_AGENT_PID; [2022-07-11T18:13:40.576Z] echo Agent pid 39 killed; [2022-07-11T18:13:40.581Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-07-11T18:13:40.603Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.1-dev.8' [Pipeline] sshagent [2022-07-11T18:13:40.615Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-11T18:13:40.615Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-11T18:13:40.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-11T18:13:40.775Z] $ docker exec 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b ssh-agent [2022-07-11T18:13:40.900Z] SSH_AUTH_SOCK=/tmp/ssh-PG38gmyu9Xi1/agent.72 [2022-07-11T18:13:40.900Z] SSH_AGENT_PID=79 [2022-07-11T18:13:40.905Z] Running ssh-add (command line suppressed) [2022-07-11T18:13:41.028Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3161732934380913834.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3161732934380913834.key) [2022-07-11T18:13:41.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-11T18:13:41.337Z] + git semver init [2022-07-11T18:13:41.598Z] 2022-07-11 18:13:41,569 [run_init] DEBUG init version:0.0.0 force:False [2022-07-11T18:13:41.598Z] 2022-07-11 18:13:41,570 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-07-11T18:13:41.598Z] 2022-07-11 18:13:41,570 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-07-11T18:13:41.598Z] 2022-07-11 18:13:41,570 [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-11T18:13:44.909Z] 2022-07-11 18:13:44,648 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-07-11T18:13:44.909Z] 2022-07-11 18:13:44,649 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-07-11T18:13:44.909Z] 2022-07-11 18:13:44,649 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-11T18:13:44.909Z] 2022-07-11 18:13:44,650 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-07-11T18:13:44.909Z] 2.2.1-dev.9 [Pipeline] } [2022-07-11T18:13:44.925Z] $ docker exec --env ******** --env ******** 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b ssh-agent -k [2022-07-11T18:13:45.060Z] unset SSH_AUTH_SOCK; [2022-07-11T18:13:45.061Z] unset SSH_AGENT_PID; [2022-07-11T18:13:45.061Z] echo Agent pid 79 killed; [2022-07-11T18:13:45.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-11T18:13:45.378Z] + git semver [Pipeline] } [2022-07-11T18:13:45.659Z] $ docker stop --time=1 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b [2022-07-11T18:13:46.992Z] $ docker rm -f 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T18:13:47.346Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-11T18:13:47.592Z] Stashed 1 file(s) [Pipeline] echo [2022-07-11T18:13:47.594Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.9 [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-11T18:13:47.725Z] provisioning config files... [2022-07-11T18:13:47.736Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3726942180655639531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:13:48.036Z] ---> docker-login.sh [2022-07-11T18:13:48.036Z] nexus3.edgexfoundry.org:10001 [2022-07-11T18:13:48.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:13:48.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:13:48.036Z] Configure a credential helper to remove this warning. See [2022-07-11T18:13:48.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:13:48.036Z] [2022-07-11T18:13:48.036Z] Login Succeeded [2022-07-11T18:13:48.036Z] nexus3.edgexfoundry.org:10002 [2022-07-11T18:13:48.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:13:48.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:13:48.296Z] Configure a credential helper to remove this warning. See [2022-07-11T18:13:48.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:13:48.296Z] [2022-07-11T18:13:48.296Z] Login Succeeded [2022-07-11T18:13:48.296Z] nexus3.edgexfoundry.org:10003 [2022-07-11T18:13:48.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:13:48.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:13:48.296Z] Configure a credential helper to remove this warning. See [2022-07-11T18:13:48.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:13:48.296Z] [2022-07-11T18:13:48.296Z] Login Succeeded [2022-07-11T18:13:48.296Z] nexus3.edgexfoundry.org:10004 [2022-07-11T18:13:48.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:13:48.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:13:48.557Z] Configure a credential helper to remove this warning. See [2022-07-11T18:13:48.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:13:48.557Z] [2022-07-11T18:13:48.557Z] Login Succeeded [2022-07-11T18:13:48.557Z] docker.io [2022-07-11T18:13:48.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:13:48.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:13:48.820Z] Configure a credential helper to remove this warning. See [2022-07-11T18:13:48.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:13:48.820Z] [2022-07-11T18:13:48.820Z] Login Succeeded [2022-07-11T18:13:48.820Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T18:13:48.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T18:13:48.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T18:13:48.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T18:13:48.921Z] ========================================================= [2022-07-11T18:13:48.921Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-11T18:13:48.921Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:13:49.240Z] + 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-11T18:13:49.240Z] Sending build context to Docker daemon 10.68MB [2022-07-11T18:13:49.240Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T18:13:49.240Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T18:13:49.240Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-11T18:13:49.240Z] 2408cc74d12b: Pulling fs layer [2022-07-11T18:13:49.240Z] ea60b727a1ce: Pulling fs layer [2022-07-11T18:13:49.240Z] 30c4a7721957: Pulling fs layer [2022-07-11T18:13:49.240Z] 370296b7ddb6: Pulling fs layer [2022-07-11T18:13:49.240Z] 7c6cee850709: Pulling fs layer [2022-07-11T18:13:49.240Z] 39a5fcdaea64: Pulling fs layer [2022-07-11T18:13:49.240Z] d94ebbe4e438: Pulling fs layer [2022-07-11T18:13:49.240Z] bcfd1f05c69d: Pulling fs layer [2022-07-11T18:13:49.240Z] 59ccb84bbe0f: Pulling fs layer [2022-07-11T18:13:49.240Z] 370296b7ddb6: Waiting [2022-07-11T18:13:49.240Z] 7c6cee850709: Waiting [2022-07-11T18:13:49.240Z] 39a5fcdaea64: Waiting [2022-07-11T18:13:49.240Z] d94ebbe4e438: Waiting [2022-07-11T18:13:49.240Z] bcfd1f05c69d: Waiting [2022-07-11T18:13:49.240Z] 59ccb84bbe0f: Waiting [2022-07-11T18:13:49.512Z] 30c4a7721957: Verifying Checksum [2022-07-11T18:13:49.512Z] 30c4a7721957: Download complete [2022-07-11T18:13:49.512Z] ea60b727a1ce: Download complete [2022-07-11T18:13:49.512Z] 7c6cee850709: Download complete [2022-07-11T18:13:49.512Z] 39a5fcdaea64: Verifying Checksum [2022-07-11T18:13:49.512Z] 39a5fcdaea64: Download complete [2022-07-11T18:13:49.512Z] 2408cc74d12b: Verifying Checksum [2022-07-11T18:13:49.512Z] 2408cc74d12b: Download complete [2022-07-11T18:13:49.512Z] d94ebbe4e438: Download complete [2022-07-11T18:13:49.512Z] 2408cc74d12b: Pull complete [2022-07-11T18:13:49.776Z] ea60b727a1ce: Pull complete [2022-07-11T18:13:49.776Z] 30c4a7721957: Pull complete [2022-07-11T18:13:49.776Z] 59ccb84bbe0f: Verifying Checksum [2022-07-11T18:13:49.776Z] 59ccb84bbe0f: Download complete [2022-07-11T18:13:50.037Z] bcfd1f05c69d: Verifying Checksum [2022-07-11T18:13:50.037Z] bcfd1f05c69d: Download complete [2022-07-11T18:13:50.296Z] 370296b7ddb6: Verifying Checksum [2022-07-11T18:13:50.296Z] 370296b7ddb6: Download complete [2022-07-11T18:13:54.495Z] 370296b7ddb6: Pull complete [2022-07-11T18:13:54.495Z] 7c6cee850709: Pull complete [2022-07-11T18:13:54.756Z] 39a5fcdaea64: Pull complete [2022-07-11T18:13:54.756Z] d94ebbe4e438: Pull complete [2022-07-11T18:13:57.300Z] bcfd1f05c69d: Pull complete [2022-07-11T18:13:57.867Z] 59ccb84bbe0f: Pull complete [2022-07-11T18:13:57.867Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-11T18:13:57.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-11T18:13:57.867Z] ---> a4fb48ad2a94 [2022-07-11T18:13:57.867Z] Step 3/12 : ARG MAKE='make build' [2022-07-11T18:13:59.784Z] ---> Running in efcfc3b8a651 [2022-07-11T18:13:59.784Z] Removing intermediate container efcfc3b8a651 [2022-07-11T18:13:59.784Z] ---> c8eb7ca0c34c [2022-07-11T18:13:59.784Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T18:13:59.784Z] ---> Running in 68367e5f05e9 [2022-07-11T18:13:59.784Z] Removing intermediate container 68367e5f05e9 [2022-07-11T18:13:59.784Z] ---> 8520c8e16770 [2022-07-11T18:13:59.784Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T18:14:00.046Z] ---> Running in 823d61a30588 [2022-07-11T18:14:00.046Z] Removing intermediate container 823d61a30588 [2022-07-11T18:14:00.046Z] ---> 0f9f55925ca6 [2022-07-11T18:14:00.046Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T18:14:00.046Z] ---> Running in 890e1a4f9f5a [2022-07-11T18:14:00.618Z] Removing intermediate container 890e1a4f9f5a [2022-07-11T18:14:00.618Z] ---> 1f956b69c0a5 [2022-07-11T18:14:00.618Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T18:14:00.879Z] ---> Running in 3132a3b4d11e [2022-07-11T18:14:01.141Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-11T18:14:02.086Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-11T18:14:02.086Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-11T18:14:02.348Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T18:14:02.348Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-11T18:14:02.348Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-11T18:14:02.609Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T18:14:02.609Z] OK: 216 MiB in 55 packages [2022-07-11T18:14:02.696Z] Still waiting to schedule task [2022-07-11T18:14:02.696Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19313’ [2022-07-11T18:14:02.879Z] Removing intermediate container 3132a3b4d11e [2022-07-11T18:14:02.879Z] ---> d0d432e5035d [2022-07-11T18:14:02.879Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-11T18:14:03.140Z] ---> Running in ca00d31685c8 [2022-07-11T18:14:03.140Z] Removing intermediate container ca00d31685c8 [2022-07-11T18:14:03.140Z] ---> f22c6f2d0f52 [2022-07-11T18:14:03.140Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-11T18:14:03.401Z] ---> b184298924f7 [2022-07-11T18:14:03.401Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T18:14:03.401Z] ---> Running in 22a82c6f6a39 [2022-07-11T18:14:18.321Z] Removing intermediate container 22a82c6f6a39 [2022-07-11T18:14:18.321Z] ---> 0293e260feeb [2022-07-11T18:14:18.321Z] Step 11/12 : COPY . . [2022-07-11T18:14:18.321Z] ---> 8422831ddcd5 [2022-07-11T18:14:18.321Z] Step 12/12 : RUN $MAKE [2022-07-11T18:14:18.321Z] ---> Running in bd1019841bbd [2022-07-11T18:14:18.321Z] noop [2022-07-11T18:14:18.584Z] Removing intermediate container bd1019841bbd [2022-07-11T18:14:18.584Z] ---> 702660cd4f3f [2022-07-11T18:14:18.584Z] Successfully built 702660cd4f3f [2022-07-11T18:14:18.584Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:14:18.904Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T18:14:18.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:14:18.998Z] prd-ubuntu20.04-docker-8c-8g-19320 does not seem to be running inside a container [2022-07-11T18:14:19.044Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-11T18:14:19.466Z] $ docker top d1e93852410b54e90f9175d24da133219b980e7e2b9759bdcc7c25af52bb94ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T18:14:19.835Z] + go version [2022-07-11T18:14:19.835Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-11T18:14:19.850Z] $ docker stop --time=1 d1e93852410b54e90f9175d24da133219b980e7e2b9759bdcc7c25af52bb94ea [2022-07-11T18:14:21.146Z] $ docker rm -f d1e93852410b54e90f9175d24da133219b980e7e2b9759bdcc7c25af52bb94ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:14:21.547Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-11T18:14:21.547Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:14:21.660Z] prd-ubuntu20.04-docker-8c-8g-19320 does not seem to be running inside a container [2022-07-11T18:14:21.772Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-11T18:14:22.206Z] $ docker top 713358759b7d270fb71b6157d20850ee6b8e60406218468f30d8969f054d1443 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T18:14:22.575Z] + make test [2022-07-11T18:14:22.576Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-11T18:14:22.836Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-11T18:14:32.830Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-11T18:14:33.091Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-07-11T18:14:41.227Z] 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-11T18:14:41.227Z] cmd/main.go:1: : error obtaining VCS status: exit status 128 [2022-07-11T18:14:41.227Z] Use -buildvcs=false to disable VCS stamping. (typecheck) [2022-07-11T18:14:41.227Z] // [2022-07-11T18:14:41.227Z] make: *** [Makefile:40: lint] Error 1 [Pipeline] } [2022-07-11T18:14:41.245Z] $ docker stop --time=1 713358759b7d270fb71b6157d20850ee6b8e60406218468f30d8969f054d1443 [2022-07-11T18:14:43.020Z] $ docker rm -f 713358759b7d270fb71b6157d20850ee6b8e60406218468f30d8969f054d1443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:14:43.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T18:14:43.611Z] [2022-07-11T18:14:43.611Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:14:43.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T18:14:43.915Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-11T18:14:43.915Z] 5eb5b503b376: Pulling fs layer [2022-07-11T18:14:43.915Z] 5c69ac0246d0: Pulling fs layer [2022-07-11T18:14:43.915Z] ec43610c2a17: Pulling fs layer [2022-07-11T18:14:43.915Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-11T18:14:43.915Z] 33b1e0a273af: Pulling fs layer [2022-07-11T18:14:43.915Z] 5d3b04190fa2: Pulling fs layer [2022-07-11T18:14:43.915Z] 2f39f015ded8: Pulling fs layer [2022-07-11T18:14:43.915Z] 5d3b04190fa2: Waiting [2022-07-11T18:14:43.915Z] 2f39f015ded8: Waiting [2022-07-11T18:14:43.915Z] 3a2ae6a8a46f: Waiting [2022-07-11T18:14:43.915Z] 5c69ac0246d0: Download complete [2022-07-11T18:14:43.915Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-11T18:14:43.915Z] 3a2ae6a8a46f: Download complete [2022-07-11T18:14:44.182Z] 33b1e0a273af: Verifying Checksum [2022-07-11T18:14:44.182Z] 33b1e0a273af: Download complete [2022-07-11T18:14:44.182Z] ec43610c2a17: Verifying Checksum [2022-07-11T18:14:44.182Z] ec43610c2a17: Download complete [2022-07-11T18:14:44.182Z] 5d3b04190fa2: Verifying Checksum [2022-07-11T18:14:44.182Z] 5d3b04190fa2: Download complete [2022-07-11T18:14:44.182Z] 5eb5b503b376: Verifying Checksum [2022-07-11T18:14:44.182Z] 5eb5b503b376: Download complete [2022-07-11T18:14:44.751Z] 2f39f015ded8: Verifying Checksum [2022-07-11T18:14:44.751Z] 2f39f015ded8: Download complete [2022-07-11T18:14:45.690Z] 5eb5b503b376: Pull complete [2022-07-11T18:14:45.690Z] 5c69ac0246d0: Pull complete [2022-07-11T18:14:46.259Z] ec43610c2a17: Pull complete [2022-07-11T18:14:46.259Z] 3a2ae6a8a46f: Pull complete [2022-07-11T18:14:46.519Z] 33b1e0a273af: Pull complete [2022-07-11T18:14:46.519Z] 5d3b04190fa2: Pull complete [2022-07-11T18:14:51.800Z] 2f39f015ded8: Pull complete [2022-07-11T18:14:51.800Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-11T18:14:51.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T18:14:51.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:14:51.903Z] prd-ubuntu20.04-docker-8c-8g-19320 does not seem to be running inside a container [2022-07-11T18:14:51.946Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T18:14:53.849Z] $ docker top c1012d77f8a28059e3496dfe82bd8b14f94a391d987096f5c4928301afbc05b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:14:54.246Z] ---> job-cost.sh [2022-07-11T18:14:54.246Z] lf-activate-venv: SKIPPING [2022-07-11T18:14:54.246Z] INFO: No Stack... [2022-07-11T18:14:54.506Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T18:14:55.077Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T18:14:55.377Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-07-11T18:14:55.377Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T18:14:55.391Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] [2022-07-11T18:14:55.399Z] Resource [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] did not exist. Created. [2022-07-11T18:14:55.399Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T18:14:55.699Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-11T18:14:55.730Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T18:14:55.740Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T18:14:55.766Z] $ docker stop --time=1 c1012d77f8a28059e3496dfe82bd8b14f94a391d987096f5c4928301afbc05b6 [2022-07-11T18:14:56.952Z] $ docker rm -f c1012d77f8a28059e3496dfe82bd8b14f94a391d987096f5c4928301afbc05b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-11T18:14:57.067Z] Failed in branch amd64 [2022-07-11T18:17:28.389Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19322 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-07-11T18:17:28.401Z] Running in /w/workspace/device-rest-go/50 [Pipeline] { [Pipeline] checkout [2022-07-11T18:17:28.472Z] The recommended git tool is: git [2022-07-11T18:17:35.932Z] using credential edgex-jenkins-ssh [2022-07-11T18:17:35.950Z] Cloning the remote Git repository [2022-07-11T18:17:36.009Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-11T18:17:36.094Z] > git init /w/workspace/device-rest-go/50 # timeout=10 [2022-07-11T18:17:36.279Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-11T18:17:36.280Z] > git --version # timeout=10 [2022-07-11T18:17:36.350Z] > git --version # 'git version 2.25.1' [2022-07-11T18:17:36.352Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-11T18:17:36.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T18:17:38.329Z] Avoid second fetch [2022-07-11T18:17:38.329Z] Checking out Revision 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (main) [2022-07-11T18:17:38.292Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-11T18:17:38.312Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-11T18:17:38.358Z] > git config core.sparsecheckout # timeout=10 [2022-07-11T18:17:38.381Z] > git checkout -f 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 [2022-07-11T18:17:42.664Z] Commit message: "Merge pull request #205 from lenny-intel/Go1.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T18:17:43.521Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-11T18:17:43.521Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-11T18:17:43.521Z] Dload Upload Total Spent Left Speed [2022-07-11T18:17:43.521Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 176k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh [2022-07-11T18:17:44.222Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-11T18:17:44.622Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-07-11T18:17:44.622Z] /etc/docker/daemon.json [2022-07-11T18:17:44.622Z] { [2022-07-11T18:17:44.622Z] "registry-mirrors": [ [2022-07-11T18:17:44.622Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-11T18:17:44.622Z] ], [2022-07-11T18:17:44.622Z] "bip": "10.250.0.254/24", [2022-07-11T18:17:44.622Z] "hosts": [ [2022-07-11T18:17:44.622Z] "tcp://0.0.0.0:5555", [2022-07-11T18:17:44.622Z] "unix:///var/run/docker.sock" [2022-07-11T18:17:44.622Z] ], [2022-07-11T18:17:44.622Z] "mtu": 1458, [2022-07-11T18:17:44.622Z] "selinux-enabled": true, [2022-07-11T18:17:44.622Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-11T18:17:44.622Z] } [Pipeline] sh [2022-07-11T18:17:44.982Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-11T18:17:45.325Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T18:18:03.678Z] provisioning config files... [2022-07-11T18:18:03.704Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/50@tmp/config6410810226905900548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:18:04.285Z] ---> docker-login.sh [2022-07-11T18:18:04.285Z] nexus3.edgexfoundry.org:10001 [2022-07-11T18:18:04.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:18:05.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:18:05.163Z] Configure a credential helper to remove this warning. See [2022-07-11T18:18:05.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:18:05.163Z] [2022-07-11T18:18:05.163Z] Login Succeeded [2022-07-11T18:18:05.163Z] nexus3.edgexfoundry.org:10002 [2022-07-11T18:18:05.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:18:05.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:18:05.770Z] Configure a credential helper to remove this warning. See [2022-07-11T18:18:05.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:18:05.770Z] [2022-07-11T18:18:05.770Z] Login Succeeded [2022-07-11T18:18:05.770Z] nexus3.edgexfoundry.org:10003 [2022-07-11T18:18:06.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:18:06.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:18:06.331Z] Configure a credential helper to remove this warning. See [2022-07-11T18:18:06.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:18:06.331Z] [2022-07-11T18:18:06.331Z] Login Succeeded [2022-07-11T18:18:06.331Z] nexus3.edgexfoundry.org:10004 [2022-07-11T18:18:06.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:18:06.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:18:06.606Z] Configure a credential helper to remove this warning. See [2022-07-11T18:18:06.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:18:06.606Z] [2022-07-11T18:18:06.606Z] Login Succeeded [2022-07-11T18:18:06.606Z] docker.io [2022-07-11T18:18:07.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:18:07.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:18:07.479Z] Configure a credential helper to remove this warning. See [2022-07-11T18:18:07.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:18:07.479Z] [2022-07-11T18:18:07.479Z] Login Succeeded [2022-07-11T18:18:07.479Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T18:18:07.497Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-11T18:18:07.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T18:18:07.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T18:18:07.802Z] ========================================================= [2022-07-11T18:18:07.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-11T18:18:07.802Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:18:08.153Z] + 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-11T18:18:08.153Z] Sending build context to Docker daemon 126.5kB [2022-07-11T18:18:08.427Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T18:18:08.427Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-11T18:18:08.703Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-11T18:18:08.703Z] b3c136eddcbf: Pulling fs layer [2022-07-11T18:18:08.703Z] c0a3192eca97: Pulling fs layer [2022-07-11T18:18:08.703Z] a050256f5b6f: Pulling fs layer [2022-07-11T18:18:08.703Z] 656be50a0ddc: Pulling fs layer [2022-07-11T18:18:08.703Z] 2bbca73fdf42: Pulling fs layer [2022-07-11T18:18:08.703Z] 46d945488cbd: Pulling fs layer [2022-07-11T18:18:08.703Z] 656be50a0ddc: Waiting [2022-07-11T18:18:08.703Z] 2bbca73fdf42: Waiting [2022-07-11T18:18:08.703Z] 8a5474983e97: Pulling fs layer [2022-07-11T18:18:08.703Z] 329c88fbcd65: Pulling fs layer [2022-07-11T18:18:08.703Z] 46d945488cbd: Waiting [2022-07-11T18:18:08.703Z] 8a5474983e97: Waiting [2022-07-11T18:18:08.703Z] 329c88fbcd65: Waiting [2022-07-11T18:18:08.703Z] a050256f5b6f: Download complete [2022-07-11T18:18:08.703Z] c0a3192eca97: Verifying Checksum [2022-07-11T18:18:08.703Z] c0a3192eca97: Download complete [2022-07-11T18:18:08.703Z] 2bbca73fdf42: Verifying Checksum [2022-07-11T18:18:08.703Z] 2bbca73fdf42: Download complete [2022-07-11T18:18:08.703Z] 46d945488cbd: Verifying Checksum [2022-07-11T18:18:08.703Z] 46d945488cbd: Download complete [2022-07-11T18:18:08.703Z] b3c136eddcbf: Download complete [2022-07-11T18:18:09.693Z] b3c136eddcbf: Pull complete [2022-07-11T18:18:09.968Z] 329c88fbcd65: Verifying Checksum [2022-07-11T18:18:09.968Z] 329c88fbcd65: Download complete [2022-07-11T18:18:10.250Z] c0a3192eca97: Pull complete [2022-07-11T18:18:10.528Z] a050256f5b6f: Pull complete [2022-07-11T18:18:11.140Z] 8a5474983e97: Verifying Checksum [2022-07-11T18:18:11.140Z] 8a5474983e97: Download complete [2022-07-11T18:18:11.744Z] 656be50a0ddc: Verifying Checksum [2022-07-11T18:18:11.744Z] 656be50a0ddc: Download complete [2022-07-11T18:18:26.872Z] 656be50a0ddc: Pull complete [2022-07-11T18:18:26.872Z] 2bbca73fdf42: Pull complete [2022-07-11T18:18:26.872Z] 46d945488cbd: Pull complete [2022-07-11T18:18:31.190Z] 8a5474983e97: Pull complete [2022-07-11T18:18:33.172Z] 329c88fbcd65: Pull complete [2022-07-11T18:18:33.172Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-11T18:18:33.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-11T18:18:33.172Z] ---> ff4287adb874 [2022-07-11T18:18:33.172Z] Step 3/12 : ARG MAKE='make build' [2022-07-11T18:18:33.772Z] ---> Running in d1d82c3eafce [2022-07-11T18:18:34.047Z] Removing intermediate container d1d82c3eafce [2022-07-11T18:18:34.047Z] ---> 4300e2619466 [2022-07-11T18:18:34.047Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T18:18:34.339Z] ---> Running in c05f5ee7e99f [2022-07-11T18:18:34.614Z] Removing intermediate container c05f5ee7e99f [2022-07-11T18:18:34.614Z] ---> 83a8252cdf47 [2022-07-11T18:18:34.614Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T18:18:34.614Z] ---> Running in 17f22ed1b022 [2022-07-11T18:18:34.901Z] Removing intermediate container 17f22ed1b022 [2022-07-11T18:18:34.901Z] ---> cadb9f572f09 [2022-07-11T18:18:34.901Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T18:18:34.901Z] ---> Running in 0a344672a25d [2022-07-11T18:18:36.880Z] Removing intermediate container 0a344672a25d [2022-07-11T18:18:36.880Z] ---> e848157d4ec5 [2022-07-11T18:18:36.880Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T18:18:36.880Z] ---> Running in 413905fee97d [2022-07-11T18:18:39.516Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T18:18:40.115Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T18:18:41.108Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-11T18:18:41.108Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-11T18:18:41.385Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-11T18:18:41.385Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-11T18:18:41.665Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T18:18:41.665Z] OK: 226 MiB in 55 packages [2022-07-11T18:18:42.657Z] Removing intermediate container 413905fee97d [2022-07-11T18:18:42.657Z] ---> 68d1e258c215 [2022-07-11T18:18:42.657Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-11T18:18:42.657Z] ---> Running in 3bb74d517611 [2022-07-11T18:18:42.931Z] Removing intermediate container 3bb74d517611 [2022-07-11T18:18:42.931Z] ---> a696ee05e0a2 [2022-07-11T18:18:42.931Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-11T18:18:43.536Z] ---> c18baccb8314 [2022-07-11T18:18:43.536Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T18:18:43.536Z] ---> Running in 283fa2f5b0ed [2022-07-11T18:19:30.537Z] Removing intermediate container 283fa2f5b0ed [2022-07-11T18:19:30.537Z] ---> 1cd8cc62c131 [2022-07-11T18:19:30.537Z] Step 11/12 : COPY . . [2022-07-11T18:19:30.537Z] ---> ca2a6eed8efa [2022-07-11T18:19:30.537Z] Step 12/12 : RUN $MAKE [2022-07-11T18:19:30.537Z] ---> Running in d1be18d7c626 [2022-07-11T18:19:30.537Z] noop [2022-07-11T18:19:30.537Z] Removing intermediate container d1be18d7c626 [2022-07-11T18:19:30.537Z] ---> e463f58ff309 [2022-07-11T18:19:30.537Z] Successfully built e463f58ff309 [2022-07-11T18:19:30.537Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:19:30.917Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T18:19:30.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:19:31.187Z] prd-ubuntu20.04-docker-arm64-4c-16g-19322 does not seem to be running inside a container [2022-07-11T18:19:31.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/50 -v /w/workspace/device-rest-go/50:/w/workspace/device-rest-go/50:rw,z -v /w/workspace/device-rest-go/50@tmp:/w/workspace/device-rest-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T18:19:32.651Z] $ docker top b03e282d4cca942759fa9d5aefbe8999cb3e150d0d462f4c550ed0478522f485 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T18:19:33.603Z] + go version [2022-07-11T18:19:33.604Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-11T18:19:33.634Z] $ docker stop --time=1 b03e282d4cca942759fa9d5aefbe8999cb3e150d0d462f4c550ed0478522f485 [2022-07-11T18:19:35.263Z] $ docker rm -f b03e282d4cca942759fa9d5aefbe8999cb3e150d0d462f4c550ed0478522f485 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:19:35.883Z] + docker inspect -f . ci-base-image-arm64 [2022-07-11T18:19:35.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:19:36.144Z] prd-ubuntu20.04-docker-arm64-4c-16g-19322 does not seem to be running inside a container [2022-07-11T18:19:36.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/50 -v /w/workspace/device-rest-go/50:/w/workspace/device-rest-go/50:rw,z -v /w/workspace/device-rest-go/50@tmp:/w/workspace/device-rest-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-11T18:19:37.588Z] $ docker top 0a0edf8ca8bec10f91e1d46f39d695fcefccccdc67b731bb24ade590579d913a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-11T18:19:38.541Z] + make test [2022-07-11T18:19:38.541Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-11T18:19:40.545Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-11T18:21:02.438Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-11T18:21:04.419Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements [2022-07-11T18:21:05.016Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-11T18:21:05.016Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-11T18:21:27.268Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-11T18:21:27.268Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-11T18:21:27.268Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-11T18:21:27.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-11T18:21:27.317Z] $ docker stop --time=1 0a0edf8ca8bec10f91e1d46f39d695fcefccccdc67b731bb24ade590579d913a [2022-07-11T18:21:29.111Z] $ docker rm -f 0a0edf8ca8bec10f91e1d46f39d695fcefccccdc67b731bb24ade590579d913a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-11T18:21:30.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-11T18:21:30.698Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-11T18:21:31.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-11T18:21:31.599Z] + ls -al . [2022-07-11T18:21:31.599Z] total 168 [2022-07-11T18:21:31.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:19 . [2022-07-11T18:21:31.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:17 .. [2022-07-11T18:21:31.599Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 11 18:17 .dockerignore [2022-07-11T18:21:31.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:17 .git [2022-07-11T18:21:31.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:17 .github [2022-07-11T18:21:31.599Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 11 18:17 .gitignore [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 18:17 .golangci.yml [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 11 18:17 Attribution.txt [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 11 18:17 CHANGELOG.md [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 11 18:17 Dockerfile [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 18:17 GOVERNANCE.md [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 18:17 Jenkinsfile [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 18:17 LICENSE [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 11 18:17 Makefile [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 11 18:17 OWNERS.md [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 11 18:17 README.md [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 18:13 VERSION [2022-07-11T18:21:31.600Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 18:17 bin [2022-07-11T18:21:31.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:17 cmd [2022-07-11T18:21:31.600Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 11 18:21 coverage.out [2022-07-11T18:21:31.600Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 18:17 driver [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 11 18:17 go.mod [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 11 18:17 go.sum [2022-07-11T18:21:31.600Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:17 snap [2022-07-11T18:21:31.600Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 11 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:21:31.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=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 --label arch=arm64 --label version=2.2.1-dev.9 . [2022-07-11T18:21:31.983Z] Sending build context to Docker daemon 136.7kB [2022-07-11T18:21:32.270Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-11T18:21:32.270Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-11T18:21:32.270Z] ---> e463f58ff309 [2022-07-11T18:21:32.270Z] Step 3/25 : ARG MAKE='make build' [2022-07-11T18:21:32.579Z] ---> Running in 05a2f8812f23 [2022-07-11T18:21:32.884Z] Removing intermediate container 05a2f8812f23 [2022-07-11T18:21:32.884Z] ---> 9c2d47db8282 [2022-07-11T18:21:32.884Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-11T18:21:32.884Z] ---> Running in e673ce861c50 [2022-07-11T18:21:33.192Z] Removing intermediate container e673ce861c50 [2022-07-11T18:21:33.192Z] ---> 4760d8b8aa77 [2022-07-11T18:21:33.192Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-11T18:21:33.470Z] ---> Running in d8a1c1912f81 [2022-07-11T18:21:33.757Z] Removing intermediate container d8a1c1912f81 [2022-07-11T18:21:33.757Z] ---> a3177df75e6d [2022-07-11T18:21:33.757Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-11T18:21:33.757Z] ---> Running in 8b35107d3019 [2022-07-11T18:21:35.743Z] Removing intermediate container 8b35107d3019 [2022-07-11T18:21:35.743Z] ---> 1d3f3c8e55f1 [2022-07-11T18:21:35.743Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-11T18:21:35.743Z] ---> Running in a1b13b492d7c [2022-07-11T18:21:36.725Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T18:21:37.701Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T18:21:38.681Z] OK: 226 MiB in 55 packages [2022-07-11T18:21:39.285Z] Removing intermediate container a1b13b492d7c [2022-07-11T18:21:39.285Z] ---> 16cc201a33cd [2022-07-11T18:21:39.285Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-11T18:21:39.285Z] ---> Running in e0a91673a42b [2022-07-11T18:21:39.896Z] Removing intermediate container e0a91673a42b [2022-07-11T18:21:39.896Z] ---> 092eb871e8c7 [2022-07-11T18:21:39.896Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-11T18:21:40.503Z] ---> 65782704dd42 [2022-07-11T18:21:40.503Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-11T18:21:40.503Z] ---> Running in 38cbca6cb21d [2022-07-11T18:21:42.489Z] Removing intermediate container 38cbca6cb21d [2022-07-11T18:21:42.489Z] ---> d6a52737371b [2022-07-11T18:21:42.489Z] Step 11/25 : COPY . . [2022-07-11T18:21:42.762Z] ---> 9a0d36722b11 [2022-07-11T18:21:42.762Z] Step 12/25 : RUN $MAKE [2022-07-11T18:21:43.046Z] ---> Running in f498a8cd25b2 [2022-07-11T18:21:44.025Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-11T18:24:05.928Z] Removing intermediate container f498a8cd25b2 [2022-07-11T18:24:05.928Z] ---> 361fa12b8102 [2022-07-11T18:24:05.928Z] Step 13/25 : FROM alpine:3.16 [2022-07-11T18:24:05.928Z] 3.16: Pulling from library/alpine [2022-07-11T18:24:05.928Z] b3c136eddcbf: Already exists [2022-07-11T18:24:05.928Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-11T18:24:05.928Z] Status: Downloaded newer image for alpine:3.16 [2022-07-11T18:24:05.928Z] ---> 6e30ab57aeee [2022-07-11T18:24:05.928Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-11T18:24:05.928Z] ---> Running in 92ed060694c9 [2022-07-11T18:24:05.928Z] Removing intermediate container 92ed060694c9 [2022-07-11T18:24:05.928Z] ---> a00129af9334 [2022-07-11T18:24:05.928Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-11T18:24:05.928Z] ---> Running in 7cc72c5dbb32 [2022-07-11T18:24:05.928Z] Removing intermediate container 7cc72c5dbb32 [2022-07-11T18:24:05.928Z] ---> 0991ed96a15f [2022-07-11T18:24:05.928Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-11T18:24:05.928Z] ---> Running in a21cc69b5210 [2022-07-11T18:24:05.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-11T18:24:05.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-11T18:24:05.928Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-11T18:24:05.928Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-11T18:24:05.928Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-11T18:24:05.928Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-11T18:24:05.928Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-11T18:24:05.928Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-11T18:24:05.928Z] Executing busybox-1.35.0-r13.trigger [2022-07-11T18:24:05.928Z] OK: 8 MiB in 20 packages [2022-07-11T18:24:05.928Z] Removing intermediate container a21cc69b5210 [2022-07-11T18:24:05.928Z] ---> 92bf5ab4cd2b [2022-07-11T18:24:05.928Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-11T18:24:05.928Z] ---> ea5f374ef308 [2022-07-11T18:24:05.928Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-11T18:24:05.928Z] ---> 198575aa9e67 [2022-07-11T18:24:05.928Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-11T18:24:05.928Z] ---> 4edea456a45d [2022-07-11T18:24:05.928Z] Step 20/25 : EXPOSE 59986 [2022-07-11T18:24:05.928Z] ---> Running in c847d4dcaba6 [2022-07-11T18:24:05.928Z] Removing intermediate container c847d4dcaba6 [2022-07-11T18:24:05.928Z] ---> 239ffd67fbf8 [2022-07-11T18:24:05.928Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-11T18:24:05.928Z] ---> Running in 2342ac2c0b30 [2022-07-11T18:24:05.928Z] Removing intermediate container 2342ac2c0b30 [2022-07-11T18:24:05.928Z] ---> a65efd2c519b [2022-07-11T18:24:05.928Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-11T18:24:05.928Z] ---> Running in e789b095eab0 [2022-07-11T18:24:05.928Z] Removing intermediate container e789b095eab0 [2022-07-11T18:24:05.928Z] ---> 9747c9edef05 [2022-07-11T18:24:05.928Z] Step 23/25 : LABEL arch=arm64 [2022-07-11T18:24:05.928Z] ---> Running in c2acd8391a65 [2022-07-11T18:24:05.928Z] Removing intermediate container c2acd8391a65 [2022-07-11T18:24:05.928Z] ---> 134039cf8191 [2022-07-11T18:24:05.928Z] Step 24/25 : LABEL git_sha=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T18:24:05.928Z] ---> Running in c045bf6134a8 [2022-07-11T18:24:05.928Z] Removing intermediate container c045bf6134a8 [2022-07-11T18:24:05.928Z] ---> d5bd2e04e885 [2022-07-11T18:24:05.928Z] Step 25/25 : LABEL version=2.2.1-dev.9 [2022-07-11T18:24:05.928Z] ---> Running in 447e71214b24 [2022-07-11T18:24:05.928Z] Removing intermediate container 447e71214b24 [2022-07-11T18:24:05.928Z] ---> a6e4ad7be7a0 [2022-07-11T18:24:05.928Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-11T18:24:05.928Z] Successfully built a6e4ad7be7a0 [2022-07-11T18:24:05.928Z] 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-11T18:24:06.055Z] provisioning config files... [2022-07-11T18:24:06.073Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/50@tmp/config9127972227678423735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:24:06.419Z] ---> docker-login.sh [2022-07-11T18:24:06.419Z] nexus3.edgexfoundry.org:10001 [2022-07-11T18:24:06.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:24:06.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:24:06.693Z] Configure a credential helper to remove this warning. See [2022-07-11T18:24:06.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:24:06.693Z] [2022-07-11T18:24:06.693Z] Login Succeeded [2022-07-11T18:24:06.693Z] nexus3.edgexfoundry.org:10002 [2022-07-11T18:24:07.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:24:07.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:24:07.294Z] Configure a credential helper to remove this warning. See [2022-07-11T18:24:07.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:24:07.294Z] [2022-07-11T18:24:07.294Z] Login Succeeded [2022-07-11T18:24:07.294Z] nexus3.edgexfoundry.org:10003 [2022-07-11T18:24:07.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:24:07.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:24:07.841Z] Configure a credential helper to remove this warning. See [2022-07-11T18:24:07.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:24:07.841Z] [2022-07-11T18:24:07.841Z] Login Succeeded [2022-07-11T18:24:07.841Z] nexus3.edgexfoundry.org:10004 [2022-07-11T18:24:08.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:24:08.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:24:08.114Z] Configure a credential helper to remove this warning. See [2022-07-11T18:24:08.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:24:08.114Z] [2022-07-11T18:24:08.114Z] Login Succeeded [2022-07-11T18:24:08.114Z] docker.io [2022-07-11T18:24:08.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-11T18:24:08.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-11T18:24:08.984Z] Configure a credential helper to remove this warning. See [2022-07-11T18:24:08.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-11T18:24:08.984Z] [2022-07-11T18:24:08.984Z] Login Succeeded [2022-07-11T18:24:08.984Z] ---> docker-login.sh ends [Pipeline] } [2022-07-11T18:24:09.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T18:24:09.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-11T18:24:09.068Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-07-11T18:24:09.068Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T18:24:09.068Z] latest [2022-07-11T18:24:09.068Z] 2.2.1-dev.9 [2022-07-11T18:24:09.068Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [2022-07-11T18:24:09.068Z] main [2022-07-11T18:24:09.068Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:24:09.427Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:24:09.789Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T18:24:09.789Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-11T18:24:09.789Z] 97ef74aeaccd: Preparing [2022-07-11T18:24:09.789Z] 3b0890aac0e1: Preparing [2022-07-11T18:24:09.789Z] 186257148e53: Preparing [2022-07-11T18:24:09.789Z] 686f2cc01146: Preparing [2022-07-11T18:24:09.789Z] dd565ff850e7: Preparing [2022-07-11T18:24:10.061Z] dd565ff850e7: Layer already exists [2022-07-11T18:24:10.061Z] 97ef74aeaccd: Pushed [2022-07-11T18:24:10.061Z] 3b0890aac0e1: Pushed [2022-07-11T18:24:10.659Z] 686f2cc01146: Pushed [2022-07-11T18:24:16.060Z] 186257148e53: Pushed [2022-07-11T18:24:16.060Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7: digest: sha256:293ec3cc0057f61e425616f2dc7f70e00e4a85243d3cf61ecbfeffd10d0c3d54 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:24:16.432Z] + 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-11T18:24:16.779Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-07-11T18:24:16.779Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-11T18:24:16.779Z] 97ef74aeaccd: Preparing [2022-07-11T18:24:16.779Z] 3b0890aac0e1: Preparing [2022-07-11T18:24:16.779Z] 186257148e53: Preparing [2022-07-11T18:24:16.779Z] 686f2cc01146: Preparing [2022-07-11T18:24:16.780Z] dd565ff850e7: Preparing [2022-07-11T18:24:16.780Z] 3b0890aac0e1: Layer already exists [2022-07-11T18:24:16.780Z] 186257148e53: Layer already exists [2022-07-11T18:24:16.780Z] 686f2cc01146: Layer already exists [2022-07-11T18:24:16.780Z] 97ef74aeaccd: Layer already exists [2022-07-11T18:24:16.780Z] dd565ff850e7: Layer already exists [2022-07-11T18:24:17.049Z] latest: digest: sha256:293ec3cc0057f61e425616f2dc7f70e00e4a85243d3cf61ecbfeffd10d0c3d54 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:24:17.405Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:24:17.758Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [2022-07-11T18:24:17.758Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-11T18:24:17.758Z] 97ef74aeaccd: Preparing [2022-07-11T18:24:17.758Z] 3b0890aac0e1: Preparing [2022-07-11T18:24:17.758Z] 186257148e53: Preparing [2022-07-11T18:24:17.758Z] 686f2cc01146: Preparing [2022-07-11T18:24:17.758Z] dd565ff850e7: Preparing [2022-07-11T18:24:17.758Z] dd565ff850e7: Layer already exists [2022-07-11T18:24:17.758Z] 186257148e53: Layer already exists [2022-07-11T18:24:17.758Z] 97ef74aeaccd: Layer already exists [2022-07-11T18:24:17.758Z] 686f2cc01146: Layer already exists [2022-07-11T18:24:17.758Z] 3b0890aac0e1: Layer already exists [2022-07-11T18:24:18.030Z] 2.2.1-dev.9: digest: sha256:293ec3cc0057f61e425616f2dc7f70e00e4a85243d3cf61ecbfeffd10d0c3d54 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:24:18.398Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:24:18.760Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [2022-07-11T18:24:18.760Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-11T18:24:18.760Z] 97ef74aeaccd: Preparing [2022-07-11T18:24:18.760Z] 3b0890aac0e1: Preparing [2022-07-11T18:24:18.760Z] 186257148e53: Preparing [2022-07-11T18:24:18.760Z] 686f2cc01146: Preparing [2022-07-11T18:24:18.760Z] dd565ff850e7: Preparing [2022-07-11T18:24:18.760Z] 686f2cc01146: Layer already exists [2022-07-11T18:24:18.760Z] 186257148e53: Layer already exists [2022-07-11T18:24:18.760Z] dd565ff850e7: Layer already exists [2022-07-11T18:24:18.760Z] 3b0890aac0e1: Layer already exists [2022-07-11T18:24:18.760Z] 97ef74aeaccd: Layer already exists [2022-07-11T18:24:19.030Z] 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9: digest: sha256:293ec3cc0057f61e425616f2dc7f70e00e4a85243d3cf61ecbfeffd10d0c3d54 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:24:19.390Z] + 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-11T18:24:19.744Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-07-11T18:24:19.744Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-07-11T18:24:19.744Z] 97ef74aeaccd: Preparing [2022-07-11T18:24:19.744Z] 3b0890aac0e1: Preparing [2022-07-11T18:24:19.744Z] 186257148e53: Preparing [2022-07-11T18:24:19.744Z] 686f2cc01146: Preparing [2022-07-11T18:24:19.744Z] dd565ff850e7: Preparing [2022-07-11T18:24:19.744Z] dd565ff850e7: Layer already exists [2022-07-11T18:24:19.744Z] 97ef74aeaccd: Layer already exists [2022-07-11T18:24:19.744Z] 3b0890aac0e1: Layer already exists [2022-07-11T18:24:19.744Z] 186257148e53: Layer already exists [2022-07-11T18:24:19.744Z] 686f2cc01146: Layer already exists [2022-07-11T18:24:20.015Z] main: digest: sha256:293ec3cc0057f61e425616f2dc7f70e00e4a85243d3cf61ecbfeffd10d0c3d54 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-11T18:24:20.080Z] ===================================================== [Pipeline] echo [2022-07-11T18:24:20.089Z] taggedImages: [2022-07-11T18:24:20.089Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [2022-07-11T18:24:20.089Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-07-11T18:24:20.089Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 [2022-07-11T18:24:20.089Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 [2022-07-11T18:24:20.089Z] - 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-11T18:24:20.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T18:24:20.468Z] [2022-07-11T18:24:20.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:24:20.818Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T18:24:21.092Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-11T18:24:21.092Z] 8998bd30e6a1: Pulling fs layer [2022-07-11T18:24:21.092Z] 04944245beec: Pulling fs layer [2022-07-11T18:24:21.092Z] 699f458cf7ca: Pulling fs layer [2022-07-11T18:24:21.092Z] 765212b225bb: Pulling fs layer [2022-07-11T18:24:21.092Z] f23df028b6ca: Pulling fs layer [2022-07-11T18:24:21.092Z] d65c8cfc05b1: Pulling fs layer [2022-07-11T18:24:21.092Z] 2437ff75d9bd: Pulling fs layer [2022-07-11T18:24:21.092Z] f23df028b6ca: Waiting [2022-07-11T18:24:21.092Z] 765212b225bb: Waiting [2022-07-11T18:24:21.092Z] d65c8cfc05b1: Waiting [2022-07-11T18:24:21.092Z] 04944245beec: Verifying Checksum [2022-07-11T18:24:21.092Z] 04944245beec: Download complete [2022-07-11T18:24:21.092Z] 765212b225bb: Verifying Checksum [2022-07-11T18:24:21.092Z] 765212b225bb: Download complete [2022-07-11T18:24:21.092Z] f23df028b6ca: Verifying Checksum [2022-07-11T18:24:21.092Z] f23df028b6ca: Download complete [2022-07-11T18:24:21.092Z] d65c8cfc05b1: Verifying Checksum [2022-07-11T18:24:21.092Z] d65c8cfc05b1: Download complete [2022-07-11T18:24:21.372Z] 699f458cf7ca: Verifying Checksum [2022-07-11T18:24:21.372Z] 699f458cf7ca: Download complete [2022-07-11T18:24:21.649Z] 8998bd30e6a1: Verifying Checksum [2022-07-11T18:24:21.649Z] 8998bd30e6a1: Download complete [2022-07-11T18:24:24.275Z] 2437ff75d9bd: Verifying Checksum [2022-07-11T18:24:24.275Z] 2437ff75d9bd: Download complete [2022-07-11T18:24:26.250Z] 8998bd30e6a1: Pull complete [2022-07-11T18:24:26.523Z] 04944245beec: Pull complete [2022-07-11T18:24:27.958Z] 699f458cf7ca: Pull complete [2022-07-11T18:24:28.233Z] 765212b225bb: Pull complete [2022-07-11T18:24:28.849Z] f23df028b6ca: Pull complete [2022-07-11T18:24:29.136Z] d65c8cfc05b1: Pull complete [2022-07-11T18:24:44.300Z] 2437ff75d9bd: Pull complete [2022-07-11T18:24:44.300Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-11T18:24:44.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-11T18:24:44.300Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:24:44.549Z] prd-ubuntu20.04-docker-arm64-4c-16g-19322 does not seem to be running inside a container [2022-07-11T18:24:44.632Z] $ 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/50 -v /w/workspace/device-rest-go/50:/w/workspace/device-rest-go/50:rw,z -v /w/workspace/device-rest-go/50@tmp:/w/workspace/device-rest-go/50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-11T18:24:47.168Z] $ docker top 09a73c00ef52aeee7794a304886065aa6de23e8f6ea0f48cb3736532e91231e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:24:48.087Z] ---> job-cost.sh [2022-07-11T18:24:48.088Z] lf-activate-venv: SKIPPING [2022-07-11T18:24:48.088Z] INFO: No Stack... [2022-07-11T18:24:48.679Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-11T18:24:49.653Z] INFO: Archiving Costs [Pipeline] sh [2022-07-11T18:24:50.310Z] + cat /w/workspace/device-rest-go/50/archives/cost.csv [2022-07-11T18:24:50.310Z] + cut -d, -f6 [Pipeline] lock [2022-07-11T18:24:50.370Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] [2022-07-11T18:24:50.379Z] Resource [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] did not exist. Created. [2022-07-11T18:24:50.379Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-11T18:24:51.044Z] /w/workspace/device-rest-go/50@tmp/durable-e2ffccf2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-11T18:24:51.714Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-11T18:24:51.733Z] Warning: overwriting stash ‘stack-cost’ [2022-07-11T18:24:51.779Z] Stashed 1 file(s) [Pipeline] } [2022-07-11T18:24:51.789Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-11T18:24:51.812Z] $ docker stop --time=1 09a73c00ef52aeee7794a304886065aa6de23e8f6ea0f48cb3736532e91231e6 [2022-07-11T18:24:53.311Z] $ docker rm -f 09a73c00ef52aeee7794a304886065aa6de23e8f6ea0f48cb3736532e91231e6 [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-11T18:24:54.263Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-07-11T18:24:54.263Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-11T18:24:54.263Z] total 16 [2022-07-11T18:24:54.263Z] drwxr-xr-x 3 root root 4096 Jul 11 18:14 . [2022-07-11T18:24:54.263Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 18:14 .. [2022-07-11T18:24:54.263Z] drwxr-xr-x 2 root root 4096 Jul 11 18:14 cost [2022-07-11T18:24:54.263Z] -rw-r--r-- 1 root root 84 Jul 11 18:14 cost.csv [2022-07-11T18:24:54.263Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-11T18:24:54.263Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-07-11T18:24:54.263Z] total 16 [2022-07-11T18:24:54.263Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 18:14 . [2022-07-11T18:24:54.263Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 18:14 .. [2022-07-11T18:24:54.263Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 18:14 cost [2022-07-11T18:24:54.263Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 11 18:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:24:54.555Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:24:55.424Z] ---> package-listing.sh [2022-07-11T18:24:55.424Z] ++ facter osfamily [2022-07-11T18:24:55.424Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-11T18:24:55.684Z] + OS_FAMILY=debian [2022-07-11T18:24:55.684Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-07-11T18:24:55.684Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-11T18:24:55.684Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-11T18:24:55.684Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-11T18:24:55.684Z] + PACKAGES=/tmp/packages_start.txt [2022-07-11T18:24:55.684Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-07-11T18:24:55.684Z] + PACKAGES=/tmp/packages_end.txt [2022-07-11T18:24:55.684Z] + case "${OS_FAMILY}" in [2022-07-11T18:24:55.684Z] + dpkg -l [2022-07-11T18:24:55.684Z] + grep '^ii' [2022-07-11T18:24:55.684Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-11T18:24:55.684Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-11T18:24:55.684Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-11T18:24:55.684Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-07-11T18:24:55.684Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-07-11T18:24:55.684Z] + 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-11T18:24:55.695Z] 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-11T18:24:55.975Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-11T18:24:56.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-11T18:24:56.546Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-11T18:24:56.627Z] prd-ubuntu20.04-docker-8c-8g-19320 does not seem to be running inside a container [2022-07-11T18:24:56.708Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-11T18:24:56.978Z] $ docker top c7db0e74ec8d64d31c63840fe5492047dc6bb4ad94425e5d8dfa01b525bdb5e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-11T18:24:57.340Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-11T18:24:57.629Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-11T18:24:57.918Z] + ls /var/log/sa-host [2022-07-11T18:24:57.918Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-11T18:24:57.981Z] provisioning config files... [2022-07-11T18:24:57.989Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8365216863711058096tmp [Pipeline] { [Pipeline] echo [2022-07-11T18:24:58.002Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:24:58.286Z] ---> create-netrc.sh [Pipeline] } [2022-07-11T18:24:58.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:24:58.621Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-11T18:24:58.630Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:24:58.913Z] ---> sudo-logs.sh [2022-07-11T18:24:58.913Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-11T18:24:58.942Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:24:59.227Z] ---> job-cost.sh [2022-07-11T18:24:59.228Z] lf-activate-venv: SKIPPING [2022-07-11T18:24:59.228Z] DEBUG: total: 0.2199999988079071 [2022-07-11T18:24:59.228Z] INFO: Retrieving Stack Cost... [2022-07-11T18:24:59.799Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-11T18:25:00.060Z] INFO: Archiving Costs [Pipeline] echo [2022-07-11T18:25:00.072Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-11T18:25:00.357Z] ---> logs-deploy.sh [2022-07-11T18:25:00.357Z] lf-activate-venv: SKIPPING [2022-07-11T18:25:00.357Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/50 [2022-07-11T18:25:00.357Z] INFO: archiving workspace using pattern(s): [2022-07-11T18:25:01.301Z] Archives upload complete. [2022-07-11T18:25:01.301Z] INFO: archiving logs to Nexus