Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 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-ssh630425429924555039.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-ssh12453376367143573727.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-ssh12464729774362646877.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-ssh8621296257426852636.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-ssh16511834181245734328.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3479 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 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#472)" > git config core.sparsecheckout # timeout=10 > git checkout -f 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 # timeout=10 > git rev-list --no-walk 7b84e98ced83989d31e5191473b2722818049a26 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:56:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:56:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:56:34 ========================================================= 02:56:34 EdgeX Global Pipelines Version Info 02:56:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:56:35 ------------------- 02:56:35 stable info: 02:56:35 ------------------- 02:56:35 Commited By: Ginny Guan ginny@iotechsys.com 02:56:35 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 02:56:35 Message: update stable to v1.0.274 02:56:36 ------------------- 02:56:36 experimental info: 02:56:36 ------------------- 02:56:36 Commited By: **** collab-it+edgex@linuxfoundation.org 02:56:36 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 02:56:36 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:56:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:56:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:56:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:56:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 [Pipeline] echo 02:56:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 29ece5e [Pipeline] echo 02:56:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:56:37 provisioning config files... 02:56:37 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10810124128145113057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:38 ---> ****-login.sh 02:56:38 nexus3.edgexfoundry.org:10001 02:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:38 Configure a credential helper to remove this warning. See 02:56:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:38 02:56:38 Login Succeeded 02:56:38 nexus3.edgexfoundry.org:10002 02:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:38 Configure a credential helper to remove this warning. See 02:56:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:38 02:56:38 Login Succeeded 02:56:38 nexus3.edgexfoundry.org:10003 02:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:38 Configure a credential helper to remove this warning. See 02:56:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:38 02:56:38 Login Succeeded 02:56:38 nexus3.edgexfoundry.org:10004 02:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:38 Configure a credential helper to remove this warning. See 02:56:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:38 02:56:38 Login Succeeded 02:56:38 ****.io 02:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:39 Configure a credential helper to remove this warning. See 02:56:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:39 02:56:39 Login Succeeded 02:56:39 ---> ****-login.sh ends [Pipeline] } 02:56:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:56:39 + git rev-list -1 --merges 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5~1..29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 [Pipeline] echo 02:56:39 -----------> git rev-list -1 --merges 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5~1..29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 [false] [Pipeline] sh 02:56:39 + git log --format=format:%s -1 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 [Pipeline] echo 02:56:40 ========================================================= 02:56:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:56:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:56:40 + git log --format=format:%s -1 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 [Pipeline] echo 02:56:40 [semverPrep] GIT_COMMIT: 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#472) [Pipeline] echo 02:56:40 [semverPrep] This is not a build commit. [Pipeline] sh 02:56:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:56:40 + grep -v github /etc/ssh/ssh_known_hosts 02:56:40 + [ -e /tmp/ssh_known_hosts ] 02:56:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:56:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:56:40 + sudo tee -a /etc/ssh/ssh_known_hosts 02:56:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:56:41 02:56:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:56:41 0.1.4: Pulling from edgex-devops/py-git-semver 02:56:41 3dae71ba6b94: Pulling fs layer 02:56:41 6bf1a483ea7c: Pulling fs layer 02:56:41 f5dfc541a4d3: Pulling fs layer 02:56:41 461d9e800cba: Pulling fs layer 02:56:41 80192f66455f: Pulling fs layer 02:56:41 2e8e34ca0e6c: Pulling fs layer 02:56:41 a29436f7fd5d: Pulling fs layer 02:56:41 923cac83aea3: Pulling fs layer 02:56:41 25ad8b0a4227: Pulling fs layer 02:56:41 db01528c6b51: Pulling fs layer 02:56:41 28988de357af: Pulling fs layer 02:56:41 461d9e800cba: Waiting 02:56:41 923cac83aea3: Waiting 02:56:41 25ad8b0a4227: Waiting 02:56:41 db01528c6b51: Waiting 02:56:41 28988de357af: Waiting 02:56:41 2e8e34ca0e6c: Waiting 02:56:41 a29436f7fd5d: Waiting 02:56:41 80192f66455f: Waiting 02:56:41 6bf1a483ea7c: Verifying Checksum 02:56:41 6bf1a483ea7c: Download complete 02:56:41 461d9e800cba: Verifying Checksum 02:56:41 461d9e800cba: Download complete 02:56:41 80192f66455f: Verifying Checksum 02:56:41 80192f66455f: Download complete 02:56:41 f5dfc541a4d3: Verifying Checksum 02:56:41 f5dfc541a4d3: Download complete 02:56:41 3dae71ba6b94: Verifying Checksum 02:56:41 3dae71ba6b94: Download complete 02:56:42 923cac83aea3: Verifying Checksum 02:56:42 923cac83aea3: Download complete 02:56:42 25ad8b0a4227: Verifying Checksum 02:56:42 25ad8b0a4227: Download complete 02:56:42 db01528c6b51: Verifying Checksum 02:56:42 db01528c6b51: Download complete 02:56:42 28988de357af: Download complete 02:56:42 a29436f7fd5d: Verifying Checksum 02:56:42 a29436f7fd5d: Download complete 02:56:42 2e8e34ca0e6c: Verifying Checksum 02:56:42 2e8e34ca0e6c: Download complete 02:56:42 3dae71ba6b94: Pull complete 02:56:43 6bf1a483ea7c: Pull complete 02:56:43 f5dfc541a4d3: Pull complete 02:56:43 461d9e800cba: Pull complete 02:56:43 80192f66455f: Pull complete 02:56:47 2e8e34ca0e6c: Pull complete 02:56:47 a29436f7fd5d: Pull complete 02:56:47 923cac83aea3: Pull complete 02:56:47 25ad8b0a4227: Pull complete 02:56:47 db01528c6b51: Pull complete 02:56:48 28988de357af: Pull complete 02:56:48 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 02:56:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:56:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:48 prd-ubuntu20.04-docker-8c-8g-3479 does not seem to be running inside a container 02:56:48 $ 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:56:51 $ docker top 8e17b1a22eb05e41fd07d696fa14110deb60475f6b81421269523b3750011959 -eo pid,comm 02:56:51 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:56:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:56:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:56:51 [ssh-agent] Looking for ssh-agent implementation... 02:56:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:56:51 $ docker exec 8e17b1a22eb05e41fd07d696fa14110deb60475f6b81421269523b3750011959 ssh-agent 02:56:51 SSH_AUTH_SOCK=/tmp/ssh-jkVfFn14xDbj/agent.31 02:56:51 SSH_AGENT_PID=37 02:56:51 Running ssh-add (command line suppressed) 02:56:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16856977767071577455.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16856977767071577455.key) 02:56:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:56:51 + git tag --points-at HEAD [Pipeline] } 02:56:51 $ docker exec --env ******** --env ******** 8e17b1a22eb05e41fd07d696fa14110deb60475f6b81421269523b3750011959 ssh-agent -k 02:56:51 unset SSH_AUTH_SOCK; 02:56:51 unset SSH_AGENT_PID; 02:56:51 echo Agent pid 37 killed; 02:56:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:56:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:56:51 [ssh-agent] Looking for ssh-agent implementation... 02:56:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:56:52 $ docker exec 8e17b1a22eb05e41fd07d696fa14110deb60475f6b81421269523b3750011959 ssh-agent 02:56:52 SSH_AUTH_SOCK=/tmp/ssh-ZQuecFcnD66K/agent.70 02:56:52 SSH_AGENT_PID=76 02:56:52 Running ssh-add (command line suppressed) 02:56:52 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11931134859882088181.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11931134859882088181.key) 02:56:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:56:52 + git semver init 02:56:52 2025-06-18 02:56:52,778 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:56:52 2025-06-18 02:56:52,782 [run_init] DEBUG init version:0.0.0 force:False 02:56:52 2025-06-18 02:56:52,783 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 02:56:52 2025-06-18 02:56:52,783 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 02:56:52 2025-06-18 02:56:52,784 [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:56:54 2025-06-18 02:56:54,212 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 02:56:54 2025-06-18 02:56:54,212 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 02:56:54 2025-06-18 02:56:54,212 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:56:54 2025-06-18 02:56:54,213 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 02:56:54 4.1.0-dev.2 [Pipeline] } 02:56:54 $ docker exec --env ******** --env ******** 8e17b1a22eb05e41fd07d696fa14110deb60475f6b81421269523b3750011959 ssh-agent -k 02:56:54 unset SSH_AUTH_SOCK; 02:56:54 unset SSH_AGENT_PID; 02:56:54 echo Agent pid 76 killed; 02:56:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:56:55 + git semver [Pipeline] } 02:56:55 $ docker stop --time=1 8e17b1a22eb05e41fd07d696fa14110deb60475f6b81421269523b3750011959 02:56:56 $ docker rm -f --volumes 8e17b1a22eb05e41fd07d696fa14110deb60475f6b81421269523b3750011959 [Pipeline] // withDockerContainer [Pipeline] sh 02:56:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:56:57 Stashed 1 file(s) [Pipeline] echo 02:56:57 [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:56:57 provisioning config files... 02:56:57 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9422657236508922879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:58 ---> ****-login.sh 02:56:58 nexus3.edgexfoundry.org:10001 02:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:58 Configure a credential helper to remove this warning. See 02:56:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:58 02:56:58 Login Succeeded 02:56:58 nexus3.edgexfoundry.org:10002 02:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:58 Configure a credential helper to remove this warning. See 02:56:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:58 02:56:58 Login Succeeded 02:56:58 nexus3.edgexfoundry.org:10003 02:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:58 Configure a credential helper to remove this warning. See 02:56:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:58 02:56:58 Login Succeeded 02:56:58 nexus3.edgexfoundry.org:10004 02:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:59 Configure a credential helper to remove this warning. See 02:56:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:59 02:56:59 Login Succeeded 02:56:59 ****.io 02:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:56:59 Configure a credential helper to remove this warning. See 02:56:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:56:59 02:56:59 Login Succeeded 02:56:59 ---> ****-login.sh ends [Pipeline] } 02:56:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:56:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:56:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:56:59 ========================================================= 02:56:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:56:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:59 + 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:56:59 Sending build context to Docker daemon 21.62MB 02:56:59 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:56:59 Step 2/12 : FROM ${BASE} AS builder 02:56:59 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:57:00 0a9a5dfd008f: Pulling fs layer 02:57:00 dbfa0bcfca99: Pulling fs layer 02:57:00 70eabb1d9476: Pulling fs layer 02:57:00 957bedc73fa3: Pulling fs layer 02:57:00 4f4fb700ef54: Pulling fs layer 02:57:00 f40432e63723: Pulling fs layer 02:57:00 90b4343acab7: Pulling fs layer 02:57:00 9f67ea4ac784: Pulling fs layer 02:57:00 9228b9a606be: Pulling fs layer 02:57:00 f40432e63723: Waiting 02:57:00 90b4343acab7: Waiting 02:57:00 9228b9a606be: Waiting 02:57:00 9f67ea4ac784: Waiting 02:57:00 957bedc73fa3: Waiting 02:57:00 4f4fb700ef54: Waiting 02:57:00 dbfa0bcfca99: Verifying Checksum 02:57:00 dbfa0bcfca99: Download complete 02:57:00 957bedc73fa3: Verifying Checksum 02:57:00 957bedc73fa3: Download complete 02:57:00 4f4fb700ef54: Download complete 02:57:00 0a9a5dfd008f: Download complete 02:57:00 f40432e63723: Download complete 02:57:00 90b4343acab7: Verifying Checksum 02:57:00 90b4343acab7: Download complete 02:57:00 0a9a5dfd008f: Pull complete 02:57:00 dbfa0bcfca99: Pull complete 02:57:00 9228b9a606be: Verifying Checksum 02:57:00 9228b9a606be: Download complete 02:57:00 70eabb1d9476: Download complete 02:57:00 9f67ea4ac784: Download complete 02:57:03 70eabb1d9476: Pull complete 02:57:03 957bedc73fa3: Pull complete 02:57:03 4f4fb700ef54: Pull complete 02:57:03 f40432e63723: Pull complete 02:57:03 90b4343acab7: Pull complete 02:57:05 9f67ea4ac784: Pull complete 02:57:06 9228b9a606be: Pull complete 02:57:06 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 02:57:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:57:06 ---> 69404ca5bff2 02:57:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:57:08 ---> Running in 9d1c7ca71f7e 02:57:08 Removing intermediate container 9d1c7ca71f7e 02:57:08 ---> db762505d941 02:57:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:57:08 ---> Running in 66056e7b6cca 02:57:08 Removing intermediate container 66056e7b6cca 02:57:08 ---> 8176e2261e5a 02:57:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:57:08 ---> Running in 891fec55fb51 02:57:08 Removing intermediate container 891fec55fb51 02:57:08 ---> 43275dc75dfe 02:57:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:57:08 ---> Running in 73b9be4c6e1a 02:57:08 Removing intermediate container 73b9be4c6e1a 02:57:08 ---> f956356000da 02:57:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:57:08 ---> Running in 0bf575beed24 02:57:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:57:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:57:12 (1/4) Installing openssh-keygen (9.7_p1-r5) 02:57:12 (2/4) Installing libedit (20240517.3.1-r0) 02:57:12 (3/4) Installing openssh-client-common (9.7_p1-r5) 02:57:12 (4/4) Installing openssh-client-default (9.7_p1-r5) 02:57:12 Executing busybox-1.36.1-r29.trigger 02:57:12 OK: 252 MiB in 62 packages 02:57:12 Still waiting to schedule task 02:57:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:57:12 Removing intermediate container 0bf575beed24 02:57:12 ---> 5c50faa3b4b7 02:57:12 Step 8/12 : WORKDIR /device-rest-go 02:57:12 ---> Running in 98169b12664c 02:57:12 Removing intermediate container 98169b12664c 02:57:12 ---> 930777709b5d 02:57:12 Step 9/12 : COPY go.mod vendor* ./ 02:57:12 ---> ea1fbef652a6 02:57:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:57:12 ---> Running in 7cfb2742b513 02:57:59 Removing intermediate container 7cfb2742b513 02:57:59 ---> 70c3822a583e 02:57:59 Step 11/12 : COPY . . 02:57:59 ---> 88e891cf6e1a 02:57:59 Step 12/12 : RUN $MAKE 02:57:59 ---> Running in 642295af69f9 02:57:59 noop 02:57:59 Removing intermediate container 642295af69f9 02:57:59 ---> 3126ed247a61 02:57:59 Successfully built 3126ed247a61 02:57:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:00 + docker inspect -f . ci-base-image-x86_64 02:58:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:00 prd-ubuntu20.04-docker-8c-8g-3479 does not seem to be running inside a container 02:58:00 $ 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:58:00 $ docker top a963d66404399712ffaa9745de5aa9d9c88741e951babfd9699e2b267e571024 -eo pid,comm [Pipeline] { [Pipeline] sh 02:58:01 + go version 02:58:01 go version go1.23.8 linux/amd64 [Pipeline] } 02:58:01 $ docker stop --time=1 a963d66404399712ffaa9745de5aa9d9c88741e951babfd9699e2b267e571024 02:58:02 $ docker rm -f --volumes a963d66404399712ffaa9745de5aa9d9c88741e951babfd9699e2b267e571024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:02 + docker inspect -f . ci-base-image-x86_64 02:58:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:02 prd-ubuntu20.04-docker-8c-8g-3479 does not seem to be running inside a container 02:58:02 $ 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:58:03 $ docker top 5bb7d05686ce59d8a59a710107fa0cb0d3de42023d071cff881753e7d66d5111 -eo pid,comm [Pipeline] { [Pipeline] sh 02:58:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 02:58:03 + make test 02:58:03 go test ./... -coverprofile=coverage.out ./... 02:58:05 ? github.com/edgexfoundry/device-rest-go [no test files] 02:58:23 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 02:58:23 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 32.2% of statements 02:58:35 go vet ./... 02:58:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:58:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:58:40 ./bin/test-attribution-txt.sh 02:58:40 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 02:58:40 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo 02:58:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:58:40 $ docker stop --time=1 5bb7d05686ce59d8a59a710107fa0cb0d3de42023d071cff881753e7d66d5111 02:58:43 $ docker rm -f --volumes 5bb7d05686ce59d8a59a710107fa0cb0d3de42023d071cff881753e7d66d5111 [Pipeline] // withDockerContainer [Pipeline] sh 02:58:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:58:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:58:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:58:44 + ls -al . 02:58:44 total 244 02:58:44 drwxrwxr-x 9 jenkins jenkins 4096 Jun 18 02:58 . 02:58:44 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 02:56 .. 02:58:44 -rw-rw-r-- 1 jenkins jenkins 151 Jun 18 02:56 .dockerignore 02:58:44 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 02:58 .git 02:58:44 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 02:56 .github 02:58:44 -rw-rw-r-- 1 jenkins jenkins 264 Jun 18 02:56 .gitignore 02:58:44 -rw-rw-r-- 1 jenkins jenkins 41 Jun 18 02:56 .golangci.yml 02:58:44 drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 02:56 .semver 02:58:44 -rw-rw-r-- 1 jenkins jenkins 20138 Jun 18 02:56 Attribution.txt 02:58:44 -rw-rw-r-- 1 jenkins jenkins 18492 Jun 18 02:56 CHANGELOG.md 02:58:44 -rw-rw-r-- 1 jenkins jenkins 1697 Jun 18 02:56 Dockerfile 02:58:44 -rw-rw-r-- 1 jenkins jenkins 677 Jun 18 02:56 GOVERNANCE.md 02:58:44 -rw-rw-r-- 1 jenkins jenkins 680 Jun 18 02:56 Jenkinsfile 02:58:44 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 18 02:56 LICENSE 02:58:44 -rw-rw-r-- 1 jenkins jenkins 2598 Jun 18 02:56 Makefile 02:58:44 -rw-rw-r-- 1 jenkins jenkins 620 Jun 18 02:56 OWNERS.md 02:58:44 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 18 02:56 README.md 02:58:44 -rw-rw-r-- 1 jenkins jenkins 11 Jun 18 02:56 VERSION 02:58:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 02:56 bin 02:58:44 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 02:56 cmd 02:58:44 -rw-r--r-- 1 jenkins jenkins 14565 Jun 18 02:58 coverage.out 02:58:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 02:56 driver 02:58:44 -rw-rw-r-- 1 jenkins jenkins 6272 Jun 18 02:56 go.mod 02:58:44 -rw-rw-r-- 1 jenkins jenkins 86413 Jun 18 02:56 go.sum 02:58:44 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 02:56 openapi 02:58:44 -rw-rw-r-- 1 jenkins jenkins 713 Jun 18 02:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:45 + 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=29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 --label arch=amd64 --label version=4.1.0-dev.2 . 02:58:45 Sending build context to Docker daemon 21.63MB 02:58:45 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:58:45 Step 2/26 : FROM ${BASE} AS builder 02:58:45 ---> 3126ed247a61 02:58:45 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:58:45 ---> Running in 1c80e68ada11 02:58:45 Removing intermediate container 1c80e68ada11 02:58:45 ---> f7daf0bb77f2 02:58:45 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:58:45 ---> Running in 8d2aa5b4ab21 02:58:45 Removing intermediate container 8d2aa5b4ab21 02:58:45 ---> f8093a5a58b1 02:58:45 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:58:45 ---> Running in afdac63c60fa 02:58:45 Removing intermediate container afdac63c60fa 02:58:45 ---> 3ce65aab5651 02:58:45 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:58:45 ---> Running in f27f091d58a5 02:58:45 Removing intermediate container f27f091d58a5 02:58:45 ---> 09d7f1a78b36 02:58:45 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:58:45 ---> Running in 97c2b2abc23f 02:58:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:58:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:58:46 OK: 252 MiB in 62 packages 02:58:46 Removing intermediate container 97c2b2abc23f 02:58:46 ---> 51ebe6e81cd1 02:58:46 Step 8/26 : WORKDIR /device-rest-go 02:58:46 ---> Running in 84d143eeab7d 02:58:46 Removing intermediate container 84d143eeab7d 02:58:46 ---> 6e574bf6f9ed 02:58:46 Step 9/26 : COPY go.mod vendor* ./ 02:58:46 ---> 189c6197a892 02:58:46 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:58:46 ---> Running in d1e039a65d42 02:58:47 Removing intermediate container d1e039a65d42 02:58:47 ---> 7cd2e8e3a28c 02:58:47 Step 11/26 : COPY . . 02:58:48 ---> eb04bde0cc47 02:58:48 Step 12/26 : RUN $MAKE 02:58:48 ---> Running in c2b4a0bd56f9 02:58:48 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.14 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 02:58:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3480 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 02:58:51 Running in /w/workspace/device-rest-go/199 [Pipeline] { [Pipeline] checkout 02:58:54 The recommended git tool is: git 02:58:59 using credential edgex-jenkins-ssh 02:58:59 Cloning the remote Git repository 02:59:00 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 02:59:00 > git init /w/workspace/device-rest-go/199 # timeout=10 02:59:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 02:59:00 > git --version # timeout=10 02:59:00 > git --version # 'git version 2.25.1' 02:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:59:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:59:03 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 02:59:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:59:04 Avoid second fetch 02:59:04 Checking out Revision 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 (main) 02:59:05 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 (#472)" 02:59:04 > git config core.sparsecheckout # timeout=10 02:59:04 > git checkout -f 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:59:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:59:09 % Total % Received % Xferd Average Speed Time Time Time Current 02:59:09 Dload Upload Total Spent Left Speed 02:59:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13063 100 13063 0 0 93978 0 --:--:-- --:--:-- --:--:-- 93978 [Pipeline] sh 02:59:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:59:10 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 02:59:10 /etc/docker/daemon.new 02:59:10 { 02:59:10 "registry-mirrors": [ 02:59:10 "https://nexus3.edgexfoundry.org:10001" 02:59:10 ], 02:59:10 "bip": "10.250.0.254/24", 02:59:10 "hosts": [ 02:59:10 "tcp://0.0.0.0:5555", 02:59:10 "unix:///var/run/docker.sock" 02:59:10 ], 02:59:10 "mtu": 1458, 02:59:10 "selinux-enabled": true, 02:59:10 "seccomp-profile": "/etc/docker/seccomp.json" 02:59:10 } [Pipeline] sh 02:59:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:59:11 + sudo service docker restart 02:59:20 Removing intermediate container c2b4a0bd56f9 02:59:20 ---> bb5e68a3c8ee 02:59:20 Step 13/26 : FROM alpine:3.20 02:59:20 3.20: Pulling from library/alpine 02:59:20 0a9a5dfd008f: Already exists 02:59:20 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 02:59:20 Status: Downloaded newer image for alpine:3.20 02:59:20 ---> ff221270b9fb 02:59:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:59:20 ---> Running in 3e50cd3d78df 02:59:20 Removing intermediate container 3e50cd3d78df 02:59:20 ---> 8e2ada522347 02:59:20 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 02:59:20 ---> Running in cc7ad78f9dc0 02:59:20 Removing intermediate container cc7ad78f9dc0 02:59:20 ---> 344360f061da 02:59:20 Step 16/26 : RUN apk add --update --no-cache dumb-init 02:59:20 ---> Running in 9b11ab08ca26 02:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:59:20 (1/1) Installing dumb-init (1.2.5-r3) 02:59:20 Executing busybox-1.36.1-r29.trigger 02:59:20 OK: 8 MiB in 15 packages 02:59:20 Removing intermediate container 9b11ab08ca26 02:59:20 ---> bcce864f2471 02:59:20 Step 17/26 : RUN apk --no-cache upgrade 02:59:20 ---> Running in 164e0b4377fa 02:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:59:20 OK: 8 MiB in 15 packages 02:59:20 Removing intermediate container 164e0b4377fa 02:59:20 ---> d4bc7dc686a0 02:59:20 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 02:59:20 ---> d4d42f0321dd 02:59:20 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 02:59:20 ---> c686b7dcccbd 02:59:20 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 02:59:20 ---> 433a71651bba 02:59:20 Step 21/26 : EXPOSE 59986 02:59:20 ---> Running in 07dc1041c29a 02:59:21 Removing intermediate container 07dc1041c29a 02:59:21 ---> 27c27a716c0a 02:59:21 Step 22/26 : ENTRYPOINT ["/device-rest"] 02:59:21 ---> Running in 1d5ec9c35cf5 02:59:21 Removing intermediate container 1d5ec9c35cf5 02:59:21 ---> 1a51dfca9e2a 02:59:21 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:59:21 ---> Running in 91ccf4e31026 02:59:21 Removing intermediate container 91ccf4e31026 02:59:21 ---> 7666d555f323 02:59:21 Step 24/26 : LABEL arch=amd64 02:59:21 ---> Running in 9498be41240c 02:59:21 Removing intermediate container 9498be41240c 02:59:21 ---> 67d15445469a 02:59:21 Step 25/26 : LABEL git_sha=29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 02:59:21 ---> Running in 9df33b729a05 02:59:21 Removing intermediate container 9df33b729a05 02:59:21 ---> 0e9764652579 02:59:21 Step 26/26 : LABEL version=4.1.0-dev.2 02:59:21 ---> Running in accb4131c1a8 02:59:21 Removing intermediate container accb4131c1a8 02:59:21 ---> 61c7a86bbe3e 02:59:21 [Warning] One or more build-args [ARCH] were not consumed 02:59:21 Successfully built 61c7a86bbe3e 02:59:21 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:59:21 provisioning config files... 02:59:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17561132991475598187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:59:22 ---> ****-login.sh 02:59:22 nexus3.edgexfoundry.org:10001 02:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:22 Configure a credential helper to remove this warning. See 02:59:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:22 02:59:22 Login Succeeded 02:59:22 nexus3.edgexfoundry.org:10002 02:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:22 Configure a credential helper to remove this warning. See 02:59:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:22 02:59:22 Login Succeeded 02:59:22 nexus3.edgexfoundry.org:10003 02:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:22 Configure a credential helper to remove this warning. See 02:59:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:22 02:59:22 Login Succeeded 02:59:22 nexus3.edgexfoundry.org:10004 02:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:22 Configure a credential helper to remove this warning. See 02:59:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:22 02:59:22 Login Succeeded 02:59:22 ****.io 02:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:22 Configure a credential helper to remove this warning. See 02:59:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:22 02:59:22 Login Succeeded 02:59:22 ---> ****-login.sh ends [Pipeline] } 02:59:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:59:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:59:22 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 02:59:22 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 02:59:22 latest 02:59:22 4.1.0-dev.2 02:59:22 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2 02:59:22 main 02:59:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:23 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:23 + docker push nexus3.edgexfoundry.org:10004/device-rest:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 02:59:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:59:23 0f913cda4d38: Preparing 02:59:23 a311679fb0bb: Preparing 02:59:23 786725b07a76: Preparing 02:59:23 f3a592b55330: Preparing 02:59:23 664499cd906c: Preparing 02:59:23 994456c4fd7b: Preparing 02:59:23 f3a592b55330: Pushed 02:59:23 0f913cda4d38: Pushed 02:59:23 664499cd906c: Pushed 02:59:23 a311679fb0bb: Pushed 02:59:23 994456c4fd7b: Layer already exists 02:59:26 786725b07a76: Pushed 02:59:27 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5: digest: sha256:94ecb93849e8ecf054877f8359e7bfc66c17e65f1d797ff32e7865f09cb62a3a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 02:59:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:59:27 0f913cda4d38: Preparing 02:59:27 a311679fb0bb: Preparing 02:59:27 786725b07a76: Preparing 02:59:27 f3a592b55330: Preparing 02:59:27 664499cd906c: Preparing 02:59:27 994456c4fd7b: Preparing 02:59:27 994456c4fd7b: Waiting 02:59:27 0f913cda4d38: Layer already exists 02:59:27 a311679fb0bb: Layer already exists 02:59:27 f3a592b55330: Layer already exists 02:59:27 664499cd906c: Layer already exists 02:59:27 786725b07a76: Layer already exists 02:59:27 994456c4fd7b: Layer already exists 02:59:27 latest: digest: sha256:94ecb93849e8ecf054877f8359e7bfc66c17e65f1d797ff32e7865f09cb62a3a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:28 + 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:59:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 02:59:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:59:28 0f913cda4d38: Preparing 02:59:28 a311679fb0bb: Preparing 02:59:28 786725b07a76: Preparing 02:59:28 f3a592b55330: Preparing 02:59:28 664499cd906c: Preparing 02:59:28 994456c4fd7b: Preparing 02:59:28 786725b07a76: Layer already exists 02:59:28 a311679fb0bb: Layer already exists 02:59:28 0f913cda4d38: Layer already exists 02:59:28 f3a592b55330: Layer already exists 02:59:28 664499cd906c: Layer already exists 02:59:28 994456c4fd7b: Layer already exists 02:59:28 4.1.0-dev.2: digest: sha256:94ecb93849e8ecf054877f8359e7bfc66c17e65f1d797ff32e7865f09cb62a3a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2 02:59:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:59:29 0f913cda4d38: Preparing 02:59:29 a311679fb0bb: Preparing 02:59:29 786725b07a76: Preparing 02:59:29 f3a592b55330: Preparing 02:59:29 664499cd906c: Preparing 02:59:29 994456c4fd7b: Preparing 02:59:29 994456c4fd7b: Waiting 02:59:29 0f913cda4d38: Layer already exists 02:59:29 664499cd906c: Layer already exists 02:59:29 786725b07a76: Layer already exists 02:59:29 a311679fb0bb: Layer already exists 02:59:29 f3a592b55330: Layer already exists 02:59:29 994456c4fd7b: Layer already exists 02:59:29 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2: digest: sha256:94ecb93849e8ecf054877f8359e7bfc66c17e65f1d797ff32e7865f09cb62a3a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:59:29 provisioning config files... 02:59:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/199@tmp/config17970635107812239560tmp 02:59:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh 02:59:29 ---> ****-login.sh 02:59:29 nexus3.edgexfoundry.org:10001 02:59:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 02:59:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 02:59:29 0f913cda4d38: Preparing 02:59:29 a311679fb0bb: Preparing 02:59:29 786725b07a76: Preparing 02:59:29 f3a592b55330: Preparing 02:59:29 664499cd906c: Preparing 02:59:29 994456c4fd7b: Preparing 02:59:29 994456c4fd7b: Waiting 02:59:29 a311679fb0bb: Layer already exists 02:59:29 0f913cda4d38: Layer already exists 02:59:29 664499cd906c: Layer already exists 02:59:29 f3a592b55330: Layer already exists 02:59:29 786725b07a76: Layer already exists 02:59:29 994456c4fd7b: Layer already exists 02:59:29 main: digest: sha256:94ecb93849e8ecf054877f8359e7bfc66c17e65f1d797ff32e7865f09cb62a3a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:59:29 ===================================================== [Pipeline] echo 02:59:29 taggedImages: 02:59:29 - nexus3.edgexfoundry.org:10004/device-rest:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 02:59:29 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:59:29 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 02:59:29 - nexus3.edgexfoundry.org:10004/device-rest:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2 02:59:29 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] echo 02:59:30 ========================================================= 02:59:30 [edgeXBuildMultiArch] RAW Config: 02:59:30 images: 02:59:30 - nexus3.edgexfoundry.org:10004/device-rest:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 02:59:30 - nexus3.edgexfoundry.org:10004/device-rest:latest 02:59:30 - nexus3.edgexfoundry.org:10004/device-rest:4.1.0-dev.2 02:59:30 - nexus3.edgexfoundry.org:10004/device-rest:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2 02:59:30 - nexus3.edgexfoundry.org:10004/device-rest:main 02:59:30 settingsFile: 02:59:30 device-rest-go-settings 02:59:30 ========================================================= [Pipeline] node 02:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:30 Configure a credential helper to remove this warning. See 02:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:30 02:59:30 Login Succeeded 02:59:30 nexus3.edgexfoundry.org:10002 02:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:30 Configure a credential helper to remove this warning. See 02:59:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:30 02:59:30 Login Succeeded 02:59:30 nexus3.edgexfoundry.org:10003 02:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:31 Configure a credential helper to remove this warning. See 02:59:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:31 02:59:31 Login Succeeded 02:59:31 nexus3.edgexfoundry.org:10004 02:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:31 Configure a credential helper to remove this warning. See 02:59:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:31 02:59:31 Login Succeeded 02:59:31 ****.io 02:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:59:32 Configure a credential helper to remove this warning. See 02:59:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:59:32 02:59:32 Login Succeeded 02:59:32 ---> ****-login.sh ends [Pipeline] } 02:59:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:59:32 ========================================================= 02:59:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 02:59:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:32 + 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:59:32 Sending build context to Docker daemon 141.8kB 02:59:33 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 02:59:33 Step 2/12 : FROM ${BASE} AS builder 02:59:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:59:33 94e9d8af2201: Pulling fs layer 02:59:33 634366ca850b: Pulling fs layer 02:59:33 f66ade281fe9: Pulling fs layer 02:59:33 13fd4ce6e94e: Pulling fs layer 02:59:33 4f4fb700ef54: Pulling fs layer 02:59:33 4cccf3f17d63: Pulling fs layer 02:59:33 2d8010953d95: Pulling fs layer 02:59:33 ec743f232bc5: Pulling fs layer 02:59:33 13fd4ce6e94e: Waiting 02:59:33 4f4fb700ef54: Waiting 02:59:33 4cccf3f17d63: Waiting 02:59:33 2d8010953d95: Waiting 02:59:33 ec743f232bc5: Waiting 02:59:33 634366ca850b: Verifying Checksum 02:59:33 634366ca850b: Download complete 02:59:33 13fd4ce6e94e: Verifying Checksum 02:59:33 13fd4ce6e94e: Download complete 02:59:33 4f4fb700ef54: Verifying Checksum 02:59:33 4f4fb700ef54: Download complete 02:59:33 4cccf3f17d63: Download complete 02:59:33 94e9d8af2201: Verifying Checksum 02:59:33 94e9d8af2201: Download complete 02:59:33 ec743f232bc5: Verifying Checksum 02:59:33 ec743f232bc5: Download complete 02:59:34 94e9d8af2201: Pull complete 02:59:35 634366ca850b: Pull complete 02:59:35 f66ade281fe9: Verifying Checksum 02:59:35 f66ade281fe9: Download complete 02:59:36 2d8010953d95: Verifying Checksum 02:59:36 2d8010953d95: Download complete 02:59:45 Still waiting to schedule task 02:59:45 All nodes of label ‘centos7-docker-4c-2g’ are offline 02:59:51 f66ade281fe9: Pull complete 02:59:51 13fd4ce6e94e: Pull complete 02:59:51 4f4fb700ef54: Pull complete 02:59:51 4cccf3f17d63: Pull complete 02:59:58 2d8010953d95: Pull complete 03:00:00 ec743f232bc5: Pull complete 03:00:00 Digest: sha256:a6e51edf931e1c2109943d1a62f1c16b78b2281728f1935e6b3d8efd9a0c5dda 03:00:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 03:00:00 ---> 12c1d4c06be1 03:00:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:00:01 ---> Running in 49dfca91e3c5 03:00:01 Removing intermediate container 49dfca91e3c5 03:00:01 ---> 15b4af263403 03:00:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:00:01 ---> Running in 4e73d328a68e 03:00:02 Removing intermediate container 4e73d328a68e 03:00:02 ---> d889d055784c 03:00:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:00:02 ---> Running in cf682a44d49b 03:00:02 Removing intermediate container cf682a44d49b 03:00:02 ---> 57c40a74cadb 03:00:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:00:02 ---> Running in 33fd93b436c3 03:00:03 Removing intermediate container 33fd93b436c3 03:00:03 ---> ae1918c0d337 03:00:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:00:03 ---> Running in 9cf022e4db27 03:00:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:00:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:00:06 (1/4) Installing openssh-keygen (9.7_p1-r5) 03:00:06 (2/4) Installing libedit (20240517.3.1-r0) 03:00:06 (3/4) Installing openssh-client-common (9.7_p1-r5) 03:00:06 (4/4) Installing openssh-client-default (9.7_p1-r5) 03:00:06 Executing busybox-1.36.1-r29.trigger 03:00:06 OK: 244 MiB in 62 packages 03:00:06 Removing intermediate container 9cf022e4db27 03:00:06 ---> 255418f98524 03:00:06 Step 8/12 : WORKDIR /device-rest-go 03:00:06 ---> Running in 28d95ed0dece 03:00:07 Removing intermediate container 28d95ed0dece 03:00:07 ---> 02765798ec76 03:00:07 Step 9/12 : COPY go.mod vendor* ./ 03:00:07 ---> 16946def74f6 03:00:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:00:07 ---> Running in d45331267fd7 03:00:41 Running on prd-centos7-docker-4c-2g-3481 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:41 provisioning config files... 03:00:41 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4511776278098407444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:43 ---> ****-login.sh 03:00:43 nexus3.edgexfoundry.org:10001 03:02:00 Removing intermediate container d45331267fd7 03:02:00 ---> ef83e57f81a6 03:02:00 Step 11/12 : COPY . . 03:02:00 ---> e65c230e73a6 03:02:00 Step 12/12 : RUN $MAKE 03:02:00 ---> Running in 977e7dd54a83 03:02:00 noop 03:02:00 Removing intermediate container 977e7dd54a83 03:02:00 ---> c2ef6dc8be8b 03:02:00 Successfully built c2ef6dc8be8b 03:02:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:00 + docker inspect -f . ci-base-image-arm64 03:02:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:00 prd-ubuntu20.04-docker-arm64-4c-16g-3480 does not seem to be running inside a container 03:02:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/199 -v /w/workspace/device-rest-go/199:/w/workspace/device-rest-go/199:rw,z -v /w/workspace/device-rest-go/199@tmp:/w/workspace/device-rest-go/199@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 03:02:02 $ docker top dd805a5d2d40492b75f279897769cccddf22c1793b1eca2d2f96d5786e54e9a9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:02 + go version 03:02:02 go version go1.23.8 linux/arm64 [Pipeline] } 03:02:02 $ docker stop --time=1 dd805a5d2d40492b75f279897769cccddf22c1793b1eca2d2f96d5786e54e9a9 03:02:05 $ docker rm -f --volumes dd805a5d2d40492b75f279897769cccddf22c1793b1eca2d2f96d5786e54e9a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:05 + docker inspect -f . ci-base-image-arm64 03:02:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:02:05 prd-ubuntu20.04-docker-arm64-4c-16g-3480 does not seem to be running inside a container 03:02:06 $ 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/199 -v /w/workspace/device-rest-go/199:/w/workspace/device-rest-go/199:rw,z -v /w/workspace/device-rest-go/199@tmp:/w/workspace/device-rest-go/199@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 03:02:07 $ docker top c670468c3fb9cbc50177effb35782d561b9bee4a73c35114979d6eec6714224d -eo pid,comm [Pipeline] { [Pipeline] sh 03:02:07 + git config --global --add safe.directory /w/workspace/device-rest-go/199 [Pipeline] fileExists [Pipeline] sh 03:02:08 + make test 03:02:08 go test ./... -coverprofile=coverage.out ./... 03:02:13 ? github.com/edgexfoundry/device-rest-go [no test files] 03:05:20 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 03:05:23 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 32.2% of statements 03:05:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:05:24 go vet ./... 03:06:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:06:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:06:11 ./bin/test-attribution-txt.sh 03:06:11 An attribution for github.com/emirpasic/gods is missing from Attribution.txt, please add 03:06:11 An attribution for github.com/openziti/channel/v4 is missing from Attribution.txt, please add [Pipeline] echo 03:06:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:06:11 $ docker stop --time=1 c670468c3fb9cbc50177effb35782d561b9bee4a73c35114979d6eec6714224d 03:06:13 $ docker rm -f --volumes c670468c3fb9cbc50177effb35782d561b9bee4a73c35114979d6eec6714224d [Pipeline] // withDockerContainer [Pipeline] sh 03:06:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:06:15 Warning: overwriting stash ‘coverage-report’ 03:06:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:06:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:06:16 + ls -al . 03:06:16 total 240 03:06:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 03:02 . 03:06:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 02:59 .. 03:06:16 -rw-rw-r-- 1 jenkins jenkins 151 Jun 18 02:59 .dockerignore 03:06:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 02:59 .git 03:06:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 02:59 .github 03:06:16 -rw-rw-r-- 1 jenkins jenkins 264 Jun 18 02:59 .gitignore 03:06:16 -rw-rw-r-- 1 jenkins jenkins 41 Jun 18 02:59 .golangci.yml 03:06:16 -rw-rw-r-- 1 jenkins jenkins 20138 Jun 18 02:59 Attribution.txt 03:06:16 -rw-rw-r-- 1 jenkins jenkins 18492 Jun 18 02:59 CHANGELOG.md 03:06:16 -rw-rw-r-- 1 jenkins jenkins 1697 Jun 18 02:59 Dockerfile 03:06:16 -rw-rw-r-- 1 jenkins jenkins 677 Jun 18 02:59 GOVERNANCE.md 03:06:16 -rw-rw-r-- 1 jenkins jenkins 680 Jun 18 02:59 Jenkinsfile 03:06:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 18 02:59 LICENSE 03:06:16 -rw-rw-r-- 1 jenkins jenkins 2598 Jun 18 02:59 Makefile 03:06:16 -rw-rw-r-- 1 jenkins jenkins 620 Jun 18 02:59 OWNERS.md 03:06:16 -rw-rw-r-- 1 jenkins jenkins 3989 Jun 18 02:59 README.md 03:06:16 -rw-rw-r-- 1 jenkins jenkins 11 Jun 18 02:56 VERSION 03:06:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 02:59 bin 03:06:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 02:59 cmd 03:06:16 -rw-r--r-- 1 jenkins jenkins 14565 Jun 18 03:05 coverage.out 03:06:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 02:59 driver 03:06:16 -rw-rw-r-- 1 jenkins jenkins 6272 Jun 18 02:59 go.mod 03:06:16 -rw-rw-r-- 1 jenkins jenkins 86413 Jun 18 02:59 go.sum 03:06:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 02:59 openapi 03:06:16 -rw-rw-r-- 1 jenkins jenkins 713 Jun 18 02:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:16 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 --label arch=arm64 --label version=4.1.0-dev.2 . 03:06:16 Sending build context to Docker daemon 157.2kB 03:06:16 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 03:06:16 Step 2/26 : FROM ${BASE} AS builder 03:06:16 ---> c2ef6dc8be8b 03:06:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:06:16 ---> Running in 42c9f0c20974 03:06:17 Removing intermediate container 42c9f0c20974 03:06:17 ---> 15ce7aa9d996 03:06:17 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:06:17 ---> Running in 9ec29da0ae33 03:06:17 Removing intermediate container 9ec29da0ae33 03:06:17 ---> 87dafdfd5eb0 03:06:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:06:17 ---> Running in 67b7e4d6fc4a 03:06:18 Removing intermediate container 67b7e4d6fc4a 03:06:18 ---> cbbb1198c35f 03:06:18 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:06:18 ---> Running in 6c793083ca1d 03:06:18 Removing intermediate container 6c793083ca1d 03:06:18 ---> 0c0dccc8692d 03:06:18 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:06:18 ---> Running in b3ed1b6dcea7 03:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:06:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:06:21 OK: 244 MiB in 62 packages 03:06:22 Removing intermediate container b3ed1b6dcea7 03:06:22 ---> d64e85016b98 03:06:22 Step 8/26 : WORKDIR /device-rest-go 03:06:22 ---> Running in af75e1231e48 03:06:22 Removing intermediate container af75e1231e48 03:06:22 ---> 5c1d063c4f8a 03:06:22 Step 9/26 : COPY go.mod vendor* ./ 03:06:24 ---> d06c62464799 03:06:24 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:06:24 ---> Running in 4a22c296cb81 03:06:26 Removing intermediate container 4a22c296cb81 03:06:26 ---> 5541730424b7 03:06:26 Step 11/26 : COPY . . 03:06:26 ---> c6e132cd2954 03:06:26 Step 12/26 : RUN $MAKE 03:06:26 ---> Running in 431d27729717 03:06:27 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.14 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 03:09:49 Removing intermediate container 431d27729717 03:09:49 ---> b3b05a99b43d 03:09:49 Step 13/26 : FROM alpine:3.20 03:09:49 3.20: Pulling from library/alpine 03:09:49 94e9d8af2201: Already exists 03:09:49 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 03:09:49 Status: Downloaded newer image for alpine:3.20 03:09:49 ---> 7aab056cecc6 03:09:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:09:49 ---> Running in 6b264c6c89a7 03:09:49 Removing intermediate container 6b264c6c89a7 03:09:49 ---> 7136ce0a4bbe 03:09:49 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 03:09:49 ---> Running in 2cf5a579e209 03:09:49 Removing intermediate container 2cf5a579e209 03:09:49 ---> 98d529496c41 03:09:49 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:09:49 ---> Running in cb8147ec9060 03:09:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:09:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:09:49 (1/1) Installing dumb-init (1.2.5-r3) 03:09:49 Executing busybox-1.36.1-r29.trigger 03:09:49 OK: 9 MiB in 15 packages 03:09:49 Removing intermediate container cb8147ec9060 03:09:49 ---> 163425230140 03:09:49 Step 17/26 : RUN apk --no-cache upgrade 03:09:49 ---> Running in 047b90813f4e 03:09:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:09:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:09:49 OK: 9 MiB in 15 packages 03:09:49 Removing intermediate container 047b90813f4e 03:09:49 ---> ac31acccaf1f 03:09:49 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 03:09:49 ---> 4ed55600b8c0 03:09:49 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 03:09:49 ---> 2fe767302f2a 03:09:49 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 03:09:49 ---> 3a0315d4a683 03:09:49 Step 21/26 : EXPOSE 59986 03:09:49 ---> Running in 558a814cc3f4 03:09:50 Removing intermediate container 558a814cc3f4 03:09:50 ---> 4535c97cce02 03:09:50 Step 22/26 : ENTRYPOINT ["/device-rest"] 03:09:50 ---> Running in 877532536e91 03:09:50 Removing intermediate container 877532536e91 03:09:50 ---> dcc9201c9ba1 03:09:50 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:09:50 ---> Running in 81f83cf2fd73 03:09:50 Removing intermediate container 81f83cf2fd73 03:09:50 ---> de80ead2a2e8 03:09:50 Step 24/26 : LABEL arch=arm64 03:09:50 ---> Running in 893f143ee512 03:09:51 Removing intermediate container 893f143ee512 03:09:51 ---> 27fac4e586ae 03:09:51 Step 25/26 : LABEL git_sha=29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 03:09:51 ---> Running in 5db37afd3726 03:09:51 Removing intermediate container 5db37afd3726 03:09:51 ---> 806573a528c6 03:09:51 Step 26/26 : LABEL version=4.1.0-dev.2 03:09:51 ---> Running in 6d61f47d79b8 03:09:51 Removing intermediate container 6d61f47d79b8 03:09:51 ---> a16be06e8343 03:09:51 [Warning] One or more build-args [ARCH] were not consumed 03:09:51 Successfully built a16be06e8343 03:09:51 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 03:09:52 provisioning config files... 03:09:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/199@tmp/config5645946299713247882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:52 ---> ****-login.sh 03:09:52 nexus3.edgexfoundry.org:10001 03:09:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:09:52 Configure a credential helper to remove this warning. See 03:09:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:09:52 03:09:52 Login Succeeded 03:09:52 nexus3.edgexfoundry.org:10002 03:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:09:53 Configure a credential helper to remove this warning. See 03:09:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:09:53 03:09:53 Login Succeeded 03:09:53 nexus3.edgexfoundry.org:10003 03:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:09:53 Configure a credential helper to remove this warning. See 03:09:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:09:53 03:09:53 Login Succeeded 03:09:53 nexus3.edgexfoundry.org:10004 03:09:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:09:53 Configure a credential helper to remove this warning. See 03:09:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:09:53 03:09:53 Login Succeeded 03:09:53 ****.io 03:09:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:09:54 Configure a credential helper to remove this warning. See 03:09:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:09:54 03:09:54 Login Succeeded 03:09:54 ---> ****-login.sh ends [Pipeline] } 03:09:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:09:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:09:54 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 03:09:54 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 03:09:54 latest 03:09:54 4.1.0-dev.2 03:09:54 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2 03:09:54 main 03:09:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 03:09:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:09:55 370ef2c302db: Preparing 03:09:55 6522afce6cab: Preparing 03:09:55 b473c430f91c: Preparing 03:09:55 a3537249ece2: Preparing 03:09:55 4ae255f6582e: Preparing 03:09:55 dd9c8f8612c8: Preparing 03:09:55 dd9c8f8612c8: Waiting 03:09:55 a3537249ece2: Pushed 03:09:55 370ef2c302db: Pushed 03:09:55 4ae255f6582e: Pushed 03:09:55 6522afce6cab: Pushed 03:09:55 dd9c8f8612c8: Layer already exists 03:10:03 b473c430f91c: Pushed 03:10:03 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5: digest: sha256:5c93bceb3eec62563b2c5e40a61f091231423dda4f20ecc617c4d431bd6abc18 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:10:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:10:04 370ef2c302db: Preparing 03:10:04 6522afce6cab: Preparing 03:10:04 b473c430f91c: Preparing 03:10:04 a3537249ece2: Preparing 03:10:04 4ae255f6582e: Preparing 03:10:04 dd9c8f8612c8: Preparing 03:10:04 dd9c8f8612c8: Waiting 03:10:04 6522afce6cab: Layer already exists 03:10:04 370ef2c302db: Layer already exists 03:10:04 b473c430f91c: Layer already exists 03:10:04 4ae255f6582e: Layer already exists 03:10:04 a3537249ece2: Layer already exists 03:10:04 dd9c8f8612c8: Layer already exists 03:10:04 latest: digest: sha256:5c93bceb3eec62563b2c5e40a61f091231423dda4f20ecc617c4d431bd6abc18 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 03:10:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:10:05 370ef2c302db: Preparing 03:10:05 6522afce6cab: Preparing 03:10:05 b473c430f91c: Preparing 03:10:05 a3537249ece2: Preparing 03:10:05 4ae255f6582e: Preparing 03:10:05 dd9c8f8612c8: Preparing 03:10:05 dd9c8f8612c8: Waiting 03:10:05 6522afce6cab: Layer already exists 03:10:05 4ae255f6582e: Layer already exists 03:10:05 370ef2c302db: Layer already exists 03:10:05 b473c430f91c: Layer already exists 03:10:05 a3537249ece2: Layer already exists 03:10:05 dd9c8f8612c8: Layer already exists 03:10:05 4.1.0-dev.2: digest: sha256:5c93bceb3eec62563b2c5e40a61f091231423dda4f20ecc617c4d431bd6abc18 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2 03:10:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:10:06 370ef2c302db: Preparing 03:10:06 6522afce6cab: Preparing 03:10:06 b473c430f91c: Preparing 03:10:06 a3537249ece2: Preparing 03:10:06 4ae255f6582e: Preparing 03:10:06 dd9c8f8612c8: Preparing 03:10:06 dd9c8f8612c8: Waiting 03:10:06 370ef2c302db: Layer already exists 03:10:06 6522afce6cab: Layer already exists 03:10:06 4ae255f6582e: Layer already exists 03:10:06 a3537249ece2: Layer already exists 03:10:06 b473c430f91c: Layer already exists 03:10:06 dd9c8f8612c8: Layer already exists 03:10:06 29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2: digest: sha256:5c93bceb3eec62563b2c5e40a61f091231423dda4f20ecc617c4d431bd6abc18 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 03:10:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:10:07 370ef2c302db: Preparing 03:10:07 6522afce6cab: Preparing 03:10:07 b473c430f91c: Preparing 03:10:07 a3537249ece2: Preparing 03:10:07 4ae255f6582e: Preparing 03:10:07 dd9c8f8612c8: Preparing 03:10:07 dd9c8f8612c8: Waiting 03:10:07 a3537249ece2: Layer already exists 03:10:07 370ef2c302db: Layer already exists 03:10:07 4ae255f6582e: Layer already exists 03:10:07 b473c430f91c: Layer already exists 03:10:07 6522afce6cab: Layer already exists 03:10:07 dd9c8f8612c8: Layer already exists 03:10:07 main: digest: sha256:5c93bceb3eec62563b2c5e40a61f091231423dda4f20ecc617c4d431bd6abc18 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:10:07 ===================================================== [Pipeline] echo 03:10:07 taggedImages: 03:10:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 03:10:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:10:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 03:10:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2 03:10:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] echo 03:10:07 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5 [Pipeline] echo 03:10:07 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] echo 03:10:07 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:4.1.0-dev.2 [Pipeline] echo 03:10:07 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-rest-arm64:29ece5ecb4eb59755b9c469d003fe9bbe467b4e5-4.1.0-dev.2 [Pipeline] echo 03:10:07 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 03:10:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:10:08 03:10:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:10:08 arm64: Pulling from edgex-lftools-log-publisher 03:10:08 8998bd30e6a1: Pulling fs layer 03:10:08 04944245beec: Pulling fs layer 03:10:08 699f458cf7ca: Pulling fs layer 03:10:08 765212b225bb: Pulling fs layer 03:10:08 f23df028b6ca: Pulling fs layer 03:10:08 d65c8cfc05b1: Pulling fs layer 03:10:08 2437ff75d9bd: Pulling fs layer 03:10:08 f23df028b6ca: Waiting 03:10:08 d65c8cfc05b1: Waiting 03:10:08 2437ff75d9bd: Waiting 03:10:08 765212b225bb: Waiting 03:10:08 04944245beec: Verifying Checksum 03:10:08 04944245beec: Download complete 03:10:08 765212b225bb: Verifying Checksum 03:10:08 765212b225bb: Download complete 03:10:08 f23df028b6ca: Verifying Checksum 03:10:08 f23df028b6ca: Download complete 03:10:08 d65c8cfc05b1: Verifying Checksum 03:10:08 d65c8cfc05b1: Download complete 03:10:08 699f458cf7ca: Verifying Checksum 03:10:08 699f458cf7ca: Download complete 03:10:09 8998bd30e6a1: Verifying Checksum 03:10:09 8998bd30e6a1: Download complete 03:10:11 2437ff75d9bd: Verifying Checksum 03:10:11 2437ff75d9bd: Download complete 03:10:13 8998bd30e6a1: Pull complete 03:10:14 04944245beec: Pull complete 03:10:15 699f458cf7ca: Pull complete 03:10:16 765212b225bb: Pull complete 03:10:16 f23df028b6ca: Pull complete 03:10:17 d65c8cfc05b1: Pull complete 03:10:35 2437ff75d9bd: Pull complete 03:10:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:10:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:10:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:35 prd-ubuntu20.04-docker-arm64-4c-16g-3480 does not seem to be running inside a container 03:10:35 $ 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/199 -v /w/workspace/device-rest-go/199:/w/workspace/device-rest-go/199:rw,z -v /w/workspace/device-rest-go/199@tmp:/w/workspace/device-rest-go/199@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 03:10:38 $ docker top 9c88a794b56394c06a21d54b1cdb7234e2cd886b59cf3b534a504b4e1f410799 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:39 ---> job-cost.sh 03:10:39 lf-activate-venv: SKIPPING 03:10:39 INFO: No Stack... 03:10:39 INFO: Retrieving Pricing Info for: v3-standard-4 03:10:40 INFO: Archiving Costs [Pipeline] sh 03:10:40 + cat /w/workspace/device-rest-go/199/archives/cost.csv 03:10:40 + cut -d, -f6 [Pipeline] lock 03:10:40 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-199-stack-cost] 03:10:40 Resource [jenkins-edgexfoundry-device-rest-go-main-199-stack-cost] did not exist. Created. 03:10:40 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-199-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:10:41 + echo total: 0.10999999940395355 [Pipeline] stash 03:10:41 Stashed 1 file(s) [Pipeline] } 03:10:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-199-stack-cost] [Pipeline] // lock [Pipeline] } 03:10:41 $ docker stop --time=1 9c88a794b56394c06a21d54b1cdb7234e2cd886b59cf3b534a504b4e1f410799 03:10:43 $ docker rm -f --volumes 9c88a794b56394c06a21d54b1cdb7234e2cd886b59cf3b534a504b4e1f410799 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Aborted by Cherry Wang 06:15:45 Sending interrupt signal to process 06:15:46 script returned exit code 143 [Pipeline] } 06:15:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] error [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:15:47 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 06:15:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:15:48 ---> package-listing.sh 06:15:48 ++ facter osfamily 06:15:48 ++ tr '[:upper:]' '[:lower:]' 06:15:48 + OS_FAMILY=redhat 06:15:48 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 06:15:48 + START_PACKAGES=/tmp/packages_start.txt 06:15:48 + END_PACKAGES=/tmp/packages_end.txt 06:15:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:15:48 + PACKAGES=/tmp/packages_start.txt 06:15:48 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:15:48 + PACKAGES=/tmp/packages_end.txt 06:15:48 + case "${OS_FAMILY}" in 06:15:48 + rpm -qa 06:15:48 + sort 06:15:48 + '[' -f /tmp/packages_start.txt ']' 06:15:48 + '[' -f /tmp/packages_end.txt ']' 06:15:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:15:48 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:15:48 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 06:15:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 06:15:48 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:15:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:49 06:15:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:50 latest: Pulling from edgex-lftools-log-publisher 06:15:50 5eb5b503b376: Pulling fs layer 06:15:50 5c69ac0246d0: Pulling fs layer 06:15:50 ec43610c2a17: Pulling fs layer 06:15:50 3a2ae6a8a46f: Pulling fs layer 06:15:50 33b1e0a273af: Pulling fs layer 06:15:50 5d3b04190fa2: Pulling fs layer 06:15:50 2f39f015ded8: Pulling fs layer 06:15:50 3a2ae6a8a46f: Waiting 06:15:50 33b1e0a273af: Waiting 06:15:50 5d3b04190fa2: Waiting 06:15:50 2f39f015ded8: Waiting 06:15:50 5c69ac0246d0: Download complete 06:15:50 3a2ae6a8a46f: Verifying Checksum 06:15:50 3a2ae6a8a46f: Download complete 06:15:50 33b1e0a273af: Verifying Checksum 06:15:50 33b1e0a273af: Download complete 06:15:50 5d3b04190fa2: Verifying Checksum 06:15:50 5d3b04190fa2: Download complete 06:15:50 ec43610c2a17: Verifying Checksum 06:15:50 ec43610c2a17: Download complete 06:15:50 5eb5b503b376: Verifying Checksum 06:15:50 5eb5b503b376: Download complete 06:15:51 2f39f015ded8: Verifying Checksum 06:15:51 2f39f015ded8: Download complete Aborted by Cherry Wang 06:15:51 Sending interrupt signal to process 06:15:51 /w/workspace/edgexfoundry_device-rest-go_main@tmp/durable-c499f3ee/script.sh.copy: line 1: 24213 Terminated docker pull "$JD_TO_PULL" 06:15:51 script returned exit code 143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:52 06:15:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:52 latest: Pulling from edgex-lftools-log-publisher 06:15:52 5eb5b503b376: Pulling fs layer 06:15:52 5c69ac0246d0: Pulling fs layer 06:15:52 ec43610c2a17: Pulling fs layer 06:15:52 3a2ae6a8a46f: Pulling fs layer 06:15:52 33b1e0a273af: Pulling fs layer 06:15:52 5d3b04190fa2: Pulling fs layer 06:15:52 2f39f015ded8: Pulling fs layer 06:15:52 33b1e0a273af: Waiting 06:15:52 5d3b04190fa2: Waiting 06:15:52 2f39f015ded8: Waiting 06:15:52 5c69ac0246d0: Verifying Checksum 06:15:52 5c69ac0246d0: Download complete 06:15:52 3a2ae6a8a46f: Verifying Checksum 06:15:52 3a2ae6a8a46f: Download complete 06:15:52 33b1e0a273af: Verifying Checksum 06:15:52 33b1e0a273af: Download complete 06:15:52 5d3b04190fa2: Verifying Checksum 06:15:52 5d3b04190fa2: Download complete 06:15:52 ec43610c2a17: Verifying Checksum 06:15:52 ec43610c2a17: Download complete 06:15:52 5eb5b503b376: Verifying Checksum 06:15:52 5eb5b503b376: Download complete 06:15:53 2f39f015ded8: Download complete 06:15:54 5eb5b503b376: Pull complete 06:15:54 5c69ac0246d0: Pull complete 06:15:54 ec43610c2a17: Pull complete 06:15:54 3a2ae6a8a46f: Pull complete 06:15:54 33b1e0a273af: Pull complete 06:15:54 5d3b04190fa2: Pull complete 06:15:58 2f39f015ded8: Pull complete 06:15:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:15:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:59 prd-ubuntu20.04-docker-8c-8g-3479 does not seem to be running inside a container 06:15:59 $ 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 Click here to forcibly terminate running steps 06:16:02 $ docker top 2951b2a613e0a206eeccb70d80b8ba41fdf31abeae8d0ea51b6e61b884888262 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:02 ---> job-cost.sh 06:16:02 lf-activate-venv: SKIPPING 06:16:02 INFO: No Stack... 06:16:03 INFO: Retrieving Pricing Info for: v3-standard-8 06:16:03 INFO: Archiving Costs [Pipeline] sh 06:16:03 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 06:16:03 + cut -d, -f6 [Pipeline] lock 06:16:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-199-stack-cost] 06:16:03 Resource [jenkins-edgexfoundry-device-rest-go-main-199-stack-cost] did not exist. Created. 06:16:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-199-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:16:03 /w/workspace/edgexfoundry_device-rest-go_main@tmp/durable-fc582df2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:16:04 + echo total: 0.8799999952316284 [Pipeline] stash 06:16:04 Warning: overwriting stash ‘stack-cost’ 06:16:04 Stashed 1 file(s) [Pipeline] } 06:16:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-199-stack-cost] [Pipeline] // lock [Pipeline] } 06:16:04 $ docker stop --time=1 2951b2a613e0a206eeccb70d80b8ba41fdf31abeae8d0ea51b6e61b884888262 06:16:05 $ docker rm -f --volumes 2951b2a613e0a206eeccb70d80b8ba41fdf31abeae8d0ea51b6e61b884888262 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:16:05 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh Aborted by Cherry Wang 06:16:06 Sending interrupt signal to process 06:16:06 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 06:16:06 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 06:16:06 total 16 06:16:06 drwxr-xr-x 3 root root 4096 Jun 18 06:16 . 06:16:06 drwxrwxr-x 10 jenkins jenkins 4096 Jun 18 06:16 .. 06:16:06 drwxr-xr-x 2 root root 4096 Jun 18 06:16 cost 06:16:06 -rw-r--r-- 1 root root 88 Jun 18 06:16 cost.csv 06:16:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 06:16:06 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 06:16:06 total 16 06:16:06 drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 06:16 . 06:16:06 drwxrwxr-x 10 jenkins jenkins 4096 Jun 18 06:16 .. 06:16:06 drwxr-xr-x 2 jenkins jenkins 4096 Jun 18 06:16 cost 06:16:06 -rw-r--r-- 1 jenkins jenkins 88 Jun 18 06:16 cost.csv [Pipeline] libraryResource [Pipeline] sh Click here to forcibly terminate running steps 06:16:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:16:07 ---> package-listing.sh 06:16:07 ++ facter osfamily 06:16:07 ++ tr '[:upper:]' '[:lower:]' 06:16:07 + OS_FAMILY=debian 06:16:07 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 06:16:07 + START_PACKAGES=/tmp/packages_start.txt 06:16:07 + END_PACKAGES=/tmp/packages_end.txt 06:16:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:16:07 + PACKAGES=/tmp/packages_start.txt 06:16:07 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:16:07 + PACKAGES=/tmp/packages_end.txt 06:16:07 + case "${OS_FAMILY}" in 06:16:07 + dpkg -l 06:16:07 + grep '^ii' 06:16:07 + '[' -f /tmp/packages_start.txt ']' 06:16:07 + '[' -f /tmp/packages_end.txt ']' 06:16:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:16:07 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:16:07 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 06:16:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 06:16:07 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 06:16:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:08 prd-ubuntu20.04-docker-8c-8g-3479 does not seem to be running inside a container 06:16:08 $ 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 06:16:08 $ docker top 33adaf4cea81e85a0a26977c8a0c0ddc0fac2db1cad8ac7ba1107edbd84955fa -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:09 + touch /tmp/pre-build-complete [Pipeline] sh 06:16:09 + mkdir -p /var/log/sysstat [Pipeline] sh 06:16:09 + ls /var/log/sa-host 06:16:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:10 provisioning config files... 06:16:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1712959849604218802tmp [Pipeline] { [Pipeline] echo 06:16:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:16:10 ---> create-netrc.sh [Pipeline] } 06:16:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:16:10 ---> python-tools-install.sh [Pipeline] echo 06:16:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:16:11 ---> sudo-logs.sh 06:16:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:16:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:16:11 ---> job-cost.sh 06:16:11 lf-activate-venv: SKIPPING 06:16:11 DEBUG: total: 0.8799999952316284 06:16:11 INFO: Retrieving Stack Cost... 06:16:11 INFO: Retrieving Pricing Info for: v3-standard-8 06:16:11 INFO: Archiving Costs [Pipeline] echo 06:16:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:16:12 ---> logs-deploy.sh 06:16:12 lf-activate-venv: SKIPPING 06:16:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/199 06:16:12 INFO: archiving workspace using pattern(s): 06:16:12 Archives upload complete. 06:16:12 INFO: archiving logs to Nexus