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 18:13:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:13:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:13:26 ========================================================= 18:13:26 EdgeX Global Pipelines Version Info 18:13:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:13:27 ------------------- 18:13:27 stable info: 18:13:27 ------------------- 18:13:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:13:27 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 18:13:27 Message: update stable to v1.0.236 18:13:28 ------------------- 18:13:28 experimental info: 18:13:28 ------------------- 18:13:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:13:28 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 18:13:28 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 328f14c [Pipeline] echo 18:13:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:28 provisioning config files... 18:13:28 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4927142803579130889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:29 ---> docker-login.sh 18:13:29 nexus3.edgexfoundry.org:10001 18:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:29 Configure a credential helper to remove this warning. See 18:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:29 18:13:29 Login Succeeded 18:13:29 nexus3.edgexfoundry.org:10002 18:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:29 Configure a credential helper to remove this warning. See 18:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:29 18:13:29 Login Succeeded 18:13:29 nexus3.edgexfoundry.org:10003 18:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:29 Configure a credential helper to remove this warning. See 18:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:29 18:13:29 Login Succeeded 18:13:29 nexus3.edgexfoundry.org:10004 18:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:29 Configure a credential helper to remove this warning. See 18:13:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:29 18:13:29 Login Succeeded 18:13:29 docker.io 18:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:30 Configure a credential helper to remove this warning. See 18:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:30 18:13:30 Login Succeeded 18:13:30 ---> docker-login.sh ends [Pipeline] } 18:13:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:13:30 + git rev-list -1 --merges 328f14cd4e0e2f12280e28257e4d0d1118a94cd7~1..328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo 18:13:30 -----------> git rev-list -1 --merges 328f14cd4e0e2f12280e28257e4d0d1118a94cd7~1..328f14cd4e0e2f12280e28257e4d0d1118a94cd7 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 18:13:30 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [false] [Pipeline] sh 18:13:31 + git log --format=format:%s -1 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo 18:13:31 ========================================================= 18:13:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:13:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:31 + git log --format=format:%s -1 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] echo 18:13:31 [semverPrep] GIT_COMMIT: 328f14cd4e0e2f12280e28257e4d0d1118a94cd7, Commit Message: Merge pull request #205 from lenny-intel/Go1.18 [Pipeline] echo 18:13:31 [semverPrep] This is not a build commit. [Pipeline] sh 18:13:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:13:31 + grep -v github /etc/ssh/ssh_known_hosts 18:13:31 + [ -e /tmp/ssh_known_hosts ] 18:13:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:13:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:13:31 + sudo tee -a /etc/ssh/ssh_known_hosts 18:13:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:32 18:13:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:32 0.1.4: Pulling from edgex-devops/py-git-semver 18:13:32 b85a868b505f: Pulling fs layer 18:13:32 e2be974225ed: Pulling fs layer 18:13:32 339a4e72a1f5: Pulling fs layer 18:13:32 988bab9f4d93: Pulling fs layer 18:13:32 1469e6f7b9e6: Pulling fs layer 18:13:32 eaf3925da568: Pulling fs layer 18:13:32 bab4dde63d76: Pulling fs layer 18:13:32 bde34c3a00c8: Pulling fs layer 18:13:32 b352a97aabf1: Pulling fs layer 18:13:32 1469e6f7b9e6: Waiting 18:13:32 4872d77fe225: Pulling fs layer 18:13:32 bab4dde63d76: Waiting 18:13:32 5851b861e8e6: Pulling fs layer 18:13:32 b352a97aabf1: Waiting 18:13:32 4872d77fe225: Waiting 18:13:32 5851b861e8e6: Waiting 18:13:32 bde34c3a00c8: Waiting 18:13:32 eaf3925da568: Waiting 18:13:32 988bab9f4d93: Waiting 18:13:32 e2be974225ed: Download complete 18:13:32 988bab9f4d93: Download complete 18:13:32 1469e6f7b9e6: Verifying Checksum 18:13:32 1469e6f7b9e6: Download complete 18:13:32 339a4e72a1f5: Verifying Checksum 18:13:32 339a4e72a1f5: Download complete 18:13:32 eaf3925da568: Verifying Checksum 18:13:32 eaf3925da568: Download complete 18:13:32 bde34c3a00c8: Verifying Checksum 18:13:32 bde34c3a00c8: Download complete 18:13:32 b352a97aabf1: Verifying Checksum 18:13:32 4872d77fe225: Verifying Checksum 18:13:32 4872d77fe225: Download complete 18:13:32 5851b861e8e6: Download complete 18:13:32 b85a868b505f: Download complete 18:13:33 bab4dde63d76: Verifying Checksum 18:13:33 bab4dde63d76: Download complete 18:13:34 b85a868b505f: Pull complete 18:13:34 e2be974225ed: Pull complete 18:13:34 339a4e72a1f5: Pull complete 18:13:34 988bab9f4d93: Pull complete 18:13:35 1469e6f7b9e6: Pull complete 18:13:35 eaf3925da568: Pull complete 18:13:37 bab4dde63d76: Pull complete 18:13:37 bde34c3a00c8: Pull complete 18:13:37 b352a97aabf1: Pull complete 18:13:37 4872d77fe225: Pull complete 18:13:37 5851b861e8e6: Pull complete 18:13:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:13:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:38 prd-ubuntu20.04-docker-8c-8g-19320 does not seem to be running inside a container 18:13:38 $ 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 18:13:39 $ docker top 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b -eo pid,comm 18:13:39 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). 18:13:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:13:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:13:39 [ssh-agent] Looking for ssh-agent implementation... 18:13:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:13:39 $ docker exec 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b ssh-agent 18:13:39 SSH_AUTH_SOCK=/tmp/ssh-6cZ3XzEHXl8e/agent.33 18:13:39 SSH_AGENT_PID=39 18:13:39 Running ssh-add (command line suppressed) 18:13:40 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) 18:13:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:13:40 + git tag --points-at HEAD [Pipeline] } 18:13:40 $ docker exec --env ******** --env ******** 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b ssh-agent -k 18:13:40 unset SSH_AUTH_SOCK; 18:13:40 unset SSH_AGENT_PID; 18:13:40 echo Agent pid 39 killed; 18:13:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:13:40 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.1-dev.8' [Pipeline] sshagent 18:13:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:13:40 [ssh-agent] Looking for ssh-agent implementation... 18:13:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:13:40 $ docker exec 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b ssh-agent 18:13:40 SSH_AUTH_SOCK=/tmp/ssh-PG38gmyu9Xi1/agent.72 18:13:40 SSH_AGENT_PID=79 18:13:40 Running ssh-add (command line suppressed) 18:13:41 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) 18:13:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:13:41 + git semver init 18:13:41 2022-07-11 18:13:41,569 [run_init] DEBUG init version:0.0.0 force:False 18:13:41 2022-07-11 18:13:41,570 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 18:13:41 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 18:13:41 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) 18:13:44 2022-07-11 18:13:44,648 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 18:13:44 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 18:13:44 2022-07-11 18:13:44,649 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:13:44 2022-07-11 18:13:44,650 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:13:44 2.2.1-dev.9 [Pipeline] } 18:13:44 $ docker exec --env ******** --env ******** 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b ssh-agent -k 18:13:45 unset SSH_AUTH_SOCK; 18:13:45 unset SSH_AGENT_PID; 18:13:45 echo Agent pid 79 killed; 18:13:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:13:45 + git semver [Pipeline] } 18:13:45 $ docker stop --time=1 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b 18:13:46 $ docker rm -f 714a59db68e9571d9c4b39aa6572c1bec49322012e53098f1e0a594d6ffa3f4b [Pipeline] // withDockerContainer [Pipeline] sh 18:13:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:13:47 Stashed 1 file(s) [Pipeline] echo 18:13:47 [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 18:13:47 provisioning config files... 18:13:47 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3726942180655639531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:48 ---> docker-login.sh 18:13:48 nexus3.edgexfoundry.org:10001 18:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:48 Configure a credential helper to remove this warning. See 18:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:48 18:13:48 Login Succeeded 18:13:48 nexus3.edgexfoundry.org:10002 18:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:48 Configure a credential helper to remove this warning. See 18:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:48 18:13:48 Login Succeeded 18:13:48 nexus3.edgexfoundry.org:10003 18:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:48 Configure a credential helper to remove this warning. See 18:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:48 18:13:48 Login Succeeded 18:13:48 nexus3.edgexfoundry.org:10004 18:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:48 Configure a credential helper to remove this warning. See 18:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:48 18:13:48 Login Succeeded 18:13:48 docker.io 18:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:48 Configure a credential helper to remove this warning. See 18:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:48 18:13:48 Login Succeeded 18:13:48 ---> docker-login.sh ends [Pipeline] } 18:13:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:13:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:13:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:13:48 ========================================================= 18:13:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:13:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:49 + 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 . 18:13:49 Sending build context to Docker daemon 10.68MB 18:13:49 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:13:49 Step 2/12 : FROM ${BASE} AS builder 18:13:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:13:49 2408cc74d12b: Pulling fs layer 18:13:49 ea60b727a1ce: Pulling fs layer 18:13:49 30c4a7721957: Pulling fs layer 18:13:49 370296b7ddb6: Pulling fs layer 18:13:49 7c6cee850709: Pulling fs layer 18:13:49 39a5fcdaea64: Pulling fs layer 18:13:49 d94ebbe4e438: Pulling fs layer 18:13:49 bcfd1f05c69d: Pulling fs layer 18:13:49 59ccb84bbe0f: Pulling fs layer 18:13:49 370296b7ddb6: Waiting 18:13:49 7c6cee850709: Waiting 18:13:49 39a5fcdaea64: Waiting 18:13:49 d94ebbe4e438: Waiting 18:13:49 bcfd1f05c69d: Waiting 18:13:49 59ccb84bbe0f: Waiting 18:13:49 30c4a7721957: Verifying Checksum 18:13:49 30c4a7721957: Download complete 18:13:49 ea60b727a1ce: Download complete 18:13:49 7c6cee850709: Download complete 18:13:49 39a5fcdaea64: Verifying Checksum 18:13:49 39a5fcdaea64: Download complete 18:13:49 2408cc74d12b: Verifying Checksum 18:13:49 2408cc74d12b: Download complete 18:13:49 d94ebbe4e438: Download complete 18:13:49 2408cc74d12b: Pull complete 18:13:49 ea60b727a1ce: Pull complete 18:13:49 30c4a7721957: Pull complete 18:13:49 59ccb84bbe0f: Verifying Checksum 18:13:49 59ccb84bbe0f: Download complete 18:13:50 bcfd1f05c69d: Verifying Checksum 18:13:50 bcfd1f05c69d: Download complete 18:13:50 370296b7ddb6: Verifying Checksum 18:13:50 370296b7ddb6: Download complete 18:13:54 370296b7ddb6: Pull complete 18:13:54 7c6cee850709: Pull complete 18:13:54 39a5fcdaea64: Pull complete 18:13:54 d94ebbe4e438: Pull complete 18:13:57 bcfd1f05c69d: Pull complete 18:13:57 59ccb84bbe0f: Pull complete 18:13:57 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:13:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:13:57 ---> a4fb48ad2a94 18:13:57 Step 3/12 : ARG MAKE='make build' 18:13:59 ---> Running in efcfc3b8a651 18:13:59 Removing intermediate container efcfc3b8a651 18:13:59 ---> c8eb7ca0c34c 18:13:59 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:13:59 ---> Running in 68367e5f05e9 18:13:59 Removing intermediate container 68367e5f05e9 18:13:59 ---> 8520c8e16770 18:13:59 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:14:00 ---> Running in 823d61a30588 18:14:00 Removing intermediate container 823d61a30588 18:14:00 ---> 0f9f55925ca6 18:14:00 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:14:00 ---> Running in 890e1a4f9f5a 18:14:00 Removing intermediate container 890e1a4f9f5a 18:14:00 ---> 1f956b69c0a5 18:14:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:14:00 ---> Running in 3132a3b4d11e 18:14:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:14:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:14:02 (1/4) Installing openssh-keygen (9.0_p1-r1) 18:14:02 (2/4) Installing libedit (20210910.3.1-r0) 18:14:02 (3/4) Installing openssh-client-common (9.0_p1-r1) 18:14:02 (4/4) Installing openssh-client-default (9.0_p1-r1) 18:14:02 Executing busybox-1.35.0-r13.trigger 18:14:02 OK: 216 MiB in 55 packages 18:14:02 Still waiting to schedule task 18:14:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19313’ 18:14:02 Removing intermediate container 3132a3b4d11e 18:14:02 ---> d0d432e5035d 18:14:02 Step 8/12 : WORKDIR /device-rest-go 18:14:03 ---> Running in ca00d31685c8 18:14:03 Removing intermediate container ca00d31685c8 18:14:03 ---> f22c6f2d0f52 18:14:03 Step 9/12 : COPY go.mod vendor* ./ 18:14:03 ---> b184298924f7 18:14:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:03 ---> Running in 22a82c6f6a39 18:14:18 Removing intermediate container 22a82c6f6a39 18:14:18 ---> 0293e260feeb 18:14:18 Step 11/12 : COPY . . 18:14:18 ---> 8422831ddcd5 18:14:18 Step 12/12 : RUN $MAKE 18:14:18 ---> Running in bd1019841bbd 18:14:18 noop 18:14:18 Removing intermediate container bd1019841bbd 18:14:18 ---> 702660cd4f3f 18:14:18 Successfully built 702660cd4f3f 18:14:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:18 + docker inspect -f . ci-base-image-x86_64 18:14:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:18 prd-ubuntu20.04-docker-8c-8g-19320 does not seem to be running inside a container 18:14:19 $ 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 18:14:19 $ docker top d1e93852410b54e90f9175d24da133219b980e7e2b9759bdcc7c25af52bb94ea -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:19 + go version 18:14:19 go version go1.18.3 linux/amd64 [Pipeline] } 18:14:19 $ docker stop --time=1 d1e93852410b54e90f9175d24da133219b980e7e2b9759bdcc7c25af52bb94ea 18:14:21 $ 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 18:14:21 + docker inspect -f . ci-base-image-x86_64 18:14:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:21 prd-ubuntu20.04-docker-8c-8g-19320 does not seem to be running inside a container 18:14:21 $ 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 18:14:22 $ docker top 713358759b7d270fb71b6157d20850ee6b8e60406218468f30d8969f054d1443 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:14:22 + make test 18:14:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:14:22 ? github.com/edgexfoundry/device-rest-go [no test files] 18:14:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:14:33 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 18:14:41 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." 18:14:41 cmd/main.go:1: : error obtaining VCS status: exit status 128 18:14:41 Use -buildvcs=false to disable VCS stamping. (typecheck) 18:14:41 // 18:14:41 make: *** [Makefile:40: lint] Error 1 [Pipeline] } 18:14:41 $ docker stop --time=1 713358759b7d270fb71b6157d20850ee6b8e60406218468f30d8969f054d1443 18:14:43 $ 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 18:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:43 18:14:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:43 latest: Pulling from edgex-lftools-log-publisher 18:14:43 5eb5b503b376: Pulling fs layer 18:14:43 5c69ac0246d0: Pulling fs layer 18:14:43 ec43610c2a17: Pulling fs layer 18:14:43 3a2ae6a8a46f: Pulling fs layer 18:14:43 33b1e0a273af: Pulling fs layer 18:14:43 5d3b04190fa2: Pulling fs layer 18:14:43 2f39f015ded8: Pulling fs layer 18:14:43 5d3b04190fa2: Waiting 18:14:43 2f39f015ded8: Waiting 18:14:43 3a2ae6a8a46f: Waiting 18:14:43 5c69ac0246d0: Download complete 18:14:43 3a2ae6a8a46f: Verifying Checksum 18:14:43 3a2ae6a8a46f: Download complete 18:14:44 33b1e0a273af: Verifying Checksum 18:14:44 33b1e0a273af: Download complete 18:14:44 ec43610c2a17: Verifying Checksum 18:14:44 ec43610c2a17: Download complete 18:14:44 5d3b04190fa2: Verifying Checksum 18:14:44 5d3b04190fa2: Download complete 18:14:44 5eb5b503b376: Verifying Checksum 18:14:44 5eb5b503b376: Download complete 18:14:44 2f39f015ded8: Verifying Checksum 18:14:44 2f39f015ded8: Download complete 18:14:45 5eb5b503b376: Pull complete 18:14:45 5c69ac0246d0: Pull complete 18:14:46 ec43610c2a17: Pull complete 18:14:46 3a2ae6a8a46f: Pull complete 18:14:46 33b1e0a273af: Pull complete 18:14:46 5d3b04190fa2: Pull complete 18:14:51 2f39f015ded8: Pull complete 18:14:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:14:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:51 prd-ubuntu20.04-docker-8c-8g-19320 does not seem to be running inside a container 18:14:51 $ 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 18:14:53 $ docker top c1012d77f8a28059e3496dfe82bd8b14f94a391d987096f5c4928301afbc05b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:54 ---> job-cost.sh 18:14:54 lf-activate-venv: SKIPPING 18:14:54 INFO: No Stack... 18:14:54 INFO: Retrieving Pricing Info for: v3-standard-8 18:14:55 INFO: Archiving Costs [Pipeline] sh 18:14:55 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 18:14:55 + cut -d, -f6 [Pipeline] lock 18:14:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] 18:14:55 Resource [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] did not exist. Created. 18:14:55 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:14:55 + echo total: 0.2199999988079071 [Pipeline] stash 18:14:55 Stashed 1 file(s) [Pipeline] } 18:14:55 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } 18:14:55 $ docker stop --time=1 c1012d77f8a28059e3496dfe82bd8b14f94a391d987096f5c4928301afbc05b6 18:14:56 $ docker rm -f c1012d77f8a28059e3496dfe82bd8b14f94a391d987096f5c4928301afbc05b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:14:57 Failed in branch amd64 18:17:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19322 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 18:17:28 Running in /w/workspace/device-rest-go/50 [Pipeline] { [Pipeline] checkout 18:17:28 The recommended git tool is: git 18:17:35 using credential edgex-jenkins-ssh 18:17:35 Cloning the remote Git repository 18:17:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:17:36 > git init /w/workspace/device-rest-go/50 # timeout=10 18:17:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:17:36 > git --version # timeout=10 18:17:36 > git --version # 'git version 2.25.1' 18:17:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:17:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:17:38 Avoid second fetch 18:17:38 Checking out Revision 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (main) 18:17:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:17:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:17:38 > git config core.sparsecheckout # timeout=10 18:17:38 > git checkout -f 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 18:17:42 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 18:17:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:17:43 % Total % Received % Xferd Average Speed Time Time Time Current 18:17:43 Dload Upload Total Spent Left Speed 18:17:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 176k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh 18:17:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:17:44 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 18:17:44 /etc/docker/daemon.json 18:17:44 { 18:17:44 "registry-mirrors": [ 18:17:44 "https://nexus3.edgexfoundry.org:10001" 18:17:44 ], 18:17:44 "bip": "10.250.0.254/24", 18:17:44 "hosts": [ 18:17:44 "tcp://0.0.0.0:5555", 18:17:44 "unix:///var/run/docker.sock" 18:17:44 ], 18:17:44 "mtu": 1458, 18:17:44 "selinux-enabled": true, 18:17:44 "seccomp-profile": "/etc/docker/seccomp.json" 18:17:44 } [Pipeline] sh 18:17:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:17:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:18:03 provisioning config files... 18:18:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/50@tmp/config6410810226905900548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:18:04 ---> docker-login.sh 18:18:04 nexus3.edgexfoundry.org:10001 18:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:05 Configure a credential helper to remove this warning. See 18:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:05 18:18:05 Login Succeeded 18:18:05 nexus3.edgexfoundry.org:10002 18:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:05 Configure a credential helper to remove this warning. See 18:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:05 18:18:05 Login Succeeded 18:18:05 nexus3.edgexfoundry.org:10003 18:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:06 Configure a credential helper to remove this warning. See 18:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:06 18:18:06 Login Succeeded 18:18:06 nexus3.edgexfoundry.org:10004 18:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:06 Configure a credential helper to remove this warning. See 18:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:06 18:18:06 Login Succeeded 18:18:06 docker.io 18:18:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:07 Configure a credential helper to remove this warning. See 18:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:07 18:18:07 Login Succeeded 18:18:07 ---> docker-login.sh ends [Pipeline] } 18:18:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:18:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:18:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:18:07 ========================================================= 18:18:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:18:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:08 + 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 . 18:18:08 Sending build context to Docker daemon 126.5kB 18:18:08 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:18:08 Step 2/12 : FROM ${BASE} AS builder 18:18:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:18:08 b3c136eddcbf: Pulling fs layer 18:18:08 c0a3192eca97: Pulling fs layer 18:18:08 a050256f5b6f: Pulling fs layer 18:18:08 656be50a0ddc: Pulling fs layer 18:18:08 2bbca73fdf42: Pulling fs layer 18:18:08 46d945488cbd: Pulling fs layer 18:18:08 656be50a0ddc: Waiting 18:18:08 2bbca73fdf42: Waiting 18:18:08 8a5474983e97: Pulling fs layer 18:18:08 329c88fbcd65: Pulling fs layer 18:18:08 46d945488cbd: Waiting 18:18:08 8a5474983e97: Waiting 18:18:08 329c88fbcd65: Waiting 18:18:08 a050256f5b6f: Download complete 18:18:08 c0a3192eca97: Verifying Checksum 18:18:08 c0a3192eca97: Download complete 18:18:08 2bbca73fdf42: Verifying Checksum 18:18:08 2bbca73fdf42: Download complete 18:18:08 46d945488cbd: Verifying Checksum 18:18:08 46d945488cbd: Download complete 18:18:08 b3c136eddcbf: Download complete 18:18:09 b3c136eddcbf: Pull complete 18:18:09 329c88fbcd65: Verifying Checksum 18:18:09 329c88fbcd65: Download complete 18:18:10 c0a3192eca97: Pull complete 18:18:10 a050256f5b6f: Pull complete 18:18:11 8a5474983e97: Verifying Checksum 18:18:11 8a5474983e97: Download complete 18:18:11 656be50a0ddc: Verifying Checksum 18:18:11 656be50a0ddc: Download complete 18:18:26 656be50a0ddc: Pull complete 18:18:26 2bbca73fdf42: Pull complete 18:18:26 46d945488cbd: Pull complete 18:18:31 8a5474983e97: Pull complete 18:18:33 329c88fbcd65: Pull complete 18:18:33 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:18:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:18:33 ---> ff4287adb874 18:18:33 Step 3/12 : ARG MAKE='make build' 18:18:33 ---> Running in d1d82c3eafce 18:18:34 Removing intermediate container d1d82c3eafce 18:18:34 ---> 4300e2619466 18:18:34 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:18:34 ---> Running in c05f5ee7e99f 18:18:34 Removing intermediate container c05f5ee7e99f 18:18:34 ---> 83a8252cdf47 18:18:34 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:18:34 ---> Running in 17f22ed1b022 18:18:34 Removing intermediate container 17f22ed1b022 18:18:34 ---> cadb9f572f09 18:18:34 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:18:34 ---> Running in 0a344672a25d 18:18:36 Removing intermediate container 0a344672a25d 18:18:36 ---> e848157d4ec5 18:18:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:18:36 ---> Running in 413905fee97d 18:18:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:18:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:18:41 (1/4) Installing openssh-keygen (9.0_p1-r1) 18:18:41 (2/4) Installing libedit (20210910.3.1-r0) 18:18:41 (3/4) Installing openssh-client-common (9.0_p1-r1) 18:18:41 (4/4) Installing openssh-client-default (9.0_p1-r1) 18:18:41 Executing busybox-1.35.0-r13.trigger 18:18:41 OK: 226 MiB in 55 packages 18:18:42 Removing intermediate container 413905fee97d 18:18:42 ---> 68d1e258c215 18:18:42 Step 8/12 : WORKDIR /device-rest-go 18:18:42 ---> Running in 3bb74d517611 18:18:42 Removing intermediate container 3bb74d517611 18:18:42 ---> a696ee05e0a2 18:18:42 Step 9/12 : COPY go.mod vendor* ./ 18:18:43 ---> c18baccb8314 18:18:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:43 ---> Running in 283fa2f5b0ed 18:19:30 Removing intermediate container 283fa2f5b0ed 18:19:30 ---> 1cd8cc62c131 18:19:30 Step 11/12 : COPY . . 18:19:30 ---> ca2a6eed8efa 18:19:30 Step 12/12 : RUN $MAKE 18:19:30 ---> Running in d1be18d7c626 18:19:30 noop 18:19:30 Removing intermediate container d1be18d7c626 18:19:30 ---> e463f58ff309 18:19:30 Successfully built e463f58ff309 18:19:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:30 + docker inspect -f . ci-base-image-arm64 18:19:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:31 prd-ubuntu20.04-docker-arm64-4c-16g-19322 does not seem to be running inside a container 18:19:31 $ 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 18:19:32 $ docker top b03e282d4cca942759fa9d5aefbe8999cb3e150d0d462f4c550ed0478522f485 -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:33 + go version 18:19:33 go version go1.18.3 linux/arm64 [Pipeline] } 18:19:33 $ docker stop --time=1 b03e282d4cca942759fa9d5aefbe8999cb3e150d0d462f4c550ed0478522f485 18:19:35 $ 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 18:19:35 + docker inspect -f . ci-base-image-arm64 18:19:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:36 prd-ubuntu20.04-docker-arm64-4c-16g-19322 does not seem to be running inside a container 18:19:36 $ 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 18:19:37 $ docker top 0a0edf8ca8bec10f91e1d46f39d695fcefccccdc67b731bb24ade590579d913a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:19:38 + make test 18:19:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:19:40 ? github.com/edgexfoundry/device-rest-go [no test files] 18:21:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:21:04 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements 18:21:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:21:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:21:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:21:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:21:27 ./bin/test-attribution-txt.sh [Pipeline] echo 18:21:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:21:27 $ docker stop --time=1 0a0edf8ca8bec10f91e1d46f39d695fcefccccdc67b731bb24ade590579d913a 18:21:29 $ docker rm -f 0a0edf8ca8bec10f91e1d46f39d695fcefccccdc67b731bb24ade590579d913a [Pipeline] // withDockerContainer [Pipeline] sh 18:21:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:21:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:21:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:21:31 + ls -al . 18:21:31 total 168 18:21:31 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:19 . 18:21:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:17 .. 18:21:31 -rw-rw-r-- 1 jenkins jenkins 151 Jul 11 18:17 .dockerignore 18:21:31 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:17 .git 18:21:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:17 .github 18:21:31 -rw-rw-r-- 1 jenkins jenkins 329 Jul 11 18:17 .gitignore 18:21:31 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 18:17 .golangci.yml 18:21:31 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 11 18:17 Attribution.txt 18:21:31 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 11 18:17 CHANGELOG.md 18:21:31 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 11 18:17 Dockerfile 18:21:31 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 18:17 GOVERNANCE.md 18:21:31 -rw-rw-r-- 1 jenkins jenkins 680 Jul 11 18:17 Jenkinsfile 18:21:31 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 18:17 LICENSE 18:21:31 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 11 18:17 Makefile 18:21:31 -rw-rw-r-- 1 jenkins jenkins 620 Jul 11 18:17 OWNERS.md 18:21:31 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 11 18:17 README.md 18:21:31 -rw-rw-r-- 1 jenkins jenkins 11 Jul 11 18:13 VERSION 18:21:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 18:17 bin 18:21:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:17 cmd 18:21:31 -rw-r--r-- 1 jenkins jenkins 9355 Jul 11 18:21 coverage.out 18:21:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 18:17 driver 18:21:31 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 11 18:17 go.mod 18:21:31 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 11 18:17 go.sum 18:21:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:17 snap 18:21:31 -rw-rw-r-- 1 jenkins jenkins 713 Jul 11 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:21:31 + 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 . 18:21:31 Sending build context to Docker daemon 136.7kB 18:21:32 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 18:21:32 Step 2/25 : FROM ${BASE} AS builder 18:21:32 ---> e463f58ff309 18:21:32 Step 3/25 : ARG MAKE='make build' 18:21:32 ---> Running in 05a2f8812f23 18:21:32 Removing intermediate container 05a2f8812f23 18:21:32 ---> 9c2d47db8282 18:21:32 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:21:32 ---> Running in e673ce861c50 18:21:33 Removing intermediate container e673ce861c50 18:21:33 ---> 4760d8b8aa77 18:21:33 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:21:33 ---> Running in d8a1c1912f81 18:21:33 Removing intermediate container d8a1c1912f81 18:21:33 ---> a3177df75e6d 18:21:33 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:21:33 ---> Running in 8b35107d3019 18:21:35 Removing intermediate container 8b35107d3019 18:21:35 ---> 1d3f3c8e55f1 18:21:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:21:35 ---> Running in a1b13b492d7c 18:21:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:21:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:21:38 OK: 226 MiB in 55 packages 18:21:39 Removing intermediate container a1b13b492d7c 18:21:39 ---> 16cc201a33cd 18:21:39 Step 8/25 : WORKDIR /device-rest-go 18:21:39 ---> Running in e0a91673a42b 18:21:39 Removing intermediate container e0a91673a42b 18:21:39 ---> 092eb871e8c7 18:21:39 Step 9/25 : COPY go.mod vendor* ./ 18:21:40 ---> 65782704dd42 18:21:40 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:40 ---> Running in 38cbca6cb21d 18:21:42 Removing intermediate container 38cbca6cb21d 18:21:42 ---> d6a52737371b 18:21:42 Step 11/25 : COPY . . 18:21:42 ---> 9a0d36722b11 18:21:42 Step 12/25 : RUN $MAKE 18:21:43 ---> Running in f498a8cd25b2 18:21:44 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 18:24:05 Removing intermediate container f498a8cd25b2 18:24:05 ---> 361fa12b8102 18:24:05 Step 13/25 : FROM alpine:3.16 18:24:05 3.16: Pulling from library/alpine 18:24:05 b3c136eddcbf: Already exists 18:24:05 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 18:24:05 Status: Downloaded newer image for alpine:3.16 18:24:05 ---> 6e30ab57aeee 18:24:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:24:05 ---> Running in 92ed060694c9 18:24:05 Removing intermediate container 92ed060694c9 18:24:05 ---> a00129af9334 18:24:05 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:24:05 ---> Running in 7cc72c5dbb32 18:24:05 Removing intermediate container 7cc72c5dbb32 18:24:05 ---> 0991ed96a15f 18:24:05 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:24:05 ---> Running in a21cc69b5210 18:24:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:24:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:24:05 (1/6) Installing dumb-init (1.2.5-r1) 18:24:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:24:05 (3/6) Installing libsodium (1.0.18-r0) 18:24:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:24:05 (5/6) Installing libzmq (4.3.4-r0) 18:24:05 (6/6) Installing zeromq (4.3.4-r0) 18:24:05 Executing busybox-1.35.0-r13.trigger 18:24:05 OK: 8 MiB in 20 packages 18:24:05 Removing intermediate container a21cc69b5210 18:24:05 ---> 92bf5ab4cd2b 18:24:05 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:24:05 ---> ea5f374ef308 18:24:05 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:24:05 ---> 198575aa9e67 18:24:05 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:24:05 ---> 4edea456a45d 18:24:05 Step 20/25 : EXPOSE 59986 18:24:05 ---> Running in c847d4dcaba6 18:24:05 Removing intermediate container c847d4dcaba6 18:24:05 ---> 239ffd67fbf8 18:24:05 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:24:05 ---> Running in 2342ac2c0b30 18:24:05 Removing intermediate container 2342ac2c0b30 18:24:05 ---> a65efd2c519b 18:24:05 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:24:05 ---> Running in e789b095eab0 18:24:05 Removing intermediate container e789b095eab0 18:24:05 ---> 9747c9edef05 18:24:05 Step 23/25 : LABEL arch=arm64 18:24:05 ---> Running in c2acd8391a65 18:24:05 Removing intermediate container c2acd8391a65 18:24:05 ---> 134039cf8191 18:24:05 Step 24/25 : LABEL git_sha=328f14cd4e0e2f12280e28257e4d0d1118a94cd7 18:24:05 ---> Running in c045bf6134a8 18:24:05 Removing intermediate container c045bf6134a8 18:24:05 ---> d5bd2e04e885 18:24:05 Step 25/25 : LABEL version=2.2.1-dev.9 18:24:05 ---> Running in 447e71214b24 18:24:05 Removing intermediate container 447e71214b24 18:24:05 ---> a6e4ad7be7a0 18:24:05 [Warning] One or more build-args [ARCH] were not consumed 18:24:05 Successfully built a6e4ad7be7a0 18:24:05 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 18:24:06 provisioning config files... 18:24:06 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/50@tmp/config9127972227678423735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:06 ---> docker-login.sh 18:24:06 nexus3.edgexfoundry.org:10001 18:24:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:06 Configure a credential helper to remove this warning. See 18:24:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:06 18:24:06 Login Succeeded 18:24:06 nexus3.edgexfoundry.org:10002 18:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:07 Configure a credential helper to remove this warning. See 18:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:07 18:24:07 Login Succeeded 18:24:07 nexus3.edgexfoundry.org:10003 18:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:07 Configure a credential helper to remove this warning. See 18:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:07 18:24:07 Login Succeeded 18:24:07 nexus3.edgexfoundry.org:10004 18:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:08 Configure a credential helper to remove this warning. See 18:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:08 18:24:08 Login Succeeded 18:24:08 docker.io 18:24:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:08 Configure a credential helper to remove this warning. See 18:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:08 18:24:08 Login Succeeded 18:24:08 ---> docker-login.sh ends [Pipeline] } 18:24:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:24:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:09 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 18:24:09 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 18:24:09 latest 18:24:09 2.2.1-dev.9 18:24:09 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 18:24:09 main 18:24:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 18:24:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:24:09 97ef74aeaccd: Preparing 18:24:09 3b0890aac0e1: Preparing 18:24:09 186257148e53: Preparing 18:24:09 686f2cc01146: Preparing 18:24:09 dd565ff850e7: Preparing 18:24:10 dd565ff850e7: Layer already exists 18:24:10 97ef74aeaccd: Pushed 18:24:10 3b0890aac0e1: Pushed 18:24:10 686f2cc01146: Pushed 18:24:16 186257148e53: Pushed 18:24:16 328f14cd4e0e2f12280e28257e4d0d1118a94cd7: digest: sha256:293ec3cc0057f61e425616f2dc7f70e00e4a85243d3cf61ecbfeffd10d0c3d54 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:24:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:24:16 97ef74aeaccd: Preparing 18:24:16 3b0890aac0e1: Preparing 18:24:16 186257148e53: Preparing 18:24:16 686f2cc01146: Preparing 18:24:16 dd565ff850e7: Preparing 18:24:16 3b0890aac0e1: Layer already exists 18:24:16 186257148e53: Layer already exists 18:24:16 686f2cc01146: Layer already exists 18:24:16 97ef74aeaccd: Layer already exists 18:24:16 dd565ff850e7: Layer already exists 18:24:17 latest: digest: sha256:293ec3cc0057f61e425616f2dc7f70e00e4a85243d3cf61ecbfeffd10d0c3d54 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:17 + 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 18:24:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 18:24:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:24:17 97ef74aeaccd: Preparing 18:24:17 3b0890aac0e1: Preparing 18:24:17 186257148e53: Preparing 18:24:17 686f2cc01146: Preparing 18:24:17 dd565ff850e7: Preparing 18:24:17 dd565ff850e7: Layer already exists 18:24:17 186257148e53: Layer already exists 18:24:17 97ef74aeaccd: Layer already exists 18:24:17 686f2cc01146: Layer already exists 18:24:17 3b0890aac0e1: Layer already exists 18:24:18 2.2.1-dev.9: digest: sha256:293ec3cc0057f61e425616f2dc7f70e00e4a85243d3cf61ecbfeffd10d0c3d54 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:18 + 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 18:24:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 18:24:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:24:18 97ef74aeaccd: Preparing 18:24:18 3b0890aac0e1: Preparing 18:24:18 186257148e53: Preparing 18:24:18 686f2cc01146: Preparing 18:24:18 dd565ff850e7: Preparing 18:24:18 686f2cc01146: Layer already exists 18:24:18 186257148e53: Layer already exists 18:24:18 dd565ff850e7: Layer already exists 18:24:18 3b0890aac0e1: Layer already exists 18:24:18 97ef74aeaccd: Layer already exists 18:24:19 328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9: digest: sha256:293ec3cc0057f61e425616f2dc7f70e00e4a85243d3cf61ecbfeffd10d0c3d54 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:19 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:19 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 18:24:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:24:19 97ef74aeaccd: Preparing 18:24:19 3b0890aac0e1: Preparing 18:24:19 186257148e53: Preparing 18:24:19 686f2cc01146: Preparing 18:24:19 dd565ff850e7: Preparing 18:24:19 dd565ff850e7: Layer already exists 18:24:19 97ef74aeaccd: Layer already exists 18:24:19 3b0890aac0e1: Layer already exists 18:24:19 186257148e53: Layer already exists 18:24:19 686f2cc01146: Layer already exists 18:24:20 main: digest: sha256:293ec3cc0057f61e425616f2dc7f70e00e4a85243d3cf61ecbfeffd10d0c3d54 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:24:20 ===================================================== [Pipeline] echo 18:24:20 taggedImages: 18:24:20 - nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7 18:24:20 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:24:20 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.9 18:24:20 - nexus3.edgexfoundry.org:10004/device-rest-arm64:328f14cd4e0e2f12280e28257e4d0d1118a94cd7-2.2.1-dev.9 18:24:20 - 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 18:24:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:20 18:24:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:21 arm64: Pulling from edgex-lftools-log-publisher 18:24:21 8998bd30e6a1: Pulling fs layer 18:24:21 04944245beec: Pulling fs layer 18:24:21 699f458cf7ca: Pulling fs layer 18:24:21 765212b225bb: Pulling fs layer 18:24:21 f23df028b6ca: Pulling fs layer 18:24:21 d65c8cfc05b1: Pulling fs layer 18:24:21 2437ff75d9bd: Pulling fs layer 18:24:21 f23df028b6ca: Waiting 18:24:21 765212b225bb: Waiting 18:24:21 d65c8cfc05b1: Waiting 18:24:21 04944245beec: Verifying Checksum 18:24:21 04944245beec: Download complete 18:24:21 765212b225bb: Verifying Checksum 18:24:21 765212b225bb: Download complete 18:24:21 f23df028b6ca: Verifying Checksum 18:24:21 f23df028b6ca: Download complete 18:24:21 d65c8cfc05b1: Verifying Checksum 18:24:21 d65c8cfc05b1: Download complete 18:24:21 699f458cf7ca: Verifying Checksum 18:24:21 699f458cf7ca: Download complete 18:24:21 8998bd30e6a1: Verifying Checksum 18:24:21 8998bd30e6a1: Download complete 18:24:24 2437ff75d9bd: Verifying Checksum 18:24:24 2437ff75d9bd: Download complete 18:24:26 8998bd30e6a1: Pull complete 18:24:26 04944245beec: Pull complete 18:24:27 699f458cf7ca: Pull complete 18:24:28 765212b225bb: Pull complete 18:24:28 f23df028b6ca: Pull complete 18:24:29 d65c8cfc05b1: Pull complete 18:24:44 2437ff75d9bd: Pull complete 18:24:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:24:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:44 prd-ubuntu20.04-docker-arm64-4c-16g-19322 does not seem to be running inside a container 18:24:44 $ 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 18:24:47 $ docker top 09a73c00ef52aeee7794a304886065aa6de23e8f6ea0f48cb3736532e91231e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:48 ---> job-cost.sh 18:24:48 lf-activate-venv: SKIPPING 18:24:48 INFO: No Stack... 18:24:48 INFO: Retrieving Pricing Info for: v3-standard-4 18:24:49 INFO: Archiving Costs [Pipeline] sh 18:24:50 + cat /w/workspace/device-rest-go/50/archives/cost.csv 18:24:50 + cut -d, -f6 [Pipeline] lock 18:24:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] 18:24:50 Resource [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] did not exist. Created. 18:24:50 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:24:51 /w/workspace/device-rest-go/50@tmp/durable-e2ffccf2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:24:51 + echo total: 0.10999999940395355 [Pipeline] stash 18:24:51 Warning: overwriting stash ‘stack-cost’ 18:24:51 Stashed 1 file(s) [Pipeline] } 18:24:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-50-stack-cost] [Pipeline] // lock [Pipeline] } 18:24:51 $ docker stop --time=1 09a73c00ef52aeee7794a304886065aa6de23e8f6ea0f48cb3736532e91231e6 18:24:53 $ 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 18:24:54 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 18:24:54 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:24:54 total 16 18:24:54 drwxr-xr-x 3 root root 4096 Jul 11 18:14 . 18:24:54 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 18:14 .. 18:24:54 drwxr-xr-x 2 root root 4096 Jul 11 18:14 cost 18:24:54 -rw-r--r-- 1 root root 84 Jul 11 18:14 cost.csv 18:24:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 18:24:54 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:24:54 total 16 18:24:54 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 18:14 . 18:24:54 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 18:14 .. 18:24:54 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 18:14 cost 18:24:54 -rw-r--r-- 1 jenkins jenkins 84 Jul 11 18:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:24:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:24:55 ---> package-listing.sh 18:24:55 ++ facter osfamily 18:24:55 ++ tr '[:upper:]' '[:lower:]' 18:24:55 + OS_FAMILY=debian 18:24:55 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 18:24:55 + START_PACKAGES=/tmp/packages_start.txt 18:24:55 + END_PACKAGES=/tmp/packages_end.txt 18:24:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:24:55 + PACKAGES=/tmp/packages_start.txt 18:24:55 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:24:55 + PACKAGES=/tmp/packages_end.txt 18:24:55 + case "${OS_FAMILY}" in 18:24:55 + dpkg -l 18:24:55 + grep '^ii' 18:24:55 + '[' -f /tmp/packages_start.txt ']' 18:24:55 + '[' -f /tmp/packages_end.txt ']' 18:24:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:24:55 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:24:55 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 18:24:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 18:24:55 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 18:24:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:56 prd-ubuntu20.04-docker-8c-8g-19320 does not seem to be running inside a container 18:24:56 $ 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 18:24:56 $ docker top c7db0e74ec8d64d31c63840fe5492047dc6bb4ad94425e5d8dfa01b525bdb5e2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:57 + touch /tmp/pre-build-complete [Pipeline] sh 18:24:57 + mkdir -p /var/log/sysstat [Pipeline] sh 18:24:57 + ls /var/log/sa-host 18:24:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:57 provisioning config files... 18:24:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8365216863711058096tmp [Pipeline] { [Pipeline] echo 18:24:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:24:58 ---> create-netrc.sh [Pipeline] } 18:24:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:24:58 ---> python-tools-install.sh [Pipeline] echo 18:24:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:24:58 ---> sudo-logs.sh 18:24:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:24:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:24:59 ---> job-cost.sh 18:24:59 lf-activate-venv: SKIPPING 18:24:59 DEBUG: total: 0.2199999988079071 18:24:59 INFO: Retrieving Stack Cost... 18:24:59 INFO: Retrieving Pricing Info for: v3-standard-8 18:25:00 INFO: Archiving Costs [Pipeline] echo 18:25:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:25:00 ---> logs-deploy.sh 18:25:00 lf-activate-venv: SKIPPING 18:25:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/50 18:25:00 INFO: archiving workspace using pattern(s): 18:25:01 Archives upload complete. 18:25:01 INFO: archiving logs to Nexus