Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7b84e98ced83989d31e5191473b2722818049a26 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-ssh176076784105584111.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-ssh4671513365065707776.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-ssh44505336451155846.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-ssh6987943294428345624.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-ssh16723722969780746072.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-3419 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 7b84e98ced83989d31e5191473b2722818049a26 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#471)" > git config core.sparsecheckout # timeout=10 > git checkout -f 7b84e98ced83989d31e5191473b2722818049a26 # timeout=10 > git rev-list --no-walk 746a286959b9cc87fa6cce4fb8259ee4dd03d7f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:12:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:12:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:12:03 ========================================================= 02:12:03 EdgeX Global Pipelines Version Info 02:12:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:12:04 ------------------- 02:12:04 stable info: 02:12:04 ------------------- 02:12:04 Commited By: Ginny Guan ginny@iotechsys.com 02:12:04 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 02:12:04 Message: update stable to v1.0.274 02:12:04 ------------------- 02:12:04 experimental info: 02:12:04 ------------------- 02:12:04 Commited By: **** collab-it+edgex@linuxfoundation.org 02:12:04 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 02:12:04 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:12:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:12:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:12:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b84e98ced83989d31e5191473b2722818049a26 [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b84e98 [Pipeline] echo 02:12:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:12:05 provisioning config files... 02:12:05 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5539164350573595302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:06 ---> ****-login.sh 02:12:06 nexus3.edgexfoundry.org:10001 02:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:06 Configure a credential helper to remove this warning. See 02:12:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:06 02:12:06 Login Succeeded 02:12:06 nexus3.edgexfoundry.org:10002 02:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:06 Configure a credential helper to remove this warning. See 02:12:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:06 02:12:06 Login Succeeded 02:12:06 nexus3.edgexfoundry.org:10003 02:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:07 Configure a credential helper to remove this warning. See 02:12:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:07 02:12:07 Login Succeeded 02:12:07 nexus3.edgexfoundry.org:10004 02:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:07 Configure a credential helper to remove this warning. See 02:12:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:07 02:12:07 Login Succeeded 02:12:07 ****.io 02:12:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:07 Configure a credential helper to remove this warning. See 02:12:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:07 02:12:07 Login Succeeded 02:12:07 ---> ****-login.sh ends [Pipeline] } 02:12:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:12:12 + git rev-list -1 --merges 7b84e98ced83989d31e5191473b2722818049a26~1..7b84e98ced83989d31e5191473b2722818049a26 [Pipeline] echo 02:12:12 -----------> git rev-list -1 --merges 7b84e98ced83989d31e5191473b2722818049a26~1..7b84e98ced83989d31e5191473b2722818049a26 7b84e98ced83989d31e5191473b2722818049a26 [false] [Pipeline] sh 02:12:14 + git log --format=format:%s -1 7b84e98ced83989d31e5191473b2722818049a26 [Pipeline] echo 02:12:14 ========================================================= 02:12:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:12:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:12:14 + git log --format=format:%s -1 7b84e98ced83989d31e5191473b2722818049a26 [Pipeline] echo 02:12:14 [semverPrep] GIT_COMMIT: 7b84e98ced83989d31e5191473b2722818049a26, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#471) [Pipeline] echo 02:12:14 [semverPrep] This is not a build commit. [Pipeline] sh 02:12:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:12:14 + grep -v github /etc/ssh/ssh_known_hosts 02:12:14 + [ -e /tmp/ssh_known_hosts ] 02:12:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:12:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:12:14 + sudo tee -a /etc/ssh/ssh_known_hosts 02:12:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:12:15 02:12:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:12:15 0.1.4: Pulling from edgex-devops/py-git-semver 02:12:15 3dae71ba6b94: Pulling fs layer 02:12:15 6bf1a483ea7c: Pulling fs layer 02:12:15 f5dfc541a4d3: Pulling fs layer 02:12:15 461d9e800cba: Pulling fs layer 02:12:15 80192f66455f: Pulling fs layer 02:12:15 2e8e34ca0e6c: Pulling fs layer 02:12:15 a29436f7fd5d: Pulling fs layer 02:12:15 923cac83aea3: Pulling fs layer 02:12:15 25ad8b0a4227: Pulling fs layer 02:12:15 db01528c6b51: Pulling fs layer 02:12:15 28988de357af: Pulling fs layer 02:12:15 a29436f7fd5d: Waiting 02:12:15 923cac83aea3: Waiting 02:12:15 25ad8b0a4227: Waiting 02:12:15 28988de357af: Waiting 02:12:15 461d9e800cba: Waiting 02:12:15 db01528c6b51: Waiting 02:12:15 80192f66455f: Waiting 02:12:15 2e8e34ca0e6c: Waiting 02:12:15 6bf1a483ea7c: Verifying Checksum 02:12:15 6bf1a483ea7c: Download complete 02:12:15 461d9e800cba: Verifying Checksum 02:12:15 461d9e800cba: Download complete 02:12:15 80192f66455f: Verifying Checksum 02:12:15 80192f66455f: Download complete 02:12:16 f5dfc541a4d3: Verifying Checksum 02:12:16 f5dfc541a4d3: Download complete 02:12:16 3dae71ba6b94: Verifying Checksum 02:12:16 3dae71ba6b94: Download complete 02:12:16 923cac83aea3: Verifying Checksum 02:12:16 923cac83aea3: Download complete 02:12:16 25ad8b0a4227: Verifying Checksum 02:12:16 25ad8b0a4227: Download complete 02:12:16 db01528c6b51: Verifying Checksum 02:12:16 db01528c6b51: Download complete 02:12:16 28988de357af: Verifying Checksum 02:12:16 28988de357af: Download complete 02:12:16 a29436f7fd5d: Verifying Checksum 02:12:16 a29436f7fd5d: Download complete 02:12:16 2e8e34ca0e6c: Download complete 02:12:17 3dae71ba6b94: Pull complete 02:12:17 6bf1a483ea7c: Pull complete 02:12:17 f5dfc541a4d3: Pull complete 02:12:17 461d9e800cba: Pull complete 02:12:18 80192f66455f: Pull complete 02:12:21 2e8e34ca0e6c: Pull complete 02:12:22 a29436f7fd5d: Pull complete 02:12:22 923cac83aea3: Pull complete 02:12:22 25ad8b0a4227: Pull complete 02:12:22 db01528c6b51: Pull complete 02:12:22 28988de357af: Pull complete 02:12:22 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 02:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:12:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:22 prd-ubuntu20.04-docker-8c-8g-3419 does not seem to be running inside a container 02:12:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:12:25 $ docker top 0795d17debef6e5c67944aa4d3955098bf1df4ac41d7cb478043ee2f1beb9167 -eo pid,comm 02:12:25 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). 02:12:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:12:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:12:26 [ssh-agent] Looking for ssh-agent implementation... 02:12:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:12:26 $ docker exec 0795d17debef6e5c67944aa4d3955098bf1df4ac41d7cb478043ee2f1beb9167 ssh-agent 02:12:26 SSH_AUTH_SOCK=/tmp/ssh-gbXUkGhMG9Ih/agent.33 02:12:26 SSH_AGENT_PID=39 02:12:26 Running ssh-add (command line suppressed) 02:12:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9544575910652592737.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9544575910652592737.key) 02:12:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:12:26 + git tag --points-at HEAD [Pipeline] } 02:12:26 $ docker exec --env ******** --env ******** 0795d17debef6e5c67944aa4d3955098bf1df4ac41d7cb478043ee2f1beb9167 ssh-agent -k 02:12:26 unset SSH_AUTH_SOCK; 02:12:26 unset SSH_AGENT_PID; 02:12:26 echo Agent pid 39 killed; 02:12:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:12:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:12:26 [ssh-agent] Looking for ssh-agent implementation... 02:12:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:12:27 $ docker exec 0795d17debef6e5c67944aa4d3955098bf1df4ac41d7cb478043ee2f1beb9167 ssh-agent 02:12:27 SSH_AUTH_SOCK=/tmp/ssh-BbaYQHO3dbtd/agent.72 02:12:27 SSH_AGENT_PID=78 02:12:27 Running ssh-add (command line suppressed) 02:12:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11890752477424078674.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11890752477424078674.key) 02:12:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:12:27 + git semver init 02:12:27 2025-06-17 02:12:27,794 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:12:27 2025-06-17 02:12:27,798 [run_init] DEBUG init version:0.0.0 force:False 02:12:27 2025-06-17 02:12:27,799 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 02:12:27 2025-06-17 02:12:27,799 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 02:12:27 2025-06-17 02:12:27,799 [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) 02:12:29 2025-06-17 02:12:29,342 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 02:12:29 2025-06-17 02:12:29,343 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 02:12:29 2025-06-17 02:12:29,343 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:12:29 2025-06-17 02:12:29,343 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:12:29 4.1.0-dev.2 [Pipeline] } 02:12:29 $ docker exec --env ******** --env ******** 0795d17debef6e5c67944aa4d3955098bf1df4ac41d7cb478043ee2f1beb9167 ssh-agent -k 02:12:29 unset SSH_AUTH_SOCK; 02:12:29 unset SSH_AGENT_PID; 02:12:29 echo Agent pid 78 killed; 02:12:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:12:30 + git semver [Pipeline] } 02:12:30 $ docker stop --time=1 0795d17debef6e5c67944aa4d3955098bf1df4ac41d7cb478043ee2f1beb9167 02:12:31 $ docker rm -f --volumes 0795d17debef6e5c67944aa4d3955098bf1df4ac41d7cb478043ee2f1beb9167 [Pipeline] // withDockerContainer [Pipeline] sh 02:12:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:12:32 Stashed 1 file(s) [Pipeline] echo 02:12:32 [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 02:12:32 provisioning config files... 02:12:32 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16402806755271391560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:32 ---> ****-login.sh 02:12:32 nexus3.edgexfoundry.org:10001 02:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:32 Configure a credential helper to remove this warning. See 02:12:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:32 02:12:32 Login Succeeded 02:12:32 nexus3.edgexfoundry.org:10002 02:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:32 Configure a credential helper to remove this warning. See 02:12:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:32 02:12:32 Login Succeeded 02:12:32 nexus3.edgexfoundry.org:10003 02:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:33 Configure a credential helper to remove this warning. See 02:12:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:33 02:12:33 Login Succeeded 02:12:33 nexus3.edgexfoundry.org:10004 02:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:33 Configure a credential helper to remove this warning. See 02:12:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:33 02:12:33 Login Succeeded 02:12:33 ****.io 02:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:12:33 Configure a credential helper to remove this warning. See 02:12:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:12:33 02:12:33 Login Succeeded 02:12:33 ---> ****-login.sh ends [Pipeline] } 02:12:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:12:33 ========================================================= 02:12:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:12:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:33 + 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 . 02:12:33 Sending build context to Docker daemon 21.64MB 02:12:33 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:12:33 Step 2/12 : FROM ${BASE} AS builder 02:12:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:12:34 0a9a5dfd008f: Pulling fs layer 02:12:34 dbfa0bcfca99: Pulling fs layer 02:12:34 70eabb1d9476: Pulling fs layer 02:12:34 957bedc73fa3: Pulling fs layer 02:12:34 4f4fb700ef54: Pulling fs layer 02:12:34 f40432e63723: Pulling fs layer 02:12:34 90b4343acab7: Pulling fs layer 02:12:34 9f67ea4ac784: Pulling fs layer 02:12:34 9228b9a606be: Pulling fs layer 02:12:34 4f4fb700ef54: Waiting 02:12:34 90b4343acab7: Waiting 02:12:34 f40432e63723: Waiting 02:12:34 9f67ea4ac784: Waiting 02:12:34 9228b9a606be: Waiting 02:12:34 dbfa0bcfca99: Verifying Checksum 02:12:34 dbfa0bcfca99: Download complete 02:12:34 957bedc73fa3: Verifying Checksum 02:12:34 4f4fb700ef54: Verifying Checksum 02:12:34 4f4fb700ef54: Download complete 02:12:34 f40432e63723: Verifying Checksum 02:12:34 f40432e63723: Download complete 02:12:34 0a9a5dfd008f: Verifying Checksum 02:12:34 0a9a5dfd008f: Download complete 02:12:34 90b4343acab7: Verifying Checksum 02:12:34 90b4343acab7: Download complete 02:12:34 0a9a5dfd008f: Pull complete 02:12:34 9228b9a606be: Verifying Checksum 02:12:34 9228b9a606be: Download complete 02:12:34 dbfa0bcfca99: Pull complete 02:12:34 70eabb1d9476: Download complete 02:12:34 9f67ea4ac784: Verifying Checksum 02:12:38 70eabb1d9476: Pull complete 02:12:38 957bedc73fa3: Pull complete 02:12:38 4f4fb700ef54: Pull complete 02:12:38 f40432e63723: Pull complete 02:12:38 90b4343acab7: Pull complete 02:12:40 9f67ea4ac784: Pull complete 02:12:40 9228b9a606be: Pull complete 02:12:40 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 02:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:12:40 ---> 69404ca5bff2 02:12:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:12:44 ---> Running in e2eac928cc0a 02:12:44 Removing intermediate container e2eac928cc0a 02:12:44 ---> 8e27b297bfde 02:12:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:12:44 ---> Running in 48e33d68657f 02:12:44 Removing intermediate container 48e33d68657f 02:12:44 ---> 85362c8b2dbc 02:12:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:12:44 ---> Running in 5b673ee3d999 02:12:44 Removing intermediate container 5b673ee3d999 02:12:44 ---> 2ee0eb0b2959 02:12:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:12:44 ---> Running in c79d8a498b30 02:12:44 Removing intermediate container c79d8a498b30 02:12:44 ---> 3e67cfe594b5 02:12:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:44 ---> Running in f970a1a9b277 02:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:12:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:12:47 (1/4) Installing openssh-keygen (9.7_p1-r5) 02:12:47 (2/4) Installing libedit (20240517.3.1-r0) 02:12:47 (3/4) Installing openssh-client-common (9.7_p1-r5) 02:12:47 Still waiting to schedule task 02:12:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3417’ 02:12:47 (4/4) Installing openssh-client-default (9.7_p1-r5) 02:12:47 Executing busybox-1.36.1-r29.trigger 02:12:47 OK: 252 MiB in 62 packages 02:12:48 Removing intermediate container f970a1a9b277 02:12:48 ---> 6babd290f742 02:12:48 Step 8/12 : WORKDIR /device-rest-go 02:12:48 ---> Running in 9d902c17463c 02:12:48 Removing intermediate container 9d902c17463c 02:12:48 ---> c37d8dfd7920 02:12:48 Step 9/12 : COPY go.mod vendor* ./ 02:12:48 ---> fa08eca95f3f 02:12:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:48 ---> Running in 9f7561d338f4 02:13:44 Removing intermediate container 9f7561d338f4 02:13:44 ---> 3dfe3d9f848e 02:13:44 Step 11/12 : COPY . . 02:13:44 ---> 99847d61b91b 02:13:44 Step 12/12 : RUN $MAKE 02:13:44 ---> Running in 5f1e3c33bbb0 02:13:44 noop 02:13:44 Removing intermediate container 5f1e3c33bbb0 02:13:44 ---> 66116435227b 02:13:44 Successfully built 66116435227b 02:13:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:44 + docker inspect -f . ci-base-image-x86_64 02:13:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:45 prd-ubuntu20.04-docker-8c-8g-3419 does not seem to be running inside a container 02:13:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:13:45 $ docker top c4b5bf53361fa387981e43127d8c5cc8e8625b5d3af956584cb754e380547349 -eo pid,comm [Pipeline] { [Pipeline] sh 02:13:45 + go version 02:13:45 go version go1.23.8 linux/amd64 [Pipeline] } 02:13:45 $ docker stop --time=1 c4b5bf53361fa387981e43127d8c5cc8e8625b5d3af956584cb754e380547349 02:13:47 $ docker rm -f --volumes c4b5bf53361fa387981e43127d8c5cc8e8625b5d3af956584cb754e380547349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:47 + docker inspect -f . ci-base-image-x86_64 02:13:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:47 prd-ubuntu20.04-docker-8c-8g-3419 does not seem to be running inside a container 02:13:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:13:47 $ docker top 177b4be6cfc073a743d8e6843320887ae5016495b09a3645fe2a4e24ef95e4ce -eo pid,comm [Pipeline] { [Pipeline] sh 02:13:48 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 02:13:48 + make test 02:13:48 go test ./... -coverprofile=coverage.out ./... 02:13:49 ? github.com/edgexfoundry/device-rest-go [no test files] 02:14:08 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:14:08 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 32.2% of statements 02:14:16 go vet ./... 02:14:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:14:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:14:21 ./bin/test-attribution-txt.sh 02:14:21 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 02:14:21 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo 02:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:14:21 $ docker stop --time=1 177b4be6cfc073a743d8e6843320887ae5016495b09a3645fe2a4e24ef95e4ce 02:14:24 $ docker rm -f --volumes 177b4be6cfc073a743d8e6843320887ae5016495b09a3645fe2a4e24ef95e4ce [Pipeline] // withDockerContainer [Pipeline] sh 02:14:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:14:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:14:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:14:25 + ls -al . 02:14:25 total 244 02:14:25 drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 02:13 . 02:14:25 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 02:11 .. 02:14:25 -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 02:11 .dockerignore 02:14:25 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 02:14 .git 02:14:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 02:11 .github 02:14:25 -rw-rw-r-- 1 jenkins jenkins 264 Jun 17 02:11 .gitignore 02:14:25 -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 02:11 .golangci.yml 02:14:25 drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 02:12 .semver 02:14:25 -rw-rw-r-- 1 jenkins jenkins 20138 Jun 17 02:11 Attribution.txt 02:14:25 -rw-rw-r-- 1 jenkins jenkins 18492 Jun 17 02:11 CHANGELOG.md 02:14:25 -rw-rw-r-- 1 jenkins jenkins 1697 Jun 17 02:11 Dockerfile 02:14:25 -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 02:11 GOVERNANCE.md 02:14:25 -rw-rw-r-- 1 jenkins jenkins 680 Jun 17 02:11 Jenkinsfile 02:14:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 02:11 LICENSE 02:14:25 -rw-rw-r-- 1 jenkins jenkins 2598 Jun 17 02:11 Makefile 02:14:25 -rw-rw-r-- 1 jenkins jenkins 620 Jun 17 02:11 OWNERS.md 02:14:25 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 17 02:11 README.md 02:14:25 -rw-rw-r-- 1 jenkins jenkins 11 Jun 17 02:12 VERSION 02:14:25 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 02:11 bin 02:14:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 02:11 cmd 02:14:25 -rw-r--r-- 1 jenkins jenkins 14565 Jun 17 02:14 coverage.out 02:14:25 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 02:11 driver 02:14:25 -rw-rw-r-- 1 jenkins jenkins 6272 Jun 17 02:11 go.mod 02:14:25 -rw-rw-r-- 1 jenkins jenkins 86413 Jun 17 02:11 go.sum 02:14:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 02:11 openapi 02:14:25 -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:25 + 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=7b84e98ced83989d31e5191473b2722818049a26 --label arch=amd64 --label version=4.1.0-dev.2 . 02:14:25 Sending build context to Docker daemon 21.66MB 02:14:25 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:14:25 Step 2/26 : FROM ${BASE} AS builder 02:14:25 ---> 66116435227b 02:14:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:14:26 ---> Running in 939844e3d8ab 02:14:26 Removing intermediate container 939844e3d8ab 02:14:26 ---> cec9e5bb81d6 02:14:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:14:26 ---> Running in 6787f10a4036 02:14:26 Removing intermediate container 6787f10a4036 02:14:26 ---> 4b7736223f24 02:14:26 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:14:26 ---> Running in 3831020a647b 02:14:26 Removing intermediate container 3831020a647b 02:14:26 ---> c8503c37df1d 02:14:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:14:26 ---> Running in 7a0775a50375 02:14:26 Removing intermediate container 7a0775a50375 02:14:26 ---> 911725c5e02a 02:14:26 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:14:26 ---> Running in 1169dd398dd7 02:14:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:14:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:14:27 OK: 252 MiB in 62 packages 02:14:27 Removing intermediate container 1169dd398dd7 02:14:27 ---> b3e270b1b85d 02:14:27 Step 8/26 : WORKDIR /device-rest-go 02:14:27 ---> Running in 8b9a448a07c9 02:14:27 Removing intermediate container 8b9a448a07c9 02:14:27 ---> 3a4b4bba619c 02:14:27 Step 9/26 : COPY go.mod vendor* ./ 02:14:27 ---> 1ae6703ff949 02:14:27 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:14:27 ---> Running in dec0db1abcc6 02:14:28 Removing intermediate container dec0db1abcc6 02:14:28 ---> 3c08e5e20327 02:14:28 Step 11/26 : COPY . . 02:14:28 ---> d8ea0c232372 02:14:28 Step 12/26 : RUN $MAKE 02:14:28 ---> Running in 8b277f94aa25 02:14:29 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.13 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:14:55 Removing intermediate container 8b277f94aa25 02:14:55 ---> 7bb0b31bcb0c 02:14:55 Step 13/26 : FROM alpine:3.20 02:14:55 3.20: Pulling from library/alpine 02:14:55 0a9a5dfd008f: Already exists 02:14:55 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 02:14:55 Status: Downloaded newer image for alpine:3.20 02:14:55 ---> ff221270b9fb 02:14:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:14:55 ---> Running in 073927576b70 02:14:55 Removing intermediate container 073927576b70 02:14:55 ---> e621a37f4c3e 02:14:55 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:14:55 ---> Running in 3a801fe88da1 02:14:55 Removing intermediate container 3a801fe88da1 02:14:55 ---> d0b065e370fb 02:14:55 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:14:55 ---> Running in 9ef4e708b3e6 02:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:14:56 (1/1) Installing dumb-init (1.2.5-r3) 02:14:56 Executing busybox-1.36.1-r29.trigger 02:14:56 OK: 8 MiB in 15 packages 02:14:56 Removing intermediate container 9ef4e708b3e6 02:14:56 ---> a358ba76d889 02:14:56 Step 17/26 : RUN apk --no-cache upgrade 02:14:56 ---> Running in 641eeb50762d 02:14:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:14:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:14:57 OK: 8 MiB in 15 packages 02:14:57 Removing intermediate container 641eeb50762d 02:14:57 ---> 155ebeccfc32 02:14:57 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:14:58 ---> 502dd08fd886 02:14:58 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:14:58 ---> 00d77687be77 02:14:58 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:14:58 ---> 6dfcd1bade6e 02:14:58 Step 21/26 : EXPOSE 59986 02:14:58 ---> Running in 6bcfe43cc2f1 02:14:58 Removing intermediate container 6bcfe43cc2f1 02:14:58 ---> d68946e1263a 02:14:58 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:14:58 ---> Running in d3d18d00bc90 02:14:58 Removing intermediate container d3d18d00bc90 02:14:58 ---> 49b98eed4773 02:14:58 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:14:58 ---> Running in c2dde7fb267f 02:14:58 Removing intermediate container c2dde7fb267f 02:14:58 ---> d8f9b0a6e2f4 02:14:58 Step 24/26 : LABEL arch=amd64 02:14:58 ---> Running in 033eb55a2f5a 02:14:58 Removing intermediate container 033eb55a2f5a 02:14:58 ---> 14421956fdff 02:14:58 Step 25/26 : LABEL git_sha=7b84e98ced83989d31e5191473b2722818049a26 02:14:59 ---> Running in 6d7561f1047f 02:14:59 Removing intermediate container 6d7561f1047f 02:14:59 ---> 68c44309bca5 02:14:59 Step 26/26 : LABEL version=4.1.0-dev.2 02:14:59 ---> Running in 4dca8f71381e 02:14:59 Removing intermediate container 4dca8f71381e 02:14:59 ---> 0df3eb611a49 02:14:59 [Warning] One or more build-args [ARCH] were not consumed 02:14:59 Successfully built 0df3eb611a49 02:14:59 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:59 provisioning config files... 02:14:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5016893174391152620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:14:59 ---> ****-login.sh 02:14:59 nexus3.edgexfoundry.org:10001 02:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:14:59 Configure a credential helper to remove this warning. See 02:14:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:14:59 02:14:59 Login Succeeded 02:14:59 nexus3.edgexfoundry.org:10002 02:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:14:59 Configure a credential helper to remove this warning. See 02:14:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:14:59 02:14:59 Login Succeeded 02:14:59 nexus3.edgexfoundry.org:10003 02:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:14:59 Configure a credential helper to remove this warning. See 02:14:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:14:59 02:14:59 Login Succeeded 02:14:59 nexus3.edgexfoundry.org:10004 02:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:14:59 Configure a credential helper to remove this warning. See 02:14:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:14:59 02:14:59 Login Succeeded 02:14:59 ****.io 02:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:14:59 Configure a credential helper to remove this warning. See 02:14:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:14:59 02:14:59 Login Succeeded 02:14:59 ---> ****-login.sh ends [Pipeline] } 02:14:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:15:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:15:00 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:15:00 7b84e98ced83989d31e5191473b2722818049a26 02:15:00 latest 02:15:00 4.1.0-dev.2 02:15:00 7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 02:15:00 main 02:15:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26 02:15:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:15:00 777a26f2737b: Preparing 02:15:00 4814c2759197: Preparing 02:15:00 f921617562c1: Preparing 02:15:00 925d7f05bdc0: Preparing 02:15:00 15d2b647fede: Preparing 02:15:00 994456c4fd7b: Preparing 02:15:00 994456c4fd7b: Waiting 02:15:00 15d2b647fede: Pushed 02:15:00 4814c2759197: Pushed 02:15:00 925d7f05bdc0: Pushed 02:15:00 777a26f2737b: Pushed 02:15:00 994456c4fd7b: Layer already exists 02:15:04 f921617562c1: Pushed 02:15:04 7b84e98ced83989d31e5191473b2722818049a26: digest: sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 02:15:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:15:04 777a26f2737b: Preparing 02:15:04 4814c2759197: Preparing 02:15:04 f921617562c1: Preparing 02:15:04 925d7f05bdc0: Preparing 02:15:04 15d2b647fede: Preparing 02:15:04 994456c4fd7b: Preparing 02:15:04 f921617562c1: Layer already exists 02:15:04 4814c2759197: Layer already exists 02:15:04 15d2b647fede: Layer already exists 02:15:04 925d7f05bdc0: Layer already exists 02:15:04 994456c4fd7b: Layer already exists 02:15:04 777a26f2737b: Layer already exists 02:15:04 latest: digest: sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:05 + 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 02:15:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 02:15:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:15:05 777a26f2737b: Preparing 02:15:05 4814c2759197: Preparing 02:15:05 f921617562c1: Preparing 02:15:05 925d7f05bdc0: Preparing 02:15:05 15d2b647fede: Preparing 02:15:05 994456c4fd7b: Preparing 02:15:05 994456c4fd7b: Waiting 02:15:05 925d7f05bdc0: Layer already exists 02:15:05 f921617562c1: Layer already exists 02:15:05 4814c2759197: Layer already exists 02:15:05 777a26f2737b: Layer already exists 02:15:05 15d2b647fede: Layer already exists 02:15:05 994456c4fd7b: Layer already exists 02:15:05 4.1.0-dev.2: digest: sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 02:15:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:15:06 777a26f2737b: Preparing 02:15:06 4814c2759197: Preparing 02:15:06 f921617562c1: Preparing 02:15:06 925d7f05bdc0: Preparing 02:15:06 15d2b647fede: Preparing 02:15:06 994456c4fd7b: Preparing 02:15:06 994456c4fd7b: Waiting 02:15:06 777a26f2737b: Layer already exists 02:15:06 925d7f05bdc0: Layer already exists 02:15:06 f921617562c1: Layer already exists 02:15:06 4814c2759197: Layer already exists 02:15:06 15d2b647fede: Layer already exists 02:15:06 994456c4fd7b: Layer already exists 02:15:06 7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2: digest: sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:06 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:06 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 02:15:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:15:06 777a26f2737b: Preparing 02:15:06 4814c2759197: Preparing 02:15:06 f921617562c1: Preparing 02:15:06 925d7f05bdc0: Preparing 02:15:06 15d2b647fede: Preparing 02:15:06 994456c4fd7b: Preparing 02:15:06 994456c4fd7b: Waiting 02:15:06 4814c2759197: Layer already exists 02:15:06 925d7f05bdc0: Layer already exists 02:15:06 f921617562c1: Layer already exists 02:15:06 777a26f2737b: Layer already exists 02:15:06 15d2b647fede: Layer already exists 02:15:06 994456c4fd7b: Layer already exists 02:15:06 main: digest: sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:15:06 ===================================================== [Pipeline] echo 02:15:06 taggedImages: 02:15:06 - nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26 02:15:06 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:15:06 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 02:15:06 - nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 02:15:06 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 02:15:06 ========================================================= 02:15:06 [edgeXBuildMultiArch] RAW Config: 02:15:06 images: 02:15:06 - nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26 02:15:06 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:15:06 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 02:15:06 - nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 02:15:06 - nexus3.edgexfoundry.org:10004/device-rest:main 02:15:06 settingsFile: 02:15:06 device-rest-go-settings 02:15:06 ========================================================= [Pipeline] node 02:15:21 Still waiting to schedule task 02:15:21 All nodes of label ‘centos7-docker-4c-2g’ are offline 02:15:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3421 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 02:15:30 Running in /w/workspace/device-rest-go/198 [Pipeline] { [Pipeline] checkout 02:15:33 The recommended git tool is: git 02:15:38 using credential edgex-jenkins-ssh 02:15:38 Cloning the remote Git repository 02:15:38 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:15:38 > git init /w/workspace/device-rest-go/198 # timeout=10 02:15:38 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:15:38 > git --version # timeout=10 02:15:38 > git --version # 'git version 2.25.1' 02:15:38 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:15:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:43 Avoid second fetch 02:15:43 Checking out Revision 7b84e98ced83989d31e5191473b2722818049a26 (main) 02:15:44 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#471)" 02:15:43 > git config core.sparsecheckout # timeout=10 02:15:43 > git checkout -f 7b84e98ced83989d31e5191473b2722818049a26 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:15:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:15:49 % Total % Received % Xferd Average Speed Time Time Time Current 02:15:49 Dload Upload Total Spent Left Speed 02:15:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13063 100 13063 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 02:15:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:15:50 + sudo tee /etc/docker/daemon.new 02:15:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:15:50 { 02:15:50 "registry-mirrors": [ 02:15:50 "https://nexus3.edgexfoundry.org:10001" 02:15:50 ], 02:15:50 "bip": "10.250.0.254/24", 02:15:50 "hosts": [ 02:15:50 "tcp://0.0.0.0:5555", 02:15:50 "unix:///var/run/docker.sock" 02:15:50 ], 02:15:50 "mtu": 1458, 02:15:50 "selinux-enabled": true, 02:15:50 "seccomp-profile": "/etc/docker/seccomp.json" 02:15:50 } [Pipeline] sh 02:15:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:15:50 + sudo service docker restart 02:15:51 Running on prd-centos7-docker-4c-2g-3423 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:15:51 provisioning config files... 02:15:51 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3933434998104487254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:15:53 ---> ****-login.sh 02:15:53 nexus3.edgexfoundry.org:10001 02:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:15:53 Configure a credential helper to remove this warning. See 02:15:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:15:53 02:15:53 Login Succeeded 02:15:53 nexus3.edgexfoundry.org:10002 02:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:15:53 Configure a credential helper to remove this warning. See 02:15:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:15:53 02:15:53 Login Succeeded 02:15:53 nexus3.edgexfoundry.org:10003 02:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:15:54 Configure a credential helper to remove this warning. See 02:15:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:15:54 02:15:54 Login Succeeded 02:15:54 nexus3.edgexfoundry.org:10004 02:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:15:54 Configure a credential helper to remove this warning. See 02:15:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:15:54 02:15:54 Login Succeeded 02:15:54 ****.io 02:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:15:54 Configure a credential helper to remove this warning. See 02:15:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:15:54 02:15:54 Login Succeeded 02:15:54 ---> ****-login.sh ends [Pipeline] } 02:15:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:15:55 + docker buildx ls 02:15:55 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 02:15:55 default * docker 02:15:55 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 02:15:55 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 02:15:55 edgex-builder [Pipeline] sh 02:15:56 + docker buildx inspect --bootstrap 02:15:56 #1 [internal] booting buildkit 02:15:56 #1 pulling image moby/buildkit:buildx-stable-1 02:15:59 #1 pulling image moby/buildkit:buildx-stable-1 2.8s done 02:15:59 #1 creating container buildx_buildkit_edgex-builder0 02:16:00 #1 creating container buildx_buildkit_edgex-builder0 1.6s done 02:16:00 #1 DONE 4.4s 02:16:00 Name: edgex-builder 02:16:00 Driver: docker-container 02:16:00 02:16:00 Nodes: 02:16:00 Name: edgex-builder0 02:16:00 Endpoint: unix:///var/run/docker.sock 02:16:00 Status: running 02:16:00 Buildkit: v0.22.0 02:16:00 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 02:16:00 + docker buildx ls 02:16:00 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 02:16:00 edgex-builder * docker-container 02:16:00 edgex-builder0 unix:///var/run/docker.sock running v0.22.0 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 02:16:00 default docker 02:16:00 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 02:16:01 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26' 02:16:01 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26 --push - 02:16:01 #1 [internal] load build definition from Dockerfile 02:16:01 #1 transferring dockerfile: 196B done 02:16:01 #1 DONE 0.0s 02:16:01 02:16:01 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26 02:16:01 #2 DONE 0.1s 02:16:01 02:16:01 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26 02:16:01 #3 DONE 0.1s 02:16:01 02:16:01 #4 [internal] load .dockerignore 02:16:01 #4 transferring context: 2B done 02:16:01 #4 DONE 0.0s 02:16:01 02:16:01 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 02:16:01 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 0.0s done 02:16:01 #5 DONE 0.0s 02:16:01 02:16:01 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 02:16:01 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 0.0s done 02:16:01 #6 DONE 0.1s 02:16:01 02:16:01 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:16:01 #7 DONE 0.0s 02:16:01 02:16:01 #8 exporting to image 02:16:01 #8 exporting layers done 02:16:01 #8 exporting manifest sha256:22261345fd1028fb7387905640f0d59e7f0b9b2966ceef2e5fa8ad718b634dba done 02:16:01 #8 exporting config sha256:cac777d935e4c458f34eceb36e32aa18182f26029f6747a173f657b827bbde3a done 02:16:01 #8 exporting manifest sha256:282f4f83875c443e5ce7ddae12acd9a67aab7a691ecb2c235ff9d5cdf64c1e1b done 02:16:01 #8 exporting config sha256:8ca38ac9d52d4fad1ca04dc3336a2ecc60b19e7ef081e1b0dce42980bb686348 done 02:16:01 #8 exporting manifest list sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e done 02:16:01 #8 pushing layers 02:16:01 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:16:01 #8 pushing layers 0.1s done 02:16:01 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26@sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e 0.1s done 02:16:01 #8 DONE 0.2s 02:16:01 02:16:01 1 warning found (use --debug to expand): 02:16:01  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:16:02 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:latest --push - 02:16:02 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:latest' 02:16:02 #1 [internal] load build definition from Dockerfile 02:16:02 #1 transferring dockerfile: 162B done 02:16:02 #1 DONE 0.0s 02:16:02 02:16:02 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 02:16:02 #2 DONE 0.0s 02:16:02 02:16:02 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:latest 02:16:02 #3 DONE 0.0s 02:16:02 02:16:02 #4 [internal] load .dockerignore 02:16:02 #4 transferring context: 2B done 02:16:02 #4 DONE 0.0s 02:16:02 02:16:02 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 02:16:02 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 0.0s done 02:16:02 #5 CACHED 02:16:02 02:16:02 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 02:16:02 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 0.0s done 02:16:02 #6 CACHED 02:16:02 02:16:02 #7 exporting to image 02:16:02 #7 exporting layers 02:16:02 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:16:02 #7 exporting layers done 02:16:02 #7 exporting manifest sha256:22261345fd1028fb7387905640f0d59e7f0b9b2966ceef2e5fa8ad718b634dba done 02:16:02 #7 exporting config sha256:cac777d935e4c458f34eceb36e32aa18182f26029f6747a173f657b827bbde3a done 02:16:02 #7 exporting manifest sha256:282f4f83875c443e5ce7ddae12acd9a67aab7a691ecb2c235ff9d5cdf64c1e1b done 02:16:02 #7 exporting config sha256:8ca38ac9d52d4fad1ca04dc3336a2ecc60b19e7ef081e1b0dce42980bb686348 done 02:16:02 #7 exporting manifest list sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e done 02:16:02 #7 pushing layers 0.0s done 02:16:02 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:latest@sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e 0.1s done 02:16:02 #7 DONE 0.1s 02:16:02 02:16:02 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:16:02 #8 DONE 0.0s 02:16:02 02:16:02 1 warning found (use --debug to expand): 02:16:02  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:16:02 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2' 02:16:02 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 --push - 02:16:02 #1 [internal] load build definition from Dockerfile 02:16:02 #1 transferring dockerfile: 167B done 02:16:02 #1 DONE 0.0s 02:16:02 02:16:02 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 02:16:02 #2 DONE 0.0s 02:16:02 02:16:02 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 02:16:02 #3 DONE 0.0s 02:16:02 02:16:02 #4 [internal] load .dockerignore 02:16:02 #4 transferring context: 2B done 02:16:02 #4 DONE 0.0s 02:16:02 02:16:02 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 02:16:02 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 0.0s done 02:16:02 #5 CACHED 02:16:02 02:16:02 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 02:16:02 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 0.0s done 02:16:02 #6 CACHED 02:16:02 02:16:02 #7 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:16:02 #7 DONE 0.0s 02:16:02 02:16:02 #8 exporting to image 02:16:02 #8 exporting layers done 02:16:02 #8 exporting manifest sha256:22261345fd1028fb7387905640f0d59e7f0b9b2966ceef2e5fa8ad718b634dba done 02:16:02 #8 exporting config sha256:cac777d935e4c458f34eceb36e32aa18182f26029f6747a173f657b827bbde3a done 02:16:02 #8 exporting manifest sha256:282f4f83875c443e5ce7ddae12acd9a67aab7a691ecb2c235ff9d5cdf64c1e1b done 02:16:02 #8 exporting config sha256:8ca38ac9d52d4fad1ca04dc3336a2ecc60b19e7ef081e1b0dce42980bb686348 done 02:16:02 #8 exporting manifest list sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e done 02:16:02 #8 pushing layers 0.0s done 02:16:02 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2@sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e 0.1s done 02:16:02 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:16:02 #8 DONE 0.1s 02:16:02 02:16:02 1 warning found (use --debug to expand): 02:16:02  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:16:03 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2' 02:16:03 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 --push - 02:16:03 #1 [internal] load build definition from Dockerfile 02:16:03 #1 transferring dockerfile: 208B done 02:16:03 #1 DONE 0.0s 02:16:03 02:16:03 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 02:16:03 #2 DONE 0.0s 02:16:03 02:16:03 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 02:16:03 #3 DONE 0.0s 02:16:03 02:16:03 #4 [internal] load .dockerignore 02:16:03 #4 transferring context: 2B done 02:16:03 #4 DONE 0.0s 02:16:03 02:16:03 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 02:16:03 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 0.0s done 02:16:03 #5 CACHED 02:16:03 02:16:03 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 02:16:03 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 0.0s done 02:16:03 #6 CACHED 02:16:03 02:16:03 #7 exporting to image 02:16:03 #7 exporting layers done 02:16:03 #7 exporting manifest sha256:22261345fd1028fb7387905640f0d59e7f0b9b2966ceef2e5fa8ad718b634dba done 02:16:03 #7 exporting config sha256:cac777d935e4c458f34eceb36e32aa18182f26029f6747a173f657b827bbde3a 02:16:03 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:16:03 #7 exporting config sha256:cac777d935e4c458f34eceb36e32aa18182f26029f6747a173f657b827bbde3a done 02:16:03 #7 exporting manifest sha256:282f4f83875c443e5ce7ddae12acd9a67aab7a691ecb2c235ff9d5cdf64c1e1b done 02:16:03 #7 exporting config sha256:8ca38ac9d52d4fad1ca04dc3336a2ecc60b19e7ef081e1b0dce42980bb686348 done 02:16:03 #7 exporting manifest list sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e done 02:16:03 #7 pushing layers 0.0s done 02:16:03 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2@sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e 0.1s done 02:16:03 #7 DONE 0.1s 02:16:03 02:16:03 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:16:03 #8 DONE 0.0s 02:16:03 02:16:03 1 warning found (use --debug to expand): 02:16:03  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 02:16:03 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-rest:main' 02:16:03 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-rest:main --push - 02:16:03 #1 [internal] load build definition from Dockerfile 02:16:03 #1 transferring dockerfile: 160B done 02:16:03 #1 DONE 0.0s 02:16:03 02:16:03 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 02:16:03 #2 DONE 0.0s 02:16:03 02:16:03 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-rest:main 02:16:03 #3 DONE 0.0s 02:16:03 02:16:03 #4 [internal] load .dockerignore 02:16:03 #4 transferring context: 2B done 02:16:03 #4 DONE 0.0s 02:16:03 02:16:03 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 02:16:03 #5 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 0.0s done 02:16:03 #5 CACHED 02:16:03 02:16:03 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-rest:main@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 02:16:03 #6 resolve nexus3.edgexfoundry.org:10004/device-rest:main@sha256:851b09dac5ce493bcecd43864b1055561b3c7fba0a0f4cdbdcf00c7ac0976976 0.0s done 02:16:03 #6 CACHED 02:16:03 02:16:03 #7 exporting to image 02:16:03 #7 exporting layers done 02:16:03 #7 exporting manifest sha256:22261345fd1028fb7387905640f0d59e7f0b9b2966ceef2e5fa8ad718b634dba done 02:16:03 #7 exporting config sha256:cac777d935e4c458f34eceb36e32aa18182f26029f6747a173f657b827bbde3a done 02:16:03 #7 exporting manifest sha256:282f4f83875c443e5ce7ddae12acd9a67aab7a691ecb2c235ff9d5cdf64c1e1b done 02:16:03 #7 exporting config sha256:8ca38ac9d52d4fad1ca04dc3336a2ecc60b19e7ef081e1b0dce42980bb686348 done 02:16:03 #7 exporting manifest list sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e 02:16:03 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 02:16:03 #7 exporting manifest list sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e done 02:16:03 #7 pushing layers 0.0s done 02:16:03 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-rest:main@sha256:237e973757ee90f109b53e96ec58b069e36dabc549a647363039f410e6897d5e 0.1s done 02:16:03 #7 DONE 0.1s 02:16:03 02:16:03 #8 [auth] device-rest:pull,push token for nexus3.edgexfoundry.org:10004 02:16:03 #8 DONE 0.0s 02:16:03 02:16:03 1 warning found (use --debug to expand): 02:16:03  - 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 02:16:04 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:16:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:16:05 ---> package-listing.sh 02:16:05 ++ facter osfamily 02:16:05 ++ tr '[:upper:]' '[:lower:]' 02:16:05 + OS_FAMILY=redhat 02:16:05 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:16:05 + START_PACKAGES=/tmp/packages_start.txt 02:16:05 + END_PACKAGES=/tmp/packages_end.txt 02:16:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:16:05 + PACKAGES=/tmp/packages_start.txt 02:16:05 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:16:05 + PACKAGES=/tmp/packages_end.txt 02:16:05 + case "${OS_FAMILY}" in 02:16:05 + sort 02:16:05 + rpm -qa 02:16:06 + '[' -f /tmp/packages_start.txt ']' 02:16:06 + '[' -f /tmp/packages_end.txt ']' 02:16:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:16:06 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:16:06 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:16:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:16:06 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 02:16:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:16:06 02:16:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:16:07 latest: Pulling from edgex-lftools-log-publisher 02:16:07 5eb5b503b376: Pulling fs layer 02:16:07 5c69ac0246d0: Pulling fs layer 02:16:07 ec43610c2a17: Pulling fs layer 02:16:07 3a2ae6a8a46f: Pulling fs layer 02:16:07 33b1e0a273af: Pulling fs layer 02:16:07 5d3b04190fa2: Pulling fs layer 02:16:07 2f39f015ded8: Pulling fs layer 02:16:07 33b1e0a273af: Waiting 02:16:07 5d3b04190fa2: Waiting 02:16:07 2f39f015ded8: Waiting 02:16:07 3a2ae6a8a46f: Waiting 02:16:07 5c69ac0246d0: Verifying Checksum 02:16:07 5c69ac0246d0: Download complete 02:16:07 3a2ae6a8a46f: Verifying Checksum 02:16:07 3a2ae6a8a46f: Download complete 02:16:07 33b1e0a273af: Verifying Checksum 02:16:07 33b1e0a273af: Download complete 02:16:07 5d3b04190fa2: Verifying Checksum 02:16:07 5d3b04190fa2: Download complete 02:16:07 ec43610c2a17: Verifying Checksum 02:16:07 ec43610c2a17: Download complete 02:16:07 5eb5b503b376: Verifying Checksum 02:16:07 5eb5b503b376: Download complete 02:16:08 2f39f015ded8: Verifying Checksum 02:16:08 2f39f015ded8: Download complete 02:16:08 5eb5b503b376: Pull complete 02:16:08 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:16:09 provisioning config files... 02:16:09 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/198@tmp/config18330420195504444954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:09 ec43610c2a17: Pull complete 02:16:09 3a2ae6a8a46f: Pull complete 02:16:09 33b1e0a273af: Pull complete 02:16:09 ---> ****-login.sh 02:16:09 nexus3.edgexfoundry.org:10001 02:16:09 5d3b04190fa2: Pull complete 02:16:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:16:10 Configure a credential helper to remove this warning. See 02:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:16:10 02:16:10 Login Succeeded 02:16:10 nexus3.edgexfoundry.org:10002 02:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:16:10 Configure a credential helper to remove this warning. See 02:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:16:10 02:16:10 Login Succeeded 02:16:10 nexus3.edgexfoundry.org:10003 02:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:16:10 Configure a credential helper to remove this warning. See 02:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:16:10 02:16:10 Login Succeeded 02:16:10 nexus3.edgexfoundry.org:10004 02:16:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:16:11 Configure a credential helper to remove this warning. See 02:16:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:16:11 02:16:11 Login Succeeded 02:16:11 ****.io 02:16:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:16:11 Configure a credential helper to remove this warning. See 02:16:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:16:11 02:16:11 Login Succeeded 02:16:11 ---> ****-login.sh ends [Pipeline] } 02:16:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:16:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:16:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:16:12 ========================================================= 02:16:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:16:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16: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 . 02:16:12 Sending build context to Docker daemon 141.8kB 02:16:12 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:16:12 Step 2/12 : FROM ${BASE} AS builder 02:16:13 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:16:13 94e9d8af2201: Pulling fs layer 02:16:13 634366ca850b: Pulling fs layer 02:16:13 f66ade281fe9: Pulling fs layer 02:16:13 13fd4ce6e94e: Pulling fs layer 02:16:13 4f4fb700ef54: Pulling fs layer 02:16:13 4cccf3f17d63: Pulling fs layer 02:16:13 2d8010953d95: Pulling fs layer 02:16:13 ec743f232bc5: Pulling fs layer 02:16:13 4f4fb700ef54: Waiting 02:16:13 4cccf3f17d63: Waiting 02:16:13 2d8010953d95: Waiting 02:16:13 ec743f232bc5: Waiting 02:16:13 13fd4ce6e94e: Waiting 02:16:13 634366ca850b: Verifying Checksum 02:16:13 634366ca850b: Download complete 02:16:13 13fd4ce6e94e: Verifying Checksum 02:16:13 13fd4ce6e94e: Download complete 02:16:13 4f4fb700ef54: Download complete 02:16:13 4cccf3f17d63: Verifying Checksum 02:16:13 4cccf3f17d63: Download complete 02:16:13 94e9d8af2201: Verifying Checksum 02:16:13 94e9d8af2201: Download complete 02:16:13 ec743f232bc5: Verifying Checksum 02:16:13 ec743f232bc5: Download complete 02:16:13 2f39f015ded8: Pull complete 02:16:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:16:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:16:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:16:14 prd-centos7-docker-4c-2g-3423 does not seem to be running inside a container 02:16:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:16:14 94e9d8af2201: Pull complete 02:16:14 634366ca850b: Pull complete 02:16:15 f66ade281fe9: Verifying Checksum 02:16:15 f66ade281fe9: Download complete 02:16:16 2d8010953d95: Verifying Checksum 02:16:16 2d8010953d95: Download complete 02:16:18 $ docker top a42ca5971d353db86a23b13ddfa55077566be000e817369622649db31297be93 -eo pid,comm [Pipeline] { [Pipeline] sh 02:16:18 + touch /tmp/pre-build-complete [Pipeline] sh 02:16:19 + mkdir -p /var/log/sysstat [Pipeline] sh 02:16:19 + ls /var/log/sa-host 02:16:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:16:19 provisioning config files... 02:16:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16541376023344417095tmp [Pipeline] { [Pipeline] echo 02:16:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:16:19 ---> create-netrc.sh [Pipeline] } 02:16:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:16:20 ---> python-tools-install.sh [Pipeline] echo 02:16:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:16:20 ---> sudo-logs.sh 02:16:20 Archiving 'sudo' log.. 02:16:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-3423.novalocal: Name or service not known 02:16:20 sudo: unable to resolve host prd-centos7-docker-4c-2g-3423.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:16:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:16:20 ---> job-cost.sh 02:16:20 lf-activate-venv: SKIPPING 02:16:20 INFO: No Stack... 02:16:21 INFO: Retrieving Pricing Info for: v3-standard-2 02:16:21 INFO: Archiving Costs [Pipeline] echo 02:16:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:16:21 ---> logs-deploy.sh 02:16:21 lf-activate-venv: SKIPPING 02:16:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/198 02:16:21 INFO: archiving workspace using pattern(s): 02:16:22 Archives upload complete. 02:16:22 INFO: archiving logs to Nexus 02:16:23 ---> uname -a: 02:16:23 Linux prd-centos7-docker-4c-2g-3423.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 02:16:23 02:16:23 02:16:23 ---> lscpu: 02:16:23 Architecture: x86_64 02:16:23 CPU op-mode(s): 32-bit, 64-bit 02:16:23 Byte Order: Little Endian 02:16:23 Address sizes: 40 bits physical, 48 bits virtual 02:16:23 CPU(s): 2 02:16:23 On-line CPU(s) list: 0,1 02:16:23 Thread(s) per core: 1 02:16:23 Core(s) per socket: 1 02:16:23 Socket(s): 2 02:16:23 NUMA node(s): 1 02:16:23 Vendor ID: AuthenticAMD 02:16:23 CPU family: 23 02:16:23 Model: 49 02:16:23 Model name: AMD EPYC-Rome Processor 02:16:23 Stepping: 0 02:16:23 CPU MHz: 2800.000 02:16:23 BogoMIPS: 5600.00 02:16:23 Virtualization: AMD-V 02:16:23 Hypervisor vendor: KVM 02:16:23 Virtualization type: full 02:16:23 L1d cache: 64 KiB 02:16:23 L1i cache: 64 KiB 02:16:23 L2 cache: 1 MiB 02:16:23 L3 cache: 32 MiB 02:16:23 NUMA node0 CPU(s): 0,1 02:16:23 Vulnerability Itlb multihit: Not affected 02:16:23 Vulnerability L1tf: Not affected 02:16:23 Vulnerability Mds: Not affected 02:16:23 Vulnerability Meltdown: Not affected 02:16:23 Vulnerability Mmio stale data: Not affected 02:16:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:16:23 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:16:23 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:16:23 Vulnerability Srbds: Not affected 02:16:23 Vulnerability Tsx async abort: Not affected 02:16:23 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 02:16:23 02:16:23 02:16:23 ---> nproc: 02:16:23 2 02:16:23 02:16:23 02:16:23 ---> df -h: 02:16:23 Filesystem Size Used Avail Use% Mounted on 02:16:23 overlay 40G 7.3G 33G 19% / 02:16:23 tmpfs 64M 0 64M 0% /dev 02:16:23 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 02:16:23 shm 64M 0 64M 0% /dev/shm 02:16:23 /dev/vda1 40G 7.3G 33G 19% /facter-os 02:16:23 02:16:23 02:16:23 Cannot open /var/log/sysstat/sa17: No such file or directory 02:16:23 Please check if data collecting is enabled 02:16:23 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:16:23 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 02:16:23 $ docker stop --time=1 a42ca5971d353db86a23b13ddfa55077566be000e817369622649db31297be93 02:16:24 $ docker rm -f --volumes a42ca5971d353db86a23b13ddfa55077566be000e817369622649db31297be93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 02:16:24 [WS-CLEANUP] Deleting project workspace... 02:16:24 [WS-CLEANUP] Deferred wipeout is used... 02:16:24 [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 02:16:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:16:25 02:16:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:16:25 latest: Pulling from edgex-lftools-log-publisher 02:16:25 5eb5b503b376: Pulling fs layer 02:16:25 5c69ac0246d0: Pulling fs layer 02:16:25 ec43610c2a17: Pulling fs layer 02:16:25 3a2ae6a8a46f: Pulling fs layer 02:16:25 33b1e0a273af: Pulling fs layer 02:16:25 5d3b04190fa2: Pulling fs layer 02:16:25 2f39f015ded8: Pulling fs layer 02:16:25 33b1e0a273af: Waiting 02:16:25 2f39f015ded8: Waiting 02:16:25 5d3b04190fa2: Waiting 02:16:25 3a2ae6a8a46f: Waiting 02:16:25 5c69ac0246d0: Verifying Checksum 02:16:25 5c69ac0246d0: Download complete 02:16:25 3a2ae6a8a46f: Verifying Checksum 02:16:25 3a2ae6a8a46f: Download complete 02:16:25 33b1e0a273af: Download complete 02:16:25 5d3b04190fa2: Download complete 02:16:25 ec43610c2a17: Verifying Checksum 02:16:25 ec43610c2a17: Download complete 02:16:25 5eb5b503b376: Verifying Checksum 02:16:25 5eb5b503b376: Download complete 02:16:26 2f39f015ded8: Download complete 02:16:27 5eb5b503b376: Pull complete 02:16:27 5c69ac0246d0: Pull complete 02:16:27 ec43610c2a17: Pull complete 02:16:27 3a2ae6a8a46f: Pull complete 02:16:27 33b1e0a273af: Pull complete 02:16:27 5d3b04190fa2: Pull complete 02:16:31 f66ade281fe9: Pull complete 02:16:31 13fd4ce6e94e: Pull complete 02:16:31 4f4fb700ef54: Pull complete 02:16:31 4cccf3f17d63: Pull complete 02:16:32 2f39f015ded8: Pull complete 02:16:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:16:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:16:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:16:32 prd-ubuntu20.04-docker-8c-8g-3419 does not seem to be running inside a container 02:16:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:16:34 $ docker top 052aa165ea418c91b3faedd9679272df9947b9012195161696ce0caa78748e4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:35 ---> job-cost.sh 02:16:35 lf-activate-venv: SKIPPING 02:16:35 INFO: No Stack... 02:16:35 INFO: Retrieving Pricing Info for: v3-standard-8 02:16:35 INFO: Archiving Costs [Pipeline] sh 02:16:36 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 02:16:36 + cut -d, -f6 [Pipeline] lock 02:16:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-198-stack-cost] 02:16:36 Resource [jenkins-edgexfoundry-device-rest-go-main-198-stack-cost] did not exist. Created. 02:16:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-198-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:16:36 + echo total: 0.2199999988079071 [Pipeline] stash 02:16:36 Stashed 1 file(s) [Pipeline] } 02:16:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-198-stack-cost] [Pipeline] // lock [Pipeline] } 02:16:36 $ docker stop --time=1 052aa165ea418c91b3faedd9679272df9947b9012195161696ce0caa78748e4d 02:16:38 $ docker rm -f --volumes 052aa165ea418c91b3faedd9679272df9947b9012195161696ce0caa78748e4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:16:39 2d8010953d95: Pull complete 02:16:41 ec743f232bc5: Pull complete 02:16:41 Digest: sha256:a6e51edf931e1c2109943d1a62f1c16b78b2281728f1935e6b3d8efd9a0c5dda 02:16:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 02:16:41 ---> 12c1d4c06be1 02:16:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:16:41 ---> Running in e939c1675c70 02:16:42 Removing intermediate container e939c1675c70 02:16:42 ---> 4781a507801f 02:16:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:16:42 ---> Running in afa6ac45c27e 02:16:42 Removing intermediate container afa6ac45c27e 02:16:42 ---> 0ce8fbff7fe6 02:16:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:16:42 ---> Running in 049eb70877c1 02:16:42 Removing intermediate container 049eb70877c1 02:16:42 ---> b32d74e48892 02:16:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:16:42 ---> Running in 9529a017a169 02:16:43 Removing intermediate container 9529a017a169 02:16:43 ---> b624bee6782e 02:16:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:16:43 ---> Running in fe3b49568702 02:16:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:16:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:16:46 (1/4) Installing openssh-keygen (9.7_p1-r5) 02:16:46 (2/4) Installing libedit (20240517.3.1-r0) 02:16:46 (3/4) Installing openssh-client-common (9.7_p1-r5) 02:16:46 (4/4) Installing openssh-client-default (9.7_p1-r5) 02:16:46 Executing busybox-1.36.1-r29.trigger 02:16:46 OK: 244 MiB in 62 packages 02:16:47 Removing intermediate container fe3b49568702 02:16:47 ---> e20115a6cf3e 02:16:47 Step 8/12 : WORKDIR /device-rest-go 02:16:48 ---> Running in 1740798942af 02:16:48 Removing intermediate container 1740798942af 02:16:48 ---> 73f998e5d489 02:16:48 Step 9/12 : COPY go.mod vendor* ./ 02:16:48 ---> eb5a4eaf5e6f 02:16:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:16:48 ---> Running in 29e773d73405 02:18:55 Removing intermediate container 29e773d73405 02:18:55 ---> ae4bf173fc16 02:18:55 Step 11/12 : COPY . . 02:18:55 ---> 75bfcb5ca84a 02:18:55 Step 12/12 : RUN $MAKE 02:18:55 ---> Running in b8d429f211b3 02:18:55 noop 02:18:55 Removing intermediate container b8d429f211b3 02:18:55 ---> c6a83d32e6e6 02:18:55 Successfully built c6a83d32e6e6 02:18:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:55 + docker inspect -f . ci-base-image-arm64 02:18:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:18:56 prd-ubuntu20.04-docker-arm64-4c-16g-3421 does not seem to be running inside a container 02:18:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/198 -v /w/workspace/device-rest-go/198:/w/workspace/device-rest-go/198:rw,z -v /w/workspace/device-rest-go/198@tmp:/w/workspace/device-rest-go/198@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 02:18:57 $ docker top 84a8f7e57c62c58b4e17b0f869d52f4392dbe2056d4ded3d759f64ee67ce934c -eo pid,comm [Pipeline] { [Pipeline] sh 02:18:58 + go version 02:18:58 go version go1.23.8 linux/arm64 [Pipeline] } 02:18:58 $ docker stop --time=1 84a8f7e57c62c58b4e17b0f869d52f4392dbe2056d4ded3d759f64ee67ce934c 02:19:00 $ docker rm -f --volumes 84a8f7e57c62c58b4e17b0f869d52f4392dbe2056d4ded3d759f64ee67ce934c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:19:00 + docker inspect -f . ci-base-image-arm64 02:19:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:01 prd-ubuntu20.04-docker-arm64-4c-16g-3421 does not seem to be running inside a container 02:19: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/198 -v /w/workspace/device-rest-go/198:/w/workspace/device-rest-go/198:rw,z -v /w/workspace/device-rest-go/198@tmp:/w/workspace/device-rest-go/198@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 02:19:02 $ docker top 03a9aa98d6d95db74780757492e071497440a22c940636462084039968b66fa1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:19:03 + git config --global --add safe.directory /w/workspace/device-rest-go/198 [Pipeline] fileExists [Pipeline] sh 02:19:03 + make test 02:19:03 go test ./... -coverprofile=coverage.out ./... 02:19:10 ? github.com/edgexfoundry/device-rest-go [no test files] 02:22:47 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:22:48 ok github.com/edgexfoundry/device-rest-go/driver 0.043s coverage: 32.2% of statements 02:22:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:22:49 go vet ./... 02:23:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:23:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:23:46 ./bin/test-attribution-txt.sh 02:23:46 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 02:23:46 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo 02:23:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:23:46 $ docker stop --time=1 03a9aa98d6d95db74780757492e071497440a22c940636462084039968b66fa1 02:23:48 $ docker rm -f --volumes 03a9aa98d6d95db74780757492e071497440a22c940636462084039968b66fa1 [Pipeline] // withDockerContainer [Pipeline] sh 02:23:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:23:49 Warning: overwriting stash ‘coverage-report’ 02:23:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:23:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:23:51 + ls -al . 02:23:51 total 240 02:23:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 02:19 . 02:23:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 02:15 .. 02:23:51 -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 02:15 .dockerignore 02:23:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 02:15 .git 02:23:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 02:15 .github 02:23:51 -rw-rw-r-- 1 jenkins jenkins 264 Jun 17 02:15 .gitignore 02:23:51 -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 02:15 .golangci.yml 02:23:51 -rw-rw-r-- 1 jenkins jenkins 20138 Jun 17 02:15 Attribution.txt 02:23:51 -rw-rw-r-- 1 jenkins jenkins 18492 Jun 17 02:15 CHANGELOG.md 02:23:51 -rw-rw-r-- 1 jenkins jenkins 1697 Jun 17 02:15 Dockerfile 02:23:51 -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 02:15 GOVERNANCE.md 02:23:51 -rw-rw-r-- 1 jenkins jenkins 680 Jun 17 02:15 Jenkinsfile 02:23:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 02:15 LICENSE 02:23:51 -rw-rw-r-- 1 jenkins jenkins 2598 Jun 17 02:15 Makefile 02:23:51 -rw-rw-r-- 1 jenkins jenkins 620 Jun 17 02:15 OWNERS.md 02:23:51 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 17 02:15 README.md 02:23:51 -rw-rw-r-- 1 jenkins jenkins 11 Jun 17 02:12 VERSION 02:23:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 02:15 bin 02:23:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 02:15 cmd 02:23:51 -rw-r--r-- 1 jenkins jenkins 14565 Jun 17 02:22 coverage.out 02:23:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 02:15 driver 02:23:51 -rw-rw-r-- 1 jenkins jenkins 6272 Jun 17 02:15 go.mod 02:23:51 -rw-rw-r-- 1 jenkins jenkins 86413 Jun 17 02:15 go.sum 02:23:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 02:15 openapi 02:23:51 -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:51 + 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=7b84e98ced83989d31e5191473b2722818049a26 --label arch=arm64 --label version=4.1.0-dev.2 . 02:23:51 Sending build context to Docker daemon 157.2kB 02:23:51 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:23:51 Step 2/26 : FROM ${BASE} AS builder 02:23:51 ---> c6a83d32e6e6 02:23:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:23:51 ---> Running in 8485fbb19ffa 02:23:51 Removing intermediate container 8485fbb19ffa 02:23:51 ---> c1cbd9e47287 02:23:51 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:23:52 ---> Running in 52b4c6bd4f2c 02:23:52 Removing intermediate container 52b4c6bd4f2c 02:23:52 ---> e8412ba5f0a2 02:23:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:23:52 ---> Running in 24b75a3831c3 02:23:52 Removing intermediate container 24b75a3831c3 02:23:52 ---> 4c9a592a4a07 02:23:52 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:23:52 ---> Running in 79c8bc974619 02:23:52 Removing intermediate container 79c8bc974619 02:23:52 ---> d0fe9b361b7e 02:23:52 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:23:53 ---> Running in b93ce2adcc51 02:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:23:55 OK: 244 MiB in 62 packages 02:23:56 Removing intermediate container b93ce2adcc51 02:23:56 ---> 5f7c47daa12e 02:23:56 Step 8/26 : WORKDIR /device-rest-go 02:23:56 ---> Running in 2621986bde6f 02:23:57 Removing intermediate container 2621986bde6f 02:23:57 ---> 0b53c1c529f0 02:23:57 Step 9/26 : COPY go.mod vendor* ./ 02:23:57 ---> 4db3edcf93b3 02:23:57 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:23:57 ---> Running in adb92b62d458 02:24:00 Removing intermediate container adb92b62d458 02:24:00 ---> 506ae7ba8491 02:24:00 Step 11/26 : COPY . . 02:24:00 ---> 7a87aed201be 02:24:00 Step 12/26 : RUN $MAKE 02:24:00 ---> Running in 4a521ac64f25 02:24:01 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.13 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:27:53 Removing intermediate container 4a521ac64f25 02:27:53 ---> 0569f24d1a66 02:27:53 Step 13/26 : FROM alpine:3.20 02:27:53 3.20: Pulling from library/alpine 02:27:53 94e9d8af2201: Already exists 02:27:53 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 02:27:53 Status: Downloaded newer image for alpine:3.20 02:27:53 ---> 7aab056cecc6 02:27:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:27:53 ---> Running in 1223ea3beb31 02:27:53 Removing intermediate container 1223ea3beb31 02:27:53 ---> 7acacb7f6b47 02:27:53 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:27:53 ---> Running in c34c20ae4950 02:27:53 Removing intermediate container c34c20ae4950 02:27:53 ---> ab66b85341fa 02:27:53 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:27:53 ---> Running in b72bd83dccb8 02:27:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:27:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:27:53 (1/1) Installing dumb-init (1.2.5-r3) 02:27:53 Executing busybox-1.36.1-r29.trigger 02:27:53 OK: 9 MiB in 15 packages 02:27:53 Removing intermediate container b72bd83dccb8 02:27:53 ---> 51aa97fc6942 02:27:53 Step 17/26 : RUN apk --no-cache upgrade 02:27:53 ---> Running in c082602ea64b 02:27:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:27:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:27:53 OK: 9 MiB in 15 packages 02:27:53 Removing intermediate container c082602ea64b 02:27:53 ---> accc50c66e07 02:27:53 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:27:54 ---> eed428454503 02:27:54 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:27:55 ---> a98055894b00 02:27:55 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:27:55 ---> 3d98696acaf3 02:27:55 Step 21/26 : EXPOSE 59986 02:27:56 ---> Running in b8d3d946c74a 02:27:56 Removing intermediate container b8d3d946c74a 02:27:56 ---> bd128e323b19 02:27:56 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:27:56 ---> Running in 7e49884061ab 02:27:56 Removing intermediate container 7e49884061ab 02:27:56 ---> e8333b438504 02:27:56 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:27:57 ---> Running in 17a506325949 02:27:57 Removing intermediate container 17a506325949 02:27:57 ---> 3791a510955f 02:27:57 Step 24/26 : LABEL arch=arm64 02:27:57 ---> Running in 1c5720d53632 02:27:57 Removing intermediate container 1c5720d53632 02:27:57 ---> 5695ea6ad49c 02:27:57 Step 25/26 : LABEL git_sha=7b84e98ced83989d31e5191473b2722818049a26 02:27:57 ---> Running in 868d04f5ce6f 02:27:57 Removing intermediate container 868d04f5ce6f 02:27:57 ---> 3c843e879adb 02:27:57 Step 26/26 : LABEL version=4.1.0-dev.2 02:27:58 ---> Running in 4d6f4889a35a 02:27:58 Removing intermediate container 4d6f4889a35a 02:27:58 ---> 115aa3708377 02:27:58 [Warning] One or more build-args [ARCH] were not consumed 02:27:58 Successfully built 115aa3708377 02:27:58 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 02:27:58 provisioning config files... 02:27:58 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/198@tmp/config14042493079953378518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:27:58 ---> ****-login.sh 02:27:58 nexus3.edgexfoundry.org:10001 02:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:27:59 Configure a credential helper to remove this warning. See 02:27:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:27:59 02:27:59 Login Succeeded 02:27:59 nexus3.edgexfoundry.org:10002 02:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:27:59 Configure a credential helper to remove this warning. See 02:27:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:27:59 02:27:59 Login Succeeded 02:27:59 nexus3.edgexfoundry.org:10003 02:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:27:59 Configure a credential helper to remove this warning. See 02:27:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:27:59 02:27:59 Login Succeeded 02:27:59 nexus3.edgexfoundry.org:10004 02:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:00 Configure a credential helper to remove this warning. See 02:28:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:00 02:28:00 Login Succeeded 02:28:00 ****.io 02:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:01 Configure a credential helper to remove this warning. See 02:28:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:01 02:28:01 Login Succeeded 02:28:01 ---> ****-login.sh ends [Pipeline] } 02:28:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:28:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:28:01 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 02:28:01 7b84e98ced83989d31e5191473b2722818049a26 02:28:01 latest 02:28:01 4.1.0-dev.2 02:28:01 7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 02:28:01 main 02:28:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7b84e98ced83989d31e5191473b2722818049a26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7b84e98ced83989d31e5191473b2722818049a26 02:28:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:28:01 09c7f52187a4: Preparing 02:28:01 90ff7e00a116: Preparing 02:28:01 a2cdbc17ff46: Preparing 02:28:01 55fb6a09842c: Preparing 02:28:01 2ceca98bcf10: Preparing 02:28:01 dd9c8f8612c8: Preparing 02:28:01 dd9c8f8612c8: Waiting 02:28:02 55fb6a09842c: Pushed 02:28:02 2ceca98bcf10: Pushed 02:28:02 09c7f52187a4: Pushed 02:28:02 90ff7e00a116: Pushed 02:28:02 dd9c8f8612c8: Layer already exists 02:28:08 a2cdbc17ff46: Pushed 02:28:09 7b84e98ced83989d31e5191473b2722818049a26: digest: sha256:e5b8d756ebbe542cdeb3a8add13a20621aa6ca74f59e0825d4f34dc6910038ea size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:28:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:28:09 09c7f52187a4: Preparing 02:28:09 90ff7e00a116: Preparing 02:28:09 a2cdbc17ff46: Preparing 02:28:09 55fb6a09842c: Preparing 02:28:09 2ceca98bcf10: Preparing 02:28:09 dd9c8f8612c8: Preparing 02:28:09 dd9c8f8612c8: Waiting 02:28:09 90ff7e00a116: Layer already exists 02:28:09 2ceca98bcf10: Layer already exists 02:28:09 09c7f52187a4: Layer already exists 02:28:09 55fb6a09842c: Layer already exists 02:28:09 a2cdbc17ff46: Layer already exists 02:28:09 dd9c8f8612c8: Layer already exists 02:28:10 latest: digest: sha256:e5b8d756ebbe542cdeb3a8add13a20621aa6ca74f59e0825d4f34dc6910038ea size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:10 + 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 02:28:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 02:28:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:28:10 09c7f52187a4: Preparing 02:28:10 90ff7e00a116: Preparing 02:28:10 a2cdbc17ff46: Preparing 02:28:10 55fb6a09842c: Preparing 02:28:10 2ceca98bcf10: Preparing 02:28:10 dd9c8f8612c8: Preparing 02:28:10 dd9c8f8612c8: Waiting 02:28:10 09c7f52187a4: Layer already exists 02:28:10 a2cdbc17ff46: Layer already exists 02:28:10 2ceca98bcf10: Layer already exists 02:28:10 90ff7e00a116: Layer already exists 02:28:10 55fb6a09842c: Layer already exists 02:28:10 dd9c8f8612c8: Layer already exists 02:28:11 4.1.0-dev.2: digest: sha256:e5b8d756ebbe542cdeb3a8add13a20621aa6ca74f59e0825d4f34dc6910038ea size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 02:28:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:28:11 09c7f52187a4: Preparing 02:28:11 90ff7e00a116: Preparing 02:28:11 a2cdbc17ff46: Preparing 02:28:11 55fb6a09842c: Preparing 02:28:11 2ceca98bcf10: Preparing 02:28:11 dd9c8f8612c8: Preparing 02:28:11 dd9c8f8612c8: Waiting 02:28:11 90ff7e00a116: Layer already exists 02:28:11 55fb6a09842c: Layer already exists 02:28:11 09c7f52187a4: Layer already exists 02:28:11 a2cdbc17ff46: Layer already exists 02:28:11 2ceca98bcf10: Layer already exists 02:28:11 dd9c8f8612c8: Layer already exists 02:28:12 7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2: digest: sha256:e5b8d756ebbe542cdeb3a8add13a20621aa6ca74f59e0825d4f34dc6910038ea size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 02:28:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 02:28:12 09c7f52187a4: Preparing 02:28:12 90ff7e00a116: Preparing 02:28:12 a2cdbc17ff46: Preparing 02:28:12 55fb6a09842c: Preparing 02:28:12 2ceca98bcf10: Preparing 02:28:12 dd9c8f8612c8: Preparing 02:28:12 dd9c8f8612c8: Waiting 02:28:12 90ff7e00a116: Layer already exists 02:28:12 2ceca98bcf10: Layer already exists 02:28:12 55fb6a09842c: Layer already exists 02:28:12 a2cdbc17ff46: Layer already exists 02:28:12 09c7f52187a4: Layer already exists 02:28:12 dd9c8f8612c8: Layer already exists 02:28:13 main: digest: sha256:e5b8d756ebbe542cdeb3a8add13a20621aa6ca74f59e0825d4f34dc6910038ea size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:28:13 ===================================================== [Pipeline] echo 02:28:13 taggedImages: 02:28:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7b84e98ced83989d31e5191473b2722818049a26 02:28:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 02:28:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 02:28:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 02:28:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 02:28:13 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:7b84e98ced83989d31e5191473b2722818049a26 [Pipeline] echo 02:28:13 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 02:28:13 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 [Pipeline] echo 02:28:13 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:7b84e98ced83989d31e5191473b2722818049a26-4.1.0-dev.2 [Pipeline] echo 02:28:13 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 02:28:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:28:13 02:28:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:28:14 arm64: Pulling from edgex-lftools-log-publisher 02:28:14 8998bd30e6a1: Pulling fs layer 02:28:14 04944245beec: Pulling fs layer 02:28:14 699f458cf7ca: Pulling fs layer 02:28:14 765212b225bb: Pulling fs layer 02:28:14 f23df028b6ca: Pulling fs layer 02:28:14 d65c8cfc05b1: Pulling fs layer 02:28:14 2437ff75d9bd: Pulling fs layer 02:28:14 765212b225bb: Waiting 02:28:14 f23df028b6ca: Waiting 02:28:14 2437ff75d9bd: Waiting 02:28:14 04944245beec: Verifying Checksum 02:28:14 04944245beec: Download complete 02:28:14 765212b225bb: Verifying Checksum 02:28:14 765212b225bb: Download complete 02:28:14 f23df028b6ca: Verifying Checksum 02:28:14 f23df028b6ca: Download complete 02:28:14 d65c8cfc05b1: Verifying Checksum 02:28:14 d65c8cfc05b1: Download complete 02:28:14 699f458cf7ca: Verifying Checksum 02:28:14 699f458cf7ca: Download complete 02:28:15 8998bd30e6a1: Verifying Checksum 02:28:15 8998bd30e6a1: Download complete 02:28:17 2437ff75d9bd: Verifying Checksum 02:28:17 2437ff75d9bd: Download complete 02:28:19 8998bd30e6a1: Pull complete 02:28:19 04944245beec: Pull complete 02:28:21 699f458cf7ca: Pull complete 02:28:21 765212b225bb: Pull complete 02:28:22 f23df028b6ca: Pull complete 02:28:22 d65c8cfc05b1: Pull complete 02:28:37 2437ff75d9bd: Pull complete 02:28:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:28:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:28:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:37 prd-ubuntu20.04-docker-arm64-4c-16g-3421 does not seem to be running inside a container 02:28:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/198 -v /w/workspace/device-rest-go/198:/w/workspace/device-rest-go/198:rw,z -v /w/workspace/device-rest-go/198@tmp:/w/workspace/device-rest-go/198@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 02:28:41 $ docker top 059407372a45ad1162ed7a2b5c59fd069fe3b47d2ed462ca0c6df97f024b0d6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:41 ---> job-cost.sh 02:28:41 lf-activate-venv: SKIPPING 02:28:41 INFO: No Stack... 02:28:42 INFO: Retrieving Pricing Info for: v3-standard-4 02:28:43 INFO: Archiving Costs [Pipeline] sh 02:28:43 + cat /w/workspace/device-rest-go/198/archives/cost.csv 02:28:43 + cut -d, -f6 [Pipeline] lock 02:28:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-198-stack-cost] 02:28:43 Resource [jenkins-edgexfoundry-device-rest-go-main-198-stack-cost] did not exist. Created. 02:28:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-198-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:28:44 /w/workspace/device-rest-go/198@tmp/durable-5714e709/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:28:45 + echo total: 0.10999999940395355 [Pipeline] stash 02:28:45 Warning: overwriting stash ‘stack-cost’ 02:28:45 Stashed 1 file(s) [Pipeline] } 02:28:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-198-stack-cost] [Pipeline] // lock [Pipeline] } 02:28:45 $ docker stop --time=1 059407372a45ad1162ed7a2b5c59fd069fe3b47d2ed462ca0c6df97f024b0d6a 02:28:46 $ docker rm -f --volumes 059407372a45ad1162ed7a2b5c59fd069fe3b47d2ed462ca0c6df97f024b0d6a [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 02:28:47 provisioning config files... 02:28:47 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18141156172842681262tmp [Pipeline] { [Pipeline] sh 02:28:47 + set +x 02:28:47 + curl -s https://codecov.io/bash 02:28:47 + bash -s -- 02:28:47 02:28:47 _____ _ 02:28:47 / ____| | | 02:28:47 | | ___ __| | ___ ___ _____ __ 02:28:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:28:47 | |___| (_) | (_| | __/ (_| (_) \ V / 02:28:47 \_____\___/ \__,_|\___|\___\___/ \_/ 02:28:47 Bash-1.0.6 02:28:47 02:28:47 02:28:47 ==> git version 2.25.1 found 02:28:47 ==> 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 02:28:47 Release-Date: 2020-01-08 02:28:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:28:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:28:47 ==> Jenkins CI detected. 02:28:47 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 02:28:47 project root: . 02:28:47 --> token set from env 02:28:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:28:47 ==> Running gcov in . (disable via -X gcov) 02:28:47 ==> Python coveragepy not found 02:28:47 ==> Searching for coverage reports in: 02:28:47 + . 02:28:47 -> Found 1 reports 02:28:47 ==> Detecting git/mercurial file structure 02:28:47 ==> Reading reports 02:28:47 + ./coverage.out bytes=14565 02:28:47 ==> Appending adjustments 02:28:47 https://docs.codecov.io/docs/fixing-reports 02:28:47 + Found adjustments 02:28:47 ==> Gzipping contents 02:28:47 4.0K /tmp/codecov.PbZdNc.gz 02:28:47 ==> Uploading reports 02:28:47 url: https://codecov.io 02:28:47 query: branch=main&commit=7b84e98ced83989d31e5191473b2722818049a26&build=198&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F198%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:28:47 -> Pinging Codecov 02:28:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=7b84e98ced83989d31e5191473b2722818049a26&build=198&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F198%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:28:48 -> Uploading to 02:28:48 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/7b84e98ced83989d31e5191473b2722818049a26/6cc79141-e0f3-4e8c-8e28-92c83a579426.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250617%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250617T022847Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=a2015c135c2418e02fcda8c41e70dca0caacae75df40f22b7a84772cd7b9dd9f 02:28:48 % Total % Received % Xferd Average Speed Time Time Time Current 02:28:48 Dload Upload Total Spent Left Speed 02:28:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2326 0 0 100 2326 0 18171 --:--:-- --:--:-- --:--:-- 18171 02:28:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7b84e98ced83989d31e5191473b2722818049a26 [Pipeline] } 02:28:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:28:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:28:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:28:48 02:28:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:28:59 latest: Pulling from edgex-devops/edgex-snyk-go 02:28:59 43c4264eed91: Pulling fs layer 02:28:59 4cc291be95ef: Pulling fs layer 02:28:59 2ac1f1163629: Pulling fs layer 02:28:59 5c3c966382ef: Pulling fs layer 02:28:59 4f4fb700ef54: Pulling fs layer 02:28:59 d9c7d2e4e75e: Pulling fs layer 02:28:59 9c3e1370e548: Pulling fs layer 02:28:59 5c3c966382ef: Waiting 02:28:59 4f4fb700ef54: Waiting 02:28:59 d9c7d2e4e75e: Waiting 02:28:59 4cc291be95ef: Verifying Checksum 02:28:59 4cc291be95ef: Download complete 02:28:59 5c3c966382ef: Download complete 02:28:59 43c4264eed91: Download complete 02:28:59 d9c7d2e4e75e: Verifying Checksum 02:28:59 d9c7d2e4e75e: Download complete 02:28:59 2ac1f1163629: Verifying Checksum 02:28:59 2ac1f1163629: Download complete 02:28:59 43c4264eed91: Pull complete 02:29:00 9c3e1370e548: Verifying Checksum 02:29:00 9c3e1370e548: Download complete 02:29:01 4cc291be95ef: Pull complete 02:29:05 2ac1f1163629: Pull complete 02:29:05 5c3c966382ef: Pull complete 02:29:05 4f4fb700ef54: Pull complete 02:29:05 d9c7d2e4e75e: Pull complete 02:29:08 9c3e1370e548: Pull complete 02:29:08 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 02:29:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:29:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:29:08 prd-ubuntu20.04-docker-8c-8g-3419 does not seem to be running inside a container 02:29:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 02:29:11 $ docker top 2cef92c0f3ac33e959fdc61a0a6239be51f4c9e1ebac345db3df81f1e11a5c26 -eo pid,comm [Pipeline] { [Pipeline] sh 02:29:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo 02:29:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 02:29:12 + set -o pipefail 02:29:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 02:29:14 02:29:14 Monitoring /w/workspace/edgexfoundry_device-rest-go_main... 02:29:14 02:29:14 'go list -json -deps ./...' command failed with error: go: go.mod requires go >= 1.23.4 (running go 1.23.2; GOTOOLCHAIN=local) 02:29:14 [Pipeline] } 02:29:14 $ docker stop --time=1 2cef92c0f3ac33e959fdc61a0a6239be51f4c9e1ebac345db3df81f1e11a5c26 02:29:16 $ docker rm -f --volumes 2cef92c0f3ac33e959fdc61a0a6239be51f4c9e1ebac345db3df81f1e11a5c26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:29:16 [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 02:29:17 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 02:29:17 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:29:17 total 16 02:29:17 drwxr-xr-x 3 root root 4096 Jun 17 02:16 . 02:29:17 drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 02:16 .. 02:29:17 drwxr-xr-x 2 root root 4096 Jun 17 02:16 cost 02:29:17 -rw-r--r-- 1 root root 86 Jun 17 02:16 cost.csv 02:29:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 02:29:17 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 02:29:17 total 16 02:29:17 drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 02:16 . 02:29:17 drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 02:16 .. 02:29:17 drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 02:16 cost 02:29:17 -rw-r--r-- 1 jenkins jenkins 86 Jun 17 02:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:29:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:29:18 ---> package-listing.sh 02:29:18 ++ facter osfamily 02:29:18 ++ tr '[:upper:]' '[:lower:]' 02:29:19 + OS_FAMILY=debian 02:29:19 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 02:29:19 + START_PACKAGES=/tmp/packages_start.txt 02:29:19 + END_PACKAGES=/tmp/packages_end.txt 02:29:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:29:19 + PACKAGES=/tmp/packages_start.txt 02:29:19 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:29:19 + PACKAGES=/tmp/packages_end.txt 02:29:19 + case "${OS_FAMILY}" in 02:29:19 + dpkg -l 02:29:19 + grep '^ii' 02:29:19 + '[' -f /tmp/packages_start.txt ']' 02:29:19 + '[' -f /tmp/packages_end.txt ']' 02:29:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:29:19 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 02:29:19 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 02:29:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 02:29:19 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 02:29:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:29:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:29:20 prd-ubuntu20.04-docker-8c-8g-3419 does not seem to be running inside a container 02:29:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:29:20 $ docker top 41f3120036774f785dcf2ce3f11faca82e31c35a7be2dce7ced91d8eb8d00816 -eo pid,comm [Pipeline] { [Pipeline] sh 02:29:20 + touch /tmp/pre-build-complete [Pipeline] sh 02:29:20 + mkdir -p /var/log/sysstat [Pipeline] sh 02:29:21 + ls /var/log/sa-host 02:29:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:29:21 provisioning config files... 02:29:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17276022749633718494tmp [Pipeline] { [Pipeline] echo 02:29:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:29:21 ---> create-netrc.sh [Pipeline] } 02:29:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:29:21 ---> python-tools-install.sh [Pipeline] echo 02:29:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:29:22 ---> sudo-logs.sh 02:29:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:29:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:29:22 ---> job-cost.sh 02:29:22 lf-activate-venv: SKIPPING 02:29:22 DEBUG: total: 0.2199999988079071 02:29:22 INFO: Retrieving Stack Cost... 02:29:22 INFO: Retrieving Pricing Info for: v3-standard-8 02:29:23 INFO: Archiving Costs [Pipeline] echo 02:29:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:29:23 ---> logs-deploy.sh 02:29:23 lf-activate-venv: SKIPPING 02:29:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/198 02:29:23 INFO: archiving workspace using pattern(s): 02:29:24 Archives upload complete. 02:29:24 INFO: archiving logs to Nexus