Pull request #326 closed Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e31afc5f6ae47972aac87410fd8eedcd7517dea9 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-ssh13506718502032100421.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6147734637394430173.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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/changelog/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/changelog/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8327062001521669889.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh11264207366003389552.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/changelog/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/changelog/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14433813681078494573.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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.20 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 ‘prd-ubuntu20.04-docker-8c-8g-17308’ Running on prd-ubuntu20.04-docker-8c-8g-17311 in /w/workspace/foundry_device-rest-go_changelog [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/foundry_device-rest-go_changelog # 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 > 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 Avoid second fetch Checking out Revision e31afc5f6ae47972aac87410fd8eedcd7517dea9 (changelog) Commit message: "docs: Update changelog for v3.0" > git config core.sparsecheckout # timeout=10 > git checkout -f e31afc5f6ae47972aac87410fd8eedcd7517dea9 # timeout=10 > git rev-list --no-walk e31afc5f6ae47972aac87410fd8eedcd7517dea9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:52:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:52:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:52:13 ========================================================= 15:52:13 EdgeX Global Pipelines Version Info 15:52:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:52:13 ------------------- 15:52:13 stable info: 15:52:13 ------------------- 15:52:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:52:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 15:52:13 Message: update stable to v1.0.249 15:52:14 ------------------- 15:52:14 experimental info: 15:52:14 ------------------- 15:52:14 Commited By: **** collab-it+edgex@linuxfoundation.org 15:52:14 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 15:52:14 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = changelog [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = changelog [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = changelog [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 15:52:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e31afc5 [Pipeline] echo 15:52:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:15 provisioning config files... 15:52:15 copy managed file [device-rest-go-settings] to file:/w/workspace/foundry_device-rest-go_changelog@tmp/config6414927948964539804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:15 ---> docker-login.sh 15:52:15 nexus3.edgexfoundry.org:10001 15:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:15 Configure a credential helper to remove this warning. See 15:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:15 15:52:15 Login Succeeded 15:52:15 nexus3.edgexfoundry.org:10002 15:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:15 Configure a credential helper to remove this warning. See 15:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:15 15:52:15 Login Succeeded 15:52:15 nexus3.edgexfoundry.org:10003 15:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:15 Configure a credential helper to remove this warning. See 15:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:15 15:52:15 Login Succeeded 15:52:15 nexus3.edgexfoundry.org:10004 15:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:15 Configure a credential helper to remove this warning. See 15:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:15 15:52:15 Login Succeeded 15:52:15 docker.io 15:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:16 Configure a credential helper to remove this warning. See 15:52:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:16 15:52:16 Login Succeeded 15:52:16 ---> docker-login.sh ends [Pipeline] } 15:52:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:52:16 + git rev-list -1 --merges e31afc5f6ae47972aac87410fd8eedcd7517dea9~1..e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 15:52:16 -----------> git rev-list -1 --merges e31afc5f6ae47972aac87410fd8eedcd7517dea9~1..e31afc5f6ae47972aac87410fd8eedcd7517dea9 e31afc5f6ae47972aac87410fd8eedcd7517dea9 [false] [Pipeline] sh 15:52:16 + git log --format=format:%s -1 e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 15:52:16 ========================================================= 15:52:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:52:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:17 + git log --format=format:%s -1 e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 15:52:17 [semverPrep] GIT_COMMIT: e31afc5f6ae47972aac87410fd8eedcd7517dea9, Commit Message: docs: Update changelog for v3.0 [Pipeline] echo 15:52:17 [semverPrep] This is not a build commit. [Pipeline] sh 15:52:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:52:17 + grep -v github /etc/ssh/ssh_known_hosts 15:52:17 + [ -e /tmp/ssh_known_hosts ] 15:52:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:52:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:52:17 + sudo tee -a /etc/ssh/ssh_known_hosts 15:52:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:17 15:52:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:18 0.1.4: Pulling from edgex-devops/py-git-semver 15:52:18 b85a868b505f: Pulling fs layer 15:52:18 e2be974225ed: Pulling fs layer 15:52:18 339a4e72a1f5: Pulling fs layer 15:52:18 988bab9f4d93: Pulling fs layer 15:52:18 1469e6f7b9e6: Pulling fs layer 15:52:18 eaf3925da568: Pulling fs layer 15:52:18 bab4dde63d76: Pulling fs layer 15:52:18 bde34c3a00c8: Pulling fs layer 15:52:18 b352a97aabf1: Pulling fs layer 15:52:18 4872d77fe225: Pulling fs layer 15:52:18 5851b861e8e6: Pulling fs layer 15:52:18 bde34c3a00c8: Waiting 15:52:18 988bab9f4d93: Waiting 15:52:18 b352a97aabf1: Waiting 15:52:18 4872d77fe225: Waiting 15:52:18 eaf3925da568: Waiting 15:52:18 bab4dde63d76: Waiting 15:52:18 1469e6f7b9e6: Waiting 15:52:18 5851b861e8e6: Waiting 15:52:18 e2be974225ed: Verifying Checksum 15:52:18 e2be974225ed: Download complete 15:52:18 988bab9f4d93: Verifying Checksum 15:52:18 988bab9f4d93: Download complete 15:52:18 1469e6f7b9e6: Verifying Checksum 15:52:18 1469e6f7b9e6: Download complete 15:52:18 eaf3925da568: Verifying Checksum 15:52:18 eaf3925da568: Download complete 15:52:18 339a4e72a1f5: Verifying Checksum 15:52:18 339a4e72a1f5: Download complete 15:52:18 bde34c3a00c8: Verifying Checksum 15:52:18 bde34c3a00c8: Download complete 15:52:18 b352a97aabf1: Download complete 15:52:18 4872d77fe225: Verifying Checksum 15:52:18 4872d77fe225: Download complete 15:52:18 5851b861e8e6: Download complete 15:52:18 b85a868b505f: Download complete 15:52:18 bab4dde63d76: Verifying Checksum 15:52:19 b85a868b505f: Pull complete 15:52:19 e2be974225ed: Pull complete 15:52:20 339a4e72a1f5: Pull complete 15:52:20 988bab9f4d93: Pull complete 15:52:20 1469e6f7b9e6: Pull complete 15:52:20 eaf3925da568: Pull complete 15:52:22 bab4dde63d76: Pull complete 15:52:22 bde34c3a00c8: Pull complete 15:52:22 b352a97aabf1: Pull complete 15:52:22 4872d77fe225: Pull complete 15:52:22 5851b861e8e6: Pull complete 15:52:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:52:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:22 prd-ubuntu20.04-docker-8c-8g-17311 does not seem to be running inside a container 15:52:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-rest-go_changelog -v /w/workspace/foundry_device-rest-go_changelog:/w/workspace/foundry_device-rest-go_changelog:rw,z -v /w/workspace/foundry_device-rest-go_changelog@tmp:/w/workspace/foundry_device-rest-go_changelog@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:52:28 $ docker top 6db285a12b40b33a05d781f47d38777a95bf05a0bc35ea8d50290024b52d9284 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:52:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:52:28 [ssh-agent] Looking for ssh-agent implementation... 15:52:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:52:28 $ docker exec 6db285a12b40b33a05d781f47d38777a95bf05a0bc35ea8d50290024b52d9284 ssh-agent 15:52:29 SSH_AUTH_SOCK=/tmp/ssh-uzkDByMdQeze/agent.32 15:52:29 SSH_AGENT_PID=38 15:52:29 Running ssh-add (command line suppressed) 15:52:29 Identity added: /w/workspace/foundry_device-rest-go_changelog@tmp/private_key_17856243415334728503.key (/w/workspace/foundry_device-rest-go_changelog@tmp/private_key_17856243415334728503.key) 15:52:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:52:29 + git tag --points-at HEAD [Pipeline] } 15:52:29 $ docker exec --env ******** --env ******** 6db285a12b40b33a05d781f47d38777a95bf05a0bc35ea8d50290024b52d9284 ssh-agent -k 15:52:29 unset SSH_AUTH_SOCK; 15:52:29 unset SSH_AGENT_PID; 15:52:29 echo Agent pid 38 killed; 15:52:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:52:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:52:29 [ssh-agent] Looking for ssh-agent implementation... 15:52:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:52:29 $ docker exec 6db285a12b40b33a05d781f47d38777a95bf05a0bc35ea8d50290024b52d9284 ssh-agent 15:52:29 SSH_AUTH_SOCK=/tmp/ssh-Naf8uTSbtnof/agent.70 15:52:29 SSH_AGENT_PID=76 15:52:29 Running ssh-add (command line suppressed) 15:52:29 Identity added: /w/workspace/foundry_device-rest-go_changelog@tmp/private_key_16297017695682579964.key (/w/workspace/foundry_device-rest-go_changelog@tmp/private_key_16297017695682579964.key) 15:52:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:52:30 + git semver init 15:52:30 2023-05-30 15:52:30,443 [run_init] DEBUG init version:0.0.0 force:False 15:52:30 2023-05-30 15:52:30,444 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-rest-go_changelog/.semver 15:52:30 2023-05-30 15:52:30,444 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/foundry_device-rest-go_changelog/.semver 15:52:30 2023-05-30 15:52:30,445 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/foundry_device-rest-go_changelog/.semver'], cwd=/w/workspace/foundry_device-rest-go_changelog, universal_newlines=False, shell=None, istream=None) 15:52:31 2023-05-30 15:52:31,444 [append_file] DEBUG append to file:/w/workspace/foundry_device-rest-go_changelog/.git/info/exclude 15:52:31 2023-05-30 15:52:31,445 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-rest-go_changelog/.semver/changelog with force:False 15:52:31 2023-05-30 15:52:31,445 [write_file] DEBUG write to file:/w/workspace/foundry_device-rest-go_changelog/.semver/changelog 15:52:31 2023-05-30 15:52:31,449 [execute] INFO git cat-file --batch-check 15:52:31 2023-05-30 15:52:31,449 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-rest-go_changelog/.semver, universal_newlines=False, shell=None, istream=) 15:52:31 2023-05-30 15:52:31,455 [execute] INFO git cat-file --batch 15:52:31 2023-05-30 15:52:31,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-rest-go_changelog/.semver, universal_newlines=False, shell=None, istream=) 15:52:31 2023-05-30 15:52:31,460 [read_version] DEBUG read version from /w/workspace/foundry_device-rest-go_changelog/.semver/changelog 15:52:31 0.0.0 [Pipeline] } 15:52:31 $ docker exec --env ******** --env ******** 6db285a12b40b33a05d781f47d38777a95bf05a0bc35ea8d50290024b52d9284 ssh-agent -k 15:52:31 unset SSH_AUTH_SOCK; 15:52:31 unset SSH_AGENT_PID; 15:52:31 echo Agent pid 76 killed; 15:52:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:52:31 + git semver [Pipeline] } 15:52:32 $ docker stop --time=1 6db285a12b40b33a05d781f47d38777a95bf05a0bc35ea8d50290024b52d9284 15:52:33 $ docker rm -f --volumes 6db285a12b40b33a05d781f47d38777a95bf05a0bc35ea8d50290024b52d9284 [Pipeline] // withDockerContainer [Pipeline] sh 15:52:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:52:34 Stashed 1 file(s) [Pipeline] echo 15:52:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:34 provisioning config files... 15:52:34 copy managed file [device-rest-go-settings] to file:/w/workspace/foundry_device-rest-go_changelog@tmp/config16763418024081922263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:34 ---> docker-login.sh 15:52:34 nexus3.edgexfoundry.org:10001 15:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:34 Configure a credential helper to remove this warning. See 15:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:34 15:52:34 Login Succeeded 15:52:34 nexus3.edgexfoundry.org:10002 15:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:34 Configure a credential helper to remove this warning. See 15:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:34 15:52:34 Login Succeeded 15:52:34 nexus3.edgexfoundry.org:10003 15:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:34 Configure a credential helper to remove this warning. See 15:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:34 15:52:34 Login Succeeded 15:52:34 nexus3.edgexfoundry.org:10004 15:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:34 Configure a credential helper to remove this warning. See 15:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:34 15:52:34 Login Succeeded 15:52:34 docker.io 15:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:34 Configure a credential helper to remove this warning. See 15:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:34 15:52:34 Login Succeeded 15:52:34 ---> docker-login.sh ends [Pipeline] } 15:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:52:35 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:35 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:35 ========================================================= 15:52:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:52:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:52:35 Sending build context to Docker daemon 10.94MB 15:52:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:52:35 Step 2/12 : FROM ${BASE} AS builder 15:52:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:52:35 f56be85fc22e: Pulling fs layer 15:52:35 85791d961cd3: Pulling fs layer 15:52:35 d694b5ae8c79: Pulling fs layer 15:52:35 9f32a84ed3da: Pulling fs layer 15:52:35 4d19c01a9841: Pulling fs layer 15:52:35 9325e15d5711: Pulling fs layer 15:52:35 556b6ee489ea: Pulling fs layer 15:52:35 c5a4b2cf53e6: Pulling fs layer 15:52:35 9f32a84ed3da: Waiting 15:52:35 4d19c01a9841: Waiting 15:52:35 556b6ee489ea: Waiting 15:52:35 9325e15d5711: Waiting 15:52:35 c5a4b2cf53e6: Waiting 15:52:35 85791d961cd3: Verifying Checksum 15:52:35 85791d961cd3: Download complete 15:52:35 9f32a84ed3da: Verifying Checksum 15:52:35 9f32a84ed3da: Download complete 15:52:35 4d19c01a9841: Verifying Checksum 15:52:35 4d19c01a9841: Download complete 15:52:35 f56be85fc22e: Verifying Checksum 15:52:35 f56be85fc22e: Download complete 15:52:35 9325e15d5711: Verifying Checksum 15:52:35 9325e15d5711: Download complete 15:52:35 f56be85fc22e: Pull complete 15:52:35 85791d961cd3: Pull complete 15:52:36 c5a4b2cf53e6: Verifying Checksum 15:52:36 c5a4b2cf53e6: Download complete 15:52:36 d694b5ae8c79: Verifying Checksum 15:52:36 d694b5ae8c79: Download complete 15:52:36 556b6ee489ea: Verifying Checksum 15:52:36 556b6ee489ea: Download complete 15:52:39 d694b5ae8c79: Pull complete 15:52:39 9f32a84ed3da: Pull complete 15:52:39 4d19c01a9841: Pull complete 15:52:39 9325e15d5711: Pull complete 15:52:42 556b6ee489ea: Pull complete 15:52:42 c5a4b2cf53e6: Pull complete 15:52:42 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 15:52:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:52:42 ---> c4be618373d6 15:52:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:52:47 ---> Running in e45cfc6ddadb 15:52:47 Removing intermediate container e45cfc6ddadb 15:52:47 ---> fa7fa2619c51 15:52:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:52:47 ---> Running in c647f899add8 15:52:47 Removing intermediate container c647f899add8 15:52:47 ---> fe88713c906c 15:52:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:52:47 ---> Running in 8bb0acb04536 15:52:47 Removing intermediate container 8bb0acb04536 15:52:47 ---> 4f03bad2754a 15:52:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:52:47 ---> Running in 77bf3f790f35 15:52:47 Removing intermediate container 77bf3f790f35 15:52:47 ---> 05b8e7dc6155 15:52:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:52:47 ---> Running in b06c2463f566 15:52:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:52:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:52:48 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:52:48 (2/4) Installing libedit (20221030.3.1-r0) 15:52:48 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:52:48 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:52:48 Executing busybox-1.35.0-r29.trigger 15:52:48 OK: 269 MiB in 57 packages 15:52:48 Removing intermediate container b06c2463f566 15:52:48 ---> 92236dbdf1dc 15:52:48 Step 8/12 : WORKDIR /device-rest-go 15:52:48 ---> Running in 7185f4a24cf5 15:52:48 Removing intermediate container 7185f4a24cf5 15:52:48 ---> 6d64de9126cc 15:52:48 Step 9/12 : COPY go.mod vendor* ./ 15:52:48 ---> b148b1dcc207 15:52:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:52:48 ---> Running in 4432f7671d3b 15:52:49 Still waiting to schedule task 15:52:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17309’ 15:53:15 Removing intermediate container 4432f7671d3b 15:53:15 ---> 075a2ddbcc6a 15:53:15 Step 11/12 : COPY . . 15:53:15 ---> 45964202b188 15:53:15 Step 12/12 : RUN $MAKE 15:53:15 ---> Running in 65dea74ca190 15:53:15 noop 15:53:15 Removing intermediate container 65dea74ca190 15:53:15 ---> bdcd3ded8ccb 15:53:15 Successfully built bdcd3ded8ccb 15:53:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:16 + docker inspect -f . ci-base-image-x86_64 15:53:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:16 prd-ubuntu20.04-docker-8c-8g-17311 does not seem to be running inside a container 15:53:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-rest-go_changelog -v /w/workspace/foundry_device-rest-go_changelog:/w/workspace/foundry_device-rest-go_changelog:rw,z -v /w/workspace/foundry_device-rest-go_changelog@tmp:/w/workspace/foundry_device-rest-go_changelog@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:53:16 $ docker top 85ea93753722c7c35c24f94e796f7cb4c68ebce2d29584027d6a5a4e980df1a7 -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:16 + go version 15:53:16 go version go1.20.2 linux/amd64 [Pipeline] } 15:53:17 $ docker stop --time=1 85ea93753722c7c35c24f94e796f7cb4c68ebce2d29584027d6a5a4e980df1a7 15:53:18 $ docker rm -f --volumes 85ea93753722c7c35c24f94e796f7cb4c68ebce2d29584027d6a5a4e980df1a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:18 + docker inspect -f . ci-base-image-x86_64 15:53:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:18 prd-ubuntu20.04-docker-8c-8g-17311 does not seem to be running inside a container 15:53:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-rest-go_changelog -v /w/workspace/foundry_device-rest-go_changelog:/w/workspace/foundry_device-rest-go_changelog:rw,z -v /w/workspace/foundry_device-rest-go_changelog@tmp:/w/workspace/foundry_device-rest-go_changelog@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:53:19 $ docker top be1a2bd3bf9279ada219a3b305700482c5fffc4194ad97660e5e33fea27a659f -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:19 + git config --global --add safe.directory /w/workspace/foundry_device-rest-go_changelog [Pipeline] fileExists [Pipeline] sh 15:53:19 + make test 15:53:19 go test ./... -coverprofile=coverage.out ./... 15:53:23 ? github.com/edgexfoundry/device-rest-go [no test files] 15:53:34 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:53:34 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 15:53:39 go vet ./... 15:53:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:53:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:53:42 ./bin/test-attribution-txt.sh [Pipeline] echo 15:53:42 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:53:42 $ docker stop --time=1 be1a2bd3bf9279ada219a3b305700482c5fffc4194ad97660e5e33fea27a659f 15:53:45 $ docker rm -f --volumes be1a2bd3bf9279ada219a3b305700482c5fffc4194ad97660e5e33fea27a659f [Pipeline] // withDockerContainer [Pipeline] sh 15:53:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:53:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:53:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:53:46 + ls -al . 15:53:46 total 184 15:53:46 drwxrwxr-x 9 jenkins jenkins 4096 May 30 15:53 . 15:53:46 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:52 .. 15:53:46 -rw-rw-r-- 1 jenkins jenkins 151 May 30 15:52 .dockerignore 15:53:46 drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:52 .git 15:53:46 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:52 .github 15:53:46 -rw-rw-r-- 1 jenkins jenkins 329 May 30 15:52 .gitignore 15:53:46 -rw-rw-r-- 1 jenkins jenkins 41 May 30 15:52 .golangci.yml 15:53:46 drwxr-xr-x 3 jenkins jenkins 4096 May 30 15:52 .semver 15:53:46 -rw-rw-r-- 1 jenkins jenkins 9331 May 30 15:52 Attribution.txt 15:53:46 -rw-rw-r-- 1 jenkins jenkins 15709 May 30 15:52 CHANGELOG.md 15:53:46 -rw-rw-r-- 1 jenkins jenkins 1578 May 30 15:52 Dockerfile 15:53:46 -rw-rw-r-- 1 jenkins jenkins 677 May 30 15:52 GOVERNANCE.md 15:53:46 -rw-rw-r-- 1 jenkins jenkins 680 May 30 15:52 Jenkinsfile 15:53:46 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 15:52 LICENSE 15:53:46 -rw-rw-r-- 1 jenkins jenkins 1779 May 30 15:52 Makefile 15:53:46 -rw-rw-r-- 1 jenkins jenkins 620 May 30 15:52 OWNERS.md 15:53:46 -rw-rw-r-- 1 jenkins jenkins 15827 May 30 15:52 README.md 15:53:46 -rw-rw-r-- 1 jenkins jenkins 5 May 30 15:52 VERSION 15:53:46 drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:52 bin 15:53:46 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:52 cmd 15:53:46 -rw-r--r-- 1 jenkins jenkins 14663 May 30 15:53 coverage.out 15:53:46 drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:52 driver 15:53:46 -rw-rw-r-- 1 jenkins jenkins 3354 May 30 15:52 go.mod 15:53:46 -rw-rw-r-- 1 jenkins jenkins 31232 May 30 15:52 go.sum 15:53:46 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:52 snap 15:53:46 -rw-rw-r-- 1 jenkins jenkins 713 May 30 15:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:47 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e31afc5f6ae47972aac87410fd8eedcd7517dea9 --label arch=amd64 --label version=0.0.0 . 15:53:47 Sending build context to Docker daemon 10.96MB 15:53:47 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:53:47 Step 2/25 : FROM ${BASE} AS builder 15:53:47 ---> bdcd3ded8ccb 15:53:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:53:47 ---> Running in de58dafc4f52 15:53:47 Removing intermediate container de58dafc4f52 15:53:47 ---> 1193193542d5 15:53:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:53:47 ---> Running in ed6fc47449ae 15:53:47 Removing intermediate container ed6fc47449ae 15:53:47 ---> 1ac0d5b431c8 15:53:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:53:47 ---> Running in 707047c7ad25 15:53:47 Removing intermediate container 707047c7ad25 15:53:47 ---> 3cb58f39930a 15:53:47 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:53:47 ---> Running in 57a55db47cb4 15:53:47 Removing intermediate container 57a55db47cb4 15:53:47 ---> aa787ad1e87e 15:53:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:53:47 ---> Running in e6331e7e18af 15:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:53:48 OK: 269 MiB in 57 packages 15:53:48 Removing intermediate container e6331e7e18af 15:53:48 ---> 984e789d7c53 15:53:48 Step 8/25 : WORKDIR /device-rest-go 15:53:48 ---> Running in aa3ab98b2f4a 15:53:48 Removing intermediate container aa3ab98b2f4a 15:53:48 ---> b4e56189639a 15:53:48 Step 9/25 : COPY go.mod vendor* ./ 15:53:48 ---> a1097f11b892 15:53:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:48 ---> Running in 5c2372a0a5b2 15:53:49 Removing intermediate container 5c2372a0a5b2 15:53:49 ---> ecd719d7ab31 15:53:49 Step 11/25 : COPY . . 15:53:49 ---> 441009ab8a3b 15:53:49 Step 12/25 : RUN $MAKE 15:53:49 ---> Running in 3755ca065198 15:53:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:54:08 Removing intermediate container 3755ca065198 15:54:08 ---> 3bed40370616 15:54:08 Step 13/25 : FROM alpine:3.17 15:54:08 3.17: Pulling from library/alpine 15:54:08 f56be85fc22e: Already exists 15:54:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:54:08 Status: Downloaded newer image for alpine:3.17 15:54:08 ---> 9ed4aefc74f6 15:54:08 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:54:08 ---> Running in 6218443e16e4 15:54:08 Removing intermediate container 6218443e16e4 15:54:08 ---> 1ea43052e5cd 15:54:08 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:54:08 ---> Running in b12405e659dd 15:54:08 Removing intermediate container b12405e659dd 15:54:08 ---> e4186472a447 15:54:08 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:54:08 ---> Running in 792b2bd99884 15:54:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:54:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:54:09 (1/1) Installing dumb-init (1.2.5-r2) 15:54:09 Executing busybox-1.35.0-r29.trigger 15:54:09 OK: 7 MiB in 16 packages 15:54:09 Removing intermediate container 792b2bd99884 15:54:09 ---> 073cf00e1824 15:54:09 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:54:09 ---> cce1be869f63 15:54:09 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:54:10 ---> 66c989fc66f0 15:54:10 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:54:10 ---> 32ae9a1b6d30 15:54:10 Step 20/25 : EXPOSE 59986 15:54:10 ---> Running in 2d48b4a39c64 15:54:10 Removing intermediate container 2d48b4a39c64 15:54:10 ---> 0128f66a89eb 15:54:10 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:54:10 ---> Running in ed31a76b08ed 15:54:10 Removing intermediate container ed31a76b08ed 15:54:10 ---> 23b4a2e0511b 15:54:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:54:10 ---> Running in 198402c1de62 15:54:10 Removing intermediate container 198402c1de62 15:54:10 ---> 973075ed17af 15:54:10 Step 23/25 : LABEL arch=amd64 15:54:10 ---> Running in dcdd51cb4753 15:54:10 Removing intermediate container dcdd51cb4753 15:54:10 ---> 443fec2c07b9 15:54:10 Step 24/25 : LABEL git_sha=e31afc5f6ae47972aac87410fd8eedcd7517dea9 15:54:10 ---> Running in b427823f4cd9 15:54:10 Removing intermediate container b427823f4cd9 15:54:10 ---> 9c3d9214e762 15:54:10 Step 25/25 : LABEL version=0.0.0 15:54:10 ---> Running in 1511f5de7fa2 15:54:10 Removing intermediate container 1511f5de7fa2 15:54:10 ---> dbc6e9c8b50f 15:54:10 [Warning] One or more build-args [ARCH] were not consumed 15:54:10 Successfully built dbc6e9c8b50f 15:54:10 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:11 15:54:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:11 latest: Pulling from edgex-lftools-log-publisher 15:54:11 5eb5b503b376: Pulling fs layer 15:54:11 5c69ac0246d0: Pulling fs layer 15:54:11 ec43610c2a17: Pulling fs layer 15:54:11 3a2ae6a8a46f: Pulling fs layer 15:54:11 33b1e0a273af: Pulling fs layer 15:54:11 5d3b04190fa2: Pulling fs layer 15:54:11 2f39f015ded8: Pulling fs layer 15:54:11 3a2ae6a8a46f: Waiting 15:54:11 33b1e0a273af: Waiting 15:54:11 5d3b04190fa2: Waiting 15:54:11 2f39f015ded8: Waiting 15:54:11 5c69ac0246d0: Verifying Checksum 15:54:11 5c69ac0246d0: Download complete 15:54:11 3a2ae6a8a46f: Verifying Checksum 15:54:11 3a2ae6a8a46f: Download complete 15:54:11 33b1e0a273af: Verifying Checksum 15:54:11 33b1e0a273af: Download complete 15:54:11 5d3b04190fa2: Verifying Checksum 15:54:11 5d3b04190fa2: Download complete 15:54:11 ec43610c2a17: Verifying Checksum 15:54:11 ec43610c2a17: Download complete 15:54:13 5eb5b503b376: Verifying Checksum 15:54:13 5eb5b503b376: Download complete 15:54:13 2f39f015ded8: Download complete 15:54:13 5eb5b503b376: Pull complete 15:54:14 5c69ac0246d0: Pull complete 15:54:14 ec43610c2a17: Pull complete 15:54:14 3a2ae6a8a46f: Pull complete 15:54:14 33b1e0a273af: Pull complete 15:54:14 5d3b04190fa2: Pull complete 15:54:18 2f39f015ded8: Pull complete 15:54:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:54:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:18 prd-ubuntu20.04-docker-8c-8g-17311 does not seem to be running inside a container 15:54:18 $ 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/foundry_device-rest-go_changelog -v /w/workspace/foundry_device-rest-go_changelog:/w/workspace/foundry_device-rest-go_changelog:rw,z -v /w/workspace/foundry_device-rest-go_changelog@tmp:/w/workspace/foundry_device-rest-go_changelog@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:54:22 $ docker top e50ead7454b0877033d30f29b3086c1360a41420d3212ee9209a2a5722ea3105 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:22 ---> job-cost.sh 15:54:22 lf-activate-venv: SKIPPING 15:54:22 INFO: No Stack... 15:54:22 INFO: Retrieving Pricing Info for: v3-standard-8 15:54:23 INFO: Archiving Costs [Pipeline] sh 15:54:23 + cat /w/workspace/foundry_device-rest-go_changelog/archives/cost.csv 15:54:23 + cut -d, -f6 [Pipeline] lock 15:54:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-changelog-2-stack-cost] 15:54:23 Resource [jenkins-edgexfoundry-device-rest-go-changelog-2-stack-cost] did not exist. Created. 15:54:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-changelog-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:54:23 + echo total: 0.2199999988079071 [Pipeline] stash 15:54:23 Stashed 1 file(s) [Pipeline] } 15:54:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-changelog-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:54:23 $ docker stop --time=1 e50ead7454b0877033d30f29b3086c1360a41420d3212ee9209a2a5722ea3105 15:54:24 $ docker rm -f --volumes e50ead7454b0877033d30f29b3086c1360a41420d3212ee9209a2a5722ea3105 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:55:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17315 in /w/workspace/foundry_device-rest-go_changelog [Pipeline] { [Pipeline] ws 15:55:40 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 15:55:40 The recommended git tool is: git 15:55:47 using credential edgex-jenkins-ssh 15:55:47 Cloning the remote Git repository 15:55:47 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:55:47 > git init /w/workspace/device-rest-go/2 # timeout=10 15:55:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:55:47 > git --version # timeout=10 15:55:47 > git --version # 'git version 2.25.1' 15:55:47 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:55:50 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:55:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:55:51 Avoid second fetch 15:55:51 Checking out Revision e31afc5f6ae47972aac87410fd8eedcd7517dea9 (changelog) 15:55:52 Commit message: "docs: Update changelog for v3.0" 15:55:51 > git config core.sparsecheckout # timeout=10 15:55:51 > git checkout -f e31afc5f6ae47972aac87410fd8eedcd7517dea9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:55:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:55:53 % Total % Received % Xferd Average Speed Time Time Time Current 15:55:53 Dload Upload Total Spent Left Speed 15:55:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 15:55:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:55:57 + sudo tee /etc/docker/daemon.new 15:55:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:55:57 { 15:55:57 "registry-mirrors": [ 15:55:57 "https://nexus3.edgexfoundry.org:10001" 15:55:57 ], 15:55:57 "bip": "10.250.0.254/24", 15:55:57 "hosts": [ 15:55:57 "tcp://0.0.0.0:5555", 15:55:57 "unix:///var/run/docker.sock" 15:55:57 ], 15:55:57 "mtu": 1458, 15:55:57 "selinux-enabled": true, 15:55:57 "seccomp-profile": "/etc/docker/seccomp.json" 15:55:57 } [Pipeline] sh 15:55:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:55:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:16 provisioning config files... 15:56:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8703863083789025929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:17 ---> docker-login.sh 15:56:17 nexus3.edgexfoundry.org:10001 15:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:17 Configure a credential helper to remove this warning. See 15:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:17 15:56:17 Login Succeeded 15:56:17 nexus3.edgexfoundry.org:10002 15:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:18 Configure a credential helper to remove this warning. See 15:56:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:18 15:56:18 Login Succeeded 15:56:18 nexus3.edgexfoundry.org:10003 15:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:18 Configure a credential helper to remove this warning. See 15:56:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:18 15:56:18 Login Succeeded 15:56:18 nexus3.edgexfoundry.org:10004 15:56:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:20 Configure a credential helper to remove this warning. See 15:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:20 15:56:20 Login Succeeded 15:56:20 docker.io 15:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:56:20 Configure a credential helper to remove this warning. See 15:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:56:20 15:56:20 Login Succeeded 15:56:20 ---> docker-login.sh ends [Pipeline] } 15:56:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:56:21 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:21 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:56:21 ========================================================= 15:56:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:56:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:56:21 Sending build context to Docker daemon 141.8kB 15:56:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:56:21 Step 2/12 : FROM ${BASE} AS builder 15:56:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:56:21 c41833b44d91: Pulling fs layer 15:56:21 ed15518f5707: Pulling fs layer 15:56:21 feae8fd75edb: Pulling fs layer 15:56:21 242c74f7c9fa: Pulling fs layer 15:56:21 3cdef696dda3: Pulling fs layer 15:56:21 2ced38df9373: Pulling fs layer 15:56:21 58f1dce35555: Pulling fs layer 15:56:21 3cdef696dda3: Waiting 15:56:21 2ced38df9373: Waiting 15:56:21 58f1dce35555: Waiting 15:56:21 242c74f7c9fa: Waiting 15:56:21 ed15518f5707: Verifying Checksum 15:56:21 ed15518f5707: Download complete 15:56:21 242c74f7c9fa: Verifying Checksum 15:56:21 242c74f7c9fa: Download complete 15:56:21 3cdef696dda3: Verifying Checksum 15:56:21 3cdef696dda3: Download complete 15:56:21 c41833b44d91: Verifying Checksum 15:56:21 c41833b44d91: Download complete 15:56:22 c41833b44d91: Pull complete 15:56:23 58f1dce35555: Verifying Checksum 15:56:23 58f1dce35555: Download complete 15:56:25 feae8fd75edb: Verifying Checksum 15:56:25 feae8fd75edb: Download complete 15:56:25 2ced38df9373: Verifying Checksum 15:56:25 2ced38df9373: Download complete 15:56:25 ed15518f5707: Pull complete 15:56:37 feae8fd75edb: Pull complete 15:56:37 242c74f7c9fa: Pull complete 15:56:37 3cdef696dda3: Pull complete 15:56:44 2ced38df9373: Pull complete 15:56:46 58f1dce35555: Pull complete 15:56:46 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 15:56:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:56:46 ---> fadd8f120f05 15:56:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:56:49 ---> Running in 4ab8ef045ed4 15:56:49 Removing intermediate container 4ab8ef045ed4 15:56:49 ---> a0f900795cde 15:56:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:56:49 ---> Running in 96d80f816de2 15:56:49 Removing intermediate container 96d80f816de2 15:56:49 ---> 972dc502cde2 15:56:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:56:49 ---> Running in 345383d0e0f1 15:56:49 Removing intermediate container 345383d0e0f1 15:56:49 ---> ebb57a7bfadb 15:56:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:56:49 ---> Running in 7aa3f55c6bc9 15:56:50 Removing intermediate container 7aa3f55c6bc9 15:56:50 ---> ca3b9f8e2d6a 15:56:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:56:50 ---> Running in 9a50d9fb6a84 15:56:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:56:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:56:54 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:56:54 (2/4) Installing libedit (20221030.3.1-r0) 15:56:54 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:56:54 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:56:54 Executing busybox-1.35.0-r29.trigger 15:56:54 OK: 268 MiB in 57 packages 15:56:55 Removing intermediate container 9a50d9fb6a84 15:56:55 ---> 6db9fef875e4 15:56:55 Step 8/12 : WORKDIR /device-rest-go 15:56:55 ---> Running in cc261c9738ed 15:56:55 Removing intermediate container cc261c9738ed 15:56:55 ---> 86f80cd10edf 15:56:55 Step 9/12 : COPY go.mod vendor* ./ 15:56:56 ---> 06eaf55481e3 15:56:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:56:56 ---> Running in 8e1bca0492ba 15:58:04 Removing intermediate container 8e1bca0492ba 15:58:04 ---> 4fce0f2c549f 15:58:04 Step 11/12 : COPY . . 15:58:04 ---> 560c1d5833cf 15:58:04 Step 12/12 : RUN $MAKE 15:58:04 ---> Running in c6091c09feb0 15:58:04 noop 15:58:04 Removing intermediate container c6091c09feb0 15:58:04 ---> 45f14012b6e3 15:58:04 Successfully built 45f14012b6e3 15:58:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:04 + docker inspect -f . ci-base-image-arm64 15:58:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:04 prd-ubuntu20.04-docker-arm64-4c-16g-17315 does not seem to be running inside a container 15:58:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:58:06 $ docker top 8063fcd125bb9e30f9d2523cb304d3b728c5bc7aa68ff127d6f44f3e33de16a8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:07 + go version 15:58:07 go version go1.20.2 linux/arm64 [Pipeline] } 15:58:07 $ docker stop --time=1 8063fcd125bb9e30f9d2523cb304d3b728c5bc7aa68ff127d6f44f3e33de16a8 15:58:08 $ docker rm -f --volumes 8063fcd125bb9e30f9d2523cb304d3b728c5bc7aa68ff127d6f44f3e33de16a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:09 + docker inspect -f . ci-base-image-arm64 15:58:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:09 prd-ubuntu20.04-docker-arm64-4c-16g-17315 does not seem to be running inside a container 15:58:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:58:11 $ docker top d6268c54528ac33ba8f581153351244c4bf595e4458e31cc2158201c393ec898 -eo pid,comm [Pipeline] { [Pipeline] sh 15:58:12 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 15:58:12 + make test 15:58:12 go test ./... -coverprofile=coverage.out ./... 15:58:51 ? github.com/edgexfoundry/device-rest-go [no test files] 16:01:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:01:28 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 32.2% of statements 16:01:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:01:28 go vet ./... 16:02:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:02:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:02:00 ./bin/test-attribution-txt.sh [Pipeline] echo 16:02:00 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:02:00 $ docker stop --time=1 d6268c54528ac33ba8f581153351244c4bf595e4458e31cc2158201c393ec898 16:02:02 $ docker rm -f --volumes d6268c54528ac33ba8f581153351244c4bf595e4458e31cc2158201c393ec898 [Pipeline] // withDockerContainer [Pipeline] sh 16:02:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:02:04 Warning: overwriting stash ‘coverage-report’ 16:02:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:02:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:02:05 + ls -al . 16:02:05 total 180 16:02:05 drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:58 . 16:02:05 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:55 .. 16:02:05 -rw-rw-r-- 1 jenkins jenkins 151 May 30 15:55 .dockerignore 16:02:05 drwxrwxr-x 8 jenkins jenkins 4096 May 30 15:55 .git 16:02:05 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:55 .github 16:02:05 -rw-rw-r-- 1 jenkins jenkins 329 May 30 15:55 .gitignore 16:02:05 -rw-rw-r-- 1 jenkins jenkins 41 May 30 15:55 .golangci.yml 16:02:05 -rw-rw-r-- 1 jenkins jenkins 9331 May 30 15:55 Attribution.txt 16:02:05 -rw-rw-r-- 1 jenkins jenkins 15709 May 30 15:55 CHANGELOG.md 16:02:05 -rw-rw-r-- 1 jenkins jenkins 1578 May 30 15:55 Dockerfile 16:02:05 -rw-rw-r-- 1 jenkins jenkins 677 May 30 15:55 GOVERNANCE.md 16:02:05 -rw-rw-r-- 1 jenkins jenkins 680 May 30 15:55 Jenkinsfile 16:02:05 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 15:55 LICENSE 16:02:05 -rw-rw-r-- 1 jenkins jenkins 1779 May 30 15:55 Makefile 16:02:05 -rw-rw-r-- 1 jenkins jenkins 620 May 30 15:55 OWNERS.md 16:02:05 -rw-rw-r-- 1 jenkins jenkins 15827 May 30 15:55 README.md 16:02:05 -rw-rw-r-- 1 jenkins jenkins 5 May 30 15:52 VERSION 16:02:05 drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:55 bin 16:02:05 drwxrwxr-x 3 jenkins jenkins 4096 May 30 15:55 cmd 16:02:05 -rw-r--r-- 1 jenkins jenkins 14663 May 30 16:01 coverage.out 16:02:05 drwxrwxr-x 2 jenkins jenkins 4096 May 30 15:55 driver 16:02:05 -rw-rw-r-- 1 jenkins jenkins 3354 May 30 15:55 go.mod 16:02:05 -rw-rw-r-- 1 jenkins jenkins 31232 May 30 15:55 go.sum 16:02:05 drwxrwxr-x 4 jenkins jenkins 4096 May 30 15:55 snap 16:02:05 -rw-rw-r-- 1 jenkins jenkins 713 May 30 15:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:05 + 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=e31afc5f6ae47972aac87410fd8eedcd7517dea9 --label arch=arm64 --label version=0.0.0 . 16:02:05 Sending build context to Docker daemon 157.2kB 16:02:06 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:02:06 Step 2/25 : FROM ${BASE} AS builder 16:02:06 ---> 45f14012b6e3 16:02:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:02:06 ---> Running in d36ba9b0a252 16:02:06 Removing intermediate container d36ba9b0a252 16:02:06 ---> e584a39999b6 16:02:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:02:06 ---> Running in a24c294b6a86 16:02:07 Removing intermediate container a24c294b6a86 16:02:07 ---> 2c5029a0d8be 16:02:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:02:07 ---> Running in a09849904e3d 16:02:07 Removing intermediate container a09849904e3d 16:02:07 ---> 2df539495672 16:02:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:02:07 ---> Running in 6d588107b856 16:02:08 Removing intermediate container 6d588107b856 16:02:08 ---> 6ce0d7d03387 16:02:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:02:08 ---> Running in e34c933e1604 16:02:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:02:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:02:11 OK: 268 MiB in 57 packages 16:02:12 Removing intermediate container e34c933e1604 16:02:12 ---> 8e9e61e61e32 16:02:12 Step 8/25 : WORKDIR /device-rest-go 16:02:12 ---> Running in ee8a0ebbc4c5 16:02:12 Removing intermediate container ee8a0ebbc4c5 16:02:12 ---> 6823b5cfb95d 16:02:12 Step 9/25 : COPY go.mod vendor* ./ 16:02:13 ---> 60dd6e8259b8 16:02:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:02:13 ---> Running in 10e8b39d18b6 16:02:16 Removing intermediate container 10e8b39d18b6 16:02:16 ---> 7ecf2a8df3ba 16:02:16 Step 11/25 : COPY . . 16:02:16 ---> edd4b0768d24 16:02:16 Step 12/25 : RUN $MAKE 16:02:20 ---> Running in 033fa05db6f1 16:02:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:04:57 Removing intermediate container 033fa05db6f1 16:04:57 ---> e15575c0132e 16:04:57 Step 13/25 : FROM alpine:3.17 16:04:57 3.17: Pulling from library/alpine 16:04:57 c41833b44d91: Already exists 16:04:57 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:04:57 Status: Downloaded newer image for alpine:3.17 16:04:57 ---> 51e60588ff2c 16:04:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:04:57 ---> Running in 95fc51302c57 16:04:57 Removing intermediate container 95fc51302c57 16:04:57 ---> a5780512a585 16:04:57 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:04:57 ---> Running in b95534c5328a 16:04:57 Removing intermediate container b95534c5328a 16:04:57 ---> 0f59914c51b0 16:04:57 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:04:57 ---> Running in 2cf499f937f9 16:04:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:04:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:04:57 (1/1) Installing dumb-init (1.2.5-r2) 16:04:57 Executing busybox-1.35.0-r29.trigger 16:04:57 OK: 8 MiB in 16 packages 16:04:57 Removing intermediate container 2cf499f937f9 16:04:57 ---> de6407932b7d 16:04:57 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:04:57 ---> ce1133222964 16:04:57 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:04:57 ---> b0d57e5fa81a 16:04:57 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:04:57 ---> 89b0615ea77d 16:04:57 Step 20/25 : EXPOSE 59986 16:04:57 ---> Running in 9b71ad914e4d 16:04:57 Removing intermediate container 9b71ad914e4d 16:04:57 ---> ca27c429fb17 16:04:57 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:04:57 ---> Running in fb1f5fb5171d 16:04:57 Removing intermediate container fb1f5fb5171d 16:04:57 ---> 12e8736f85c7 16:04:57 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:04:57 ---> Running in e7af828bb6cd 16:04:57 Removing intermediate container e7af828bb6cd 16:04:57 ---> 1bc96401ad24 16:04:57 Step 23/25 : LABEL arch=arm64 16:04:57 ---> Running in 196f60bfd5bd 16:04:57 Removing intermediate container 196f60bfd5bd 16:04:57 ---> 3c42f4508f2c 16:04:57 Step 24/25 : LABEL git_sha=e31afc5f6ae47972aac87410fd8eedcd7517dea9 16:04:57 ---> Running in 133fc94ff207 16:04:57 Removing intermediate container 133fc94ff207 16:04:57 ---> 005664a8edfe 16:04:57 Step 25/25 : LABEL version=0.0.0 16:04:57 ---> Running in 186aa4637f10 16:04:57 Removing intermediate container 186aa4637f10 16:04:57 ---> 05557fe3b4cf 16:04:57 [Warning] One or more build-args [ARCH] were not consumed 16:04:57 Successfully built 05557fe3b4cf 16:04:57 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:04:57 16:04:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:04:58 arm64: Pulling from edgex-lftools-log-publisher 16:04:58 8998bd30e6a1: Pulling fs layer 16:04:58 04944245beec: Pulling fs layer 16:04:58 699f458cf7ca: Pulling fs layer 16:04:58 765212b225bb: Pulling fs layer 16:04:58 f23df028b6ca: Pulling fs layer 16:04:58 d65c8cfc05b1: Pulling fs layer 16:04:58 2437ff75d9bd: Pulling fs layer 16:04:58 765212b225bb: Waiting 16:04:58 d65c8cfc05b1: Waiting 16:04:58 f23df028b6ca: Waiting 16:04:58 2437ff75d9bd: Waiting 16:04:58 04944245beec: Verifying Checksum 16:04:58 04944245beec: Download complete 16:04:58 765212b225bb: Verifying Checksum 16:04:58 765212b225bb: Download complete 16:04:58 f23df028b6ca: Verifying Checksum 16:04:58 f23df028b6ca: Download complete 16:04:58 d65c8cfc05b1: Verifying Checksum 16:04:58 d65c8cfc05b1: Download complete 16:04:58 699f458cf7ca: Verifying Checksum 16:04:58 699f458cf7ca: Download complete 16:04:59 8998bd30e6a1: Verifying Checksum 16:04:59 8998bd30e6a1: Download complete 16:05:01 2437ff75d9bd: Download complete 16:05:03 8998bd30e6a1: Pull complete 16:05:03 04944245beec: Pull complete 16:05:05 699f458cf7ca: Pull complete 16:05:05 765212b225bb: Pull complete 16:05:06 f23df028b6ca: Pull complete 16:05:06 d65c8cfc05b1: Pull complete 16:05:21 2437ff75d9bd: Pull complete 16:05:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:05:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:05:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:21 prd-ubuntu20.04-docker-arm64-4c-16g-17315 does not seem to be running inside a container 16:05:22 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:05:24 $ docker top 2980906b76ae09da8b7d17e425c1fdec9bd2321b21ca3b171186bc29c183fbc3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:25 ---> job-cost.sh 16:05:25 lf-activate-venv: SKIPPING 16:05:25 INFO: No Stack... 16:05:26 INFO: Retrieving Pricing Info for: v3-standard-4 16:05:27 INFO: Archiving Costs [Pipeline] sh 16:05:27 + cat /w/workspace/device-rest-go/2/archives/cost.csv 16:05:27 + cut -d, -f6 [Pipeline] lock 16:05:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-changelog-2-stack-cost] 16:05:28 Resource [jenkins-edgexfoundry-device-rest-go-changelog-2-stack-cost] did not exist. Created. 16:05:28 Lock acquired on [jenkins-edgexfoundry-device-rest-go-changelog-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:05:28 /w/workspace/device-rest-go/2@tmp/durable-2e33d972/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:05:29 + echo total: 0.10999999940395355 [Pipeline] stash 16:05:29 Warning: overwriting stash ‘stack-cost’ 16:05:29 Stashed 1 file(s) [Pipeline] } 16:05:29 Lock released on resource [jenkins-edgexfoundry-device-rest-go-changelog-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:05:29 $ docker stop --time=1 2980906b76ae09da8b7d17e425c1fdec9bd2321b21ca3b171186bc29c183fbc3 16:05:31 $ docker rm -f --volumes 2980906b76ae09da8b7d17e425c1fdec9bd2321b21ca3b171186bc29c183fbc3 [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) [Pipeline] unstash [Pipeline] configFileProvider 16:05:31 provisioning config files... 16:05:31 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/foundry_device-rest-go_changelog@tmp/config16538877016788295377tmp [Pipeline] { [Pipeline] sh 16:05:31 + set +x 16:05:31 + curl -s https://codecov.io/bash 16:05:31 + bash -s -- 16:05:31 16:05:31 _____ _ 16:05:31 / ____| | | 16:05:31 | | ___ __| | ___ ___ _____ __ 16:05:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:05:31 | |___| (_) | (_| | __/ (_| (_) \ V / 16:05:31 \_____\___/ \__,_|\___|\___\___/ \_/ 16:05:31 Bash-1.0.6 16:05:31 16:05:31 16:05:31 ==> git version 2.25.1 found 16:05:31 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:05:31 Release-Date: 2020-01-08 16:05:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:05:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:05:31 ==> Jenkins CI detected. 16:05:31 current dir:  /w/workspace/foundry_device-rest-go_changelog 16:05:31 project root: . 16:05:31 --> token set from env 16:05:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:05:31 ==> Running gcov in . (disable via -X gcov) 16:05:31 ==> Python coveragepy not found 16:05:31 ==> Searching for coverage reports in: 16:05:31 + . 16:05:31 -> Found 1 reports 16:05:31 ==> Detecting git/mercurial file structure 16:05:31 ==> Reading reports 16:05:31 + ./coverage.out bytes=14663 16:05:31 ==> Appending adjustments 16:05:31 https://docs.codecov.io/docs/fixing-reports 16:05:31 + Found adjustments 16:05:31 ==> Gzipping contents 16:05:31 4.0K /tmp/codecov.lteNwG.gz 16:05:31 ==> Uploading reports 16:05:31 url: https://codecov.io 16:05:31 query: branch=changelog&commit=e31afc5f6ae47972aac87410fd8eedcd7517dea9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fchangelog%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:05:31 -> Pinging Codecov 16:05:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=changelog&commit=e31afc5f6ae47972aac87410fd8eedcd7517dea9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fchangelog%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:05:32 -> Uploading to 16:05:32 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/4E5D53B4F1F92C436F7061BF334D961C/e31afc5f6ae47972aac87410fd8eedcd7517dea9/e997a4bb-2537-47ec-8190-4103e58d6653.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T160532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=096f57c35830eae3211ad8a520a8fb1182e2f0fa036bb2b309e8139c2208d1d4 16:05:32 % Total % Received % Xferd Average Speed Time Time Time Current 16:05:32 Dload Upload Total Spent Left Speed 16:05:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 13072 --:--:-- --:--:-- --:--:-- 13072 16:05:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] } 16:05:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:05:33 + [ -d /w/workspace/foundry_device-rest-go_changelog/archives ] 16:05:33 + ls -al /w/workspace/foundry_device-rest-go_changelog/archives 16:05:33 total 16 16:05:33 drwxr-xr-x 3 root root 4096 May 30 15:54 . 16:05:33 drwxrwxr-x 10 jenkins jenkins 4096 May 30 15:54 .. 16:05:33 drwxr-xr-x 2 root root 4096 May 30 15:54 cost 16:05:33 -rw-r--r-- 1 root root 89 May 30 15:54 cost.csv 16:05:33 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-rest-go_changelog/archives 16:05:33 + ls -al /w/workspace/foundry_device-rest-go_changelog/archives 16:05:33 total 16 16:05:33 drwxr-xr-x 3 jenkins jenkins 4096 May 30 15:54 . 16:05:33 drwxrwxr-x 10 jenkins jenkins 4096 May 30 15:54 .. 16:05:33 drwxr-xr-x 2 jenkins jenkins 4096 May 30 15:54 cost 16:05:33 -rw-r--r-- 1 jenkins jenkins 89 May 30 15:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:05:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:05:34 ---> package-listing.sh 16:05:34 ++ facter osfamily 16:05:34 ++ tr '[:upper:]' '[:lower:]' 16:05:34 + OS_FAMILY=debian 16:05:34 + workspace=/w/workspace/foundry_device-rest-go_changelog 16:05:34 + START_PACKAGES=/tmp/packages_start.txt 16:05:34 + END_PACKAGES=/tmp/packages_end.txt 16:05:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:05:34 + PACKAGES=/tmp/packages_start.txt 16:05:34 + '[' /w/workspace/foundry_device-rest-go_changelog ']' 16:05:34 + PACKAGES=/tmp/packages_end.txt 16:05:34 + case "${OS_FAMILY}" in 16:05:34 + dpkg -l 16:05:34 + grep '^ii' 16:05:34 + '[' -f /tmp/packages_start.txt ']' 16:05:34 + '[' -f /tmp/packages_end.txt ']' 16:05:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:05:34 + '[' /w/workspace/foundry_device-rest-go_changelog ']' 16:05:34 + mkdir -p /w/workspace/foundry_device-rest-go_changelog/archives/ 16:05:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-rest-go_changelog/archives/ [Pipeline] echo 16:05:35 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/foundry_device-rest-go_changelog/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:05:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:05:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:35 prd-ubuntu20.04-docker-8c-8g-17311 does not seem to be running inside a container 16:05:35 $ 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/foundry_device-rest-go_changelog/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-rest-go_changelog -v /w/workspace/foundry_device-rest-go_changelog:/w/workspace/foundry_device-rest-go_changelog:rw,z -v /w/workspace/foundry_device-rest-go_changelog@tmp:/w/workspace/foundry_device-rest-go_changelog@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:05:36 $ docker top 6e59d3a31ce270569bb7a6502c391b21bdc3dd26d1e9df3dc52afea2a173cb51 -eo pid,comm [Pipeline] { [Pipeline] sh 16:05:36 + touch /tmp/pre-build-complete [Pipeline] sh 16:05:36 + mkdir -p /var/log/sysstat [Pipeline] sh 16:05:37 + ls /var/log/sa-host 16:05:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:05:37 provisioning config files... 16:05:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-rest-go_changelog@tmp/config477879247595780535tmp [Pipeline] { [Pipeline] echo 16:05:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:05:37 ---> create-netrc.sh [Pipeline] } 16:05:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:05:37 ---> python-tools-install.sh [Pipeline] echo 16:05:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:05:38 ---> sudo-logs.sh 16:05:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:05:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:05:38 ---> job-cost.sh 16:05:38 lf-activate-venv: SKIPPING 16:05:38 DEBUG: total: 0.2199999988079071 16:05:38 INFO: Retrieving Stack Cost... 16:05:38 INFO: Retrieving Pricing Info for: v3-standard-8 16:05:39 INFO: Archiving Costs [Pipeline] echo 16:05:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:05:39 ---> logs-deploy.sh 16:05:39 lf-activate-venv: SKIPPING 16:05:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/changelog/2 16:05:39 INFO: archiving workspace using pattern(s): 16:05:40 Archives upload complete. 16:05:40 INFO: archiving logs to Nexus 16:05:41 ---> uname -a: 16:05:41 Linux prd-ubuntu20-04-docker-8c-8g-17311 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:05:41 16:05:41 16:05:41 ---> lscpu: 16:05:41 Architecture: x86_64 16:05:41 CPU op-mode(s): 32-bit, 64-bit 16:05:41 Byte Order: Little Endian 16:05:41 Address sizes: 40 bits physical, 48 bits virtual 16:05:41 CPU(s): 8 16:05:41 On-line CPU(s) list: 0-7 16:05:41 Thread(s) per core: 1 16:05:41 Core(s) per socket: 1 16:05:41 Socket(s): 8 16:05:41 NUMA node(s): 1 16:05:41 Vendor ID: AuthenticAMD 16:05:41 CPU family: 23 16:05:41 Model: 49 16:05:41 Model name: AMD EPYC-Rome Processor 16:05:41 Stepping: 0 16:05:41 CPU MHz: 2799.998 16:05:41 BogoMIPS: 5599.99 16:05:41 Virtualization: AMD-V 16:05:41 Hypervisor vendor: KVM 16:05:41 Virtualization type: full 16:05:41 L1d cache: 256 KiB 16:05:41 L1i cache: 256 KiB 16:05:41 L2 cache: 4 MiB 16:05:41 L3 cache: 128 MiB 16:05:41 NUMA node0 CPU(s): 0-7 16:05:41 Vulnerability Itlb multihit: Not affected 16:05:41 Vulnerability L1tf: Not affected 16:05:41 Vulnerability Mds: Not affected 16:05:41 Vulnerability Meltdown: Not affected 16:05:41 Vulnerability Mmio stale data: Not affected 16:05:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:05:41 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:05:41 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:05:41 Vulnerability Srbds: Not affected 16:05:41 Vulnerability Tsx async abort: Not affected 16:05:41 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:05:41 16:05:41 16:05:41 ---> nproc: 16:05:41 8 16:05:41 16:05:41