Push event to branch changelog 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-ssh16712816240347142569.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-ssh14427740589029132832.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/changelog/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/changelog/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16474737000449753307.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/changelog/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4733429462794572092.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11709253873925087723.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/changelog/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/changelog/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1585664095466289766.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 ‘prd-ubuntu20.04-docker-8c-8g-17260’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17261 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" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:23:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:23:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv > git config core.sparsecheckout # timeout=10 > git checkout -f e31afc5f6ae47972aac87410fd8eedcd7517dea9 # timeout=10 [Pipeline] { [Pipeline] echo 07:23:30 ========================================================= 07:23:30 EdgeX Global Pipelines Version Info 07:23:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:23:31 ------------------- 07:23:31 stable info: 07:23:31 ------------------- 07:23:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:23:31 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:23:31 Message: update stable to v1.0.249 07:23:32 ------------------- 07:23:32 experimental info: 07:23:32 ------------------- 07:23:32 Commited By: **** collab-it+edgex@linuxfoundation.org 07:23:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:23:32 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:23:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 07:23:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 07:23:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:23:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:23:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:23:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:23:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:23:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:23:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:23:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = changelog [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = changelog [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = changelog [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e31afc5 [Pipeline] echo 07:23:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:34 provisioning config files... 07:23:34 copy managed file [device-rest-go-settings] to file:/w/workspace/foundry_device-rest-go_changelog@tmp/config14289378064366382865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:34 ---> docker-login.sh 07:23:34 nexus3.edgexfoundry.org:10001 07:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:34 Configure a credential helper to remove this warning. See 07:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:34 07:23:34 Login Succeeded 07:23:34 nexus3.edgexfoundry.org:10002 07:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:34 Configure a credential helper to remove this warning. See 07:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:34 07:23:34 Login Succeeded 07:23:34 nexus3.edgexfoundry.org:10003 07:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:34 Configure a credential helper to remove this warning. See 07:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:34 07:23:34 Login Succeeded 07:23:34 nexus3.edgexfoundry.org:10004 07:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:34 Configure a credential helper to remove this warning. See 07:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:34 07:23:34 Login Succeeded 07:23:34 docker.io 07:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:35 Configure a credential helper to remove this warning. See 07:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:35 07:23:35 Login Succeeded 07:23:35 ---> docker-login.sh ends [Pipeline] } 07:23:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:23:35 + git rev-list -1 --merges e31afc5f6ae47972aac87410fd8eedcd7517dea9~1..e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 07:23:35 -----------> git rev-list -1 --merges e31afc5f6ae47972aac87410fd8eedcd7517dea9~1..e31afc5f6ae47972aac87410fd8eedcd7517dea9 e31afc5f6ae47972aac87410fd8eedcd7517dea9 [false] [Pipeline] sh 07:23:36 + git log --format=format:%s -1 e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 07:23:36 ========================================================= 07:23:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:23:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:23:36 + git log --format=format:%s -1 e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 07:23:36 [semverPrep] GIT_COMMIT: e31afc5f6ae47972aac87410fd8eedcd7517dea9, Commit Message: docs: Update changelog for v3.0 [Pipeline] echo 07:23:36 [semverPrep] This is not a build commit. [Pipeline] sh 07:23:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:23:37 + grep -v github /etc/ssh/ssh_known_hosts 07:23:37 + [ -e /tmp/ssh_known_hosts ] 07:23:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:23:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:23:37 + sudo tee -a /etc/ssh/ssh_known_hosts 07:23:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:37 07:23:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:38 0.1.4: Pulling from edgex-devops/py-git-semver 07:23:38 b85a868b505f: Pulling fs layer 07:23:38 e2be974225ed: Pulling fs layer 07:23:38 339a4e72a1f5: Pulling fs layer 07:23:38 988bab9f4d93: Pulling fs layer 07:23:38 1469e6f7b9e6: Pulling fs layer 07:23:38 eaf3925da568: Pulling fs layer 07:23:38 bab4dde63d76: Pulling fs layer 07:23:38 988bab9f4d93: Waiting 07:23:38 1469e6f7b9e6: Waiting 07:23:38 eaf3925da568: Waiting 07:23:38 bde34c3a00c8: Pulling fs layer 07:23:38 b352a97aabf1: Pulling fs layer 07:23:38 4872d77fe225: Pulling fs layer 07:23:38 5851b861e8e6: Pulling fs layer 07:23:38 bde34c3a00c8: Waiting 07:23:38 b352a97aabf1: Waiting 07:23:38 bab4dde63d76: Waiting 07:23:38 5851b861e8e6: Waiting 07:23:38 4872d77fe225: Waiting 07:23:38 e2be974225ed: Verifying Checksum 07:23:38 e2be974225ed: Download complete 07:23:38 988bab9f4d93: Download complete 07:23:38 1469e6f7b9e6: Verifying Checksum 07:23:38 1469e6f7b9e6: Download complete 07:23:38 eaf3925da568: Verifying Checksum 07:23:38 eaf3925da568: Download complete 07:23:38 339a4e72a1f5: Verifying Checksum 07:23:38 339a4e72a1f5: Download complete 07:23:38 bde34c3a00c8: Verifying Checksum 07:23:38 bde34c3a00c8: Download complete 07:23:38 b352a97aabf1: Download complete 07:23:38 4872d77fe225: Download complete 07:23:38 5851b861e8e6: Verifying Checksum 07:23:38 5851b861e8e6: Download complete 07:23:38 b85a868b505f: Download complete 07:23:38 bab4dde63d76: Verifying Checksum 07:23:38 bab4dde63d76: Download complete 07:23:39 b85a868b505f: Pull complete 07:23:39 e2be974225ed: Pull complete 07:23:40 339a4e72a1f5: Pull complete 07:23:40 988bab9f4d93: Pull complete 07:23:40 1469e6f7b9e6: Pull complete 07:23:40 eaf3925da568: Pull complete 07:23:42 bab4dde63d76: Pull complete 07:23:42 bde34c3a00c8: Pull complete 07:23:42 b352a97aabf1: Pull complete 07:23:42 4872d77fe225: Pull complete 07:23:42 5851b861e8e6: Pull complete 07:23:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:23:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:23:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:42 prd-ubuntu20.04-docker-8c-8g-17261 does not seem to be running inside a container 07:23:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:23:46 $ docker top 87cc20e14f3bdc2c8d2c6445ac7581b49914741b5457f32d4d40ffc7cefcedad -eo pid,comm 07:23:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:23:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:46 [ssh-agent] Looking for ssh-agent implementation... 07:23:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:46 $ docker exec 87cc20e14f3bdc2c8d2c6445ac7581b49914741b5457f32d4d40ffc7cefcedad ssh-agent 07:23:46 SSH_AUTH_SOCK=/tmp/ssh-fozKuZ6JErXB/agent.33 07:23:46 SSH_AGENT_PID=39 07:23:46 Running ssh-add (command line suppressed) 07:23:46 Identity added: /w/workspace/foundry_device-rest-go_changelog@tmp/private_key_823617332428156081.key (/w/workspace/foundry_device-rest-go_changelog@tmp/private_key_823617332428156081.key) 07:23:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:46 + git tag --points-at HEAD [Pipeline] } 07:23:46 $ docker exec --env ******** --env ******** 87cc20e14f3bdc2c8d2c6445ac7581b49914741b5457f32d4d40ffc7cefcedad ssh-agent -k 07:23:47 unset SSH_AUTH_SOCK; 07:23:47 unset SSH_AGENT_PID; 07:23:47 echo Agent pid 39 killed; 07:23:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:23:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:47 [ssh-agent] Looking for ssh-agent implementation... 07:23:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:47 $ docker exec 87cc20e14f3bdc2c8d2c6445ac7581b49914741b5457f32d4d40ffc7cefcedad ssh-agent 07:23:47 SSH_AUTH_SOCK=/tmp/ssh-VHDN5lHzc9vn/agent.71 07:23:47 SSH_AGENT_PID=77 07:23:47 Running ssh-add (command line suppressed) 07:23:47 Identity added: /w/workspace/foundry_device-rest-go_changelog@tmp/private_key_10645102851376252252.key (/w/workspace/foundry_device-rest-go_changelog@tmp/private_key_10645102851376252252.key) 07:23:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:47 + git semver init 07:23:48 2023-05-30 07:23:48,185 [run_init] DEBUG init version:0.0.0 force:False 07:23:48 2023-05-30 07:23:48,187 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-rest-go_changelog/.semver 07:23:48 2023-05-30 07:23:48,188 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/foundry_device-rest-go_changelog/.semver 07:23:48 2023-05-30 07:23:48,189 [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) 07:23:49 2023-05-30 07:23:49,332 [append_file] DEBUG append to file:/w/workspace/foundry_device-rest-go_changelog/.git/info/exclude 07:23:49 2023-05-30 07:23:49,333 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-rest-go_changelog/.semver/changelog with force:False 07:23:49 2023-05-30 07:23:49,333 [write_file] DEBUG write to file:/w/workspace/foundry_device-rest-go_changelog/.semver/changelog 07:23:49 2023-05-30 07:23:49,337 [execute] INFO git cat-file --batch-check 07:23:49 2023-05-30 07:23:49,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-rest-go_changelog/.semver, universal_newlines=False, shell=None, istream=) 07:23:49 2023-05-30 07:23:49,343 [execute] INFO git cat-file --batch 07:23:49 2023-05-30 07:23:49,343 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-rest-go_changelog/.semver, universal_newlines=False, shell=None, istream=) 07:23:49 2023-05-30 07:23:49,348 [read_version] DEBUG read version from /w/workspace/foundry_device-rest-go_changelog/.semver/changelog 07:23:49 0.0.0 [Pipeline] } 07:23:49 $ docker exec --env ******** --env ******** 87cc20e14f3bdc2c8d2c6445ac7581b49914741b5457f32d4d40ffc7cefcedad ssh-agent -k 07:23:49 unset SSH_AUTH_SOCK; 07:23:49 unset SSH_AGENT_PID; 07:23:49 echo Agent pid 77 killed; 07:23:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:50 + git semver [Pipeline] } 07:23:50 $ docker stop --time=1 87cc20e14f3bdc2c8d2c6445ac7581b49914741b5457f32d4d40ffc7cefcedad 07:23:51 $ docker rm -f --volumes 87cc20e14f3bdc2c8d2c6445ac7581b49914741b5457f32d4d40ffc7cefcedad [Pipeline] // withDockerContainer [Pipeline] sh 07:23:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:23:52 Stashed 1 file(s) [Pipeline] echo 07:23:52 [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 07:23:53 provisioning config files... 07:23:53 copy managed file [device-rest-go-settings] to file:/w/workspace/foundry_device-rest-go_changelog@tmp/config17431439048257383692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:53 ---> docker-login.sh 07:23:53 nexus3.edgexfoundry.org:10001 07:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:53 Configure a credential helper to remove this warning. See 07:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:53 07:23:53 Login Succeeded 07:23:53 nexus3.edgexfoundry.org:10002 07:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:53 Configure a credential helper to remove this warning. See 07:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:53 07:23:53 Login Succeeded 07:23:53 nexus3.edgexfoundry.org:10003 07:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:53 Configure a credential helper to remove this warning. See 07:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:53 07:23:53 Login Succeeded 07:23:53 nexus3.edgexfoundry.org:10004 07:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:54 Configure a credential helper to remove this warning. See 07:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:54 07:23:54 Login Succeeded 07:23:54 docker.io 07:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:54 Configure a credential helper to remove this warning. See 07:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:54 07:23:54 Login Succeeded 07:23:54 ---> docker-login.sh ends [Pipeline] } 07:23:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:54 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:54 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:54 ========================================================= 07:23:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:23:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:55 + 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 . 07:23:55 Sending build context to Docker daemon 10.95MB 07:23:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:23:55 Step 2/12 : FROM ${BASE} AS builder 07:23:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:23:55 f56be85fc22e: Pulling fs layer 07:23:55 85791d961cd3: Pulling fs layer 07:23:55 d694b5ae8c79: Pulling fs layer 07:23:55 9f32a84ed3da: Pulling fs layer 07:23:55 4d19c01a9841: Pulling fs layer 07:23:55 9325e15d5711: Pulling fs layer 07:23:55 556b6ee489ea: Pulling fs layer 07:23:55 c5a4b2cf53e6: Pulling fs layer 07:23:55 9f32a84ed3da: Waiting 07:23:55 9325e15d5711: Waiting 07:23:55 556b6ee489ea: Waiting 07:23:55 4d19c01a9841: Waiting 07:23:55 85791d961cd3: Verifying Checksum 07:23:55 85791d961cd3: Download complete 07:23:55 9f32a84ed3da: Verifying Checksum 07:23:55 9f32a84ed3da: Download complete 07:23:55 4d19c01a9841: Verifying Checksum 07:23:55 4d19c01a9841: Download complete 07:23:55 f56be85fc22e: Verifying Checksum 07:23:55 f56be85fc22e: Download complete 07:23:55 9325e15d5711: Verifying Checksum 07:23:55 9325e15d5711: Download complete 07:23:56 c5a4b2cf53e6: Verifying Checksum 07:23:56 c5a4b2cf53e6: Download complete 07:23:56 f56be85fc22e: Pull complete 07:23:56 d694b5ae8c79: Verifying Checksum 07:23:56 d694b5ae8c79: Download complete 07:23:57 556b6ee489ea: Verifying Checksum 07:23:57 85791d961cd3: Pull complete 07:24:01 d694b5ae8c79: Pull complete 07:24:01 9f32a84ed3da: Pull complete 07:24:01 4d19c01a9841: Pull complete 07:24:01 9325e15d5711: Pull complete 07:24:04 556b6ee489ea: Pull complete 07:24:05 c5a4b2cf53e6: Pull complete 07:24:05 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 07:24:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:24:05 ---> c4be618373d6 07:24:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:24:07 Still waiting to schedule task 07:24:07 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17262’ is offline 07:24:09 ---> Running in 89a2d8ddca3e 07:24:09 Removing intermediate container 89a2d8ddca3e 07:24:09 ---> 380082c741a1 07:24:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:24:09 ---> Running in f21149c5efe9 07:24:09 Removing intermediate container f21149c5efe9 07:24:09 ---> b92295308da5 07:24:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:24:09 ---> Running in 6d37ebcc7ca8 07:24:09 Removing intermediate container 6d37ebcc7ca8 07:24:09 ---> 88d79a397c3b 07:24:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:24:09 ---> Running in 42f56f0bc2b4 07:24:09 Removing intermediate container 42f56f0bc2b4 07:24:09 ---> eed575cbd76d 07:24:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:24:09 ---> Running in 0c8d4774f223 07:24:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:24:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:24:09 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:24:09 (2/4) Installing libedit (20221030.3.1-r0) 07:24:09 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:24:10 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:24:10 Executing busybox-1.35.0-r29.trigger 07:24:10 OK: 269 MiB in 57 packages 07:24:10 Removing intermediate container 0c8d4774f223 07:24:10 ---> 5339c95c688f 07:24:10 Step 8/12 : WORKDIR /device-rest-go 07:24:10 ---> Running in 1c51d375c579 07:24:10 Removing intermediate container 1c51d375c579 07:24:10 ---> 032ccdfa18be 07:24:10 Step 9/12 : COPY go.mod vendor* ./ 07:24:10 ---> 9580db378767 07:24:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:10 ---> Running in 7aee69af9736 07:25:06 Removing intermediate container 7aee69af9736 07:25:06 ---> a602ce08415e 07:25:06 Step 11/12 : COPY . . 07:25:06 ---> f67d3a19ba6b 07:25:06 Step 12/12 : RUN $MAKE 07:25:06 ---> Running in 3b2f0370b23f 07:25:06 noop 07:25:06 Removing intermediate container 3b2f0370b23f 07:25:06 ---> 24727f6c1b60 07:25:06 Successfully built 24727f6c1b60 07:25:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:07 + docker inspect -f . ci-base-image-x86_64 07:25:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:07 prd-ubuntu20.04-docker-8c-8g-17261 does not seem to be running inside a container 07:25:07 $ 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 ******** ci-base-image-x86_64 cat 07:25:07 $ docker top 2a7d1e076b05e357d3b1bd188fb6ee23634d6cbee032dba3dc9d9e76df145819 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:08 + go version 07:25:08 go version go1.20.2 linux/amd64 [Pipeline] } 07:25:08 $ docker stop --time=1 2a7d1e076b05e357d3b1bd188fb6ee23634d6cbee032dba3dc9d9e76df145819 07:25:09 $ docker rm -f --volumes 2a7d1e076b05e357d3b1bd188fb6ee23634d6cbee032dba3dc9d9e76df145819 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:10 + docker inspect -f . ci-base-image-x86_64 07:25:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:10 prd-ubuntu20.04-docker-8c-8g-17261 does not seem to be running inside a container 07:25:10 $ 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 ******** ci-base-image-x86_64 cat 07:25:10 $ docker top 17dee271c15e0a87edd6abfaff7286fbba3dc39dc5b7c475315779c3da4ce72f -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:11 + git config --global --add safe.directory /w/workspace/foundry_device-rest-go_changelog [Pipeline] fileExists [Pipeline] sh 07:25:11 + make test 07:25:11 go test ./... -coverprofile=coverage.out ./... 07:25:16 ? github.com/edgexfoundry/device-rest-go [no test files] 07:25:26 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:25:26 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 32.2% of statements 07:25:33 go vet ./... 07:25:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:25:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:25:37 ./bin/test-attribution-txt.sh [Pipeline] echo 07:25:37 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:25:37 $ docker stop --time=1 17dee271c15e0a87edd6abfaff7286fbba3dc39dc5b7c475315779c3da4ce72f 07:25:40 $ docker rm -f --volumes 17dee271c15e0a87edd6abfaff7286fbba3dc39dc5b7c475315779c3da4ce72f [Pipeline] // withDockerContainer [Pipeline] sh 07:25:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:25:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:25:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:25:42 + ls -al . 07:25:42 total 184 07:25:42 drwxrwxr-x 9 jenkins jenkins 4096 May 30 07:25 . 07:25:42 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:23 .. 07:25:42 -rw-rw-r-- 1 jenkins jenkins 151 May 30 07:23 .dockerignore 07:25:42 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:23 .git 07:25:42 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:23 .github 07:25:42 -rw-rw-r-- 1 jenkins jenkins 329 May 30 07:23 .gitignore 07:25:42 -rw-rw-r-- 1 jenkins jenkins 41 May 30 07:23 .golangci.yml 07:25:42 drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:23 .semver 07:25:42 -rw-rw-r-- 1 jenkins jenkins 9331 May 30 07:23 Attribution.txt 07:25:42 -rw-rw-r-- 1 jenkins jenkins 15709 May 30 07:23 CHANGELOG.md 07:25:42 -rw-rw-r-- 1 jenkins jenkins 1578 May 30 07:23 Dockerfile 07:25:42 -rw-rw-r-- 1 jenkins jenkins 677 May 30 07:23 GOVERNANCE.md 07:25:42 -rw-rw-r-- 1 jenkins jenkins 680 May 30 07:23 Jenkinsfile 07:25:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 07:23 LICENSE 07:25:42 -rw-rw-r-- 1 jenkins jenkins 1779 May 30 07:23 Makefile 07:25:42 -rw-rw-r-- 1 jenkins jenkins 620 May 30 07:23 OWNERS.md 07:25:42 -rw-rw-r-- 1 jenkins jenkins 15827 May 30 07:23 README.md 07:25:42 -rw-rw-r-- 1 jenkins jenkins 5 May 30 07:23 VERSION 07:25:42 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:23 bin 07:25:42 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:23 cmd 07:25:42 -rw-r--r-- 1 jenkins jenkins 14663 May 30 07:25 coverage.out 07:25:42 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:23 driver 07:25:42 -rw-rw-r-- 1 jenkins jenkins 3354 May 30 07:23 go.mod 07:25:42 -rw-rw-r-- 1 jenkins jenkins 31232 May 30 07:23 go.sum 07:25:42 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:23 snap 07:25:42 -rw-rw-r-- 1 jenkins jenkins 713 May 30 07:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:42 + 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 . 07:25:42 Sending build context to Docker daemon 10.96MB 07:25:42 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:25:42 Step 2/25 : FROM ${BASE} AS builder 07:25:42 ---> 24727f6c1b60 07:25:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:25:42 ---> Running in 398e27310aae 07:25:42 Removing intermediate container 398e27310aae 07:25:42 ---> e2bb4bcf73ef 07:25:42 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:25:42 ---> Running in da8d7f76b427 07:25:42 Removing intermediate container da8d7f76b427 07:25:42 ---> cc780a9c4aef 07:25:42 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:25:42 ---> Running in 499a1328ab6b 07:25:43 Removing intermediate container 499a1328ab6b 07:25:43 ---> 21c034e33e64 07:25:43 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:25:43 ---> Running in 1077669e6095 07:25:43 Removing intermediate container 1077669e6095 07:25:43 ---> b0bd93409346 07:25:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:25:43 ---> Running in 76dff16bd1b1 07:25:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:25:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:25:43 OK: 269 MiB in 57 packages 07:25:44 Removing intermediate container 76dff16bd1b1 07:25:44 ---> 28ad493d6def 07:25:44 Step 8/25 : WORKDIR /device-rest-go 07:25:44 ---> Running in 17421d36c9a5 07:25:44 Removing intermediate container 17421d36c9a5 07:25:44 ---> 145680815866 07:25:44 Step 9/25 : COPY go.mod vendor* ./ 07:25:44 ---> 889e4e06607f 07:25:44 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:25:44 ---> Running in 36bb1eb82643 07:25:45 Removing intermediate container 36bb1eb82643 07:25:45 ---> 8565cf257d23 07:25:45 Step 11/25 : COPY . . 07:25:45 ---> 1be8108e1501 07:25:45 Step 12/25 : RUN $MAKE 07:25:45 ---> Running in 645fc66cbbee 07:25:45 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 07:26:07 Removing intermediate container 645fc66cbbee 07:26:07 ---> 530105407da8 07:26:07 Step 13/25 : FROM alpine:3.17 07:26:07 3.17: Pulling from library/alpine 07:26:07 f56be85fc22e: Already exists 07:26:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:26:07 Status: Downloaded newer image for alpine:3.17 07:26:07 ---> 9ed4aefc74f6 07:26:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:26:07 ---> Running in 877aeb51590b 07:26:07 Removing intermediate container 877aeb51590b 07:26:07 ---> a022b51a13d4 07:26:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:26:07 ---> Running in ace98ca6dc60 07:26:07 Removing intermediate container ace98ca6dc60 07:26:07 ---> b5115e51c0bf 07:26:07 Step 16/25 : RUN apk add --update --no-cache dumb-init 07:26:07 ---> Running in a6ace1e4d08c 07:26:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:26:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:26:07 (1/1) Installing dumb-init (1.2.5-r2) 07:26:07 Executing busybox-1.35.0-r29.trigger 07:26:07 OK: 7 MiB in 16 packages 07:26:07 Removing intermediate container a6ace1e4d08c 07:26:07 ---> 3b3802ae6433 07:26:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:26:07 ---> 9131c77d5691 07:26:07 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:26:07 ---> 18577a4959bf 07:26:07 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:26:07 ---> 110d1f9f7e0c 07:26:07 Step 20/25 : EXPOSE 59986 07:26:07 ---> Running in 98ae2688d92a 07:26:07 Removing intermediate container 98ae2688d92a 07:26:07 ---> 01a7a21cd1d9 07:26:07 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:26:07 ---> Running in bf779b49121c 07:26:07 Removing intermediate container bf779b49121c 07:26:07 ---> ae240e8d1228 07:26:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:26:07 ---> Running in cb183741ebe9 07:26:07 Removing intermediate container cb183741ebe9 07:26:07 ---> b0ca831b61f8 07:26:07 Step 23/25 : LABEL arch=amd64 07:26:07 ---> Running in 468d2a62a130 07:26:07 Removing intermediate container 468d2a62a130 07:26:07 ---> c35dedf03e81 07:26:07 Step 24/25 : LABEL git_sha=e31afc5f6ae47972aac87410fd8eedcd7517dea9 07:26:07 ---> Running in 678db72e8c20 07:26:07 Removing intermediate container 678db72e8c20 07:26:07 ---> 504bad2a9b0d 07:26:07 Step 25/25 : LABEL version=0.0.0 07:26:08 ---> Running in 4b447631ef44 07:26:08 Removing intermediate container 4b447631ef44 07:26:08 ---> 368948f4d0eb 07:26:08 [Warning] One or more build-args [ARCH] were not consumed 07:26:08 Successfully built 368948f4d0eb 07:26:08 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 07:26:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:09 07:26:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:09 latest: Pulling from edgex-lftools-log-publisher 07:26:09 5eb5b503b376: Pulling fs layer 07:26:09 5c69ac0246d0: Pulling fs layer 07:26:09 ec43610c2a17: Pulling fs layer 07:26:09 3a2ae6a8a46f: Pulling fs layer 07:26:09 33b1e0a273af: Pulling fs layer 07:26:09 5d3b04190fa2: Pulling fs layer 07:26:09 2f39f015ded8: Pulling fs layer 07:26:09 33b1e0a273af: Waiting 07:26:09 5d3b04190fa2: Waiting 07:26:09 3a2ae6a8a46f: Waiting 07:26:09 2f39f015ded8: Waiting 07:26:09 5c69ac0246d0: Download complete 07:26:09 3a2ae6a8a46f: Download complete 07:26:09 33b1e0a273af: Verifying Checksum 07:26:09 33b1e0a273af: Download complete 07:26:09 ec43610c2a17: Verifying Checksum 07:26:09 ec43610c2a17: Download complete 07:26:09 5d3b04190fa2: Verifying Checksum 07:26:09 5d3b04190fa2: Download complete 07:26:09 5eb5b503b376: Verifying Checksum 07:26:09 5eb5b503b376: Download complete 07:26:10 2f39f015ded8: Download complete 07:26:10 5eb5b503b376: Pull complete 07:26:11 5c69ac0246d0: Pull complete 07:26:11 ec43610c2a17: Pull complete 07:26:11 3a2ae6a8a46f: Pull complete 07:26:11 33b1e0a273af: Pull complete 07:26:11 5d3b04190fa2: Pull complete 07:26:16 2f39f015ded8: Pull complete 07:26:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:16 prd-ubuntu20.04-docker-8c-8g-17261 does not seem to be running inside a container 07:26:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:26:20 $ docker top 1fb691b6a93db20f9d9c0e32668606296885412b8480a6d6f84923076d0355a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:21 ---> job-cost.sh 07:26:21 lf-activate-venv: SKIPPING 07:26:21 INFO: No Stack... 07:26:21 INFO: Retrieving Pricing Info for: v3-standard-8 07:26:21 INFO: Archiving Costs [Pipeline] sh 07:26:22 + cat /w/workspace/foundry_device-rest-go_changelog/archives/cost.csv 07:26:22 + cut -d, -f6 [Pipeline] lock 07:26:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-changelog-1-stack-cost] 07:26:22 Resource [jenkins-edgexfoundry-device-rest-go-changelog-1-stack-cost] did not exist. Created. 07:26:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-changelog-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:26:22 + echo total: 0.2199999988079071 [Pipeline] stash 07:26:22 Stashed 1 file(s) [Pipeline] } 07:26:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-changelog-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:26:22 $ docker stop --time=1 1fb691b6a93db20f9d9c0e32668606296885412b8480a6d6f84923076d0355a0 07:26:23 $ docker rm -f --volumes 1fb691b6a93db20f9d9c0e32668606296885412b8480a6d6f84923076d0355a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:26:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17264 in /w/workspace/foundry_device-rest-go_changelog [Pipeline] { [Pipeline] ws 07:26:41 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 07:26:41 The recommended git tool is: git 07:26:50 using credential edgex-jenkins-ssh 07:26:50 Cloning the remote Git repository 07:26:51 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:26:51 > git init /w/workspace/device-rest-go/1 # timeout=10 07:26:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:26:51 > git --version # timeout=10 07:26:51 > git --version # 'git version 2.25.1' 07:26:51 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:26:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:26:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:26:55 Avoid second fetch 07:26:55 Checking out Revision e31afc5f6ae47972aac87410fd8eedcd7517dea9 (changelog) 07:26:55 > git config core.sparsecheckout # timeout=10 07:26:55 > git checkout -f e31afc5f6ae47972aac87410fd8eedcd7517dea9 # timeout=10 07:26:55 Commit message: "docs: Update changelog for v3.0" 07:26:55 > git --version # timeout=10 07:26:55 > git --version # 'git version 2.25.1' 07:26:55 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:26:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:26:59 % Total % Received % Xferd Average Speed Time Time Time Current 07:26:59 Dload Upload Total Spent Left Speed 07:26:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 07:27:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:27:00 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 07:27:00 /etc/docker/daemon.json 07:27:00 { 07:27:00 "registry-mirrors": [ 07:27:00 "https://nexus3.edgexfoundry.org:10001" 07:27:00 ], 07:27:00 "bip": "10.250.0.254/24", 07:27:00 "hosts": [ 07:27:00 "tcp://0.0.0.0:5555", 07:27:00 "unix:///var/run/docker.sock" 07:27:00 ], 07:27:00 "mtu": 1458, 07:27:00 "selinux-enabled": true, 07:27:00 "seccomp-profile": "/etc/docker/seccomp.json" 07:27:00 } [Pipeline] sh 07:27:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:27:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:27:19 provisioning config files... 07:27:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config18379551527668938676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:19 ---> docker-login.sh 07:27:19 nexus3.edgexfoundry.org:10001 07:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:20 Configure a credential helper to remove this warning. See 07:27:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:20 07:27:20 Login Succeeded 07:27:20 nexus3.edgexfoundry.org:10002 07:27:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:21 Configure a credential helper to remove this warning. See 07:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:21 07:27:21 Login Succeeded 07:27:21 nexus3.edgexfoundry.org:10003 07:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:21 Configure a credential helper to remove this warning. See 07:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:21 07:27:21 Login Succeeded 07:27:21 nexus3.edgexfoundry.org:10004 07:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:21 Configure a credential helper to remove this warning. See 07:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:21 07:27:21 Login Succeeded 07:27:21 docker.io 07:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:22 Configure a credential helper to remove this warning. See 07:27:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:22 07:27:22 Login Succeeded 07:27:22 ---> docker-login.sh ends [Pipeline] } 07:27:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:27:22 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:27:22 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:27:22 ========================================================= 07:27:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:27:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:27:23 + 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 . 07:27:23 Sending build context to Docker daemon 141.8kB 07:27:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:27:26 Step 2/12 : FROM ${BASE} AS builder 07:27:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:27:26 c41833b44d91: Pulling fs layer 07:27:26 ed15518f5707: Pulling fs layer 07:27:26 feae8fd75edb: Pulling fs layer 07:27:26 242c74f7c9fa: Pulling fs layer 07:27:26 3cdef696dda3: Pulling fs layer 07:27:26 2ced38df9373: Pulling fs layer 07:27:26 58f1dce35555: Pulling fs layer 07:27:26 3cdef696dda3: Waiting 07:27:26 2ced38df9373: Waiting 07:27:26 58f1dce35555: Waiting 07:27:26 242c74f7c9fa: Waiting 07:27:26 ed15518f5707: Verifying Checksum 07:27:26 ed15518f5707: Download complete 07:27:26 242c74f7c9fa: Verifying Checksum 07:27:26 242c74f7c9fa: Download complete 07:27:26 3cdef696dda3: Verifying Checksum 07:27:26 3cdef696dda3: Download complete 07:27:26 c41833b44d91: Verifying Checksum 07:27:26 c41833b44d91: Download complete 07:27:28 c41833b44d91: Pull complete 07:27:28 58f1dce35555: Verifying Checksum 07:27:28 58f1dce35555: Download complete 07:27:28 ed15518f5707: Pull complete 07:27:29 feae8fd75edb: Verifying Checksum 07:27:29 feae8fd75edb: Download complete 07:27:29 2ced38df9373: Verifying Checksum 07:27:29 2ced38df9373: Download complete 07:27:42 feae8fd75edb: Pull complete 07:27:42 242c74f7c9fa: Pull complete 07:27:42 3cdef696dda3: Pull complete 07:27:48 2ced38df9373: Pull complete 07:27:50 58f1dce35555: Pull complete 07:27:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 07:27:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:27:50 ---> fadd8f120f05 07:27:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:27:52 ---> Running in 4ac196159dc1 07:27:52 Removing intermediate container 4ac196159dc1 07:27:52 ---> c0b63075c63a 07:27:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:27:52 ---> Running in df01fce6b36d 07:27:52 Removing intermediate container df01fce6b36d 07:27:52 ---> dbc8dbaab47d 07:27:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:27:53 ---> Running in 212eb70b9b8f 07:27:53 Removing intermediate container 212eb70b9b8f 07:27:53 ---> 48b95302a07b 07:27:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:27:53 ---> Running in cad3995c6253 07:27:53 Removing intermediate container cad3995c6253 07:27:53 ---> 4e0f4e86d078 07:27:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:27:53 ---> Running in 11397ef483aa 07:27:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:27:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:27:56 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:27:56 (2/4) Installing libedit (20221030.3.1-r0) 07:27:56 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:27:56 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:27:56 Executing busybox-1.35.0-r29.trigger 07:27:56 OK: 268 MiB in 57 packages 07:27:57 Removing intermediate container 11397ef483aa 07:27:57 ---> 3eae82c8e470 07:27:57 Step 8/12 : WORKDIR /device-rest-go 07:27:57 ---> Running in dea174173990 07:27:57 Removing intermediate container dea174173990 07:27:57 ---> d2fd3a61c161 07:27:57 Step 9/12 : COPY go.mod vendor* ./ 07:27:58 ---> cb38620ecee1 07:27:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:27:58 ---> Running in 78a22b71d289 07:29:06 Removing intermediate container 78a22b71d289 07:29:06 ---> 6643917111e1 07:29:06 Step 11/12 : COPY . . 07:29:06 ---> 2c36f40e3a4d 07:29:06 Step 12/12 : RUN $MAKE 07:29:06 ---> Running in 99db8c070504 07:29:06 noop 07:29:06 Removing intermediate container 99db8c070504 07:29:06 ---> a492a2b47a2d 07:29:06 Successfully built a492a2b47a2d 07:29:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:06 + docker inspect -f . ci-base-image-arm64 07:29:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:07 prd-ubuntu20.04-docker-arm64-4c-16g-17264 does not seem to be running inside a container 07:29:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 07:29:08 $ docker top 42e46857fb0c8bc0a253137bbac81169085426ee02e0fc058b5e03da691e6508 -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:09 + go version 07:29:09 go version go1.20.2 linux/arm64 [Pipeline] } 07:29:09 $ docker stop --time=1 42e46857fb0c8bc0a253137bbac81169085426ee02e0fc058b5e03da691e6508 07:29:10 $ docker rm -f --volumes 42e46857fb0c8bc0a253137bbac81169085426ee02e0fc058b5e03da691e6508 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:11 + docker inspect -f . ci-base-image-arm64 07:29:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:11 prd-ubuntu20.04-docker-arm64-4c-16g-17264 does not seem to be running inside a container 07:29:12 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat 07:29:13 $ docker top a58411f5ff10ec7365c6c9af0ed8a8cc50614fdd0992f3637e2c69ba916b7c2c -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:13 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 07:29:14 + make test 07:29:14 go test ./... -coverprofile=coverage.out ./... 07:29:52 ? github.com/edgexfoundry/device-rest-go [no test files] 07:31:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:31:44 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 32.2% of statements 07:31:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:31:44 go vet ./... 07:32:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:32:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:32:11 ./bin/test-attribution-txt.sh [Pipeline] echo 07:32:11 [edgeX.isLTS] Checking if [changelog] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:32:11 $ docker stop --time=1 a58411f5ff10ec7365c6c9af0ed8a8cc50614fdd0992f3637e2c69ba916b7c2c 07:32:13 $ docker rm -f --volumes a58411f5ff10ec7365c6c9af0ed8a8cc50614fdd0992f3637e2c69ba916b7c2c [Pipeline] // withDockerContainer [Pipeline] sh 07:32:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:32:14 Warning: overwriting stash ‘coverage-report’ 07:32:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:32:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:32:16 + ls -al . 07:32:16 total 180 07:32:16 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:29 . 07:32:16 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:26 .. 07:32:16 -rw-rw-r-- 1 jenkins jenkins 151 May 30 07:26 .dockerignore 07:32:16 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:26 .git 07:32:16 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:26 .github 07:32:16 -rw-rw-r-- 1 jenkins jenkins 329 May 30 07:26 .gitignore 07:32:16 -rw-rw-r-- 1 jenkins jenkins 41 May 30 07:26 .golangci.yml 07:32:16 -rw-rw-r-- 1 jenkins jenkins 9331 May 30 07:26 Attribution.txt 07:32:16 -rw-rw-r-- 1 jenkins jenkins 15709 May 30 07:26 CHANGELOG.md 07:32:16 -rw-rw-r-- 1 jenkins jenkins 1578 May 30 07:26 Dockerfile 07:32:16 -rw-rw-r-- 1 jenkins jenkins 677 May 30 07:26 GOVERNANCE.md 07:32:16 -rw-rw-r-- 1 jenkins jenkins 680 May 30 07:26 Jenkinsfile 07:32:16 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 07:26 LICENSE 07:32:16 -rw-rw-r-- 1 jenkins jenkins 1779 May 30 07:26 Makefile 07:32:16 -rw-rw-r-- 1 jenkins jenkins 620 May 30 07:26 OWNERS.md 07:32:16 -rw-rw-r-- 1 jenkins jenkins 15827 May 30 07:26 README.md 07:32:16 -rw-rw-r-- 1 jenkins jenkins 5 May 30 07:23 VERSION 07:32:16 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:26 bin 07:32:16 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:26 cmd 07:32:16 -rw-r--r-- 1 jenkins jenkins 14663 May 30 07:31 coverage.out 07:32:16 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:26 driver 07:32:16 -rw-rw-r-- 1 jenkins jenkins 3354 May 30 07:26 go.mod 07:32:16 -rw-rw-r-- 1 jenkins jenkins 31232 May 30 07:26 go.sum 07:32:16 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:26 snap 07:32:16 -rw-rw-r-- 1 jenkins jenkins 713 May 30 07:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:32:16 + 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 . 07:32:16 Sending build context to Docker daemon 157.2kB 07:32:16 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:32:16 Step 2/25 : FROM ${BASE} AS builder 07:32:16 ---> a492a2b47a2d 07:32:16 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:32:17 ---> Running in 315035e580de 07:32:17 Removing intermediate container 315035e580de 07:32:17 ---> 7ae663d40c6c 07:32:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:32:17 ---> Running in 8027dbb0a781 07:32:18 Removing intermediate container 8027dbb0a781 07:32:18 ---> 823a3a521a6a 07:32:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:32:18 ---> Running in 538b5a27dcf5 07:32:18 Removing intermediate container 538b5a27dcf5 07:32:18 ---> f6afa391357f 07:32:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:32:18 ---> Running in 69a31c8d80d5 07:32:18 Removing intermediate container 69a31c8d80d5 07:32:18 ---> cf342ebaa4b6 07:32:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:32:18 ---> Running in f17302bd6a3d 07:32:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:32:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:32:21 OK: 268 MiB in 57 packages 07:32:22 Removing intermediate container f17302bd6a3d 07:32:22 ---> 6b948b57e7b8 07:32:22 Step 8/25 : WORKDIR /device-rest-go 07:32:22 ---> Running in e1f90354dd3d 07:32:23 Removing intermediate container e1f90354dd3d 07:32:23 ---> bd2236ad7e87 07:32:23 Step 9/25 : COPY go.mod vendor* ./ 07:32:23 ---> d5e9c7df9203 07:32:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:32:23 ---> Running in c420f3b8e782 07:32:26 Removing intermediate container c420f3b8e782 07:32:26 ---> 0ea1df65e11d 07:32:26 Step 11/25 : COPY . . 07:32:26 ---> ba44bd3ab773 07:32:26 Step 12/25 : RUN $MAKE 07:32:26 ---> Running in e47607f7e717 07:32:27 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 07:34:49 Removing intermediate container e47607f7e717 07:34:49 ---> 860a23571170 07:34:49 Step 13/25 : FROM alpine:3.17 07:34:49 3.17: Pulling from library/alpine 07:34:49 c41833b44d91: Already exists 07:34:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:34:49 Status: Downloaded newer image for alpine:3.17 07:34:49 ---> 51e60588ff2c 07:34:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:34:49 ---> Running in 8ca39dc4e4eb 07:34:49 Removing intermediate container 8ca39dc4e4eb 07:34:49 ---> 0b062f73fde1 07:34:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:34:49 ---> Running in a443cee8ed35 07:34:49 Removing intermediate container a443cee8ed35 07:34:49 ---> df9e58355ec3 07:34:49 Step 16/25 : RUN apk add --update --no-cache dumb-init 07:34:49 ---> Running in 817b5c5bd60b 07:34:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:34:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:34:49 (1/1) Installing dumb-init (1.2.5-r2) 07:34:49 Executing busybox-1.35.0-r29.trigger 07:34:49 OK: 8 MiB in 16 packages 07:34:49 Removing intermediate container 817b5c5bd60b 07:34:49 ---> 5d2f1274cb2f 07:34:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:34:49 ---> b768c6969569 07:34:49 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:34:49 ---> 3b9e55c10f86 07:34:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:34:49 ---> a63f2956c9f4 07:34:49 Step 20/25 : EXPOSE 59986 07:34:49 ---> Running in dd773efa7519 07:34:49 Removing intermediate container dd773efa7519 07:34:49 ---> 9f50ce33a6eb 07:34:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:34:49 ---> Running in dce9f0267bb5 07:34:49 Removing intermediate container dce9f0267bb5 07:34:49 ---> 40e6210d2fc4 07:34:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:34:49 ---> Running in 45092c1d8fad 07:34:49 Removing intermediate container 45092c1d8fad 07:34:49 ---> 1bf2ca6c7279 07:34:49 Step 23/25 : LABEL arch=arm64 07:34:49 ---> Running in df1e7f03e40e 07:34:49 Removing intermediate container df1e7f03e40e 07:34:49 ---> 3208980627a0 07:34:49 Step 24/25 : LABEL git_sha=e31afc5f6ae47972aac87410fd8eedcd7517dea9 07:34:49 ---> Running in 3707771e52f4 07:34:49 Removing intermediate container 3707771e52f4 07:34:49 ---> 72b77d483af7 07:34:49 Step 25/25 : LABEL version=0.0.0 07:34:49 ---> Running in c3aa894a5b1b 07:34:50 Removing intermediate container c3aa894a5b1b 07:34:50 ---> 8d27c6241df2 07:34:50 [Warning] One or more build-args [ARCH] were not consumed 07:34:50 Successfully built 8d27c6241df2 07:34:50 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 07:34:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:34:50 07:34:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:34:51 arm64: Pulling from edgex-lftools-log-publisher 07:34:51 8998bd30e6a1: Pulling fs layer 07:34:51 04944245beec: Pulling fs layer 07:34:51 699f458cf7ca: Pulling fs layer 07:34:51 765212b225bb: Pulling fs layer 07:34:51 f23df028b6ca: Pulling fs layer 07:34:51 d65c8cfc05b1: Pulling fs layer 07:34:51 2437ff75d9bd: Pulling fs layer 07:34:51 765212b225bb: Waiting 07:34:51 f23df028b6ca: Waiting 07:34:51 d65c8cfc05b1: Waiting 07:34:51 2437ff75d9bd: Waiting 07:34:51 04944245beec: Verifying Checksum 07:34:51 04944245beec: Download complete 07:34:51 765212b225bb: Verifying Checksum 07:34:51 765212b225bb: Download complete 07:34:51 f23df028b6ca: Verifying Checksum 07:34:51 f23df028b6ca: Download complete 07:34:51 d65c8cfc05b1: Verifying Checksum 07:34:51 d65c8cfc05b1: Download complete 07:34:51 699f458cf7ca: Verifying Checksum 07:34:51 699f458cf7ca: Download complete 07:34:52 8998bd30e6a1: Verifying Checksum 07:34:52 8998bd30e6a1: Download complete 07:34:54 2437ff75d9bd: Verifying Checksum 07:34:54 2437ff75d9bd: Download complete 07:34:56 8998bd30e6a1: Pull complete 07:34:56 04944245beec: Pull complete 07:34:57 699f458cf7ca: Pull complete 07:34:58 765212b225bb: Pull complete 07:34:58 f23df028b6ca: Pull complete 07:35:00 d65c8cfc05b1: Pull complete 07:35:15 2437ff75d9bd: Pull complete 07:35:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:35:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:35:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:15 prd-ubuntu20.04-docker-arm64-4c-16g-17264 does not seem to be running inside a container 07:35:15 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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-lftools-log-publisher:arm64 cat 07:35:18 $ docker top 5f6ffadfa5b4830f896e6aa8e4ffacf3e79189a33bf9aeda271ff8fe4f732364 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:19 ---> job-cost.sh 07:35:19 lf-activate-venv: SKIPPING 07:35:19 INFO: No Stack... 07:35:19 INFO: Retrieving Pricing Info for: v3-standard-4 07:35:20 INFO: Archiving Costs [Pipeline] sh 07:35:21 + cat /w/workspace/device-rest-go/1/archives/cost.csv 07:35:21 + cut -d, -f6 [Pipeline] lock 07:35:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-changelog-1-stack-cost] 07:35:21 Resource [jenkins-edgexfoundry-device-rest-go-changelog-1-stack-cost] did not exist. Created. 07:35:21 Lock acquired on [jenkins-edgexfoundry-device-rest-go-changelog-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:35:21 /w/workspace/device-rest-go/1@tmp/durable-97497671/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:35:22 + echo total: 0.10999999940395355 [Pipeline] stash 07:35:22 Warning: overwriting stash ‘stack-cost’ 07:35:22 Stashed 1 file(s) [Pipeline] } 07:35:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-changelog-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:35:22 $ docker stop --time=1 5f6ffadfa5b4830f896e6aa8e4ffacf3e79189a33bf9aeda271ff8fe4f732364 07:35:24 $ docker rm -f --volumes 5f6ffadfa5b4830f896e6aa8e4ffacf3e79189a33bf9aeda271ff8fe4f732364 [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 07:35:25 provisioning config files... 07:35:25 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/foundry_device-rest-go_changelog@tmp/config7683301302548239554tmp [Pipeline] { [Pipeline] sh 07:35:25 + set +x 07:35:25 + curl -s https://codecov.io/bash 07:35:25 + bash -s -- 07:35:25 07:35:25 _____ _ 07:35:25 / ____| | | 07:35:25 | | ___ __| | ___ ___ _____ __ 07:35:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:35:25 | |___| (_) | (_| | __/ (_| (_) \ V / 07:35:25 \_____\___/ \__,_|\___|\___\___/ \_/ 07:35:25 Bash-1.0.6 07:35:25 07:35:25 07:35:25 ==> git version 2.25.1 found 07:35:25 ==> 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 07:35:25 Release-Date: 2020-01-08 07:35:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:35:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:35:25 ==> Jenkins CI detected. 07:35:25 current dir:  /w/workspace/foundry_device-rest-go_changelog 07:35:25 project root: . 07:35:25 --> token set from env 07:35:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:35:25 ==> Running gcov in . (disable via -X gcov) 07:35:25 ==> Python coveragepy not found 07:35:25 ==> Searching for coverage reports in: 07:35:25 + . 07:35:25 -> Found 1 reports 07:35:25 ==> Detecting git/mercurial file structure 07:35:25 ==> Reading reports 07:35:25 + ./coverage.out bytes=14663 07:35:25 ==> Appending adjustments 07:35:25 https://docs.codecov.io/docs/fixing-reports 07:35:25 + Found adjustments 07:35:25 ==> Gzipping contents 07:35:25 4.0K /tmp/codecov.IcrkDY.gz 07:35:25 ==> Uploading reports 07:35:25 url: https://codecov.io 07:35:25 query: branch=changelog&commit=e31afc5f6ae47972aac87410fd8eedcd7517dea9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fchangelog%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:35:25 -> Pinging Codecov 07:35:25 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=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fchangelog%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:35:26 -> Uploading to 07:35:26 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/4E5D53B4F1F92C436F7061BF334D961C/e31afc5f6ae47972aac87410fd8eedcd7517dea9/b7507b46-a170-4d9a-9ecb-c3dc6725486f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T073525Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1d2fb58ab91f0a148208723407079ccf545ae93e759889775358b82163b2889 07:35:26 % Total % Received % Xferd Average Speed Time Time Time Current 07:35:26 Dload Upload Total Spent Left Speed 07:35:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 9691 --:--:-- --:--:-- --:--:-- 9653 100 2510 0 0 100 2510 0 9691 --:--:-- --:--:-- --:--:-- 9653 07:35:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] } 07:35:26 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 07:35:28 + [ -d /w/workspace/foundry_device-rest-go_changelog/archives ] 07:35:28 + ls -al /w/workspace/foundry_device-rest-go_changelog/archives 07:35:28 total 16 07:35:28 drwxr-xr-x 3 root root 4096 May 30 07:26 . 07:35:28 drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:26 .. 07:35:28 drwxr-xr-x 2 root root 4096 May 30 07:26 cost 07:35:28 -rw-r--r-- 1 root root 89 May 30 07:26 cost.csv 07:35:28 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-rest-go_changelog/archives 07:35:28 + ls -al /w/workspace/foundry_device-rest-go_changelog/archives 07:35:28 total 16 07:35:28 drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:26 . 07:35:28 drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:26 .. 07:35:28 drwxr-xr-x 2 jenkins jenkins 4096 May 30 07:26 cost 07:35:28 -rw-r--r-- 1 jenkins jenkins 89 May 30 07:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:35:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:35:29 ---> package-listing.sh 07:35:29 ++ facter osfamily 07:35:29 ++ tr '[:upper:]' '[:lower:]' 07:35:29 + OS_FAMILY=debian 07:35:29 + workspace=/w/workspace/foundry_device-rest-go_changelog 07:35:29 + START_PACKAGES=/tmp/packages_start.txt 07:35:29 + END_PACKAGES=/tmp/packages_end.txt 07:35:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:35:29 + PACKAGES=/tmp/packages_start.txt 07:35:29 + '[' /w/workspace/foundry_device-rest-go_changelog ']' 07:35:29 + PACKAGES=/tmp/packages_end.txt 07:35:29 + case "${OS_FAMILY}" in 07:35:29 + dpkg -l 07:35:29 + grep '^ii' 07:35:29 + '[' -f /tmp/packages_start.txt ']' 07:35:29 + '[' -f /tmp/packages_end.txt ']' 07:35:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:35:29 + '[' /w/workspace/foundry_device-rest-go_changelog ']' 07:35:29 + mkdir -p /w/workspace/foundry_device-rest-go_changelog/archives/ 07:35:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-rest-go_changelog/archives/ [Pipeline] echo 07:35:29 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 07:35:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:35:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:35:30 prd-ubuntu20.04-docker-8c-8g-17261 does not seem to be running inside a container 07:35:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:35:30 $ docker top eeda54bb462d18d4a2094759d88d50f269b6b0a883f3410f72c4b4a2f54a14d5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:35:31 + touch /tmp/pre-build-complete [Pipeline] sh 07:35:31 + mkdir -p /var/log/sysstat [Pipeline] sh 07:35:32 + ls /var/log/sa-host 07:35:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:32 provisioning config files... 07:35:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-rest-go_changelog@tmp/config6576971124842518414tmp [Pipeline] { [Pipeline] echo 07:35:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:35:32 ---> create-netrc.sh [Pipeline] } 07:35:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:35:32 ---> python-tools-install.sh [Pipeline] echo 07:35:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:35:33 ---> sudo-logs.sh 07:35:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:35:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:35:33 ---> job-cost.sh 07:35:33 lf-activate-venv: SKIPPING 07:35:33 DEBUG: total: 0.2199999988079071 07:35:33 INFO: Retrieving Stack Cost... 07:35:34 INFO: Retrieving Pricing Info for: v3-standard-8 07:35:34 INFO: Archiving Costs [Pipeline] echo 07:35:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:35:34 ---> logs-deploy.sh 07:35:34 lf-activate-venv: SKIPPING 07:35:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/changelog/1 07:35:34 INFO: archiving workspace using pattern(s): 07:35:35 Archives upload complete. 07:35:35 INFO: archiving logs to Nexus