Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c28f8a5196b65b8f4b4f316819e026cf630b1192 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-ssh11034071879951035951.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh2445933477661417413.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4021835369933012764.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17807586472358449864.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6760897452976690095.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3005 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 c28f8a5196b65b8f4b4f316819e026cf630b1192 (main) Commit message: "build: Upgrade Device SDK to v4.1-dev (#467)" > git config core.sparsecheckout # timeout=10 > git checkout -f c28f8a5196b65b8f4b4f316819e026cf630b1192 # timeout=10 > git rev-list --no-walk b8df6c2404118a3848b43a0c2ab3e7302d7c4f3e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:11:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:11:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:11:48 ========================================================= 05:11:48 EdgeX Global Pipelines Version Info 05:11:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:11:48 ------------------- 05:11:48 stable info: 05:11:48 ------------------- 05:11:48 Commited By: Ginny Guan ginny@iotechsys.com 05:11:48 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 05:11:48 Message: update stable to v1.0.274 05:11:49 ------------------- 05:11:49 experimental info: 05:11:49 ------------------- 05:11:49 Commited By: **** collab-it+edgex@linuxfoundation.org 05:11:49 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 05:11:49 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:11:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c28f8a5196b65b8f4b4f316819e026cf630b1192 [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c28f8a5 [Pipeline] echo 05:11:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:50 provisioning config files... 05:11:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14636179475744900732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:50 ---> ****-login.sh 05:11:50 nexus3.edgexfoundry.org:10001 05:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:52 Configure a credential helper to remove this warning. See 05:11:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:52 05:11:52 Login Succeeded 05:11:52 nexus3.edgexfoundry.org:10002 05:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:52 Configure a credential helper to remove this warning. See 05:11:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:52 05:11:52 Login Succeeded 05:11:52 nexus3.edgexfoundry.org:10003 05:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:52 Configure a credential helper to remove this warning. See 05:11:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:52 05:11:52 Login Succeeded 05:11:52 nexus3.edgexfoundry.org:10004 05:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:52 Configure a credential helper to remove this warning. See 05:11:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:52 05:11:52 Login Succeeded 05:11:52 ****.io 05:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:11:52 Configure a credential helper to remove this warning. See 05:11:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:11:52 05:11:52 Login Succeeded 05:11:52 ---> ****-login.sh ends [Pipeline] } 05:11:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:11:53 + git rev-list -1 --merges c28f8a5196b65b8f4b4f316819e026cf630b1192~1..c28f8a5196b65b8f4b4f316819e026cf630b1192 [Pipeline] echo 05:11:53 -----------> git rev-list -1 --merges c28f8a5196b65b8f4b4f316819e026cf630b1192~1..c28f8a5196b65b8f4b4f316819e026cf630b1192 c28f8a5196b65b8f4b4f316819e026cf630b1192 [false] [Pipeline] sh 05:11:53 + git log --format=format:%s -1 c28f8a5196b65b8f4b4f316819e026cf630b1192 [Pipeline] echo 05:11:53 ========================================================= 05:11:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:11:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:53 + git log --format=format:%s -1 c28f8a5196b65b8f4b4f316819e026cf630b1192 [Pipeline] echo 05:11:53 [semverPrep] GIT_COMMIT: c28f8a5196b65b8f4b4f316819e026cf630b1192, Commit Message: build: Upgrade Device SDK to v4.1-dev (#467) [Pipeline] echo 05:11:53 [semverPrep] This is not a build commit. [Pipeline] sh 05:11:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:11:54 + grep -v github /etc/ssh/ssh_known_hosts 05:11:54 + [ -e /tmp/ssh_known_hosts ] 05:11:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:11:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:11:54 + sudo tee -a /etc/ssh/ssh_known_hosts 05:11:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:11:54 05:11:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:11:54 0.1.4: Pulling from edgex-devops/py-git-semver 05:11:54 3dae71ba6b94: Pulling fs layer 05:11:54 6bf1a483ea7c: Pulling fs layer 05:11:54 f5dfc541a4d3: Pulling fs layer 05:11:54 461d9e800cba: Pulling fs layer 05:11:54 80192f66455f: Pulling fs layer 05:11:54 2e8e34ca0e6c: Pulling fs layer 05:11:54 a29436f7fd5d: Pulling fs layer 05:11:54 923cac83aea3: Pulling fs layer 05:11:54 25ad8b0a4227: Pulling fs layer 05:11:54 db01528c6b51: Pulling fs layer 05:11:54 28988de357af: Pulling fs layer 05:11:54 a29436f7fd5d: Waiting 05:11:54 923cac83aea3: Waiting 05:11:54 25ad8b0a4227: Waiting 05:11:54 db01528c6b51: Waiting 05:11:54 28988de357af: Waiting 05:11:54 80192f66455f: Waiting 05:11:54 461d9e800cba: Waiting 05:11:54 2e8e34ca0e6c: Waiting 05:11:55 6bf1a483ea7c: Verifying Checksum 05:11:55 6bf1a483ea7c: Download complete 05:11:55 461d9e800cba: Download complete 05:11:55 80192f66455f: Verifying Checksum 05:11:55 80192f66455f: Download complete 05:11:55 f5dfc541a4d3: Verifying Checksum 05:11:55 f5dfc541a4d3: Download complete 05:11:55 3dae71ba6b94: Download complete 05:11:55 923cac83aea3: Download complete 05:11:55 25ad8b0a4227: Verifying Checksum 05:11:55 25ad8b0a4227: Download complete 05:11:55 db01528c6b51: Verifying Checksum 05:11:55 db01528c6b51: Download complete 05:11:55 28988de357af: Verifying Checksum 05:11:55 28988de357af: Download complete 05:11:55 a29436f7fd5d: Verifying Checksum 05:11:56 2e8e34ca0e6c: Verifying Checksum 05:11:56 2e8e34ca0e6c: Download complete 05:11:56 3dae71ba6b94: Pull complete 05:11:56 6bf1a483ea7c: Pull complete 05:11:57 f5dfc541a4d3: Pull complete 05:11:57 461d9e800cba: Pull complete 05:11:57 80192f66455f: Pull complete 05:12:00 2e8e34ca0e6c: Pull complete 05:12:01 a29436f7fd5d: Pull complete 05:12:01 923cac83aea3: Pull complete 05:12:01 25ad8b0a4227: Pull complete 05:12:01 db01528c6b51: Pull complete 05:12:01 28988de357af: Pull complete 05:12:01 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 05:12:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:01 prd-ubuntu20.04-docker-8c-8g-3005 does not seem to be running inside a container 05:12:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:12:06 $ docker top 1ce40738c4fbb3c63e78aa7a64a35cfa718989500eecc44f16c167329ab26a06 -eo pid,comm 05:12:06 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). 05:12:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:12:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:06 [ssh-agent] Looking for ssh-agent implementation... 05:12:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:06 $ docker exec 1ce40738c4fbb3c63e78aa7a64a35cfa718989500eecc44f16c167329ab26a06 ssh-agent 05:12:06 SSH_AUTH_SOCK=/tmp/ssh-rOV6iVlI0UJE/agent.31 05:12:06 SSH_AGENT_PID=37 05:12:06 Running ssh-add (command line suppressed) 05:12:06 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2701716600445718305.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2701716600445718305.key) 05:12:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:06 + git tag --points-at HEAD [Pipeline] } 05:12:06 $ docker exec --env ******** --env ******** 1ce40738c4fbb3c63e78aa7a64a35cfa718989500eecc44f16c167329ab26a06 ssh-agent -k 05:12:06 unset SSH_AUTH_SOCK; 05:12:06 unset SSH_AGENT_PID; 05:12:06 echo Agent pid 37 killed; 05:12:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:12:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:06 [ssh-agent] Looking for ssh-agent implementation... 05:12:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:07 $ docker exec 1ce40738c4fbb3c63e78aa7a64a35cfa718989500eecc44f16c167329ab26a06 ssh-agent 05:12:07 SSH_AUTH_SOCK=/tmp/ssh-SleebuwASQ3s/agent.70 05:12:07 SSH_AGENT_PID=76 05:12:07 Running ssh-add (command line suppressed) 05:12:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1705449572326836392.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1705449572326836392.key) 05:12:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:07 + git semver init 05:12:07 2025-06-09 05:12:07,802 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:12:07 2025-06-09 05:12:07,805 [run_init] DEBUG init version:0.0.0 force:False 05:12:07 2025-06-09 05:12:07,806 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 05:12:07 2025-06-09 05:12:07,807 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 05:12:07 2025-06-09 05:12:07,807 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, stdin=None, shell=False, universal_newlines=False) 05:12:09 2025-06-09 05:12:09,379 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 05:12:09 2025-06-09 05:12:09,379 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 05:12:09 2025-06-09 05:12:09,379 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:12:09 2025-06-09 05:12:09,379 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 05:12:09 4.1.0-dev.2 [Pipeline] } 05:12:09 $ docker exec --env ******** --env ******** 1ce40738c4fbb3c63e78aa7a64a35cfa718989500eecc44f16c167329ab26a06 ssh-agent -k 05:12:09 unset SSH_AUTH_SOCK; 05:12:09 unset SSH_AGENT_PID; 05:12:09 echo Agent pid 76 killed; 05:12:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:12:10 + git semver [Pipeline] } 05:12:10 $ docker stop --time=1 1ce40738c4fbb3c63e78aa7a64a35cfa718989500eecc44f16c167329ab26a06 05:12:11 $ docker rm -f --volumes 1ce40738c4fbb3c63e78aa7a64a35cfa718989500eecc44f16c167329ab26a06 [Pipeline] // withDockerContainer [Pipeline] sh 05:12:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:12:12 Stashed 1 file(s) [Pipeline] echo 05:12:12 [edgeXSemver]: initialized semver on version 4.1.0-dev.2 [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 05:12:12 provisioning config files... 05:12:12 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9520554205707591965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:12 ---> ****-login.sh 05:12:12 nexus3.edgexfoundry.org:10001 05:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:12 Configure a credential helper to remove this warning. See 05:12:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:12 05:12:12 Login Succeeded 05:12:12 nexus3.edgexfoundry.org:10002 05:12:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:12 Configure a credential helper to remove this warning. See 05:12:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:12 05:12:12 Login Succeeded 05:12:12 nexus3.edgexfoundry.org:10003 05:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:13 Configure a credential helper to remove this warning. See 05:12:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:13 05:12:13 Login Succeeded 05:12:13 nexus3.edgexfoundry.org:10004 05:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:13 Configure a credential helper to remove this warning. See 05:12:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:13 05:12:13 Login Succeeded 05:12:13 ****.io 05:12:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:21 Configure a credential helper to remove this warning. See 05:12:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:21 05:12:21 Login Succeeded 05:12:21 ---> ****-login.sh ends [Pipeline] } 05:12:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:12:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:12:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:12:21 ========================================================= 05:12:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:12:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 05:12:21 Sending build context to Docker daemon 21.64MB 05:12:21 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:12:21 Step 2/12 : FROM ${BASE} AS builder 05:12:21 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:12:22 0a9a5dfd008f: Pulling fs layer 05:12:22 dbfa0bcfca99: Pulling fs layer 05:12:22 70eabb1d9476: Pulling fs layer 05:12:22 957bedc73fa3: Pulling fs layer 05:12:22 4f4fb700ef54: Pulling fs layer 05:12:22 f40432e63723: Pulling fs layer 05:12:22 90b4343acab7: Pulling fs layer 05:12:22 9f67ea4ac784: Pulling fs layer 05:12:22 9228b9a606be: Pulling fs layer 05:12:22 4f4fb700ef54: Waiting 05:12:22 957bedc73fa3: Waiting 05:12:22 f40432e63723: Waiting 05:12:22 9f67ea4ac784: Waiting 05:12:22 90b4343acab7: Waiting 05:12:22 9228b9a606be: Waiting 05:12:22 dbfa0bcfca99: Verifying Checksum 05:12:22 dbfa0bcfca99: Download complete 05:12:22 957bedc73fa3: Verifying Checksum 05:12:22 957bedc73fa3: Download complete 05:12:22 4f4fb700ef54: Verifying Checksum 05:12:22 4f4fb700ef54: Download complete 05:12:22 f40432e63723: Download complete 05:12:22 0a9a5dfd008f: Verifying Checksum 05:12:22 0a9a5dfd008f: Download complete 05:12:22 90b4343acab7: Verifying Checksum 05:12:22 90b4343acab7: Download complete 05:12:22 0a9a5dfd008f: Pull complete 05:12:22 dbfa0bcfca99: Pull complete 05:12:22 9228b9a606be: Verifying Checksum 05:12:22 9228b9a606be: Download complete 05:12:22 70eabb1d9476: Download complete 05:12:22 9f67ea4ac784: Verifying Checksum 05:12:22 9f67ea4ac784: Download complete 05:12:26 70eabb1d9476: Pull complete 05:12:26 957bedc73fa3: Pull complete 05:12:26 4f4fb700ef54: Pull complete 05:12:26 f40432e63723: Pull complete 05:12:26 90b4343acab7: Pull complete 05:12:27 Still waiting to schedule task 05:12:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:12:28 9f67ea4ac784: Pull complete 05:12:28 9228b9a606be: Pull complete 05:12:28 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 05:12:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:12:28 ---> 69404ca5bff2 05:12:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:12:32 ---> Running in 818b740e02f6 05:12:32 Removing intermediate container 818b740e02f6 05:12:32 ---> c586c003e6c7 05:12:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:12:32 ---> Running in 2d6569948dc9 05:12:32 Removing intermediate container 2d6569948dc9 05:12:32 ---> b868ff553d5d 05:12:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:12:32 ---> Running in 0aef2a281888 05:12:32 Removing intermediate container 0aef2a281888 05:12:32 ---> a6f91fb1aafd 05:12:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:12:32 ---> Running in 387d2cd95ebe 05:12:32 Removing intermediate container 387d2cd95ebe 05:12:32 ---> 359b7b25513d 05:12:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:12:32 ---> Running in ca6652585ef3 05:12:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:12:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:12:33 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:12:33 (2/4) Installing libedit (20240517.3.1-r0) 05:12:33 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:12:33 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:12:33 Executing busybox-1.36.1-r29.trigger 05:12:33 OK: 252 MiB in 62 packages 05:12:34 Removing intermediate container ca6652585ef3 05:12:34 ---> 75826bffcce5 05:12:34 Step 8/12 : WORKDIR /device-rest-go 05:12:34 ---> Running in c3fc05eeced2 05:12:34 Removing intermediate container c3fc05eeced2 05:12:34 ---> d19fbbb83550 05:12:34 Step 9/12 : COPY go.mod vendor* ./ 05:12:34 ---> 3b37e172fc21 05:12:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:34 ---> Running in 7431c5510bfb 05:14:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3006 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 05:14:06 Running in /w/workspace/device-rest-go/195 [Pipeline] { [Pipeline] checkout 05:14:09 The recommended git tool is: git 05:14:10 Removing intermediate container 7431c5510bfb 05:14:10 ---> 320d9ad2cfee 05:14:10 Step 11/12 : COPY . . 05:14:10 ---> 384e8a1463b0 05:14:10 Step 12/12 : RUN $MAKE 05:14:10 ---> Running in a55061509c2d 05:14:10 noop 05:14:10 Removing intermediate container a55061509c2d 05:14:10 ---> e765f0f9ceb1 05:14:10 Successfully built e765f0f9ceb1 05:14:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:11 + docker inspect -f . ci-base-image-x86_64 05:14:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:11 prd-ubuntu20.04-docker-8c-8g-3005 does not seem to be running inside a container 05:14:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:14:11 $ docker top c4b24f96ea533ce121265d68542b33ab190f6fe11e5e9308d3cce91df60b99e8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:12 + go version 05:14:12 go version go1.23.8 linux/amd64 [Pipeline] } 05:14:12 $ docker stop --time=1 c4b24f96ea533ce121265d68542b33ab190f6fe11e5e9308d3cce91df60b99e8 05:14:13 $ docker rm -f --volumes c4b24f96ea533ce121265d68542b33ab190f6fe11e5e9308d3cce91df60b99e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:13 + docker inspect -f . ci-base-image-x86_64 05:14:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:14:13 prd-ubuntu20.04-docker-8c-8g-3005 does not seem to be running inside a container 05:14:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:14:14 $ docker top 3bfb0d0ea1252147582f9332cdd2a735cd8cb9e8e2c8f5950fe9e02df78c1b22 -eo pid,comm [Pipeline] { [Pipeline] sh 05:14:14 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 05:14:14 + make test 05:14:14 go test ./... -coverprofile=coverage.out ./... 05:14:15 using credential edgex-jenkins-ssh 05:14:15 Cloning the remote Git repository 05:14:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 05:14:15 > git init /w/workspace/device-rest-go/195 # timeout=10 05:14:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 05:14:15 > git --version # timeout=10 05:14:15 > git --version # 'git version 2.25.1' 05:14:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:16 ? github.com/edgexfoundry/device-rest-go [no test files] 05:14:27 Avoid second fetch 05:14:27 Checking out Revision c28f8a5196b65b8f4b4f316819e026cf630b1192 (main) 05:14:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 05:14:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:27 > git config core.sparsecheckout # timeout=10 05:14:27 > git checkout -f c28f8a5196b65b8f4b4f316819e026cf630b1192 # timeout=10 05:14:28 Commit message: "build: Upgrade Device SDK to v4.1-dev (#467)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:14:33 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:33 Dload Upload Total Spent Left Speed 05:14:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13063 100 13063 0 0 91992 0 --:--:-- --:--:-- --:--:-- 92645 [Pipeline] sh 05:14:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:14:33 + sudo tee /etc/docker/daemon.new 05:14:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:14:34 { 05:14:34 "registry-mirrors": [ 05:14:34 "https://nexus3.edgexfoundry.org:10001" 05:14:34 ], 05:14:34 "bip": "10.250.0.254/24", 05:14:34 "hosts": [ 05:14:34 "tcp://0.0.0.0:5555", 05:14:34 "unix:///var/run/docker.sock" 05:14:34 ], 05:14:34 "mtu": 1458, 05:14:34 "selinux-enabled": true, 05:14:34 "seccomp-profile": "/etc/docker/seccomp.json" 05:14:34 } [Pipeline] sh 05:14:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:14:34 + sudo service docker restart 05:14:34 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 05:14:34 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 32.2% of statements 05:14:42 go vet ./... 05:14:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:14:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:14:48 ./bin/test-attribution-txt.sh 05:14:48 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 05:14:48 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo 05:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:14:48 $ docker stop --time=1 3bfb0d0ea1252147582f9332cdd2a735cd8cb9e8e2c8f5950fe9e02df78c1b22 05:14:54 $ docker rm -f --volumes 3bfb0d0ea1252147582f9332cdd2a735cd8cb9e8e2c8f5950fe9e02df78c1b22 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:54 provisioning config files... 05:14:54 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/195@tmp/config6934233712290060278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:14:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 05:14:55 ---> ****-login.sh 05:14:55 nexus3.edgexfoundry.org:10001 [Pipeline] sh 05:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:55 Configure a credential helper to remove this warning. See 05:14:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:55 05:14:55 Login Succeeded 05:14:55 nexus3.edgexfoundry.org:10002 05:14:56 + ls -al . 05:14:56 total 244 05:14:56 drwxrwxr-x 9 jenkins jenkins 4096 Jun 9 05:14 . 05:14:56 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 05:11 .. 05:14:56 -rw-rw-r-- 1 jenkins jenkins 151 Jun 9 05:11 .dockerignore 05:14:56 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 05:14 .git 05:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:11 .github 05:14:56 -rw-rw-r-- 1 jenkins jenkins 264 Jun 9 05:11 .gitignore 05:14:56 -rw-rw-r-- 1 jenkins jenkins 41 Jun 9 05:11 .golangci.yml 05:14:56 drwxr-xr-x 3 jenkins jenkins 4096 Jun 9 05:12 .semver 05:14:56 -rw-rw-r-- 1 jenkins jenkins 20138 Jun 9 05:11 Attribution.txt 05:14:56 -rw-rw-r-- 1 jenkins jenkins 18492 Jun 9 05:11 CHANGELOG.md 05:14:56 -rw-rw-r-- 1 jenkins jenkins 1697 Jun 9 05:11 Dockerfile 05:14:56 -rw-rw-r-- 1 jenkins jenkins 677 Jun 9 05:11 GOVERNANCE.md 05:14:56 -rw-rw-r-- 1 jenkins jenkins 680 Jun 9 05:11 Jenkinsfile 05:14:56 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 9 05:11 LICENSE 05:14:56 -rw-rw-r-- 1 jenkins jenkins 2598 Jun 9 05:11 Makefile 05:14:56 -rw-rw-r-- 1 jenkins jenkins 620 Jun 9 05:11 OWNERS.md 05:14:56 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 9 05:11 README.md 05:14:56 -rw-rw-r-- 1 jenkins jenkins 11 Jun 9 05:12 VERSION 05:14:56 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 05:11 bin 05:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:11 cmd 05:14:56 -rw-r--r-- 1 jenkins jenkins 14565 Jun 9 05:14 coverage.out 05:14:56 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 05:11 driver 05:14:56 -rw-rw-r-- 1 jenkins jenkins 6271 Jun 9 05:11 go.mod 05:14:56 -rw-rw-r-- 1 jenkins jenkins 86411 Jun 9 05:11 go.sum 05:14:56 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:11 openapi 05:14:56 -rw-rw-r-- 1 jenkins jenkins 713 Jun 9 05:11 version.go 05:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:56 Configure a credential helper to remove this warning. See 05:14:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:56 05:14:56 Login Succeeded 05:14:56 nexus3.edgexfoundry.org:10003 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:56 + 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=c28f8a5196b65b8f4b4f316819e026cf630b1192 --label arch=amd64 --label version=4.1.0-dev.2 . 05:14:56 Sending build context to Docker daemon 21.65MB 05:14:56 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 05:14:56 Step 2/26 : FROM ${BASE} AS builder 05:14:56 ---> e765f0f9ceb1 05:14:56 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:56 Configure a credential helper to remove this warning. See 05:14:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:56 05:14:56 Login Succeeded 05:14:56 nexus3.edgexfoundry.org:10004 05:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:14:57 Configure a credential helper to remove this warning. See 05:14:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:14:57 05:14:57 Login Succeeded 05:14:57 ****.io 05:14:57 ---> Running in f9203a463037 05:14:57 Removing intermediate container f9203a463037 05:14:57 ---> abc7100b93ee 05:14:57 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:14:57 ---> Running in ddda9ade219f 05:14:57 Removing intermediate container ddda9ade219f 05:14:57 ---> eceff24a31a8 05:14:57 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:14:57 ---> Running in bd00aa663d00 05:14:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:57 Removing intermediate container bd00aa663d00 05:14:57 ---> 6fa9da956bf0 05:14:57 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:14:57 ---> Running in b0c0b7c21ae4 05:14:57 Removing intermediate container b0c0b7c21ae4 05:14:57 ---> a6e6b6255e16 05:14:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:14:57 ---> Running in 7348191abeba 05:14:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:15:02 Configure a credential helper to remove this warning. See 05:15:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:15:02 05:15:02 Login Succeeded 05:15:02 ---> ****-login.sh ends [Pipeline] } 05:15:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:15:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:15:02 OK: 252 MiB in 62 packages 05:15:02 Removing intermediate container 7348191abeba 05:15:02 ---> d2adf4055103 05:15:02 Step 8/26 : WORKDIR /device-rest-go 05:15:02 ---> Running in e9050c105c07 05:15:02 Removing intermediate container e9050c105c07 05:15:02 ---> 690f79224156 05:15:02 Step 9/26 : COPY go.mod vendor* ./ [Pipeline] echo 05:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:15:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:15:02 ========================================================= 05:15:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:15:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:03 ---> 86137f16b9ed 05:15:03 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 05:15:03 Sending build context to Docker daemon 141.8kB 05:15:03 ---> Running in 1dc166c095e2 05:15:03 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:15:03 Step 2/12 : FROM ${BASE} AS builder 05:15:03 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:15:03 94e9d8af2201: Pulling fs layer 05:15:03 634366ca850b: Pulling fs layer 05:15:03 f66ade281fe9: Pulling fs layer 05:15:03 13fd4ce6e94e: Pulling fs layer 05:15:03 4f4fb700ef54: Pulling fs layer 05:15:03 4cccf3f17d63: Pulling fs layer 05:15:03 2d8010953d95: Pulling fs layer 05:15:03 ec743f232bc5: Pulling fs layer 05:15:03 4cccf3f17d63: Waiting 05:15:03 2d8010953d95: Waiting 05:15:03 ec743f232bc5: Waiting 05:15:03 4f4fb700ef54: Waiting 05:15:03 13fd4ce6e94e: Waiting 05:15:03 634366ca850b: Verifying Checksum 05:15:03 634366ca850b: Download complete 05:15:03 13fd4ce6e94e: Download complete 05:15:03 4f4fb700ef54: Download complete 05:15:03 4cccf3f17d63: Verifying Checksum 05:15:03 4cccf3f17d63: Download complete 05:15:03 94e9d8af2201: Verifying Checksum 05:15:03 94e9d8af2201: Download complete 05:15:03 Removing intermediate container 1dc166c095e2 05:15:03 ---> b9b942d07686 05:15:03 Step 11/26 : COPY . . 05:15:04 ec743f232bc5: Verifying Checksum 05:15:04 ec743f232bc5: Download complete 05:15:04 ---> 435b8903d2b3 05:15:04 Step 12/26 : RUN $MAKE 05:15:04 ---> Running in fc9d371a5b6a 05:15:04 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.9 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 05:15:05 94e9d8af2201: Pull complete 05:15:05 f66ade281fe9: Verifying Checksum 05:15:05 f66ade281fe9: Download complete 05:15:05 634366ca850b: Pull complete 05:15:06 2d8010953d95: Verifying Checksum 05:15:06 2d8010953d95: Download complete 05:15:21 f66ade281fe9: Pull complete 05:15:21 13fd4ce6e94e: Pull complete 05:15:21 4f4fb700ef54: Pull complete 05:15:21 4cccf3f17d63: Pull complete 05:15:28 2d8010953d95: Pull complete 05:15:29 ec743f232bc5: Pull complete 05:15:29 Digest: sha256:a6e51edf931e1c2109943d1a62f1c16b78b2281728f1935e6b3d8efd9a0c5dda 05:15:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:15:29 ---> 12c1d4c06be1 05:15:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:15:31 ---> Running in 03841c9394e0 05:15:31 Removing intermediate container 03841c9394e0 05:15:31 ---> e32209853603 05:15:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:15:31 ---> Running in 6091b26dbb9c 05:15:31 Removing intermediate container 6091b26dbb9c 05:15:31 ---> e8caa1412216 05:15:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:15:31 ---> Running in 62f210d42a9f 05:15:32 Removing intermediate container 62f210d42a9f 05:15:32 ---> 9cbb9c547afb 05:15:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:15:32 ---> Running in 63300aba5038 05:15:32 Removing intermediate container 63300aba5038 05:15:32 ---> 8d9233887782 05:15:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:15:32 ---> Running in a22ceca887c2 05:15:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:15:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:15:35 (1/4) Installing openssh-keygen (9.7_p1-r5) 05:15:35 (2/4) Installing libedit (20240517.3.1-r0) 05:15:35 (3/4) Installing openssh-client-common (9.7_p1-r5) 05:15:35 (4/4) Installing openssh-client-default (9.7_p1-r5) 05:15:35 Executing busybox-1.36.1-r29.trigger 05:15:35 OK: 244 MiB in 62 packages 05:15:36 Removing intermediate container a22ceca887c2 05:15:36 ---> 3c9b0a86e78c 05:15:36 Step 8/12 : WORKDIR /device-rest-go 05:15:36 ---> Running in ff9e74855429 05:15:36 Removing intermediate container fc9d371a5b6a 05:15:36 ---> 2a670690462e 05:15:36 Step 13/26 : FROM alpine:3.20 05:15:36 3.20: Pulling from library/alpine 05:15:36 0a9a5dfd008f: Already exists 05:15:36 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:15:36 Status: Downloaded newer image for alpine:3.20 05:15:36 ---> ff221270b9fb 05:15:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:15:36 ---> Running in 95825349d3af 05:15:36 Removing intermediate container 95825349d3af 05:15:36 ---> 41b0fe7641b3 05:15:36 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 05:15:36 ---> Running in d6f9433d900f 05:15:36 Removing intermediate container d6f9433d900f 05:15:36 ---> bfd55f7a8e04 05:15:36 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:15:36 ---> Running in a85cbf7296d9 05:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:15:36 (1/1) Installing dumb-init (1.2.5-r3) 05:15:36 Executing busybox-1.36.1-r29.trigger 05:15:36 OK: 8 MiB in 15 packages 05:15:36 Removing intermediate container a85cbf7296d9 05:15:36 ---> e442ba404703 05:15:36 Step 17/26 : RUN apk --no-cache upgrade 05:15:36 ---> Running in 066c35de56ba 05:15:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:15:36 Removing intermediate container ff9e74855429 05:15:36 ---> 362f60ad0ae3 05:15:36 Step 9/12 : COPY go.mod vendor* ./ 05:15:37 ---> 1951e4a4268b 05:15:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:37 ---> Running in c8543a2e65e9 05:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:15:41 OK: 8 MiB in 15 packages 05:15:41 Removing intermediate container 066c35de56ba 05:15:41 ---> 595e3b3a0cd4 05:15:41 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 05:15:42 ---> 75ae7b8a8c8a 05:15:42 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 05:15:42 ---> 7d4ebbce7b45 05:15:42 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 05:15:42 ---> 9864911d47bc 05:15:42 Step 21/26 : EXPOSE 59986 05:15:42 ---> Running in 52fae02e102b 05:15:42 Removing intermediate container 52fae02e102b 05:15:42 ---> 71a0266ebb36 05:15:42 Step 22/26 : ENTRYPOINT ["/device-rest"] 05:15:42 ---> Running in a86be3ff1eca 05:15:42 Removing intermediate container a86be3ff1eca 05:15:42 ---> 21315d1553db 05:15:42 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:15:42 ---> Running in 600b27d8e7c7 05:15:42 Removing intermediate container 600b27d8e7c7 05:15:42 ---> b683ac7eff93 05:15:42 Step 24/26 : LABEL arch=amd64 05:15:42 ---> Running in 288815f0922f 05:15:42 Removing intermediate container 288815f0922f 05:15:42 ---> 8590bed1e311 05:15:42 Step 25/26 : LABEL git_sha=c28f8a5196b65b8f4b4f316819e026cf630b1192 05:15:42 ---> Running in 053e4e5699a9 05:15:42 Removing intermediate container 053e4e5699a9 05:15:42 ---> 1605f1c1110f 05:15:42 Step 26/26 : LABEL version=4.1.0-dev.2 05:15:42 ---> Running in 4d6ed5ecb5af 05:15:42 Removing intermediate container 4d6ed5ecb5af 05:15:42 ---> 9e7db71f02ee 05:15:42 [Warning] One or more build-args [ARCH] were not consumed 05:15:42 Successfully built 9e7db71f02ee 05:15:42 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:43 provisioning config files... 05:15:43 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15995791841509536670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:43 ---> ****-login.sh 05:15:43 nexus3.edgexfoundry.org:10001 05:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:15:43 Configure a credential helper to remove this warning. See 05:15:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:15:43 05:15:43 Login Succeeded 05:15:43 nexus3.edgexfoundry.org:10002 05:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:15:43 Configure a credential helper to remove this warning. See 05:15:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:15:43 05:15:43 Login Succeeded 05:15:43 nexus3.edgexfoundry.org:10003 05:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:15:43 Configure a credential helper to remove this warning. See 05:15:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:15:43 05:15:43 Login Succeeded 05:15:43 nexus3.edgexfoundry.org:10004 05:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:15:43 Configure a credential helper to remove this warning. See 05:15:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:15:43 05:15:43 Login Succeeded 05:15:43 ****.io 05:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:15:43 Configure a credential helper to remove this warning. See 05:15:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:15:43 05:15:43 Login Succeeded 05:15:43 ---> ****-login.sh ends [Pipeline] } 05:15:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:15:44 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 05:15:44 c28f8a5196b65b8f4b4f316819e026cf630b1192 05:15:44 latest 05:15:44 4.1.0-dev.2 05:15:44 c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2 05:15:44 main 05:15:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c28f8a5196b65b8f4b4f316819e026cf630b1192 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:c28f8a5196b65b8f4b4f316819e026cf630b1192 05:15:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:15:44 d9021cd66551: Preparing 05:15:44 5b18cc9ad9ee: Preparing 05:15:44 6a81312bb0cd: Preparing 05:15:44 9ae42f376d6d: Preparing 05:15:44 5028fde6f568: Preparing 05:15:44 994456c4fd7b: Preparing 05:15:44 994456c4fd7b: Waiting 05:15:44 5028fde6f568: Pushed 05:15:44 d9021cd66551: Pushed 05:15:44 9ae42f376d6d: Pushed 05:15:44 5b18cc9ad9ee: Pushed 05:15:44 994456c4fd7b: Layer already exists 05:15:48 6a81312bb0cd: Pushed 05:15:48 c28f8a5196b65b8f4b4f316819e026cf630b1192: digest: sha256:566571b24940f4247e9cd721b57f717ae99d5dfd46088c3eda3b634caf3b6cf8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 05:15:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:15:48 d9021cd66551: Preparing 05:15:48 5b18cc9ad9ee: Preparing 05:15:48 6a81312bb0cd: Preparing 05:15:48 9ae42f376d6d: Preparing 05:15:48 5028fde6f568: Preparing 05:15:48 994456c4fd7b: Preparing 05:15:48 994456c4fd7b: Waiting 05:15:48 d9021cd66551: Layer already exists 05:15:48 6a81312bb0cd: Layer already exists 05:15:48 5028fde6f568: Layer already exists 05:15:48 9ae42f376d6d: Layer already exists 05:15:48 5b18cc9ad9ee: Layer already exists 05:15:48 994456c4fd7b: Layer already exists 05:15:48 latest: digest: sha256:566571b24940f4247e9cd721b57f717ae99d5dfd46088c3eda3b634caf3b6cf8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 05:15:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:15:49 d9021cd66551: Preparing 05:15:49 5b18cc9ad9ee: Preparing 05:15:49 6a81312bb0cd: Preparing 05:15:49 9ae42f376d6d: Preparing 05:15:49 5028fde6f568: Preparing 05:15:49 994456c4fd7b: Preparing 05:15:49 994456c4fd7b: Waiting 05:15:49 9ae42f376d6d: Layer already exists 05:15:49 5028fde6f568: Layer already exists 05:15:49 5b18cc9ad9ee: Layer already exists 05:15:49 6a81312bb0cd: Layer already exists 05:15:49 d9021cd66551: Layer already exists 05:15:49 994456c4fd7b: Layer already exists 05:15:49 4.1.0-dev.2: digest: sha256:566571b24940f4247e9cd721b57f717ae99d5dfd46088c3eda3b634caf3b6cf8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2 05:15:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:15:49 d9021cd66551: Preparing 05:15:49 5b18cc9ad9ee: Preparing 05:15:49 6a81312bb0cd: Preparing 05:15:49 9ae42f376d6d: Preparing 05:15:49 5028fde6f568: Preparing 05:15:49 994456c4fd7b: Preparing 05:15:49 994456c4fd7b: Waiting 05:15:49 5b18cc9ad9ee: Layer already exists 05:15:49 6a81312bb0cd: Layer already exists 05:15:49 9ae42f376d6d: Layer already exists 05:15:49 d9021cd66551: Layer already exists 05:15:49 5028fde6f568: Layer already exists 05:15:49 994456c4fd7b: Layer already exists 05:15:49 c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2: digest: sha256:566571b24940f4247e9cd721b57f717ae99d5dfd46088c3eda3b634caf3b6cf8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:50 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:50 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 05:15:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 05:15:50 d9021cd66551: Preparing 05:15:50 5b18cc9ad9ee: Preparing 05:15:50 6a81312bb0cd: Preparing 05:15:50 9ae42f376d6d: Preparing 05:15:50 5028fde6f568: Preparing 05:15:50 994456c4fd7b: Preparing 05:15:50 994456c4fd7b: Waiting 05:15:50 5028fde6f568: Layer already exists 05:15:50 6a81312bb0cd: Layer already exists 05:15:50 5b18cc9ad9ee: Layer already exists 05:15:50 9ae42f376d6d: Layer already exists 05:15:50 d9021cd66551: Layer already exists 05:15:50 994456c4fd7b: Layer already exists 05:15:50 main: digest: sha256:566571b24940f4247e9cd721b57f717ae99d5dfd46088c3eda3b634caf3b6cf8 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:15:50 ===================================================== [Pipeline] echo 05:15:50 taggedImages: 05:15:50 - nexus3.edgexfoundry.org:10004/device-rest:c28f8a5196b65b8f4b4f316819e026cf630b1192 05:15:50 - nexus3.edgexfoundry.org:10004/device-rest:latest 05:15:50 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 05:15:50 - nexus3.edgexfoundry.org:10004/device-rest:c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2 05:15:50 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 05:15:50 ========================================================= 05:15:50 [edgeXBuildMultiArch] RAW Config: 05:15:50 images: 05:15:50 - nexus3.edgexfoundry.org:10004/device-rest:c28f8a5196b65b8f4b4f316819e026cf630b1192 05:15:50 - nexus3.edgexfoundry.org:10004/device-rest:latest 05:15:50 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 05:15:50 - nexus3.edgexfoundry.org:10004/device-rest:c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2 05:15:50 - nexus3.edgexfoundry.org:10004/device-rest:main 05:15:50 settingsFile: 05:15:50 device-rest-go-settings 05:15:50 ========================================================= [Pipeline] node 05:16:05 Still waiting to schedule task 05:16:05 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3001’ 05:18:14 Removing intermediate container c8543a2e65e9 05:18:14 ---> 53884f601692 05:18:14 Step 11/12 : COPY . . 05:18:14 ---> e53873ed65c5 05:18:14 Step 12/12 : RUN $MAKE 05:18:14 ---> Running in 8eb89098a0b6 05:18:14 noop 05:18:14 Removing intermediate container 8eb89098a0b6 05:18:14 ---> 5d4c4f57bd64 05:18:14 Successfully built 5d4c4f57bd64 05:18:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:14 + docker inspect -f . ci-base-image-arm64 05:18:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:14 prd-ubuntu20.04-docker-arm64-4c-16g-3006 does not seem to be running inside a container 05:18:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/195 -v /w/workspace/device-rest-go/195:/w/workspace/device-rest-go/195:rw,z -v /w/workspace/device-rest-go/195@tmp:/w/workspace/device-rest-go/195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:18:16 $ docker top 48493da5703f2e1646163397b1b186c96cf359fa44c211e662f6cf5f46ece558 -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:17 + go version 05:18:17 go version go1.23.8 linux/arm64 [Pipeline] } 05:18:17 $ docker stop --time=1 48493da5703f2e1646163397b1b186c96cf359fa44c211e662f6cf5f46ece558 05:18:19 $ docker rm -f --volumes 48493da5703f2e1646163397b1b186c96cf359fa44c211e662f6cf5f46ece558 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:19 + docker inspect -f . ci-base-image-arm64 05:18:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:19 prd-ubuntu20.04-docker-arm64-4c-16g-3006 does not seem to be running inside a container 05:18:19 $ 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/195 -v /w/workspace/device-rest-go/195:/w/workspace/device-rest-go/195:rw,z -v /w/workspace/device-rest-go/195@tmp:/w/workspace/device-rest-go/195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:18:21 $ docker top 2e3c857dc1c71476c2b9010c3e26042a7571133a6f9f847f32c9176c38d0ff9c -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:21 + git config --global --add safe.directory /w/workspace/device-rest-go/195 [Pipeline] fileExists [Pipeline] sh 05:18:22 + make test 05:18:22 go test ./... -coverprofile=coverage.out ./... 05:18:27 ? github.com/edgexfoundry/device-rest-go [no test files] 05:19:19 Running on prd-centos7-docker-4c-2g-3007 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:19 provisioning config files... 05:19:19 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1466436207742145561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:20 ---> ****-login.sh 05:19:20 nexus3.edgexfoundry.org:10001 05:19:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:07 Error response from daemon: Get "https://nexus3.edgexfoundry.org:10001/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) [Pipeline] } 05:20:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] error [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:20:08 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 05:20:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:20:09 ---> package-listing.sh 05:20:09 ++ facter osfamily 05:20:09 ++ tr '[:upper:]' '[:lower:]' 05:20:09 + OS_FAMILY=redhat 05:20:09 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 05:20:09 + START_PACKAGES=/tmp/packages_start.txt 05:20:09 + END_PACKAGES=/tmp/packages_end.txt 05:20:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:20:09 + PACKAGES=/tmp/packages_start.txt 05:20:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:20:09 + PACKAGES=/tmp/packages_end.txt 05:20:09 + case "${OS_FAMILY}" in 05:20:09 + rpm -qa 05:20:09 + sort 05:20:09 + '[' -f /tmp/packages_start.txt ']' 05:20:09 + '[' -f /tmp/packages_end.txt ']' 05:20:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:20:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:20:09 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 05:20:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 05:20:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:20:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:10 05:20:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:11 latest: Pulling from edgex-lftools-log-publisher 05:20:11 5eb5b503b376: Pulling fs layer 05:20:11 5c69ac0246d0: Pulling fs layer 05:20:11 ec43610c2a17: Pulling fs layer 05:20:11 3a2ae6a8a46f: Pulling fs layer 05:20:11 33b1e0a273af: Pulling fs layer 05:20:11 5d3b04190fa2: Pulling fs layer 05:20:11 2f39f015ded8: Pulling fs layer 05:20:11 33b1e0a273af: Waiting 05:20:11 5d3b04190fa2: Waiting 05:20:11 2f39f015ded8: Waiting 05:20:11 3a2ae6a8a46f: Waiting 05:20:11 5c69ac0246d0: Verifying Checksum 05:20:11 5c69ac0246d0: Download complete 05:20:11 3a2ae6a8a46f: Verifying Checksum 05:20:11 3a2ae6a8a46f: Download complete 05:20:11 33b1e0a273af: Verifying Checksum 05:20:11 33b1e0a273af: Download complete 05:20:11 5d3b04190fa2: Verifying Checksum 05:20:11 5d3b04190fa2: Download complete 05:20:11 ec43610c2a17: Verifying Checksum 05:20:11 ec43610c2a17: Download complete 05:20:11 5eb5b503b376: Verifying Checksum 05:20:11 5eb5b503b376: Download complete 05:20:12 2f39f015ded8: Verifying Checksum 05:20:12 2f39f015ded8: Download complete 05:20:12 5eb5b503b376: Pull complete 05:20:12 5c69ac0246d0: Pull complete 05:20:13 ec43610c2a17: Pull complete 05:20:13 3a2ae6a8a46f: Pull complete 05:20:13 33b1e0a273af: Pull complete 05:20:13 5d3b04190fa2: Pull complete 05:20:18 2f39f015ded8: Pull complete 05:20:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:20:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:18 prd-centos7-docker-4c-2g-3007 does not seem to be running inside a container 05:20:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:20:23 $ docker top 3d998f750d497a4c7d8f5d3c479c33393acb09ee7541700762ad4bd481e4f3b2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:23 + touch /tmp/pre-build-complete [Pipeline] sh 05:20:24 + mkdir -p /var/log/sysstat [Pipeline] sh 05:20:24 + ls /var/log/sa-host 05:20:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:24 provisioning config files... 05:20:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4680285266928560623tmp [Pipeline] { [Pipeline] echo 05:20:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:20:24 ---> create-netrc.sh [Pipeline] } 05:20:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:20:25 ---> python-tools-install.sh [Pipeline] echo 05:20:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:20:25 ---> sudo-logs.sh 05:20:25 Archiving 'sudo' log.. 05:20:25 sudo: unable to resolve host prd-centos7-docker-4c-2g-3007.novalocal: Name or service not known 05:20:25 sudo: unable to resolve host prd-centos7-docker-4c-2g-3007.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:20:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:20:25 ---> job-cost.sh 05:20:25 lf-activate-venv: SKIPPING 05:20:25 INFO: No Stack... 05:20:26 INFO: Retrieving Pricing Info for: v3-standard-2 05:20:26 INFO: Archiving Costs [Pipeline] echo 05:20:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:20:26 ---> logs-deploy.sh 05:20:26 lf-activate-venv: SKIPPING 05:20:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/195 05:20:26 INFO: archiving workspace using pattern(s): 05:20:27 Archives upload complete. 05:20:27 INFO: archiving logs to Nexus 05:20:28 ---> uname -a: 05:20:28 Linux prd-centos7-docker-4c-2g-3007.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 05:20:28 05:20:28 05:20:28 ---> lscpu: 05:20:28 Architecture: x86_64 05:20:28 CPU op-mode(s): 32-bit, 64-bit 05:20:28 Byte Order: Little Endian 05:20:28 Address sizes: 40 bits physical, 48 bits virtual 05:20:28 CPU(s): 2 05:20:28 On-line CPU(s) list: 0,1 05:20:28 Thread(s) per core: 1 05:20:28 Core(s) per socket: 1 05:20:28 Socket(s): 2 05:20:28 NUMA node(s): 1 05:20:28 Vendor ID: AuthenticAMD 05:20:28 CPU family: 23 05:20:28 Model: 49 05:20:28 Model name: AMD EPYC-Rome Processor 05:20:28 Stepping: 0 05:20:28 CPU MHz: 2799.998 05:20:28 BogoMIPS: 5599.99 05:20:28 Virtualization: AMD-V 05:20:28 Hypervisor vendor: KVM 05:20:28 Virtualization type: full 05:20:28 L1d cache: 64 KiB 05:20:28 L1i cache: 64 KiB 05:20:28 L2 cache: 1 MiB 05:20:28 L3 cache: 32 MiB 05:20:28 NUMA node0 CPU(s): 0,1 05:20:28 Vulnerability Itlb multihit: Not affected 05:20:28 Vulnerability L1tf: Not affected 05:20:28 Vulnerability Mds: Not affected 05:20:28 Vulnerability Meltdown: Not affected 05:20:28 Vulnerability Mmio stale data: Not affected 05:20:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:20:28 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:20:28 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:20:28 Vulnerability Srbds: Not affected 05:20:28 Vulnerability Tsx async abort: Not affected 05:20:28 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 05:20:28 05:20:28 05:20:28 ---> nproc: 05:20:28 2 05:20:28 05:20:28 05:20:28 ---> df -h: 05:20:28 Filesystem Size Used Avail Use% Mounted on 05:20:28 overlay 40G 7.1G 33G 18% / 05:20:28 tmpfs 64M 0 64M 0% /dev 05:20:28 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 05:20:28 shm 64M 0 64M 0% /dev/shm 05:20:28 /dev/vda1 40G 7.1G 33G 18% /facter-os 05:20:28 05:20:28 05:20:28 Cannot open /var/log/sysstat/sa09: No such file or directory 05:20:28 Please check if data collecting is enabled 05:20:28 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:20:28 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 05:20:28 $ docker stop --time=1 3d998f750d497a4c7d8f5d3c479c33393acb09ee7541700762ad4bd481e4f3b2 05:20:29 $ docker rm -f --volumes 3d998f750d497a4c7d8f5d3c479c33393acb09ee7541700762ad4bd481e4f3b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 05:20:29 [WS-CLEANUP] Deleting project workspace... 05:20:29 [WS-CLEANUP] Deferred wipeout is used... 05:20:29 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:30 05:20:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:30 latest: Pulling from edgex-lftools-log-publisher 05:20:30 5eb5b503b376: Pulling fs layer 05:20:30 5c69ac0246d0: Pulling fs layer 05:20:30 ec43610c2a17: Pulling fs layer 05:20:30 3a2ae6a8a46f: Pulling fs layer 05:20:30 33b1e0a273af: Pulling fs layer 05:20:30 5d3b04190fa2: Pulling fs layer 05:20:30 2f39f015ded8: Pulling fs layer 05:20:30 5d3b04190fa2: Waiting 05:20:30 33b1e0a273af: Waiting 05:20:30 2f39f015ded8: Waiting 05:20:30 3a2ae6a8a46f: Waiting 05:20:30 5c69ac0246d0: Verifying Checksum 05:20:30 5c69ac0246d0: Download complete 05:20:30 3a2ae6a8a46f: Verifying Checksum 05:20:30 3a2ae6a8a46f: Download complete 05:20:30 33b1e0a273af: Verifying Checksum 05:20:30 33b1e0a273af: Download complete 05:20:30 5d3b04190fa2: Verifying Checksum 05:20:30 5d3b04190fa2: Download complete 05:20:30 ec43610c2a17: Verifying Checksum 05:20:30 ec43610c2a17: Download complete 05:20:30 5eb5b503b376: Verifying Checksum 05:20:30 5eb5b503b376: Download complete 05:20:31 2f39f015ded8: Verifying Checksum 05:20:31 2f39f015ded8: Download complete 05:20:31 5eb5b503b376: Pull complete 05:20:31 5c69ac0246d0: Pull complete 05:20:32 ec43610c2a17: Pull complete 05:20:32 3a2ae6a8a46f: Pull complete 05:20:32 33b1e0a273af: Pull complete 05:20:32 5d3b04190fa2: Pull complete 05:20:36 2f39f015ded8: Pull complete 05:20:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:20:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:37 prd-ubuntu20.04-docker-8c-8g-3005 does not seem to be running inside a container 05:20:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:20:40 $ docker top 1a7f8a9e07e6e664c5d211334f4fa8de3013381276db9d8aaa1bb9764c6fc8db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:40 ---> job-cost.sh 05:20:40 lf-activate-venv: SKIPPING 05:20:40 INFO: No Stack... 05:20:41 INFO: Retrieving Pricing Info for: v3-standard-8 05:20:41 INFO: Archiving Costs [Pipeline] sh 05:20:41 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 05:20:41 + cut -d, -f6 [Pipeline] lock 05:20:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-195-stack-cost] 05:20:41 Resource [jenkins-edgexfoundry-device-rest-go-main-195-stack-cost] did not exist. Created. 05:20:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-195-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:20:41 + echo total: 0.2199999988079071 [Pipeline] stash 05:20:42 Stashed 1 file(s) [Pipeline] } 05:20:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-195-stack-cost] [Pipeline] // lock [Pipeline] } 05:20:42 $ docker stop --time=1 1a7f8a9e07e6e664c5d211334f4fa8de3013381276db9d8aaa1bb9764c6fc8db 05:20:43 $ docker rm -f --volumes 1a7f8a9e07e6e664c5d211334f4fa8de3013381276db9d8aaa1bb9764c6fc8db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:20:43 Failed in branch amd64 05:21:34 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 05:21:37 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 32.2% of statements 05:21:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:21:38 go vet ./... 05:22:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:22:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:22:24 ./bin/test-attribution-txt.sh 05:22:24 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 05:22:24 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo 05:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:22:25 $ docker stop --time=1 2e3c857dc1c71476c2b9010c3e26042a7571133a6f9f847f32c9176c38d0ff9c 05:22:26 $ docker rm -f --volumes 2e3c857dc1c71476c2b9010c3e26042a7571133a6f9f847f32c9176c38d0ff9c [Pipeline] // withDockerContainer [Pipeline] sh 05:22:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:22:28 Warning: overwriting stash ‘coverage-report’ 05:22:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:22:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:22:29 + ls -al . 05:22:29 total 240 05:22:29 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 05:18 . 05:22:29 drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 05:14 .. 05:22:29 -rw-rw-r-- 1 jenkins jenkins 151 Jun 9 05:14 .dockerignore 05:22:29 drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 05:14 .git 05:22:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:14 .github 05:22:29 -rw-rw-r-- 1 jenkins jenkins 264 Jun 9 05:14 .gitignore 05:22:29 -rw-rw-r-- 1 jenkins jenkins 41 Jun 9 05:14 .golangci.yml 05:22:29 -rw-rw-r-- 1 jenkins jenkins 20138 Jun 9 05:14 Attribution.txt 05:22:29 -rw-rw-r-- 1 jenkins jenkins 18492 Jun 9 05:14 CHANGELOG.md 05:22:29 -rw-rw-r-- 1 jenkins jenkins 1697 Jun 9 05:14 Dockerfile 05:22:29 -rw-rw-r-- 1 jenkins jenkins 677 Jun 9 05:14 GOVERNANCE.md 05:22:29 -rw-rw-r-- 1 jenkins jenkins 680 Jun 9 05:14 Jenkinsfile 05:22:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 9 05:14 LICENSE 05:22:29 -rw-rw-r-- 1 jenkins jenkins 2598 Jun 9 05:14 Makefile 05:22:29 -rw-rw-r-- 1 jenkins jenkins 620 Jun 9 05:14 OWNERS.md 05:22:29 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 9 05:14 README.md 05:22:29 -rw-rw-r-- 1 jenkins jenkins 11 Jun 9 05:12 VERSION 05:22:29 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 05:14 bin 05:22:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:14 cmd 05:22:29 -rw-r--r-- 1 jenkins jenkins 14565 Jun 9 05:21 coverage.out 05:22:29 drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 05:14 driver 05:22:29 -rw-rw-r-- 1 jenkins jenkins 6271 Jun 9 05:14 go.mod 05:22:29 -rw-rw-r-- 1 jenkins jenkins 86411 Jun 9 05:14 go.sum 05:22:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 9 05:14 openapi 05:22:29 -rw-rw-r-- 1 jenkins jenkins 713 Jun 9 05:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:29 + 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=c28f8a5196b65b8f4b4f316819e026cf630b1192 --label arch=arm64 --label version=4.1.0-dev.2 . 05:22:29 Sending build context to Docker daemon 157.2kB 05:22:30 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 05:22:30 Step 2/26 : FROM ${BASE} AS builder 05:22:30 ---> 5d4c4f57bd64 05:22:30 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:22:30 ---> Running in 4e703975e45e 05:22:30 Removing intermediate container 4e703975e45e 05:22:30 ---> 9a2eb02c13a9 05:22:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:22:30 ---> Running in bf5d24e54821 05:22:31 Removing intermediate container bf5d24e54821 05:22:31 ---> 28f57efff895 05:22:31 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:22:31 ---> Running in 9c46c4577593 05:22:31 Removing intermediate container 9c46c4577593 05:22:31 ---> 4019c97f0379 05:22:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:22:31 ---> Running in 30748e71b31f 05:22:31 Removing intermediate container 30748e71b31f 05:22:31 ---> f1b7efc512a9 05:22:31 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:22:31 ---> Running in 96c0d97c47e0 05:22:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:22:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:22:34 OK: 244 MiB in 62 packages 05:22:35 Removing intermediate container 96c0d97c47e0 05:22:35 ---> e31ffaf01d7f 05:22:35 Step 8/26 : WORKDIR /device-rest-go 05:22:35 ---> Running in 7ece603ef174 05:22:35 Removing intermediate container 7ece603ef174 05:22:35 ---> 02341e1f07f4 05:22:35 Step 9/26 : COPY go.mod vendor* ./ 05:22:35 ---> 9e85fd3cdd1d 05:22:35 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:22:36 ---> Running in a9f463b7353a 05:22:38 Removing intermediate container a9f463b7353a 05:22:38 ---> 42f8a5cf2579 05:22:38 Step 11/26 : COPY . . 05:22:38 ---> ad069a576498 05:22:38 Step 12/26 : RUN $MAKE 05:22:38 ---> Running in 5c7ad6ffb3ab 05:22:39 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.1.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.9 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 05:26:01 Removing intermediate container 5c7ad6ffb3ab 05:26:01 ---> 776f58cb3265 05:26:01 Step 13/26 : FROM alpine:3.20 05:26:01 3.20: Pulling from library/alpine 05:26:01 94e9d8af2201: Already exists 05:26:01 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 05:26:01 Status: Downloaded newer image for alpine:3.20 05:26:01 ---> 7aab056cecc6 05:26:01 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:26:01 ---> Running in 92fee6a79b64 05:26:01 Removing intermediate container 92fee6a79b64 05:26:01 ---> dfde05bebecd 05:26:01 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 05:26:01 ---> Running in 773a2e5e98f4 05:26:01 Removing intermediate container 773a2e5e98f4 05:26:01 ---> ffa3d42c8c0b 05:26:01 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:26:01 ---> Running in eaf71d0bba4a 05:26:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:26:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:26:01 (1/1) Installing dumb-init (1.2.5-r3) 05:26:01 Executing busybox-1.36.1-r29.trigger 05:26:01 OK: 9 MiB in 15 packages 05:26:01 Removing intermediate container eaf71d0bba4a 05:26:01 ---> a872b9f13c26 05:26:01 Step 17/26 : RUN apk --no-cache upgrade 05:26:01 ---> Running in 930bef77b15d 05:26:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:26:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:26:01 OK: 9 MiB in 15 packages 05:26:01 Removing intermediate container 930bef77b15d 05:26:01 ---> dc6f7960a0d2 05:26:01 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 05:26:01 ---> efcf27d4b413 05:26:01 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 05:26:01 ---> 1f6369f985ad 05:26:01 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 05:26:02 ---> be541ac4461c 05:26:02 Step 21/26 : EXPOSE 59986 05:26:02 ---> Running in 7d44c7f10d75 05:26:02 Removing intermediate container 7d44c7f10d75 05:26:02 ---> 3f2ec9fc5556 05:26:02 Step 22/26 : ENTRYPOINT ["/device-rest"] 05:26:02 ---> Running in ff33030edf27 05:26:02 Removing intermediate container ff33030edf27 05:26:02 ---> a19a533d4448 05:26:02 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:26:02 ---> Running in 79a17b65e4a7 05:26:03 Removing intermediate container 79a17b65e4a7 05:26:03 ---> d08792467e9e 05:26:03 Step 24/26 : LABEL arch=arm64 05:26:03 ---> Running in e9c63d284cdb 05:26:03 Removing intermediate container e9c63d284cdb 05:26:03 ---> cd13a848eb7e 05:26:03 Step 25/26 : LABEL git_sha=c28f8a5196b65b8f4b4f316819e026cf630b1192 05:26:03 ---> Running in 6fa2a3d86794 05:26:03 Removing intermediate container 6fa2a3d86794 05:26:03 ---> 66b4fa75ed34 05:26:03 Step 26/26 : LABEL version=4.1.0-dev.2 05:26:03 ---> Running in caf5f4f0bf70 05:26:04 Removing intermediate container caf5f4f0bf70 05:26:04 ---> 6701422672a2 05:26:04 [Warning] One or more build-args [ARCH] were not consumed 05:26:04 Successfully built 6701422672a2 05:26:04 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:26:04 provisioning config files... 05:26:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/195@tmp/config1094421968137299189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:26:04 ---> ****-login.sh 05:26:04 nexus3.edgexfoundry.org:10001 05:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:26:05 Configure a credential helper to remove this warning. See 05:26:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:26:05 05:26:05 Login Succeeded 05:26:05 nexus3.edgexfoundry.org:10002 05:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:26:05 Configure a credential helper to remove this warning. See 05:26:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:26:05 05:26:05 Login Succeeded 05:26:05 nexus3.edgexfoundry.org:10003 05:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:26:05 Configure a credential helper to remove this warning. See 05:26:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:26:05 05:26:05 Login Succeeded 05:26:05 nexus3.edgexfoundry.org:10004 05:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:26:06 Configure a credential helper to remove this warning. See 05:26:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:26:06 05:26:06 Login Succeeded 05:26:06 ****.io 05:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:26:06 Configure a credential helper to remove this warning. See 05:26:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:26:06 05:26:06 Login Succeeded 05:26:06 ---> ****-login.sh ends [Pipeline] } 05:26:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:26:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:26:06 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 05:26:06 c28f8a5196b65b8f4b4f316819e026cf630b1192 05:26:06 latest 05:26:06 4.1.0-dev.2 05:26:06 c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2 05:26:06 main 05:26:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c28f8a5196b65b8f4b4f316819e026cf630b1192 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c28f8a5196b65b8f4b4f316819e026cf630b1192 05:26:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:26:07 53480713bf20: Preparing 05:26:07 c78ddda89914: Preparing 05:26:07 068dee2b0bcc: Preparing 05:26:07 4f0f6e4a5444: Preparing 05:26:07 275b1cfd394f: Preparing 05:26:07 dd9c8f8612c8: Preparing 05:26:07 dd9c8f8612c8: Waiting 05:26:07 275b1cfd394f: Pushed 05:26:07 4f0f6e4a5444: Pushed 05:26:07 c78ddda89914: Pushed 05:26:07 53480713bf20: Pushed 05:26:07 dd9c8f8612c8: Layer already exists 05:26:14 068dee2b0bcc: Pushed 05:26:14 c28f8a5196b65b8f4b4f316819e026cf630b1192: digest: sha256:f6df5e98d6266973de05c3523fb0f8e52695a1b285fefc97d389ec26d1a5f063 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:26:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:26:15 53480713bf20: Preparing 05:26:15 c78ddda89914: Preparing 05:26:15 068dee2b0bcc: Preparing 05:26:15 4f0f6e4a5444: Preparing 05:26:15 275b1cfd394f: Preparing 05:26:15 dd9c8f8612c8: Preparing 05:26:15 dd9c8f8612c8: Waiting 05:26:15 53480713bf20: Layer already exists 05:26:15 275b1cfd394f: Layer already exists 05:26:15 c78ddda89914: Layer already exists 05:26:15 4f0f6e4a5444: Layer already exists 05:26:15 068dee2b0bcc: Layer already exists 05:26:15 dd9c8f8612c8: Layer already exists 05:26:15 latest: digest: sha256:f6df5e98d6266973de05c3523fb0f8e52695a1b285fefc97d389ec26d1a5f063 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 05:26:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:26:16 53480713bf20: Preparing 05:26:16 c78ddda89914: Preparing 05:26:16 068dee2b0bcc: Preparing 05:26:16 4f0f6e4a5444: Preparing 05:26:16 275b1cfd394f: Preparing 05:26:16 dd9c8f8612c8: Preparing 05:26:16 dd9c8f8612c8: Waiting 05:26:16 068dee2b0bcc: Layer already exists 05:26:16 c78ddda89914: Layer already exists 05:26:16 275b1cfd394f: Layer already exists 05:26:16 4f0f6e4a5444: Layer already exists 05:26:16 53480713bf20: Layer already exists 05:26:16 dd9c8f8612c8: Layer already exists 05:26:16 4.1.0-dev.2: digest: sha256:f6df5e98d6266973de05c3523fb0f8e52695a1b285fefc97d389ec26d1a5f063 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2 05:26:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:26:16 53480713bf20: Preparing 05:26:16 c78ddda89914: Preparing 05:26:16 068dee2b0bcc: Preparing 05:26:16 4f0f6e4a5444: Preparing 05:26:16 275b1cfd394f: Preparing 05:26:16 dd9c8f8612c8: Preparing 05:26:16 dd9c8f8612c8: Waiting 05:26:16 275b1cfd394f: Layer already exists 05:26:16 4f0f6e4a5444: Layer already exists 05:26:16 c78ddda89914: Layer already exists 05:26:16 53480713bf20: Layer already exists 05:26:16 068dee2b0bcc: Layer already exists 05:26:16 dd9c8f8612c8: Layer already exists 05:26:16 c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2: digest: sha256:f6df5e98d6266973de05c3523fb0f8e52695a1b285fefc97d389ec26d1a5f063 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 05:26:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 05:26:17 53480713bf20: Preparing 05:26:17 c78ddda89914: Preparing 05:26:17 068dee2b0bcc: Preparing 05:26:17 4f0f6e4a5444: Preparing 05:26:17 275b1cfd394f: Preparing 05:26:17 dd9c8f8612c8: Preparing 05:26:17 dd9c8f8612c8: Waiting 05:26:17 53480713bf20: Layer already exists 05:26:17 275b1cfd394f: Layer already exists 05:26:17 068dee2b0bcc: Layer already exists 05:26:17 c78ddda89914: Layer already exists 05:26:17 4f0f6e4a5444: Layer already exists 05:26:17 dd9c8f8612c8: Layer already exists 05:26:17 main: digest: sha256:f6df5e98d6266973de05c3523fb0f8e52695a1b285fefc97d389ec26d1a5f063 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:26:18 ===================================================== [Pipeline] echo 05:26:18 taggedImages: 05:26:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c28f8a5196b65b8f4b4f316819e026cf630b1192 05:26:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 05:26:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 05:26:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2 05:26:18 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 05:26:18 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:c28f8a5196b65b8f4b4f316819e026cf630b1192 [Pipeline] echo 05:26:18 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 05:26:18 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 [Pipeline] echo 05:26:18 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:c28f8a5196b65b8f4b4f316819e026cf630b1192-4.1.0-dev.2 [Pipeline] echo 05:26:18 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:26:18 05:26:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:26:18 arm64: Pulling from edgex-lftools-log-publisher 05:26:18 8998bd30e6a1: Pulling fs layer 05:26:18 04944245beec: Pulling fs layer 05:26:18 699f458cf7ca: Pulling fs layer 05:26:18 765212b225bb: Pulling fs layer 05:26:18 f23df028b6ca: Pulling fs layer 05:26:18 d65c8cfc05b1: Pulling fs layer 05:26:18 2437ff75d9bd: Pulling fs layer 05:26:18 f23df028b6ca: Waiting 05:26:18 d65c8cfc05b1: Waiting 05:26:18 2437ff75d9bd: Waiting 05:26:18 765212b225bb: Waiting 05:26:19 04944245beec: Verifying Checksum 05:26:19 04944245beec: Download complete 05:26:19 765212b225bb: Download complete 05:26:19 f23df028b6ca: Verifying Checksum 05:26:19 f23df028b6ca: Download complete 05:26:19 d65c8cfc05b1: Verifying Checksum 05:26:19 d65c8cfc05b1: Download complete 05:26:19 699f458cf7ca: Verifying Checksum 05:26:19 699f458cf7ca: Download complete 05:26:19 8998bd30e6a1: Verifying Checksum 05:26:19 8998bd30e6a1: Download complete 05:26:22 2437ff75d9bd: Verifying Checksum 05:26:22 2437ff75d9bd: Download complete 05:26:24 8998bd30e6a1: Pull complete 05:26:24 04944245beec: Pull complete 05:26:26 699f458cf7ca: Pull complete 05:26:26 765212b225bb: Pull complete 05:26:27 f23df028b6ca: Pull complete 05:26:27 d65c8cfc05b1: Pull complete 05:26:45 2437ff75d9bd: Pull complete 05:26:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:26:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:26:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:45 prd-ubuntu20.04-docker-arm64-4c-16g-3006 does not seem to be running inside a container 05:26:45 $ 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/195 -v /w/workspace/device-rest-go/195:/w/workspace/device-rest-go/195:rw,z -v /w/workspace/device-rest-go/195@tmp:/w/workspace/device-rest-go/195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:26:48 $ docker top bdb9746d5b8b304131494fd7a24848ad3e5b5a96d6cc71b7c5537e7e620f0081 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:26:49 ---> job-cost.sh 05:26:49 lf-activate-venv: SKIPPING 05:26:49 INFO: No Stack... 05:26:49 INFO: Retrieving Pricing Info for: v3-standard-4 05:26:50 INFO: Archiving Costs [Pipeline] sh 05:26:51 + cut -d, -f6 05:26:51 + cat /w/workspace/device-rest-go/195/archives/cost.csv [Pipeline] lock 05:26:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-195-stack-cost] 05:26:51 Resource [jenkins-edgexfoundry-device-rest-go-main-195-stack-cost] did not exist. Created. 05:26:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-195-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:26:51 /w/workspace/device-rest-go/195@tmp/durable-07848b24/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:26:52 + echo total: 0.10999999940395355 [Pipeline] stash 05:26:52 Warning: overwriting stash ‘stack-cost’ 05:26:52 Stashed 1 file(s) [Pipeline] } 05:26:52 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-195-stack-cost] [Pipeline] // lock [Pipeline] } 05:26:52 $ docker stop --time=1 bdb9746d5b8b304131494fd7a24848ad3e5b5a96d6cc71b7c5537e7e620f0081 05:26:53 $ docker rm -f --volumes bdb9746d5b8b304131494fd7a24848ad3e5b5a96d6cc71b7c5537e7e620f0081 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:26:54 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 05:26:54 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 05:26:54 total 16 05:26:54 drwxr-xr-x 3 root root 4096 Jun 9 05:20 . 05:26:54 drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 05:20 .. 05:26:54 drwxr-xr-x 2 root root 4096 Jun 9 05:20 cost 05:26:54 -rw-r--r-- 1 root root 86 Jun 9 05:20 cost.csv 05:26:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 05:26:54 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 05:26:54 total 16 05:26:54 drwxr-xr-x 3 jenkins jenkins 4096 Jun 9 05:20 . 05:26:54 drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 05:20 .. 05:26:54 drwxr-xr-x 2 jenkins jenkins 4096 Jun 9 05:20 cost 05:26:54 -rw-r--r-- 1 jenkins jenkins 86 Jun 9 05:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:26:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:26:56 ---> package-listing.sh 05:26:56 ++ facter osfamily 05:26:56 ++ tr '[:upper:]' '[:lower:]' 05:26:56 + OS_FAMILY=debian 05:26:56 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 05:26:56 + START_PACKAGES=/tmp/packages_start.txt 05:26:56 + END_PACKAGES=/tmp/packages_end.txt 05:26:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:26:56 + PACKAGES=/tmp/packages_start.txt 05:26:56 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:26:56 + PACKAGES=/tmp/packages_end.txt 05:26:56 + case "${OS_FAMILY}" in 05:26:56 + dpkg -l 05:26:56 + grep '^ii' 05:26:56 + '[' -f /tmp/packages_start.txt ']' 05:26:56 + '[' -f /tmp/packages_end.txt ']' 05:26:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:26:56 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 05:26:56 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 05:26:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 05:26:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:26:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:26:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:57 prd-ubuntu20.04-docker-8c-8g-3005 does not seem to be running inside a container 05:26:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:26:57 $ docker top 60675dee0c1ae26034700cd0e9a4dac621ae725f2c7e0cd3a63059260d18a782 -eo pid,comm [Pipeline] { [Pipeline] sh 05:26:57 + touch /tmp/pre-build-complete [Pipeline] sh 05:26:58 + mkdir -p /var/log/sysstat [Pipeline] sh 05:26:58 + ls /var/log/sa-host 05:26:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:26:58 provisioning config files... 05:26:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16702362010557898422tmp [Pipeline] { [Pipeline] echo 05:26:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:26:58 ---> create-netrc.sh [Pipeline] } 05:26:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:26:59 ---> python-tools-install.sh [Pipeline] echo 05:26:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:26:59 ---> sudo-logs.sh 05:26:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:26:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:26:59 ---> job-cost.sh 05:26:59 lf-activate-venv: SKIPPING 05:26:59 DEBUG: total: 0.2199999988079071 05:26:59 INFO: Retrieving Stack Cost... 05:26:59 INFO: Retrieving Pricing Info for: v3-standard-8 05:27:00 INFO: Archiving Costs [Pipeline] echo 05:27:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:27:00 ---> logs-deploy.sh 05:27:00 lf-activate-venv: SKIPPING 05:27:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/195 05:27:00 INFO: archiving workspace using pattern(s): 05:27:01 Archives upload complete. 05:27:01 INFO: archiving logs to Nexus