Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 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-ssh9623695088447033358.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-ssh12502834880202558682.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-ssh12843608100795817922.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-ssh13846505052782249902.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-ssh15178915600634559719.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-3168 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 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#468)" > git config core.sparsecheckout # timeout=10 > git checkout -f c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 # timeout=10 > git rev-list --no-walk c28f8a5196b65b8f4b4f316819e026cf630b1192 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:39:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:39:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:39:00 ========================================================= 01:39:00 EdgeX Global Pipelines Version Info 01:39:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:39:02 ------------------- 01:39:02 stable info: 01:39:02 ------------------- 01:39:02 Commited By: Ginny Guan ginny@iotechsys.com 01:39:02 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 01:39:02 Message: update stable to v1.0.274 01:39:02 ------------------- 01:39:02 experimental info: 01:39:02 ------------------- 01:39:02 Commited By: **** collab-it+edgex@linuxfoundation.org 01:39:02 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 01:39:02 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:39:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c373b56 [Pipeline] echo 01:39:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:03 provisioning config files... 01:39:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11484682966328204703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:03 ---> ****-login.sh 01:39:03 nexus3.edgexfoundry.org:10001 01:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:04 Configure a credential helper to remove this warning. See 01:39:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:04 01:39:04 Login Succeeded 01:39:04 nexus3.edgexfoundry.org:10002 01:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:04 Configure a credential helper to remove this warning. See 01:39:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:04 01:39:04 Login Succeeded 01:39:04 nexus3.edgexfoundry.org:10003 01:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:04 Configure a credential helper to remove this warning. See 01:39:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:04 01:39:04 Login Succeeded 01:39:04 nexus3.edgexfoundry.org:10004 01:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:04 Configure a credential helper to remove this warning. See 01:39:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:04 01:39:04 Login Succeeded 01:39:04 ****.io 01:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:04 Configure a credential helper to remove this warning. See 01:39:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:04 01:39:04 Login Succeeded 01:39:04 ---> ****-login.sh ends [Pipeline] } 01:39:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:39:05 + git rev-list -1 --merges c373b56233cd9cbd8cdcfbe77523dd4dc7823e66~1..c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 [Pipeline] echo 01:39:05 -----------> git rev-list -1 --merges c373b56233cd9cbd8cdcfbe77523dd4dc7823e66~1..c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 [false] [Pipeline] sh 01:39:05 + git log --format=format:%s -1 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 [Pipeline] echo 01:39:05 ========================================================= 01:39:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:39:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:39:05 + git log --format=format:%s -1 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 [Pipeline] echo 01:39:06 [semverPrep] GIT_COMMIT: c373b56233cd9cbd8cdcfbe77523dd4dc7823e66, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#468) [Pipeline] echo 01:39:06 [semverPrep] This is not a build commit. [Pipeline] sh 01:39:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:39:06 + grep -v github /etc/ssh/ssh_known_hosts 01:39:06 + [ -e /tmp/ssh_known_hosts ] 01:39:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:39:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:39:06 + sudo tee -a /etc/ssh/ssh_known_hosts 01:39:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:39:06 01:39:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:39:07 0.1.4: Pulling from edgex-devops/py-git-semver 01:39:07 3dae71ba6b94: Pulling fs layer 01:39:07 6bf1a483ea7c: Pulling fs layer 01:39:07 f5dfc541a4d3: Pulling fs layer 01:39:07 461d9e800cba: Pulling fs layer 01:39:07 80192f66455f: Pulling fs layer 01:39:07 2e8e34ca0e6c: Pulling fs layer 01:39:07 a29436f7fd5d: Pulling fs layer 01:39:07 923cac83aea3: Pulling fs layer 01:39:07 25ad8b0a4227: Pulling fs layer 01:39:07 db01528c6b51: Pulling fs layer 01:39:07 28988de357af: Pulling fs layer 01:39:07 461d9e800cba: Waiting 01:39:07 2e8e34ca0e6c: Waiting 01:39:07 25ad8b0a4227: Waiting 01:39:07 a29436f7fd5d: Waiting 01:39:07 db01528c6b51: Waiting 01:39:07 923cac83aea3: Waiting 01:39:07 28988de357af: Waiting 01:39:07 6bf1a483ea7c: Verifying Checksum 01:39:07 6bf1a483ea7c: Download complete 01:39:07 461d9e800cba: Verifying Checksum 01:39:07 461d9e800cba: Download complete 01:39:07 80192f66455f: Verifying Checksum 01:39:07 80192f66455f: Download complete 01:39:07 f5dfc541a4d3: Verifying Checksum 01:39:07 f5dfc541a4d3: Download complete 01:39:07 3dae71ba6b94: Download complete 01:39:07 923cac83aea3: Verifying Checksum 01:39:07 923cac83aea3: Download complete 01:39:07 25ad8b0a4227: Verifying Checksum 01:39:07 25ad8b0a4227: Download complete 01:39:07 db01528c6b51: Download complete 01:39:07 28988de357af: Verifying Checksum 01:39:07 28988de357af: Download complete 01:39:07 a29436f7fd5d: Verifying Checksum 01:39:07 a29436f7fd5d: Download complete 01:39:08 2e8e34ca0e6c: Verifying Checksum 01:39:08 3dae71ba6b94: Pull complete 01:39:08 6bf1a483ea7c: Pull complete 01:39:09 f5dfc541a4d3: Pull complete 01:39:09 461d9e800cba: Pull complete 01:39:09 80192f66455f: Pull complete 01:39:12 2e8e34ca0e6c: Pull complete 01:39:13 a29436f7fd5d: Pull complete 01:39:13 923cac83aea3: Pull complete 01:39:13 25ad8b0a4227: Pull complete 01:39:13 db01528c6b51: Pull complete 01:39:14 28988de357af: Pull complete 01:39:14 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 01:39:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:39:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:14 prd-ubuntu20.04-docker-8c-8g-3168 does not seem to be running inside a container 01:39:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:39:16 $ docker top adcf0c810c3bc64625f4334871b732a0ed89e0457a404235807feaf26e7609b5 -eo pid,comm 01:39:16 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). 01:39:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:39:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:39:16 [ssh-agent] Looking for ssh-agent implementation... 01:39:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:39:16 $ docker exec adcf0c810c3bc64625f4334871b732a0ed89e0457a404235807feaf26e7609b5 ssh-agent 01:39:16 SSH_AUTH_SOCK=/tmp/ssh-4MIuqhii1kOy/agent.31 01:39:16 SSH_AGENT_PID=37 01:39:16 Running ssh-add (command line suppressed) 01:39:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13282752190855597508.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13282752190855597508.key) 01:39:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:39:17 + git tag --points-at HEAD [Pipeline] } 01:39:17 $ docker exec --env ******** --env ******** adcf0c810c3bc64625f4334871b732a0ed89e0457a404235807feaf26e7609b5 ssh-agent -k 01:39:17 unset SSH_AUTH_SOCK; 01:39:17 unset SSH_AGENT_PID; 01:39:17 echo Agent pid 37 killed; 01:39:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:39:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:39:17 [ssh-agent] Looking for ssh-agent implementation... 01:39:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:39:17 $ docker exec adcf0c810c3bc64625f4334871b732a0ed89e0457a404235807feaf26e7609b5 ssh-agent 01:39:17 SSH_AUTH_SOCK=/tmp/ssh-J4ow4Vx0HayS/agent.70 01:39:17 SSH_AGENT_PID=76 01:39:17 Running ssh-add (command line suppressed) 01:39:17 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5650520068949567547.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5650520068949567547.key) 01:39:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:39:17 + git semver init 01:39:18 2025-06-12 01:39:18,126 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:39:18 2025-06-12 01:39:18,131 [run_init] DEBUG init version:0.0.0 force:False 01:39:18 2025-06-12 01:39:18,132 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:39:18 2025-06-12 01:39:18,132 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:39:18 2025-06-12 01:39:18,132 [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) 01:39:20 2025-06-12 01:39:19,639 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:39:20 2025-06-12 01:39:19,640 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:39:20 2025-06-12 01:39:19,640 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:39:20 2025-06-12 01:39:19,641 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:39:20 4.1.0-dev.2 [Pipeline] } 01:39:20 $ docker exec --env ******** --env ******** adcf0c810c3bc64625f4334871b732a0ed89e0457a404235807feaf26e7609b5 ssh-agent -k 01:39:20 unset SSH_AUTH_SOCK; 01:39:20 unset SSH_AGENT_PID; 01:39:20 echo Agent pid 76 killed; 01:39:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:39:20 + git semver [Pipeline] } 01:39:20 $ docker stop --time=1 adcf0c810c3bc64625f4334871b732a0ed89e0457a404235807feaf26e7609b5 01:39:22 $ docker rm -f --volumes adcf0c810c3bc64625f4334871b732a0ed89e0457a404235807feaf26e7609b5 [Pipeline] // withDockerContainer [Pipeline] sh 01:39:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:39:22 Stashed 1 file(s) [Pipeline] echo 01:39:22 [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 01:39:22 provisioning config files... 01:39:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8429897910641586639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:23 ---> ****-login.sh 01:39:23 nexus3.edgexfoundry.org:10001 01:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:23 Configure a credential helper to remove this warning. See 01:39:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:23 01:39:23 Login Succeeded 01:39:23 nexus3.edgexfoundry.org:10002 01:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:23 Configure a credential helper to remove this warning. See 01:39:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:23 01:39:23 Login Succeeded 01:39:23 nexus3.edgexfoundry.org:10003 01:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:23 Configure a credential helper to remove this warning. See 01:39:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:23 01:39:23 Login Succeeded 01:39:23 nexus3.edgexfoundry.org:10004 01:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:23 Configure a credential helper to remove this warning. See 01:39:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:23 01:39:23 Login Succeeded 01:39:23 ****.io 01:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:23 Configure a credential helper to remove this warning. See 01:39:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:23 01:39:23 Login Succeeded 01:39:23 ---> ****-login.sh ends [Pipeline] } 01:39:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:39:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:39:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:39:23 ========================================================= 01:39:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:39:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:24 + 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 . 01:39:24 Sending build context to Docker daemon 21.64MB 01:39:24 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:39:24 Step 2/12 : FROM ${BASE} AS builder 01:39:24 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:39:24 0a9a5dfd008f: Pulling fs layer 01:39:24 dbfa0bcfca99: Pulling fs layer 01:39:24 70eabb1d9476: Pulling fs layer 01:39:24 957bedc73fa3: Pulling fs layer 01:39:24 4f4fb700ef54: Pulling fs layer 01:39:24 f40432e63723: Pulling fs layer 01:39:24 90b4343acab7: Pulling fs layer 01:39:24 9f67ea4ac784: Pulling fs layer 01:39:24 9228b9a606be: Pulling fs layer 01:39:24 4f4fb700ef54: Waiting 01:39:24 f40432e63723: Waiting 01:39:24 9228b9a606be: Waiting 01:39:24 957bedc73fa3: Waiting 01:39:24 90b4343acab7: Waiting 01:39:24 9f67ea4ac784: Waiting 01:39:24 dbfa0bcfca99: Verifying Checksum 01:39:24 dbfa0bcfca99: Download complete 01:39:24 957bedc73fa3: Download complete 01:39:24 4f4fb700ef54: Verifying Checksum 01:39:24 4f4fb700ef54: Download complete 01:39:24 f40432e63723: Download complete 01:39:24 0a9a5dfd008f: Verifying Checksum 01:39:24 0a9a5dfd008f: Download complete 01:39:24 90b4343acab7: Verifying Checksum 01:39:24 90b4343acab7: Download complete 01:39:24 0a9a5dfd008f: Pull complete 01:39:24 9228b9a606be: Verifying Checksum 01:39:24 9228b9a606be: Download complete 01:39:24 dbfa0bcfca99: Pull complete 01:39:25 70eabb1d9476: Verifying Checksum 01:39:25 70eabb1d9476: Download complete 01:39:25 9f67ea4ac784: Verifying Checksum 01:39:25 9f67ea4ac784: Download complete 01:39:28 70eabb1d9476: Pull complete 01:39:28 957bedc73fa3: Pull complete 01:39:28 4f4fb700ef54: Pull complete 01:39:28 f40432e63723: Pull complete 01:39:28 90b4343acab7: Pull complete 01:39:31 9f67ea4ac784: Pull complete 01:39:31 9228b9a606be: Pull complete 01:39:31 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 01:39:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:39:31 ---> 69404ca5bff2 01:39:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:39:33 ---> Running in 6d2e090ef22d 01:39:33 Removing intermediate container 6d2e090ef22d 01:39:33 ---> 77897d6be7be 01:39:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:39:33 ---> Running in 234bc82c9bf3 01:39:33 Removing intermediate container 234bc82c9bf3 01:39:33 ---> 072354aa8beb 01:39:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:39:33 ---> Running in b3dd2e898805 01:39:33 Removing intermediate container b3dd2e898805 01:39:33 ---> f8195f58be36 01:39:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:39:33 ---> Running in a091b8f12945 01:39:33 Removing intermediate container a091b8f12945 01:39:33 ---> 0699d2fcf5a3 01:39:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:39:33 ---> Running in f3f1795f6fbf 01:39:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:39:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:39:34 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:39:34 (2/4) Installing libedit (20240517.3.1-r0) 01:39:34 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:39:34 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:39:34 Executing busybox-1.36.1-r29.trigger 01:39:34 OK: 252 MiB in 62 packages 01:39:34 Removing intermediate container f3f1795f6fbf 01:39:34 ---> 7ab18b42f04d 01:39:34 Step 8/12 : WORKDIR /device-rest-go 01:39:34 ---> Running in 61c9042cf600 01:39:34 Removing intermediate container 61c9042cf600 01:39:34 ---> 6a3ca849cb81 01:39:34 Step 9/12 : COPY go.mod vendor* ./ 01:39:35 ---> be72e4b5611f 01:39:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:39:35 ---> Running in c3f357057b22 01:39:37 Still waiting to schedule task 01:39:37 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3167’ 01:40:19 Removing intermediate container c3f357057b22 01:40:19 ---> 7fbd7814264b 01:40:19 Step 11/12 : COPY . . 01:40:19 ---> 1d92f511d0f9 01:40:19 Step 12/12 : RUN $MAKE 01:40:19 ---> Running in fc757bf5f982 01:40:19 noop 01:40:20 Removing intermediate container fc757bf5f982 01:40:20 ---> bb887feb01be 01:40:20 Successfully built bb887feb01be 01:40:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:20 + docker inspect -f . ci-base-image-x86_64 01:40:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:20 prd-ubuntu20.04-docker-8c-8g-3168 does not seem to be running inside a container 01:40:20 $ 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 ******** ci-base-image-x86_64 cat 01:40:20 $ docker top 7382aeea9670d824bf4b3f1bd348a946da6b61aa6b788d151f080d4f16113614 -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:21 + go version 01:40:21 go version go1.23.8 linux/amd64 [Pipeline] } 01:40:21 $ docker stop --time=1 7382aeea9670d824bf4b3f1bd348a946da6b61aa6b788d151f080d4f16113614 01:40:22 $ docker rm -f --volumes 7382aeea9670d824bf4b3f1bd348a946da6b61aa6b788d151f080d4f16113614 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:22 + docker inspect -f . ci-base-image-x86_64 01:40:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:23 prd-ubuntu20.04-docker-8c-8g-3168 does not seem to be running inside a container 01:40:23 $ 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 ******** ci-base-image-x86_64 cat 01:40:23 $ docker top f03b1b234545fde77030ce94768b8cc3bdc0e2a0c0e8d9758f934e9616f648fb -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:40:24 + make test 01:40:24 go test ./... -coverprofile=coverage.out ./... 01:40:25 ? github.com/edgexfoundry/device-rest-go [no test files] 01:40:43 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:40:43 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 32.2% of statements 01:40:53 go vet ./... 01:40:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:40:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:40:57 ./bin/test-attribution-txt.sh 01:40:57 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 01:40:57 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo 01:40:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:40:57 $ docker stop --time=1 f03b1b234545fde77030ce94768b8cc3bdc0e2a0c0e8d9758f934e9616f648fb 01:40:59 $ docker rm -f --volumes f03b1b234545fde77030ce94768b8cc3bdc0e2a0c0e8d9758f934e9616f648fb [Pipeline] // withDockerContainer [Pipeline] sh 01:41:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:41:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:41:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:41:01 + ls -al . 01:41:01 total 244 01:41:01 drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 01:40 . 01:41:01 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 01:38 .. 01:41:01 -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 01:38 .dockerignore 01:41:01 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 01:40 .git 01:41:01 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 01:38 .github 01:41:01 -rw-rw-r-- 1 jenkins jenkins 264 Jun 12 01:38 .gitignore 01:41:01 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 01:38 .golangci.yml 01:41:01 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 01:39 .semver 01:41:01 -rw-rw-r-- 1 jenkins jenkins 20138 Jun 12 01:38 Attribution.txt 01:41:01 -rw-rw-r-- 1 jenkins jenkins 18492 Jun 12 01:38 CHANGELOG.md 01:41:01 -rw-rw-r-- 1 jenkins jenkins 1697 Jun 12 01:38 Dockerfile 01:41:01 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 01:38 GOVERNANCE.md 01:41:01 -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 01:38 Jenkinsfile 01:41:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 01:38 LICENSE 01:41:01 -rw-rw-r-- 1 jenkins jenkins 2598 Jun 12 01:38 Makefile 01:41:01 -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 01:38 OWNERS.md 01:41:01 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 12 01:38 README.md 01:41:01 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 01:39 VERSION 01:41:01 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 01:38 bin 01:41:01 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 01:38 cmd 01:41:01 -rw-r--r-- 1 jenkins jenkins 14565 Jun 12 01:40 coverage.out 01:41:01 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 01:38 driver 01:41:01 -rw-rw-r-- 1 jenkins jenkins 6272 Jun 12 01:38 go.mod 01:41:01 -rw-rw-r-- 1 jenkins jenkins 86413 Jun 12 01:38 go.sum 01:41:01 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 01:38 openapi 01:41:01 -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 01:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:01 + 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=c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 --label arch=amd64 --label version=4.1.0-dev.2 . 01:41:01 Sending build context to Docker daemon 21.66MB 01:41:01 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:41:01 Step 2/26 : FROM ${BASE} AS builder 01:41:01 ---> bb887feb01be 01:41:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:41:02 ---> Running in 527832dec83f 01:41:02 Removing intermediate container 527832dec83f 01:41:02 ---> 41feeb246836 01:41:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:41:02 ---> Running in 4b0cb9f2b314 01:41:02 Removing intermediate container 4b0cb9f2b314 01:41:02 ---> e77efa40ca6b 01:41:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:41:02 ---> Running in f4be1494f5f8 01:41:02 Removing intermediate container f4be1494f5f8 01:41:02 ---> a13f3266728b 01:41:02 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:41:02 ---> Running in 30994e6d6aed 01:41:02 Removing intermediate container 30994e6d6aed 01:41:02 ---> 3c3870dfbdd8 01:41:02 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:02 ---> Running in 0096e3232dca 01:41:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:41:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:41:03 OK: 252 MiB in 62 packages 01:41:03 Removing intermediate container 0096e3232dca 01:41:03 ---> 1381ad2b0a7a 01:41:03 Step 8/26 : WORKDIR /device-rest-go 01:41:03 ---> Running in 42d78e59b67f 01:41:03 Removing intermediate container 42d78e59b67f 01:41:03 ---> 49534e923535 01:41:03 Step 9/26 : COPY go.mod vendor* ./ 01:41:03 ---> 45a135cc4ecb 01:41:03 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:03 ---> Running in 4faf69475caf 01:41:04 Removing intermediate container 4faf69475caf 01:41:04 ---> 6748a411d3a9 01:41:04 Step 11/26 : COPY . . 01:41:04 ---> 60b0bb84064e 01:41:04 Step 12/26 : RUN $MAKE 01:41:04 ---> Running in b2ecb1ce26ef 01:41:05 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.10 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:41:37 Removing intermediate container b2ecb1ce26ef 01:41:37 ---> 4f994a7b1585 01:41:37 Step 13/26 : FROM alpine:3.20 01:41:37 3.20: Pulling from library/alpine 01:41:37 0a9a5dfd008f: Already exists 01:41:37 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:41:37 Status: Downloaded newer image for alpine:3.20 01:41:37 ---> ff221270b9fb 01:41:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:41:37 ---> Running in 3b61df95387c 01:41:37 Removing intermediate container 3b61df95387c 01:41:37 ---> 28dac411abc1 01:41:37 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:41:37 ---> Running in 4163c8f47551 01:41:38 Removing intermediate container 4163c8f47551 01:41:38 ---> eaf007875620 01:41:38 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:41:38 ---> Running in 1bd96a691b96 01:41:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:41:39 (1/1) Installing dumb-init (1.2.5-r3) 01:41:39 Executing busybox-1.36.1-r29.trigger 01:41:39 OK: 8 MiB in 15 packages 01:41:39 Removing intermediate container 1bd96a691b96 01:41:39 ---> 4902efd3e458 01:41:39 Step 17/26 : RUN apk --no-cache upgrade 01:41:39 ---> Running in ca039bc12dff 01:41:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:41:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:41:40 OK: 8 MiB in 15 packages 01:41:40 Removing intermediate container ca039bc12dff 01:41:40 ---> bb44047a8f75 01:41:40 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:41:41 ---> b541a77361dd 01:41:41 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:41:41 ---> a2be29a2c83e 01:41:41 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:41:41 ---> 3b345d9116b8 01:41:41 Step 21/26 : EXPOSE 59986 01:41:41 ---> Running in 700e9eab4156 01:41:41 Removing intermediate container 700e9eab4156 01:41:41 ---> a3a02a9ffe37 01:41:41 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:41:41 ---> Running in cde092bdf112 01:41:41 Removing intermediate container cde092bdf112 01:41:41 ---> b2e8cc2361e4 01:41:41 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:41:41 ---> Running in bf4b0cd87dd5 01:41:41 Removing intermediate container bf4b0cd87dd5 01:41:41 ---> 4b2fcd476b82 01:41:41 Step 24/26 : LABEL arch=amd64 01:41:41 ---> Running in 024a4471bf5c 01:41:41 Removing intermediate container 024a4471bf5c 01:41:41 ---> 57874ef18f57 01:41:41 Step 25/26 : LABEL git_sha=c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:41:41 ---> Running in 3bd5c98a012b 01:41:41 Removing intermediate container 3bd5c98a012b 01:41:41 ---> c47a75bbf69e 01:41:41 Step 26/26 : LABEL version=4.1.0-dev.2 01:41:41 ---> Running in 333bfa7d03bf 01:41:41 Removing intermediate container 333bfa7d03bf 01:41:41 ---> 583948d02187 01:41:41 [Warning] One or more build-args [ARCH] were not consumed 01:41:41 Successfully built 583948d02187 01:41:41 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:42 provisioning config files... 01:41:42 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5116203371231495314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:42 ---> ****-login.sh 01:41:42 nexus3.edgexfoundry.org:10001 01:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:42 Configure a credential helper to remove this warning. See 01:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:42 01:41:42 Login Succeeded 01:41:42 nexus3.edgexfoundry.org:10002 01:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:42 Configure a credential helper to remove this warning. See 01:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:42 01:41:42 Login Succeeded 01:41:42 nexus3.edgexfoundry.org:10003 01:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:42 Configure a credential helper to remove this warning. See 01:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:42 01:41:42 Login Succeeded 01:41:42 nexus3.edgexfoundry.org:10004 01:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:42 Configure a credential helper to remove this warning. See 01:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:42 01:41:42 Login Succeeded 01:41:42 ****.io 01:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:42 Configure a credential helper to remove this warning. See 01:41:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:42 01:41:42 Login Succeeded 01:41:42 ---> ****-login.sh ends [Pipeline] } 01:41:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:41:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:41:43 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:41:43 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:41:43 latest 01:41:43 4.1.0-dev.2 01:41:43 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 01:41:43 main 01:41:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:41:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:41:43 24efbc43bee0: Preparing 01:41:43 2f22252756d0: Preparing 01:41:43 0b185407c98e: Preparing 01:41:43 6d8d99126e98: Preparing 01:41:43 fa87359c01dd: Preparing 01:41:43 994456c4fd7b: Preparing 01:41:43 994456c4fd7b: Waiting 01:41:43 fa87359c01dd: Pushed 01:41:43 6d8d99126e98: Pushed 01:41:43 24efbc43bee0: Pushed 01:41:43 2f22252756d0: Pushed 01:41:43 994456c4fd7b: Layer already exists 01:41:47 0b185407c98e: Pushed 01:41:47 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66: digest: sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:47 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:41:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:41:47 24efbc43bee0: Preparing 01:41:47 2f22252756d0: Preparing 01:41:47 0b185407c98e: Preparing 01:41:47 6d8d99126e98: Preparing 01:41:47 fa87359c01dd: Preparing 01:41:47 994456c4fd7b: Preparing 01:41:47 994456c4fd7b: Waiting 01:41:47 24efbc43bee0: Layer already exists 01:41:47 2f22252756d0: Layer already exists 01:41:47 6d8d99126e98: Layer already exists 01:41:47 0b185407c98e: Layer already exists 01:41:47 fa87359c01dd: Layer already exists 01:41:47 994456c4fd7b: Layer already exists 01:41:47 latest: digest: sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:48 + 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 01:41:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 01:41:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:41:48 24efbc43bee0: Preparing 01:41:48 2f22252756d0: Preparing 01:41:48 0b185407c98e: Preparing 01:41:48 6d8d99126e98: Preparing 01:41:48 fa87359c01dd: Preparing 01:41:48 994456c4fd7b: Preparing 01:41:48 6d8d99126e98: Layer already exists 01:41:48 fa87359c01dd: Layer already exists 01:41:48 0b185407c98e: Layer already exists 01:41:48 24efbc43bee0: Layer already exists 01:41:48 2f22252756d0: Layer already exists 01:41:48 994456c4fd7b: Layer already exists 01:41:48 4.1.0-dev.2: digest: sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 01:41:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:41:49 24efbc43bee0: Preparing 01:41:49 2f22252756d0: Preparing 01:41:49 0b185407c98e: Preparing 01:41:49 6d8d99126e98: Preparing 01:41:49 fa87359c01dd: Preparing 01:41:49 994456c4fd7b: Preparing 01:41:49 994456c4fd7b: Waiting 01:41:49 2f22252756d0: Layer already exists 01:41:49 6d8d99126e98: Layer already exists 01:41:49 24efbc43bee0: Layer already exists 01:41:49 fa87359c01dd: Layer already exists 01:41:49 0b185407c98e: Layer already exists 01:41:49 994456c4fd7b: Layer already exists 01:41:49 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2: digest: sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:41:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:41:49 24efbc43bee0: Preparing 01:41:49 2f22252756d0: Preparing 01:41:49 0b185407c98e: Preparing 01:41:49 6d8d99126e98: Preparing 01:41:49 fa87359c01dd: Preparing 01:41:49 994456c4fd7b: Preparing 01:41:49 994456c4fd7b: Waiting 01:41:49 24efbc43bee0: Layer already exists 01:41:49 6d8d99126e98: Layer already exists 01:41:49 0b185407c98e: Layer already exists 01:41:49 fa87359c01dd: Layer already exists 01:41:49 2f22252756d0: Layer already exists 01:41:49 994456c4fd7b: Layer already exists 01:41:49 main: digest: sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:41:49 ===================================================== [Pipeline] echo 01:41:49 taggedImages: 01:41:49 - nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:41:49 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:41:49 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 01:41:49 - nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 01:41:49 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 01:41:49 ========================================================= 01:41:49 [edgeXBuildMultiArch] RAW Config: 01:41:49 images: 01:41:49 - nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:41:49 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:41:49 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 01:41:49 - nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 01:41:49 - nexus3.edgexfoundry.org:10004/device-rest:main 01:41:49 settingsFile: 01:41:49 device-rest-go-settings 01:41:49 ========================================================= [Pipeline] node 01:42:04 Still waiting to schedule task 01:42:04 All nodes of label ‘centos7-docker-4c-2g’ are offline 01:42:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3170 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:42:30 Running in /w/workspace/device-rest-go/196 [Pipeline] { [Pipeline] checkout 01:42:33 The recommended git tool is: git 01:42:38 using credential edgex-jenkins-ssh 01:42:38 Cloning the remote Git repository 01:42:38 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:42:38 > git init /w/workspace/device-rest-go/196 # timeout=10 01:42:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:42:39 > git --version # timeout=10 01:42:39 > git --version # 'git version 2.25.1' 01:42:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:42:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:42:43 Avoid second fetch 01:42:43 Checking out Revision c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 (main) 01:42:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:42:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:42:43 > git config core.sparsecheckout # timeout=10 01:42:44 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#468)" 01:42:43 > git checkout -f c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:42:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:42:49 % Total % Received % Xferd Average Speed Time Time Time Current 01:42:49 Dload Upload Total Spent Left Speed 01:42:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13063 100 13063 0 0 84277 0 --:--:-- --:--:-- --:--:-- 84277 [Pipeline] sh 01:42:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:42:50 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 01:42:50 /etc/docker/daemon.json 01:42:50 { 01:42:50 "registry-mirrors": [ 01:42:50 "https://nexus3.edgexfoundry.org:10001" 01:42:50 ], 01:42:50 "bip": "10.250.0.254/24", 01:42:50 "hosts": [ 01:42:50 "tcp://0.0.0.0:5555", 01:42:50 "unix:///var/run/docker.sock" 01:42:50 ], 01:42:50 "mtu": 1458, 01:42:50 "selinux-enabled": true, 01:42:50 "seccomp-profile": "/etc/docker/seccomp.json" 01:42:50 } [Pipeline] sh 01:42:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:42:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:43:09 provisioning config files... 01:43:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/196@tmp/config13300596621314431294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:09 ---> ****-login.sh 01:43:09 nexus3.edgexfoundry.org:10001 01:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:10 Configure a credential helper to remove this warning. See 01:43:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:10 01:43:10 Login Succeeded 01:43:10 nexus3.edgexfoundry.org:10002 01:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:10 Configure a credential helper to remove this warning. See 01:43:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:10 01:43:10 Login Succeeded 01:43:10 nexus3.edgexfoundry.org:10003 01:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:10 Configure a credential helper to remove this warning. See 01:43:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:10 01:43:10 Login Succeeded 01:43:10 nexus3.edgexfoundry.org:10004 01:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:11 Configure a credential helper to remove this warning. See 01:43:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:11 01:43:11 Login Succeeded 01:43:11 ****.io 01:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:11 Configure a credential helper to remove this warning. See 01:43:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:11 01:43:11 Login Succeeded 01:43:11 ---> ****-login.sh ends [Pipeline] } 01:43:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:43:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:43:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:43:12 ========================================================= 01:43:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:43:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:12 + 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 . 01:43:12 Sending build context to Docker daemon 141.8kB 01:43:12 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:43:12 Step 2/12 : FROM ${BASE} AS builder 01:43:13 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:43:13 94e9d8af2201: Pulling fs layer 01:43:13 634366ca850b: Pulling fs layer 01:43:13 f66ade281fe9: Pulling fs layer 01:43:13 13fd4ce6e94e: Pulling fs layer 01:43:13 4f4fb700ef54: Pulling fs layer 01:43:13 4cccf3f17d63: Pulling fs layer 01:43:13 2d8010953d95: Pulling fs layer 01:43:13 ec743f232bc5: Pulling fs layer 01:43:13 13fd4ce6e94e: Waiting 01:43:13 4f4fb700ef54: Waiting 01:43:13 2d8010953d95: Waiting 01:43:13 4cccf3f17d63: Waiting 01:43:13 ec743f232bc5: Waiting 01:43:13 634366ca850b: Verifying Checksum 01:43:13 634366ca850b: Download complete 01:43:13 13fd4ce6e94e: Verifying Checksum 01:43:13 13fd4ce6e94e: Download complete 01:43:13 4f4fb700ef54: Verifying Checksum 01:43:13 4f4fb700ef54: Download complete 01:43:13 4cccf3f17d63: Verifying Checksum 01:43:13 4cccf3f17d63: Download complete 01:43:13 94e9d8af2201: Download complete 01:43:13 ec743f232bc5: Verifying Checksum 01:43:13 ec743f232bc5: Download complete 01:43:14 94e9d8af2201: Pull complete 01:43:14 634366ca850b: Pull complete 01:43:15 f66ade281fe9: Verifying Checksum 01:43:15 f66ade281fe9: Download complete 01:43:16 2d8010953d95: Verifying Checksum 01:43:16 2d8010953d95: Download complete 01:43:29 Running on prd-centos7-docker-4c-2g-3172 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:43:29 provisioning config files... 01:43:29 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config467197382297638597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:30 ---> ****-login.sh 01:43:30 nexus3.edgexfoundry.org:10001 01:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:31 Configure a credential helper to remove this warning. See 01:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:31 01:43:31 Login Succeeded 01:43:31 nexus3.edgexfoundry.org:10002 01:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:31 Configure a credential helper to remove this warning. See 01:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:31 01:43:31 Login Succeeded 01:43:31 nexus3.edgexfoundry.org:10003 01:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:31 Configure a credential helper to remove this warning. See 01:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:31 01:43:31 Login Succeeded 01:43:31 nexus3.edgexfoundry.org:10004 01:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:31 f66ade281fe9: Pull complete 01:43:31 13fd4ce6e94e: Pull complete 01:43:31 4f4fb700ef54: Pull complete 01:43:31 4cccf3f17d63: Pull complete 01:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:31 Configure a credential helper to remove this warning. See 01:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:31 01:43:31 Login Succeeded 01:43:31 ****.io 01:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:43:31 Configure a credential helper to remove this warning. See 01:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:43:31 01:43:31 Login Succeeded 01:43:31 ---> ****-login.sh ends [Pipeline] } 01:43:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:43:32 + docker buildx ls 01:43:33 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:43:33 default * docker 01:43:33 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:43:34 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 01:43:34 edgex-builder [Pipeline] sh 01:43:35 + docker buildx inspect --bootstrap 01:43:35 #1 [internal] booting buildkit 01:43:35 #1 pulling image moby/buildkit:buildx-stable-1 01:43:39 2d8010953d95: Pull complete 01:43:40 ec743f232bc5: Pull complete 01:43:40 Digest: sha256:a6e51edf931e1c2109943d1a62f1c16b78b2281728f1935e6b3d8efd9a0c5dda 01:43:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:43:40 ---> 12c1d4c06be1 01:43:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:43:40 #1 pulling image moby/buildkit:buildx-stable-1 4.4s done 01:43:40 #1 creating container buildx_buildkit_edgex-builder0 01:43:42 ---> Running in 61d218f787f9 01:43:42 Removing intermediate container 61d218f787f9 01:43:42 ---> 2206543384e4 01:43:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:43:42 ---> Running in b3e6e4dc12ae 01:43:43 #1 creating container buildx_buildkit_edgex-builder0 3.4s done 01:43:43 #1 DONE 7.8s 01:43:43 Name: edgex-builder 01:43:43 Driver: docker-container 01:43:43 01:43:43 Nodes: 01:43:43 Name: edgex-builder0 01:43:43 Endpoint: unix:///var/run/docker.sock 01:43:43 Status: running 01:43:43 Buildkit: v0.22.0 01:43:43 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 01:43:43 Removing intermediate container b3e6e4dc12ae 01:43:43 ---> 720a75e2903e 01:43:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:43:43 ---> Running in 641ec0c6fdd0 01:43:43 + docker buildx ls 01:43:43 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 01:43:43 edgex-builder * docker-container 01:43:43 edgex-builder0 unix:///var/run/docker.sock running v0.22.0 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 01:43:43 default docker 01:43:43 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 01:43:43 Removing intermediate container 641ec0c6fdd0 01:43:43 ---> c06f52240fed 01:43:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:43:43 ---> Running in b9158c109cd4 01:43:43 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66' 01:43:43 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 --push - 01:43:43 Removing intermediate container b9158c109cd4 01:43:43 ---> ca03c4f55e4b 01:43:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:43:43 ---> Running in 1c28ff3bebdd 01:43:43 #1 [internal] load build definition from Dockerfile 01:43:43 #1 transferring dockerfile: 196B done 01:43:43 #1 DONE 0.0s 01:43:43 01:43:43 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:43:43 #2 DONE 0.1s 01:43:43 01:43:43 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:43:43 #3 DONE 0.1s 01:43:43 01:43:43 #4 [internal] load .dockerignore 01:43:43 #4 transferring context: 2B done 01:43:43 #4 DONE 0.0s 01:43:43 01:43:43 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:43 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 0.0s done 01:43:43 #5 DONE 0.0s 01:43:43 01:43:43 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:43 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 0.0s done 01:43:43 #6 DONE 0.1s 01:43:44 01:43:44 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:43:44 #7 DONE 0.0s 01:43:44 01:43:44 #8 exporting to image 01:43:44 #8 exporting layers done 01:43:44 #8 exporting manifest sha256:b52362f6747e40107ed883e487bfdeb6faaff0ec143f7c5ef0ab5cf6092d9762 done 01:43:44 #8 exporting config sha256:70a9abb3ebd96ce0b0e7284cd785be87b1a9ea9cbb549fecd7a356aa9a248857 0.0s done 01:43:44 #8 exporting manifest sha256:f3e545222b50d0f00b0b688e945ae7d10501b0752655a0864d520ce80617c6f3 done 01:43:44 #8 exporting config sha256:9876208de9cf3d479d2acc2da55b706fd58ee4196fe7e51be82f8326b1d962e0 done 01:43:44 #8 exporting manifest list sha256:ba54087aee361f509bc53458318efcc28973a1306e210a62d6ff631c2ae9fea5 done 01:43:44 #8 pushing layers 01:43:44 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:43:44 #8 pushing layers 0.1s done 01:43:44 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66@sha256:ba54087aee361f509bc53458318efcc28973a1306e210a62d6ff631c2ae9fea5 0.1s done 01:43:44 #8 DONE 0.2s 01:43:44 01:43:44 1 warning found (use --debug to expand): 01:43:44  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:43:44 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 01:43:44 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 01:43:44 #1 [internal] load build definition from Dockerfile 01:43:44 #1 transferring dockerfile: 162B done 01:43:44 #1 DONE 0.0s 01:43:44 01:43:44 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:43:44 #2 DONE 0.0s 01:43:44 01:43:44 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 01:43:44 #3 DONE 0.0s 01:43:44 01:43:44 #4 [internal] load .dockerignore 01:43:44 #4 transferring context: 2B done 01:43:44 #4 DONE 0.0s 01:43:44 01:43:44 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:44 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 0.0s done 01:43:44 #5 DONE 0.0s 01:43:44 01:43:44 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:44 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 0.0s done 01:43:44 #6 CACHED 01:43:44 01:43:44 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:44 #5 CACHED 01:43:44 01:43:44 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:43:44 #7 DONE 0.0s 01:43:44 01:43:44 #8 exporting to image 01:43:44 #8 exporting layers done 01:43:44 #8 exporting manifest sha256:b52362f6747e40107ed883e487bfdeb6faaff0ec143f7c5ef0ab5cf6092d9762 done 01:43:44 #8 exporting config sha256:70a9abb3ebd96ce0b0e7284cd785be87b1a9ea9cbb549fecd7a356aa9a248857 done 01:43:44 #8 exporting manifest sha256:f3e545222b50d0f00b0b688e945ae7d10501b0752655a0864d520ce80617c6f3 done 01:43:44 #8 exporting config sha256:9876208de9cf3d479d2acc2da55b706fd58ee4196fe7e51be82f8326b1d962e0 done 01:43:44 #8 exporting manifest list sha256:ba54087aee361f509bc53458318efcc28973a1306e210a62d6ff631c2ae9fea5 done 01:43:44 #8 pushing layers 0.0s done 01:43:44 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:ba54087aee361f509bc53458318efcc28973a1306e210a62d6ff631c2ae9fea5 0.1s done 01:43:44 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:43:44 #8 DONE 0.1s 01:43:44 01:43:44 1 warning found (use --debug to expand): 01:43:44  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:43:45 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2' 01:43:45 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 --push - 01:43:45 #1 [internal] load build definition from Dockerfile 01:43:45 #1 transferring dockerfile: 167B done 01:43:45 #1 DONE 0.0s 01:43:45 01:43:45 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 01:43:45 #2 DONE 0.0s 01:43:45 01:43:45 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 01:43:45 #3 DONE 0.1s 01:43:45 01:43:45 #4 [internal] load .dockerignore 01:43:45 #4 transferring context: 01:43:45 #4 transferring context: 2B done 01:43:45 #4 DONE 0.1s 01:43:45 01:43:45 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:45 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 0.0s done 01:43:45 #5 DONE 0.1s 01:43:45 01:43:45 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:43:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:43:45 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 0.0s done 01:43:45 #6 CACHED 01:43:45 01:43:45 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:45 #5 CACHED 01:43:45 01:43:45 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:43:45 #7 DONE 0.0s 01:43:45 01:43:45 #8 exporting to image 01:43:45 #8 exporting layers done 01:43:45 #8 exporting manifest sha256:b52362f6747e40107ed883e487bfdeb6faaff0ec143f7c5ef0ab5cf6092d9762 done 01:43:45 #8 exporting config sha256:70a9abb3ebd96ce0b0e7284cd785be87b1a9ea9cbb549fecd7a356aa9a248857 done 01:43:45 #8 exporting manifest sha256:f3e545222b50d0f00b0b688e945ae7d10501b0752655a0864d520ce80617c6f3 done 01:43:45 #8 exporting config sha256:9876208de9cf3d479d2acc2da55b706fd58ee4196fe7e51be82f8326b1d962e0 done 01:43:45 #8 exporting manifest list sha256:ba54087aee361f509bc53458318efcc28973a1306e210a62d6ff631c2ae9fea5 done 01:43:45 #8 pushing layers 0.0s done 01:43:45 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:ba54087aee361f509bc53458318efcc28973a1306e210a62d6ff631c2ae9fea5 0.1s done 01:43:45 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:43:45 #8 DONE 0.1s 01:43:45 01:43:45 1 warning found (use --debug to expand): 01:43:45  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:43:45 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2' 01:43:45 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 --push - 01:43:46 #1 [internal] load build definition from Dockerfile 01:43:46 #1 transferring dockerfile: 208B done 01:43:46 #1 DONE 0.0s 01:43:46 01:43:46 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 01:43:46 #2 DONE 0.0s 01:43:46 01:43:46 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 01:43:46 #3 DONE 0.0s 01:43:46 01:43:46 #4 [internal] load .dockerignore 01:43:46 #4 transferring context: 2B done 01:43:46 #4 DONE 0.0s 01:43:46 01:43:46 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:46 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 0.0s done 01:43:46 #5 DONE 0.0s 01:43:46 01:43:46 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:46 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 0.0s done 01:43:46 #6 CACHED 01:43:46 01:43:46 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:46 #5 CACHED 01:43:46 01:43:46 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:43:46 #7 DONE 0.0s 01:43:46 01:43:46 #8 exporting to image 01:43:46 #8 exporting layers done 01:43:46 #8 exporting manifest sha256:b52362f6747e40107ed883e487bfdeb6faaff0ec143f7c5ef0ab5cf6092d9762 done 01:43:46 #8 exporting config sha256:70a9abb3ebd96ce0b0e7284cd785be87b1a9ea9cbb549fecd7a356aa9a248857 done 01:43:46 #8 exporting manifest sha256:f3e545222b50d0f00b0b688e945ae7d10501b0752655a0864d520ce80617c6f3 done 01:43:46 #8 exporting config sha256:9876208de9cf3d479d2acc2da55b706fd58ee4196fe7e51be82f8326b1d962e0 done 01:43:46 #8 exporting manifest list sha256:ba54087aee361f509bc53458318efcc28973a1306e210a62d6ff631c2ae9fea5 done 01:43:46 #8 pushing layers 0.0s done 01:43:46 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2@sha256:ba54087aee361f509bc53458318efcc28973a1306e210a62d6ff631c2ae9fea5 0.1s done 01:43:46 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:43:46 #8 DONE 0.1s 01:43:46 01:43:46 1 warning found (use --debug to expand): 01:43:46  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 01:43:46 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 01:43:46 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 01:43:46 #1 [internal] load build definition from Dockerfile 01:43:46 #1 transferring dockerfile: 160B done 01:43:46 #1 DONE 0.0s 01:43:46 01:43:46 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:43:46 #2 DONE 0.0s 01:43:46 01:43:46 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 01:43:46 #3 DONE 0.0s 01:43:46 01:43:46 #4 [internal] load .dockerignore 01:43:46 #4 transferring context: 2B done 01:43:46 #4 DONE 0.0s 01:43:46 01:43:46 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:46 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 0.0s done 01:43:46 #5 CACHED 01:43:46 01:43:46 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 01:43:46 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:05de08110cab27490405d4d20d674db8ca4afd0a102c017c96c4d2ca306d444b 0.0s done 01:43:46 #6 CACHED 01:43:46 01:43:46 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 01:43:46 #7 DONE 0.0s 01:43:46 01:43:46 #8 exporting to image 01:43:46 #8 exporting layers done 01:43:46 #8 exporting manifest sha256:b52362f6747e40107ed883e487bfdeb6faaff0ec143f7c5ef0ab5cf6092d9762 done 01:43:46 #8 exporting config sha256:70a9abb3ebd96ce0b0e7284cd785be87b1a9ea9cbb549fecd7a356aa9a248857 done 01:43:46 #8 exporting manifest sha256:f3e545222b50d0f00b0b688e945ae7d10501b0752655a0864d520ce80617c6f3 done 01:43:46 #8 exporting config sha256:9876208de9cf3d479d2acc2da55b706fd58ee4196fe7e51be82f8326b1d962e0 done 01:43:46 #8 exporting manifest list sha256:ba54087aee361f509bc53458318efcc28973a1306e210a62d6ff631c2ae9fea5 done 01:43:46 #8 pushing layers 0.0s done 01:43:46 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:ba54087aee361f509bc53458318efcc28973a1306e210a62d6ff631c2ae9fea5 0.1s done 01:43:46 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 01:43:46 #8 DONE 0.1s 01:43:46 01:43:46 1 warning found (use --debug to expand): 01:43:46  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:43:47 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 01:43:47 ---> sysstat.sh 01:43:47 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:43:47 (2/4) Installing libedit (20240517.3.1-r0) 01:43:47 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:43:47 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:43:47 Executing busybox-1.36.1-r29.trigger 01:43:47 OK: 244 MiB in 62 packages [Pipeline] libraryResource [Pipeline] sh 01:43:47 ---> package-listing.sh 01:43:47 ++ tr '[:upper:]' '[:lower:]' 01:43:47 ++ facter osfamily 01:43:48 + OS_FAMILY=redhat 01:43:48 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:43:48 + START_PACKAGES=/tmp/packages_start.txt 01:43:48 + END_PACKAGES=/tmp/packages_end.txt 01:43:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:43:48 + PACKAGES=/tmp/packages_start.txt 01:43:48 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:43:48 + PACKAGES=/tmp/packages_end.txt 01:43:48 + case "${OS_FAMILY}" in 01:43:48 + rpm -qa 01:43:48 + sort 01:43:48 Removing intermediate container 1c28ff3bebdd 01:43:48 ---> e66272b72060 01:43:48 Step 8/12 : WORKDIR /device-rest-go 01:43:48 ---> Running in 4afdf5b5806f 01:43:48 Removing intermediate container 4afdf5b5806f 01:43:48 ---> 6525eb0f786d 01:43:48 Step 9/12 : COPY go.mod vendor* ./ 01:43:48 + '[' -f /tmp/packages_start.txt ']' 01:43:48 + '[' -f /tmp/packages_end.txt ']' 01:43:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:43:48 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:43:48 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:43:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:43:48 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 01:43:49 + facter operatingsystem 01:43:49 ---> dbc317f10c4a 01:43:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:49 ---> Running in b38de6e8b59a 01:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:49 01:43:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:49 latest: Pulling from edgex-lftools-log-publisher 01:43:49 5eb5b503b376: Pulling fs layer 01:43:49 5c69ac0246d0: Pulling fs layer 01:43:49 ec43610c2a17: Pulling fs layer 01:43:49 3a2ae6a8a46f: Pulling fs layer 01:43:49 33b1e0a273af: Pulling fs layer 01:43:49 5d3b04190fa2: Pulling fs layer 01:43:49 2f39f015ded8: Pulling fs layer 01:43:49 3a2ae6a8a46f: Waiting 01:43:49 33b1e0a273af: Waiting 01:43:49 5d3b04190fa2: Waiting 01:43:49 2f39f015ded8: Waiting 01:43:49 5c69ac0246d0: Verifying Checksum 01:43:49 5c69ac0246d0: Download complete 01:43:49 3a2ae6a8a46f: Verifying Checksum 01:43:49 3a2ae6a8a46f: Download complete 01:43:50 33b1e0a273af: Verifying Checksum 01:43:50 33b1e0a273af: Download complete 01:43:50 ec43610c2a17: Verifying Checksum 01:43:50 ec43610c2a17: Download complete 01:43:50 5d3b04190fa2: Verifying Checksum 01:43:50 5d3b04190fa2: Download complete 01:43:50 5eb5b503b376: Verifying Checksum 01:43:50 5eb5b503b376: Download complete 01:43:51 2f39f015ded8: Verifying Checksum 01:43:51 2f39f015ded8: Download complete 01:43:51 5eb5b503b376: Pull complete 01:43:51 5c69ac0246d0: Pull complete 01:43:52 ec43610c2a17: Pull complete 01:43:52 3a2ae6a8a46f: Pull complete 01:43:52 33b1e0a273af: Pull complete 01:43:52 5d3b04190fa2: Pull complete 01:43:56 2f39f015ded8: Pull complete 01:43:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:43:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:56 prd-centos7-docker-4c-2g-3172 does not seem to be running inside a container 01:43: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:44:04 $ docker top cb9fb58b5abf8ef0cca50a6d2a59350ed8a2b46642d7d4bd4d6f15fb4a47f7f9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:05 + touch /tmp/pre-build-complete [Pipeline] sh 01:44:05 + mkdir -p /var/log/sysstat [Pipeline] sh 01:44:05 + ls /var/log/sa-host 01:44:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:06 provisioning config files... 01:44:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config164042404684974465tmp [Pipeline] { [Pipeline] echo 01:44:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:44:06 ---> create-netrc.sh [Pipeline] } 01:44:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:44:06 ---> python-tools-install.sh [Pipeline] echo 01:44:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:44:07 ---> sudo-logs.sh 01:44:07 Archiving 'sudo' log.. 01:44:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-3172.novalocal: Name or service not known 01:44:07 sudo: unable to resolve host prd-centos7-docker-4c-2g-3172.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:44:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:44:07 ---> job-cost.sh 01:44:07 lf-activate-venv: SKIPPING 01:44:07 INFO: No Stack... 01:44:07 INFO: Retrieving Pricing Info for: v3-standard-2 01:44:07 INFO: Archiving Costs [Pipeline] echo 01:44:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:44:08 ---> logs-deploy.sh 01:44:08 lf-activate-venv: SKIPPING 01:44:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/196 01:44:08 INFO: archiving workspace using pattern(s): 01:44:09 Archives upload complete. 01:44:09 INFO: archiving logs to Nexus 01:44:10 ---> uname -a: 01:44:10 Linux prd-centos7-docker-4c-2g-3172.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 01:44:10 01:44:10 01:44:10 ---> lscpu: 01:44:10 Architecture: x86_64 01:44:10 CPU op-mode(s): 32-bit, 64-bit 01:44:10 Byte Order: Little Endian 01:44:10 Address sizes: 40 bits physical, 48 bits virtual 01:44:10 CPU(s): 2 01:44:10 On-line CPU(s) list: 0,1 01:44:10 Thread(s) per core: 1 01:44:10 Core(s) per socket: 1 01:44:10 Socket(s): 2 01:44:10 NUMA node(s): 1 01:44:10 Vendor ID: AuthenticAMD 01:44:10 CPU family: 23 01:44:10 Model: 49 01:44:10 Model name: AMD EPYC-Rome Processor 01:44:10 Stepping: 0 01:44:10 CPU MHz: 2799.998 01:44:10 BogoMIPS: 5599.99 01:44:10 Virtualization: AMD-V 01:44:10 Hypervisor vendor: KVM 01:44:10 Virtualization type: full 01:44:10 L1d cache: 64 KiB 01:44:10 L1i cache: 64 KiB 01:44:10 L2 cache: 1 MiB 01:44:10 L3 cache: 32 MiB 01:44:10 NUMA node0 CPU(s): 0,1 01:44:10 Vulnerability Itlb multihit: Not affected 01:44:10 Vulnerability L1tf: Not affected 01:44:10 Vulnerability Mds: Not affected 01:44:10 Vulnerability Meltdown: Not affected 01:44:10 Vulnerability Mmio stale data: Not affected 01:44:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:44:10 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:44:10 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:44:10 Vulnerability Srbds: Not affected 01:44:10 Vulnerability Tsx async abort: Not affected 01:44:10 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 01:44:10 01:44:10 01:44:10 ---> nproc: 01:44:10 2 01:44:10 01:44:10 01:44:10 ---> df -h: 01:44:10 Filesystem Size Used Avail Use% Mounted on 01:44:10 overlay 40G 7.3G 33G 19% / 01:44:10 tmpfs 64M 0 64M 0% /dev 01:44:10 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 01:44:10 shm 64M 0 64M 0% /dev/shm 01:44:10 /dev/vda1 40G 7.3G 33G 19% /facter-os 01:44:10 01:44:10 01:44:10 Cannot open /var/log/sysstat/sa12: No such file or directory 01:44:10 Please check if data collecting is enabled 01:44:10 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:44:10 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 01:44:10 $ docker stop --time=1 cb9fb58b5abf8ef0cca50a6d2a59350ed8a2b46642d7d4bd4d6f15fb4a47f7f9 01:44:11 $ docker rm -f --volumes cb9fb58b5abf8ef0cca50a6d2a59350ed8a2b46642d7d4bd4d6f15fb4a47f7f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 01:44:11 [WS-CLEANUP] Deleting project workspace... 01:44:11 [WS-CLEANUP] Deferred wipeout is used... 01:44:11 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:12 01:44:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:12 latest: Pulling from edgex-lftools-log-publisher 01:44:12 5eb5b503b376: Pulling fs layer 01:44:12 5c69ac0246d0: Pulling fs layer 01:44:12 ec43610c2a17: Pulling fs layer 01:44:12 3a2ae6a8a46f: Pulling fs layer 01:44:12 33b1e0a273af: Pulling fs layer 01:44:12 5d3b04190fa2: Pulling fs layer 01:44:12 2f39f015ded8: Pulling fs layer 01:44:12 3a2ae6a8a46f: Waiting 01:44:12 33b1e0a273af: Waiting 01:44:12 5d3b04190fa2: Waiting 01:44:12 2f39f015ded8: Waiting 01:44:12 5c69ac0246d0: Download complete 01:44:12 3a2ae6a8a46f: Verifying Checksum 01:44:12 3a2ae6a8a46f: Download complete 01:44:12 33b1e0a273af: Verifying Checksum 01:44:12 33b1e0a273af: Download complete 01:44:12 5d3b04190fa2: Download complete 01:44:12 ec43610c2a17: Verifying Checksum 01:44:12 ec43610c2a17: Download complete 01:44:12 5eb5b503b376: Verifying Checksum 01:44:12 5eb5b503b376: Download complete 01:44:13 2f39f015ded8: Download complete 01:44:13 5eb5b503b376: Pull complete 01:44:13 5c69ac0246d0: Pull complete 01:44:14 ec43610c2a17: Pull complete 01:44:14 3a2ae6a8a46f: Pull complete 01:44:14 33b1e0a273af: Pull complete 01:44:14 5d3b04190fa2: Pull complete 01:44:18 2f39f015ded8: Pull complete 01:44:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:44:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:19 prd-ubuntu20.04-docker-8c-8g-3168 does not seem to be running inside a container 01:44:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:44:20 $ docker top 60937c04fa787d2ff59bbdc21667ba557999ece1a66efeca9ce494387344643e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:20 ---> job-cost.sh 01:44:20 lf-activate-venv: SKIPPING 01:44:20 INFO: No Stack... 01:44:20 INFO: Retrieving Pricing Info for: v3-standard-8 01:44:21 INFO: Archiving Costs [Pipeline] sh 01:44:21 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:44:21 + cut -d, -f6 [Pipeline] lock 01:44:21 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-196-stack-cost] 01:44:21 Resource [jenkins-edgexfoundry-device-rest-go-main-196-stack-cost] did not exist. Created. 01:44:21 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-196-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:44:21 + echo total: 0.2199999988079071 [Pipeline] stash 01:44:21 Stashed 1 file(s) [Pipeline] } 01:44:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-196-stack-cost] [Pipeline] // lock [Pipeline] } 01:44:21 $ docker stop --time=1 60937c04fa787d2ff59bbdc21667ba557999ece1a66efeca9ce494387344643e 01:44:23 $ docker rm -f --volumes 60937c04fa787d2ff59bbdc21667ba557999ece1a66efeca9ce494387344643e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:45:56 Removing intermediate container b38de6e8b59a 01:45:56 ---> e7c80f49e243 01:45:56 Step 11/12 : COPY . . 01:45:56 ---> 1cd96005b85e 01:45:56 Step 12/12 : RUN $MAKE 01:45:56 ---> Running in 5276ea8e34dc 01:45:56 noop 01:45:56 Removing intermediate container 5276ea8e34dc 01:45:56 ---> 6cd1e87aa546 01:45:56 Successfully built 6cd1e87aa546 01:45:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:56 + docker inspect -f . ci-base-image-arm64 01:45:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:56 prd-ubuntu20.04-docker-arm64-4c-16g-3170 does not seem to be running inside a container 01:45:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/196 -v /w/workspace/device-rest-go/196:/w/workspace/device-rest-go/196:rw,z -v /w/workspace/device-rest-go/196@tmp:/w/workspace/device-rest-go/196@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 01:45:58 $ docker top 20fc6ab661271be5c3f6ed81f9f0bb727c00e669adab4a365dec3cc314ea31ae -eo pid,comm [Pipeline] { [Pipeline] sh 01:45:59 + go version 01:45:59 go version go1.23.8 linux/arm64 [Pipeline] } 01:45:59 $ docker stop --time=1 20fc6ab661271be5c3f6ed81f9f0bb727c00e669adab4a365dec3cc314ea31ae 01:46:00 $ docker rm -f --volumes 20fc6ab661271be5c3f6ed81f9f0bb727c00e669adab4a365dec3cc314ea31ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:01 + docker inspect -f . ci-base-image-arm64 01:46:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:01 prd-ubuntu20.04-docker-arm64-4c-16g-3170 does not seem to be running inside a container 01:46:01 $ 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/196 -v /w/workspace/device-rest-go/196:/w/workspace/device-rest-go/196:rw,z -v /w/workspace/device-rest-go/196@tmp:/w/workspace/device-rest-go/196@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 01:46:02 $ docker top c934bb94dd010dc09adff521c099173f3e209795362ebdae1be2062a33b04ea9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:03 + git config --global --add safe.directory /w/workspace/device-rest-go/196 [Pipeline] fileExists [Pipeline] sh 01:46:03 + make test 01:46:04 go test ./... -coverprofile=coverage.out ./... 01:46:10 ? github.com/edgexfoundry/device-rest-go [no test files] 01:49:47 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 01:49:52 ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 32.2% of statements 01:49:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:49:53 go vet ./... 01:50:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:50:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:50:50 ./bin/test-attribution-txt.sh 01:50:50 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 01:50:50 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo 01:50:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:50:50 $ docker stop --time=1 c934bb94dd010dc09adff521c099173f3e209795362ebdae1be2062a33b04ea9 01:50:52 $ docker rm -f --volumes c934bb94dd010dc09adff521c099173f3e209795362ebdae1be2062a33b04ea9 [Pipeline] // withDockerContainer [Pipeline] sh 01:50:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:50:53 Warning: overwriting stash ‘coverage-report’ 01:50:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:50:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:50:55 + ls -al . 01:50:55 total 240 01:50:55 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 01:46 . 01:50:55 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 01:42 .. 01:50:55 -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 01:42 .dockerignore 01:50:55 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 01:42 .git 01:50:55 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 01:42 .github 01:50:55 -rw-rw-r-- 1 jenkins jenkins 264 Jun 12 01:42 .gitignore 01:50:55 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 01:42 .golangci.yml 01:50:55 -rw-rw-r-- 1 jenkins jenkins 20138 Jun 12 01:42 Attribution.txt 01:50:55 -rw-rw-r-- 1 jenkins jenkins 18492 Jun 12 01:42 CHANGELOG.md 01:50:55 -rw-rw-r-- 1 jenkins jenkins 1697 Jun 12 01:42 Dockerfile 01:50:55 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 01:42 GOVERNANCE.md 01:50:55 -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 01:42 Jenkinsfile 01:50:55 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 01:42 LICENSE 01:50:55 -rw-rw-r-- 1 jenkins jenkins 2598 Jun 12 01:42 Makefile 01:50:55 -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 01:42 OWNERS.md 01:50:55 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 12 01:42 README.md 01:50:55 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 01:39 VERSION 01:50:55 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 01:42 bin 01:50:55 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 01:42 cmd 01:50:55 -rw-r--r-- 1 jenkins jenkins 14565 Jun 12 01:49 coverage.out 01:50:55 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 01:42 driver 01:50:55 -rw-rw-r-- 1 jenkins jenkins 6272 Jun 12 01:42 go.mod 01:50:55 -rw-rw-r-- 1 jenkins jenkins 86413 Jun 12 01:42 go.sum 01:50:55 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 01:42 openapi 01:50:55 -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 01:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:55 + 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=c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 --label arch=arm64 --label version=4.1.0-dev.2 . 01:50:55 Sending build context to Docker daemon 157.2kB 01:50:55 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:50:55 Step 2/26 : FROM ${BASE} AS builder 01:50:55 ---> 6cd1e87aa546 01:50:55 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:50:55 ---> Running in 2b97fa38324d 01:50:55 Removing intermediate container 2b97fa38324d 01:50:55 ---> de80585a921f 01:50:55 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:50:56 ---> Running in 0e11bc7cb8db 01:50:56 Removing intermediate container 0e11bc7cb8db 01:50:56 ---> 25ca1658cfd1 01:50:56 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:50:56 ---> Running in fffd51822ed5 01:50:56 Removing intermediate container fffd51822ed5 01:50:56 ---> a9729857ceb3 01:50:56 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:50:56 ---> Running in b3914bfd1eb2 01:50:57 Removing intermediate container b3914bfd1eb2 01:50:57 ---> 2541c85cf9b4 01:50:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:57 ---> Running in 29a97750e0e2 01:50:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:50:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:50:59 OK: 244 MiB in 62 packages 01:51:00 Removing intermediate container 29a97750e0e2 01:51:00 ---> a5ee63c0a7f1 01:51:00 Step 8/26 : WORKDIR /device-rest-go 01:51:00 ---> Running in c22414356136 01:51:01 Removing intermediate container c22414356136 01:51:01 ---> 4baf9cee8b8b 01:51:01 Step 9/26 : COPY go.mod vendor* ./ 01:51:01 ---> aec779481c17 01:51:01 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:51:01 ---> Running in b566bff7b53e 01:51:03 Removing intermediate container b566bff7b53e 01:51:03 ---> 8f95457426dd 01:51:03 Step 11/26 : COPY . . 01:51:04 ---> 24fc9d9dd7e7 01:51:04 Step 12/26 : RUN $MAKE 01:51:04 ---> Running in b0bdce446c87 01:51:05 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.10 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 01:54:41 Removing intermediate container b0bdce446c87 01:54:41 ---> fc777777e328 01:54:41 Step 13/26 : FROM alpine:3.20 01:54:41 3.20: Pulling from library/alpine 01:54:41 94e9d8af2201: Already exists 01:54:41 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:54:41 Status: Downloaded newer image for alpine:3.20 01:54:41 ---> 7aab056cecc6 01:54:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:54:41 ---> Running in 07e0438a167b 01:54:41 Removing intermediate container 07e0438a167b 01:54:41 ---> cf84627d7d33 01:54:41 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 01:54:41 ---> Running in a3713933175f 01:54:41 Removing intermediate container a3713933175f 01:54:41 ---> 2cf4b957ecd6 01:54:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 01:54:41 ---> Running in 461c475ed50d 01:54:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:54:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:54:41 (1/1) Installing dumb-init (1.2.5-r3) 01:54:41 Executing busybox-1.36.1-r29.trigger 01:54:41 OK: 9 MiB in 15 packages 01:54:42 Removing intermediate container 461c475ed50d 01:54:42 ---> 379b47e84e4e 01:54:42 Step 17/26 : RUN apk --no-cache upgrade 01:54:42 ---> Running in b02d0d4d2a5d 01:54:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:54:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:54:46 OK: 9 MiB in 15 packages 01:54:46 Removing intermediate container b02d0d4d2a5d 01:54:46 ---> 09b78ff821de 01:54:46 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 01:54:49 ---> 3d4d8ced5c92 01:54:49 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 01:54:49 ---> 4d313a215355 01:54:49 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 01:54:49 ---> f5bae3f5a252 01:54:49 Step 21/26 : EXPOSE 59986 01:54:50 ---> Running in d6ebc827758d 01:54:50 Removing intermediate container d6ebc827758d 01:54:50 ---> 94d15d89e588 01:54:50 Step 22/26 : ENTRYPOINT ["/device-rest"] 01:54:50 ---> Running in 39e0e509b4af 01:54:50 Removing intermediate container 39e0e509b4af 01:54:50 ---> 0ab6f24731e1 01:54:50 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:54:50 ---> Running in 966bc54498c2 01:54:50 Removing intermediate container 966bc54498c2 01:54:50 ---> 5f4421e29837 01:54:50 Step 24/26 : LABEL arch=arm64 01:54:51 ---> Running in 545331673cac 01:54:51 Removing intermediate container 545331673cac 01:54:51 ---> 2ec82ecd3000 01:54:51 Step 25/26 : LABEL git_sha=c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:54:51 ---> Running in 0f32b37e6972 01:54:51 Removing intermediate container 0f32b37e6972 01:54:51 ---> 7e1fa7c16d7c 01:54:51 Step 26/26 : LABEL version=4.1.0-dev.2 01:54:51 ---> Running in f3bd4dc7a122 01:54:52 Removing intermediate container f3bd4dc7a122 01:54:52 ---> c378e61f704e 01:54:52 [Warning] One or more build-args [ARCH] were not consumed 01:54:52 Successfully built c378e61f704e 01:54:52 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 01:54:52 provisioning config files... 01:54:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/196@tmp/config6510718785090756209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:52 ---> ****-login.sh 01:54:52 nexus3.edgexfoundry.org:10001 01:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:53 Configure a credential helper to remove this warning. See 01:54:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:53 01:54:53 Login Succeeded 01:54:53 nexus3.edgexfoundry.org:10002 01:54:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:53 Configure a credential helper to remove this warning. See 01:54:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:53 01:54:53 Login Succeeded 01:54:53 nexus3.edgexfoundry.org:10003 01:54:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:53 Configure a credential helper to remove this warning. See 01:54:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:53 01:54:53 Login Succeeded 01:54:53 nexus3.edgexfoundry.org:10004 01:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:54 Configure a credential helper to remove this warning. See 01:54:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:54 01:54:54 Login Succeeded 01:54:54 ****.io 01:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:54 Configure a credential helper to remove this warning. See 01:54:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:54 01:54:54 Login Succeeded 01:54:54 ---> ****-login.sh ends [Pipeline] } 01:54:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:54:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:54:54 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:54:54 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:54:54 latest 01:54:54 4.1.0-dev.2 01:54:54 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 01:54:54 main 01:54:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:54:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:54:55 db18cb890cfd: Preparing 01:54:55 4c4955894785: Preparing 01:54:55 b5dd36af5018: Preparing 01:54:55 eb65c6469fc7: Preparing 01:54:55 96aa357d009f: Preparing 01:54:55 dd9c8f8612c8: Preparing 01:54:55 dd9c8f8612c8: Waiting 01:54:55 4c4955894785: Pushed 01:54:55 db18cb890cfd: Pushed 01:54:55 96aa357d009f: Pushed 01:54:55 eb65c6469fc7: Pushed 01:54:55 dd9c8f8612c8: Layer already exists 01:55:04 b5dd36af5018: Pushed 01:55:04 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66: digest: sha256:ad9806b302c84e9363dede6cd157a33bcc13c9aef15a269a68c8f3b69dfa2f10 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:55:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:55:04 db18cb890cfd: Preparing 01:55:04 4c4955894785: Preparing 01:55:04 b5dd36af5018: Preparing 01:55:04 eb65c6469fc7: Preparing 01:55:04 96aa357d009f: Preparing 01:55:04 dd9c8f8612c8: Preparing 01:55:04 dd9c8f8612c8: Waiting 01:55:04 96aa357d009f: Layer already exists 01:55:04 eb65c6469fc7: Layer already exists 01:55:04 b5dd36af5018: Layer already exists 01:55:04 4c4955894785: Layer already exists 01:55:04 db18cb890cfd: Layer already exists 01:55:04 dd9c8f8612c8: Layer already exists 01:55:05 latest: digest: sha256:ad9806b302c84e9363dede6cd157a33bcc13c9aef15a269a68c8f3b69dfa2f10 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:05 + 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 01:55:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 01:55:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:55:05 db18cb890cfd: Preparing 01:55:05 4c4955894785: Preparing 01:55:05 b5dd36af5018: Preparing 01:55:05 eb65c6469fc7: Preparing 01:55:05 96aa357d009f: Preparing 01:55:05 dd9c8f8612c8: Preparing 01:55:05 dd9c8f8612c8: Waiting 01:55:05 b5dd36af5018: Layer already exists 01:55:05 96aa357d009f: Layer already exists 01:55:05 eb65c6469fc7: Layer already exists 01:55:05 db18cb890cfd: Layer already exists 01:55:05 4c4955894785: Layer already exists 01:55:05 dd9c8f8612c8: Layer already exists 01:55:05 4.1.0-dev.2: digest: sha256:ad9806b302c84e9363dede6cd157a33bcc13c9aef15a269a68c8f3b69dfa2f10 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 01:55:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:55:06 db18cb890cfd: Preparing 01:55:06 4c4955894785: Preparing 01:55:06 b5dd36af5018: Preparing 01:55:06 eb65c6469fc7: Preparing 01:55:06 96aa357d009f: Preparing 01:55:06 dd9c8f8612c8: Preparing 01:55:06 dd9c8f8612c8: Waiting 01:55:06 eb65c6469fc7: Layer already exists 01:55:06 96aa357d009f: Layer already exists 01:55:06 4c4955894785: Layer already exists 01:55:06 b5dd36af5018: Layer already exists 01:55:06 db18cb890cfd: Layer already exists 01:55:06 dd9c8f8612c8: Layer already exists 01:55:06 c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2: digest: sha256:ad9806b302c84e9363dede6cd157a33bcc13c9aef15a269a68c8f3b69dfa2f10 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:55:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:55:07 db18cb890cfd: Preparing 01:55:07 4c4955894785: Preparing 01:55:07 b5dd36af5018: Preparing 01:55:07 eb65c6469fc7: Preparing 01:55:07 96aa357d009f: Preparing 01:55:07 dd9c8f8612c8: Preparing 01:55:07 dd9c8f8612c8: Waiting 01:55:07 4c4955894785: Layer already exists 01:55:07 db18cb890cfd: Layer already exists 01:55:07 b5dd36af5018: Layer already exists 01:55:07 eb65c6469fc7: Layer already exists 01:55:07 96aa357d009f: Layer already exists 01:55:07 dd9c8f8612c8: Layer already exists 01:55:08 main: digest: sha256:ad9806b302c84e9363dede6cd157a33bcc13c9aef15a269a68c8f3b69dfa2f10 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:55:08 ===================================================== [Pipeline] echo 01:55:08 taggedImages: 01:55:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 01:55:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:55:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 01:55:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 01:55:08 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 01:55:08 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 [Pipeline] echo 01:55:08 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 01:55:08 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 [Pipeline] echo 01:55:08 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:c373b56233cd9cbd8cdcfbe77523dd4dc7823e66-4.1.0-dev.2 [Pipeline] echo 01:55:08 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 01:55:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:08 01:55:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:09 arm64: Pulling from edgex-lftools-log-publisher 01:55:09 8998bd30e6a1: Pulling fs layer 01:55:09 04944245beec: Pulling fs layer 01:55:09 699f458cf7ca: Pulling fs layer 01:55:09 765212b225bb: Pulling fs layer 01:55:09 f23df028b6ca: Pulling fs layer 01:55:09 d65c8cfc05b1: Pulling fs layer 01:55:09 2437ff75d9bd: Pulling fs layer 01:55:09 765212b225bb: Waiting 01:55:09 f23df028b6ca: Waiting 01:55:09 d65c8cfc05b1: Waiting 01:55:09 2437ff75d9bd: Waiting 01:55:09 04944245beec: Verifying Checksum 01:55:09 04944245beec: Download complete 01:55:09 765212b225bb: Verifying Checksum 01:55:09 765212b225bb: Download complete 01:55:09 f23df028b6ca: Verifying Checksum 01:55:09 f23df028b6ca: Download complete 01:55:09 d65c8cfc05b1: Verifying Checksum 01:55:09 d65c8cfc05b1: Download complete 01:55:09 699f458cf7ca: Verifying Checksum 01:55:10 8998bd30e6a1: Verifying Checksum 01:55:10 8998bd30e6a1: Download complete 01:55:12 2437ff75d9bd: Verifying Checksum 01:55:12 2437ff75d9bd: Download complete 01:55:15 8998bd30e6a1: Pull complete 01:55:15 04944245beec: Pull complete 01:55:17 699f458cf7ca: Pull complete 01:55:17 765212b225bb: Pull complete 01:55:18 f23df028b6ca: Pull complete 01:55:18 d65c8cfc05b1: Pull complete 01:55:36 2437ff75d9bd: Pull complete 01:55:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:55:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:36 prd-ubuntu20.04-docker-arm64-4c-16g-3170 does not seem to be running inside a container 01:55:36 $ 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/196 -v /w/workspace/device-rest-go/196:/w/workspace/device-rest-go/196:rw,z -v /w/workspace/device-rest-go/196@tmp:/w/workspace/device-rest-go/196@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 01:55:39 $ docker top 192caa2b1a63af4b0b4fde5400877321c0b336e01a5ed832b4cc3169643b99d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:40 ---> job-cost.sh 01:55:40 lf-activate-venv: SKIPPING 01:55:40 INFO: No Stack... 01:55:40 INFO: Retrieving Pricing Info for: v3-standard-4 01:55:41 INFO: Archiving Costs [Pipeline] sh 01:55:42 + cat /w/workspace/device-rest-go/196/archives/cost.csv 01:55:42 + cut -d, -f6 [Pipeline] lock 01:55:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-196-stack-cost] 01:55:42 Resource [jenkins-edgexfoundry-device-rest-go-main-196-stack-cost] did not exist. Created. 01:55:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-196-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:55:42 /w/workspace/device-rest-go/196@tmp/durable-8c108c58/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:55:43 + echo total: 0.10999999940395355 [Pipeline] stash 01:55:43 Warning: overwriting stash ‘stack-cost’ 01:55:43 Stashed 1 file(s) [Pipeline] } 01:55:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-196-stack-cost] [Pipeline] // lock [Pipeline] } 01:55:43 $ docker stop --time=1 192caa2b1a63af4b0b4fde5400877321c0b336e01a5ed832b4cc3169643b99d3 01:55:45 $ docker rm -f --volumes 192caa2b1a63af4b0b4fde5400877321c0b336e01a5ed832b4cc3169643b99d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:55:45 provisioning config files... 01:55:45 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12657277610299428813tmp [Pipeline] { [Pipeline] sh 01:55:46 + set +x 01:55:46 + curl -s https://codecov.io/bash 01:55:46 + bash -s -- 01:55:46 01:55:46 _____ _ 01:55:46 / ____| | | 01:55:46 | | ___ __| | ___ ___ _____ __ 01:55:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:55:46 | |___| (_) | (_| | __/ (_| (_) \ V / 01:55:46 \_____\___/ \__,_|\___|\___\___/ \_/ 01:55:46 Bash-1.0.6 01:55:46 01:55:46 01:55:46 ==> git version 2.25.1 found 01:55:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:55:46 Release-Date: 2020-01-08 01:55:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:55:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:55:46 ==> Jenkins CI detected. 01:55:46 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:55:46 project root: . 01:55:46 --> token set from env 01:55:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:55:46 ==> Running gcov in . (disable via -X gcov) 01:55:46 ==> Python coveragepy not found 01:55:46 ==> Searching for coverage reports in: 01:55:46 + . 01:55:46 -> Found 1 reports 01:55:46 ==> Detecting git/mercurial file structure 01:55:46 ==> Reading reports 01:55:46 + ./coverage.out bytes=14565 01:55:46 ==> Appending adjustments 01:55:46 https://docs.codecov.io/docs/fixing-reports 01:55:46 + Found adjustments 01:55:46 ==> Gzipping contents 01:55:46 4.0K /tmp/codecov.gahbji.gz 01:55:46 ==> Uploading reports 01:55:46 url: https://codecov.io 01:55:46 query: branch=main&commit=c373b56233cd9cbd8cdcfbe77523dd4dc7823e66&build=196&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F196%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:55:46 -> Pinging Codecov 01:55:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=c373b56233cd9cbd8cdcfbe77523dd4dc7823e66&build=196&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F196%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:55:46 -> Uploading to 01:55:46 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/c373b56233cd9cbd8cdcfbe77523dd4dc7823e66/f5221e60-7b7d-480b-8e24-6b0418f04eb1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250612%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250612T015546Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=0dea6a87dfae797cb39e8eb3eda0aee293b52711963f2254aaf19a30d4d1ddda 01:55:46 % Total % Received % Xferd Average Speed Time Time Time Current 01:55:46 Dload Upload Total Spent Left Speed 01:55:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 15931 --:--:-- --:--:-- --:--:-- 15823 01:55:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c373b56233cd9cbd8cdcfbe77523dd4dc7823e66 [Pipeline] } 01:55:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:55:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:55:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:55:47 01:55:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:55:47 latest: Pulling from edgex-devops/edgex-snyk-go 01:55:47 43c4264eed91: Pulling fs layer 01:55:47 4cc291be95ef: Pulling fs layer 01:55:47 2ac1f1163629: Pulling fs layer 01:55:47 5c3c966382ef: Pulling fs layer 01:55:47 4f4fb700ef54: Pulling fs layer 01:55:47 d9c7d2e4e75e: Pulling fs layer 01:55:47 9c3e1370e548: Pulling fs layer 01:55:47 5c3c966382ef: Waiting 01:55:47 d9c7d2e4e75e: Waiting 01:55:47 9c3e1370e548: Waiting 01:55:47 4f4fb700ef54: Waiting 01:55:47 4cc291be95ef: Verifying Checksum 01:55:47 4cc291be95ef: Download complete 01:55:47 5c3c966382ef: Verifying Checksum 01:55:47 5c3c966382ef: Download complete 01:55:47 4f4fb700ef54: Download complete 01:55:48 43c4264eed91: Download complete 01:55:48 d9c7d2e4e75e: Verifying Checksum 01:55:48 d9c7d2e4e75e: Download complete 01:55:48 43c4264eed91: Pull complete 01:55:48 4cc291be95ef: Pull complete 01:55:48 2ac1f1163629: Verifying Checksum 01:55:48 2ac1f1163629: Download complete 01:55:49 9c3e1370e548: Verifying Checksum 01:55:49 9c3e1370e548: Download complete 01:55:51 2ac1f1163629: Pull complete 01:55:51 5c3c966382ef: Pull complete 01:55:51 4f4fb700ef54: Pull complete 01:55:51 d9c7d2e4e75e: Pull complete 01:55:54 9c3e1370e548: Pull complete 01:55:54 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 01:55:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 01:55:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:54 prd-ubuntu20.04-docker-8c-8g-3168 does not seem to be running inside a container 01:55:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -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-devops/edgex-snyk-go:latest cat 01:55:56 $ docker top 91208caec40199b4b8298cc0be5c2ad5b2483c767fa796af1cbcc054bddf13cb -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 01:55:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:55:57 + set -o pipefail 01:55:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:55:58 01:55:58 Monitoring /w/workspace/edgexfoundry_device-rest-go_main... 01:55:58 01:55:58 'go list -json -deps ./...' command failed with error: go: go.mod requires go >= 1.23.4 (running go 1.23.2; GOTOOLCHAIN=local) 01:55:58 [Pipeline] } 01:55:59 $ docker stop --time=1 91208caec40199b4b8298cc0be5c2ad5b2483c767fa796af1cbcc054bddf13cb 01:56:00 $ docker rm -f --volumes 91208caec40199b4b8298cc0be5c2ad5b2483c767fa796af1cbcc054bddf13cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:56:00 [edgeXSnyk] Exit Code: 2 [Pipeline] error [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 01:56:01 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:56:01 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:56:01 total 16 01:56:01 drwxr-xr-x 3 root root 4096 Jun 12 01:44 . 01:56:01 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 01:44 .. 01:56:01 drwxr-xr-x 2 root root 4096 Jun 12 01:44 cost 01:56:01 -rw-r--r-- 1 root root 86 Jun 12 01:44 cost.csv 01:56:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:56:01 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:56:01 total 16 01:56:01 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 01:44 . 01:56:01 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 01:44 .. 01:56:01 drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 01:44 cost 01:56:01 -rw-r--r-- 1 jenkins jenkins 86 Jun 12 01:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:56:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:56:02 ---> package-listing.sh 01:56:02 ++ facter osfamily 01:56:02 ++ tr '[:upper:]' '[:lower:]' 01:56:03 + OS_FAMILY=debian 01:56:03 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:56:03 + START_PACKAGES=/tmp/packages_start.txt 01:56:03 + END_PACKAGES=/tmp/packages_end.txt 01:56:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:56:03 + PACKAGES=/tmp/packages_start.txt 01:56:03 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:56:03 + PACKAGES=/tmp/packages_end.txt 01:56:03 + case "${OS_FAMILY}" in 01:56:03 + dpkg -l 01:56:03 + grep '^ii' 01:56:03 + '[' -f /tmp/packages_start.txt ']' 01:56:03 + '[' -f /tmp/packages_end.txt ']' 01:56:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:56:03 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:56:03 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:56:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:56:03 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 01:56:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:04 prd-ubuntu20.04-docker-8c-8g-3168 does not seem to be running inside a container 01:56:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:56:04 $ docker top af88eb1123a30b6dc8f40a81afb2d4c0373f5145074ac2305e103d6a8cfe9c9d -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:04 + touch /tmp/pre-build-complete [Pipeline] sh 01:56:04 + mkdir -p /var/log/sysstat [Pipeline] sh 01:56:05 + ls /var/log/sa-host 01:56:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:05 provisioning config files... 01:56:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6067055033070322627tmp [Pipeline] { [Pipeline] echo 01:56:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:56:05 ---> create-netrc.sh [Pipeline] } 01:56:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:56:05 ---> python-tools-install.sh [Pipeline] echo 01:56:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:56:06 ---> sudo-logs.sh 01:56:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:56:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:56:06 ---> job-cost.sh 01:56:06 lf-activate-venv: SKIPPING 01:56:06 DEBUG: total: 0.2199999988079071 01:56:06 INFO: Retrieving Stack Cost... 01:56:06 INFO: Retrieving Pricing Info for: v3-standard-8 01:56:07 INFO: Archiving Costs [Pipeline] echo 01:56:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:56:07 ---> logs-deploy.sh 01:56:07 lf-activate-venv: SKIPPING 01:56:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/196 01:56:07 INFO: archiving workspace using pattern(s): 01:56:08 Archives upload complete. 01:56:08 INFO: archiving logs to Nexus