Pull request #460 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6efe1694818f9186a3882eb0ec2bbd39327f7a80+276436e60f25d91e45baf5819fa2ea594f4bdb74 (08a6dcebb4604add9b8fcd60ba4c5a0d622bf66d) 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-ssh6902900681364036332.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh3726704420064333835.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10484114710069514230.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-460/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16567220374969741685.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5281852151717066756.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-460/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-460/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3985538243708583969.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [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-onvif-camera-settings PROJECT: device-onvif-camera 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-onvif-camera 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: true SWAGGER_API_FOLDERS: doc/openapi/v3 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-15555 in /w/workspace/undry_device-onvif-camera_PR-460 [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-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-460 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/460/head:refs/remotes/origin/PR-460 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 276436e60f25d91e45baf5819fa2ea594f4bdb74 into PR head commit 6efe1694818f9186a3882eb0ec2bbd39327f7a80 Merge succeeded, producing 6efe1694818f9186a3882eb0ec2bbd39327f7a80 Checking out Revision 6efe1694818f9186a3882eb0ec2bbd39327f7a80 (PR-460) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 6efe1694818f9186a3882eb0ec2bbd39327f7a80 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 276436e60f25d91e45baf5819fa2ea594f4bdb74 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6efe1694818f9186a3882eb0ec2bbd39327f7a80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:13:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:13:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:13:20 ========================================================= 03:13:20 EdgeX Global Pipelines Version Info 03:13:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:13:21 ------------------- 03:13:21 stable info: 03:13:21 ------------------- 03:13:21 Commited By: Ginny Guan ginny@iotechsys.com 03:13:21 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 03:13:21 Message: update stable to v1.0.265 03:13:22 ------------------- 03:13:22 experimental info: 03:13:22 ------------------- 03:13:22 Commited By: Cherry Wang cherry@iotechsys.com 03:13:22 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 03:13:22 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:13:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:13:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:13:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:13:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:13:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:13:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:13:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-460 [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-460 [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-460 [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6efe1694818f9186a3882eb0ec2bbd39327f7a80 [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6efe169 [Pipeline] echo 03:13:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:25 provisioning config files... 03:13:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-460@tmp/config12723603506310905777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:25 ---> ****-login.sh 03:13:25 nexus3.edgexfoundry.org:10001 03:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:25 Configure a credential helper to remove this warning. See 03:13:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:25 03:13:25 Login Succeeded 03:13:25 nexus3.edgexfoundry.org:10002 03:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:25 Configure a credential helper to remove this warning. See 03:13:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:25 03:13:25 Login Succeeded 03:13:25 nexus3.edgexfoundry.org:10003 03:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:25 Configure a credential helper to remove this warning. See 03:13:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:25 03:13:25 Login Succeeded 03:13:25 nexus3.edgexfoundry.org:10004 03:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:26 Configure a credential helper to remove this warning. See 03:13:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:26 03:13:26 Login Succeeded 03:13:26 ****.io 03:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:26 Configure a credential helper to remove this warning. See 03:13:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:26 03:13:26 Login Succeeded 03:13:26 ---> ****-login.sh ends [Pipeline] } 03:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:13:27 + git rev-list -1 --merges 6efe1694818f9186a3882eb0ec2bbd39327f7a80~1..6efe1694818f9186a3882eb0ec2bbd39327f7a80 [Pipeline] echo 03:13:27 -----------> git rev-list -1 --merges 6efe1694818f9186a3882eb0ec2bbd39327f7a80~1..6efe1694818f9186a3882eb0ec2bbd39327f7a80 6efe1694818f9186a3882eb0ec2bbd39327f7a80 [false] [Pipeline] sh 03:13:27 + git log --format=format:%s -1 6efe1694818f9186a3882eb0ec2bbd39327f7a80 [Pipeline] echo 03:13:27 ========================================================= 03:13:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:13:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:13:28 + git log --format=format:%s -1 6efe1694818f9186a3882eb0ec2bbd39327f7a80 [Pipeline] echo 03:13:28 [semverPrep] GIT_COMMIT: 6efe1694818f9186a3882eb0ec2bbd39327f7a80, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:13:28 [semverPrep] This is not a build commit. [Pipeline] sh 03:13:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:13:28 + grep -v github /etc/ssh/ssh_known_hosts 03:13:28 + [ -e /tmp/ssh_known_hosts ] 03:13:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:13:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:13:28 + sudo tee -a /etc/ssh/ssh_known_hosts 03:13:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:13:29 03:13:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:13:29 0.1.4: Pulling from edgex-devops/py-git-semver 03:13:29 b85a868b505f: Pulling fs layer 03:13:29 e2be974225ed: Pulling fs layer 03:13:29 339a4e72a1f5: Pulling fs layer 03:13:29 988bab9f4d93: Pulling fs layer 03:13:29 1469e6f7b9e6: Pulling fs layer 03:13:29 eaf3925da568: Pulling fs layer 03:13:29 bab4dde63d76: Pulling fs layer 03:13:29 bde34c3a00c8: Pulling fs layer 03:13:29 b352a97aabf1: Pulling fs layer 03:13:29 4872d77fe225: Pulling fs layer 03:13:29 5851b861e8e6: Pulling fs layer 03:13:29 988bab9f4d93: Waiting 03:13:29 1469e6f7b9e6: Waiting 03:13:29 eaf3925da568: Waiting 03:13:29 4872d77fe225: Waiting 03:13:29 bab4dde63d76: Waiting 03:13:29 b352a97aabf1: Waiting 03:13:29 bde34c3a00c8: Waiting 03:13:29 e2be974225ed: Verifying Checksum 03:13:29 e2be974225ed: Download complete 03:13:29 988bab9f4d93: Download complete 03:13:29 1469e6f7b9e6: Verifying Checksum 03:13:29 1469e6f7b9e6: Download complete 03:13:29 eaf3925da568: Verifying Checksum 03:13:29 eaf3925da568: Download complete 03:13:29 339a4e72a1f5: Verifying Checksum 03:13:29 339a4e72a1f5: Download complete 03:13:29 bde34c3a00c8: Download complete 03:13:29 b352a97aabf1: Download complete 03:13:29 4872d77fe225: Verifying Checksum 03:13:29 4872d77fe225: Download complete 03:13:29 5851b861e8e6: Verifying Checksum 03:13:29 5851b861e8e6: Download complete 03:13:29 b85a868b505f: Verifying Checksum 03:13:29 b85a868b505f: Download complete 03:13:30 bab4dde63d76: Verifying Checksum 03:13:30 bab4dde63d76: Download complete 03:13:31 b85a868b505f: Pull complete 03:13:31 e2be974225ed: Pull complete 03:13:31 339a4e72a1f5: Pull complete 03:13:31 988bab9f4d93: Pull complete 03:13:31 1469e6f7b9e6: Pull complete 03:13:31 eaf3925da568: Pull complete 03:13:33 bab4dde63d76: Pull complete 03:13:33 bde34c3a00c8: Pull complete 03:13:33 b352a97aabf1: Pull complete 03:13:33 4872d77fe225: Pull complete 03:13:34 5851b861e8e6: Pull complete 03:13:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:13:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:13:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:34 prd-ubuntu20.04-docker-8c-8g-15555 does not seem to be running inside a container 03:13:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-460 -v /w/workspace/undry_device-onvif-camera_PR-460:/w/workspace/undry_device-onvif-camera_PR-460:rw,z -v /w/workspace/undry_device-onvif-camera_PR-460@tmp:/w/workspace/undry_device-onvif-camera_PR-460@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:13:37 $ docker top 66abe31a950b82de4b8c699d300683ab24c6586fbf6552aed46dbd0bf0cab983 -eo pid,comm 03:13:37 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). 03:13:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:13:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:13:37 [ssh-agent] Looking for ssh-agent implementation... 03:13:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:13:37 $ docker exec 66abe31a950b82de4b8c699d300683ab24c6586fbf6552aed46dbd0bf0cab983 ssh-agent 03:13:38 SSH_AUTH_SOCK=/tmp/ssh-tB7fnESexPpy/agent.32 03:13:38 SSH_AGENT_PID=38 03:13:38 Running ssh-add (command line suppressed) 03:13:38 Identity added: /w/workspace/undry_device-onvif-camera_PR-460@tmp/private_key_3880654421836199995.key (/w/workspace/undry_device-onvif-camera_PR-460@tmp/private_key_3880654421836199995.key) 03:13:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:13:38 + git tag --points-at HEAD [Pipeline] } 03:13:38 $ docker exec --env ******** --env ******** 66abe31a950b82de4b8c699d300683ab24c6586fbf6552aed46dbd0bf0cab983 ssh-agent -k 03:13:38 unset SSH_AUTH_SOCK; 03:13:38 unset SSH_AGENT_PID; 03:13:38 echo Agent pid 38 killed; 03:13:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:13:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:13:38 [ssh-agent] Looking for ssh-agent implementation... 03:13:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:13:38 $ docker exec 66abe31a950b82de4b8c699d300683ab24c6586fbf6552aed46dbd0bf0cab983 ssh-agent 03:13:39 SSH_AUTH_SOCK=/tmp/ssh-FOupZsoQ4IzH/agent.72 03:13:39 SSH_AGENT_PID=78 03:13:39 Running ssh-add (command line suppressed) 03:13:39 Identity added: /w/workspace/undry_device-onvif-camera_PR-460@tmp/private_key_16365071130279507897.key (/w/workspace/undry_device-onvif-camera_PR-460@tmp/private_key_16365071130279507897.key) 03:13:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:13:39 + git semver init 03:13:39 2024-10-04 03:13:39,690 [run_init] DEBUG init version:0.0.0 force:False 03:13:39 2024-10-04 03:13:39,691 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-460/.semver 03:13:39 2024-10-04 03:13:39,691 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-460/.semver 03:13:39 2024-10-04 03:13:39,691 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-460/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-460, universal_newlines=False, shell=None, istream=None) 03:13:41 2024-10-04 03:13:40,991 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-460/.git/info/exclude 03:13:41 2024-10-04 03:13:40,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-460/.semver/PR-460 with force:False 03:13:41 2024-10-04 03:13:40,992 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-460/.semver/PR-460 03:13:41 2024-10-04 03:13:40,996 [execute] INFO git cat-file --batch-check 03:13:41 2024-10-04 03:13:40,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-460/.semver, universal_newlines=False, shell=None, istream=) 03:13:41 2024-10-04 03:13:41,002 [execute] INFO git cat-file --batch 03:13:41 2024-10-04 03:13:41,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-460/.semver, universal_newlines=False, shell=None, istream=) 03:13:41 2024-10-04 03:13:41,007 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-460/.semver/PR-460 03:13:41 0.0.0 [Pipeline] } 03:13:41 $ docker exec --env ******** --env ******** 66abe31a950b82de4b8c699d300683ab24c6586fbf6552aed46dbd0bf0cab983 ssh-agent -k 03:13:41 unset SSH_AUTH_SOCK; 03:13:41 unset SSH_AGENT_PID; 03:13:41 echo Agent pid 78 killed; 03:13:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:13:41 + git semver [Pipeline] } 03:13:42 $ docker stop --time=1 66abe31a950b82de4b8c699d300683ab24c6586fbf6552aed46dbd0bf0cab983 03:13:43 $ docker rm -f --volumes 66abe31a950b82de4b8c699d300683ab24c6586fbf6552aed46dbd0bf0cab983 [Pipeline] // withDockerContainer [Pipeline] sh 03:13:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:13:44 Stashed 1 file(s) [Pipeline] echo 03:13:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:45 provisioning config files... 03:13:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-460@tmp/config12054446412972012705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:45 ---> ****-login.sh 03:13:45 nexus3.edgexfoundry.org:10001 03:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:45 Configure a credential helper to remove this warning. See 03:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:45 03:13:45 Login Succeeded 03:13:45 nexus3.edgexfoundry.org:10002 03:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:45 Configure a credential helper to remove this warning. See 03:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:45 03:13:45 Login Succeeded 03:13:45 nexus3.edgexfoundry.org:10003 03:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:45 Configure a credential helper to remove this warning. See 03:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:45 03:13:45 Login Succeeded 03:13:45 nexus3.edgexfoundry.org:10004 03:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:45 Configure a credential helper to remove this warning. See 03:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:45 03:13:45 Login Succeeded 03:13:45 ****.io 03:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:13:45 Configure a credential helper to remove this warning. See 03:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:13:45 03:13:45 Login Succeeded 03:13:45 ---> ****-login.sh ends [Pipeline] } 03:13:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:13:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:13:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:13:46 ========================================================= 03:13:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:13:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:46 + 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 . 03:13:46 Sending build context to Docker daemon 36.71MB 03:13:46 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:13:46 Step 2/13 : FROM ${BASE} AS builder 03:13:47 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:13:47 43c4264eed91: Pulling fs layer 03:13:47 4cc291be95ef: Pulling fs layer 03:13:47 2ac1f1163629: Pulling fs layer 03:13:47 5c3c966382ef: Pulling fs layer 03:13:47 4f4fb700ef54: Pulling fs layer 03:13:47 5d5c8e513c77: Pulling fs layer 03:13:47 9f66e0745190: Pulling fs layer 03:13:47 f49a43e4bbc0: Pulling fs layer 03:13:47 561ebcabdf7f: Pulling fs layer 03:13:47 5d5c8e513c77: Waiting 03:13:47 9f66e0745190: Waiting 03:13:47 5c3c966382ef: Waiting 03:13:47 f49a43e4bbc0: Waiting 03:13:47 561ebcabdf7f: Waiting 03:13:47 4f4fb700ef54: Waiting 03:13:47 4cc291be95ef: Download complete 03:13:47 5c3c966382ef: Verifying Checksum 03:13:47 5c3c966382ef: Download complete 03:13:47 4f4fb700ef54: Verifying Checksum 03:13:47 4f4fb700ef54: Download complete 03:13:47 5d5c8e513c77: Verifying Checksum 03:13:47 5d5c8e513c77: Download complete 03:13:47 43c4264eed91: Download complete 03:13:47 9f66e0745190: Verifying Checksum 03:13:47 9f66e0745190: Download complete 03:13:47 43c4264eed91: Pull complete 03:13:47 561ebcabdf7f: Verifying Checksum 03:13:47 561ebcabdf7f: Download complete 03:13:47 4cc291be95ef: Pull complete 03:13:47 2ac1f1163629: Verifying Checksum 03:13:47 2ac1f1163629: Download complete 03:13:47 f49a43e4bbc0: Verifying Checksum 03:13:47 f49a43e4bbc0: Download complete 03:13:51 2ac1f1163629: Pull complete 03:13:51 5c3c966382ef: Pull complete 03:13:51 4f4fb700ef54: Pull complete 03:13:51 5d5c8e513c77: Pull complete 03:13:51 9f66e0745190: Pull complete 03:13:53 f49a43e4bbc0: Pull complete 03:13:53 561ebcabdf7f: Pull complete 03:13:53 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 03:13:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:13:53 ---> 3a752c3f9dda 03:13:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:13:58 ---> Running in c933b379b888 03:13:58 Removing intermediate container c933b379b888 03:13:58 ---> 4d34f245a260 03:13:58 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:13:58 ---> Running in 20ed2ed8656b 03:13:58 Removing intermediate container 20ed2ed8656b 03:13:58 ---> e81c81682b40 03:13:58 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:13:58 ---> Running in fbe5fb83e174 03:13:58 Removing intermediate container fbe5fb83e174 03:13:58 ---> 4e674ebd1d11 03:13:58 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:13:58 ---> Running in 0c34b25d8f08 03:13:58 Removing intermediate container 0c34b25d8f08 03:13:58 ---> 959bca611d76 03:13:58 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:13:58 ---> Running in d66ac8fcecea 03:13:58 Removing intermediate container d66ac8fcecea 03:13:58 ---> 45ba19b4f186 03:13:58 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:58 ---> Running in c03cf7723054 03:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:13:59 OK: 246 MiB in 54 packages 03:13:59 Removing intermediate container c03cf7723054 03:13:59 ---> d4306b359305 03:13:59 Step 9/13 : WORKDIR /device-onvif-camera 03:13:59 ---> Running in 37340df2345b 03:13:59 Removing intermediate container 37340df2345b 03:13:59 ---> 83258ec282a4 03:13:59 Step 10/13 : COPY go.mod vendor* ./ 03:13:59 ---> 3187de8ef25c 03:13:59 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:13:59 ---> Running in c2803d2851e1 03:13:59 Still waiting to schedule task 03:13:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:15:07 Removing intermediate container c2803d2851e1 03:15:07 ---> aa1b4a8604cc 03:15:07 Step 12/13 : COPY . . 03:15:07 ---> f5062ae86948 03:15:07 Step 13/13 : RUN ${MAKE} 03:15:07 ---> Running in 74a87a9744ed 03:15:07 noop 03:15:07 Removing intermediate container 74a87a9744ed 03:15:07 ---> 96241e089134 03:15:07 Successfully built 96241e089134 03:15:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:07 + docker inspect -f . ci-base-image-x86_64 03:15:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:08 prd-ubuntu20.04-docker-8c-8g-15555 does not seem to be running inside a container 03:15:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-460 -v /w/workspace/undry_device-onvif-camera_PR-460:/w/workspace/undry_device-onvif-camera_PR-460:rw,z -v /w/workspace/undry_device-onvif-camera_PR-460@tmp:/w/workspace/undry_device-onvif-camera_PR-460@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 ******** -e ******** ci-base-image-x86_64 cat 03:15:08 $ docker top cca5799020ca008a140458ed18c06fd6d02d6f692f45ae29eaaca89f6538b282 -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:08 + go version 03:15:08 go version go1.23.2 linux/amd64 [Pipeline] } 03:15:08 $ docker stop --time=1 cca5799020ca008a140458ed18c06fd6d02d6f692f45ae29eaaca89f6538b282 03:15:10 $ docker rm -f --volumes cca5799020ca008a140458ed18c06fd6d02d6f692f45ae29eaaca89f6538b282 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:11 + docker inspect -f . ci-base-image-x86_64 03:15:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:11 prd-ubuntu20.04-docker-8c-8g-15555 does not seem to be running inside a container 03:15:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-460 -v /w/workspace/undry_device-onvif-camera_PR-460:/w/workspace/undry_device-onvif-camera_PR-460:rw,z -v /w/workspace/undry_device-onvif-camera_PR-460@tmp:/w/workspace/undry_device-onvif-camera_PR-460@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 ******** -e ******** ci-base-image-x86_64 cat 03:15:11 $ docker top 91a2460fd1a07ea82c4fe1be824b73af3bbf76c132d465a685e85c56ae7746f4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:12 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-460 [Pipeline] fileExists [Pipeline] sh 03:15:12 + make test 03:15:12 go test ./... -coverprofile=coverage.out ./... 03:15:13 go: updates to go.mod needed; to update it: 03:15:13 go mod tidy 03:15:13 make: *** [Makefile:60: unittest] Error 1 [Pipeline] } 03:15:13 $ docker stop --time=1 91a2460fd1a07ea82c4fe1be824b73af3bbf76c132d465a685e85c56ae7746f4 03:15:14 $ docker rm -f --volumes 91a2460fd1a07ea82c4fe1be824b73af3bbf76c132d465a685e85c56ae7746f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [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 03:15:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:15 03:15:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:16 latest: Pulling from edgex-lftools-log-publisher 03:15:16 5eb5b503b376: Pulling fs layer 03:15:16 5c69ac0246d0: Pulling fs layer 03:15:16 ec43610c2a17: Pulling fs layer 03:15:16 3a2ae6a8a46f: Pulling fs layer 03:15:16 33b1e0a273af: Pulling fs layer 03:15:16 5d3b04190fa2: Pulling fs layer 03:15:16 2f39f015ded8: Pulling fs layer 03:15:16 33b1e0a273af: Waiting 03:15:16 5d3b04190fa2: Waiting 03:15:16 3a2ae6a8a46f: Waiting 03:15:16 2f39f015ded8: Waiting 03:15:16 5c69ac0246d0: Verifying Checksum 03:15:16 5c69ac0246d0: Download complete 03:15:16 3a2ae6a8a46f: Download complete 03:15:16 33b1e0a273af: Verifying Checksum 03:15:16 33b1e0a273af: Download complete 03:15:16 5d3b04190fa2: Verifying Checksum 03:15:16 5d3b04190fa2: Download complete 03:15:16 ec43610c2a17: Verifying Checksum 03:15:16 ec43610c2a17: Download complete 03:15:16 5eb5b503b376: Verifying Checksum 03:15:16 5eb5b503b376: Download complete 03:15:17 2f39f015ded8: Download complete 03:15:17 5eb5b503b376: Pull complete 03:15:17 5c69ac0246d0: Pull complete 03:15:18 ec43610c2a17: Pull complete 03:15:18 3a2ae6a8a46f: Pull complete 03:15:18 33b1e0a273af: Pull complete 03:15:18 5d3b04190fa2: Pull complete 03:15:22 2f39f015ded8: Pull complete 03:15:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:15:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:22 prd-ubuntu20.04-docker-8c-8g-15555 does not seem to be running inside a container 03:15:22 $ 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/undry_device-onvif-camera_PR-460 -v /w/workspace/undry_device-onvif-camera_PR-460:/w/workspace/undry_device-onvif-camera_PR-460:rw,z -v /w/workspace/undry_device-onvif-camera_PR-460@tmp:/w/workspace/undry_device-onvif-camera_PR-460@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:15:27 $ docker top bf60a86292c71e9c0defbabfb6f19bcaa1592af23d89574105f270b55188d6c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:28 ---> job-cost.sh 03:15:28 lf-activate-venv: SKIPPING 03:15:28 INFO: No Stack... 03:15:28 INFO: Retrieving Pricing Info for: v3-standard-8 03:15:28 INFO: Archiving Costs [Pipeline] sh 03:15:28 + cat /w/workspace/undry_device-onvif-camera_PR-460/archives/cost.csv 03:15:28 + cut -d, -f6 [Pipeline] lock 03:15:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-460-1-stack-cost] 03:15:28 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-460-1-stack-cost] did not exist. Created. 03:15:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-460-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:15:29 + echo total: 0.2199999988079071 [Pipeline] stash 03:15:29 Stashed 1 file(s) [Pipeline] } 03:15:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-460-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:15:29 $ docker stop --time=1 bf60a86292c71e9c0defbabfb6f19bcaa1592af23d89574105f270b55188d6c3 03:15:30 $ docker rm -f --volumes bf60a86292c71e9c0defbabfb6f19bcaa1592af23d89574105f270b55188d6c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:15:31 Failed in branch amd64 03:15:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15556 in /w/workspace/undry_device-onvif-camera_PR-460 [Pipeline] { [Pipeline] ws 03:15:32 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:15:32 The recommended git tool is: git 03:15:41 using credential edgex-jenkins-ssh 03:15:41 Cloning the remote Git repository 03:15:41 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:15:42 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:15:42 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:15:42 > git --version # timeout=10 03:15:42 > git --version # 'git version 2.25.1' 03:15:42 using GIT_SSH to set credentials SSH Credentials for GitHub 03:15:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:15:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:15:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:15:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:15:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:15:46 using GIT_SSH to set credentials SSH Credentials for GitHub 03:15:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/460/head:refs/remotes/origin/PR-460 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:15:47 Merging remotes/origin/main commit 276436e60f25d91e45baf5819fa2ea594f4bdb74 into PR head commit 6efe1694818f9186a3882eb0ec2bbd39327f7a80 03:15:47 Merge succeeded, producing 6efe1694818f9186a3882eb0ec2bbd39327f7a80 03:15:47 Checking out Revision 6efe1694818f9186a3882eb0ec2bbd39327f7a80 (PR-460) 03:15:47 > git config core.sparsecheckout # timeout=10 03:15:47 > git checkout -f 6efe1694818f9186a3882eb0ec2bbd39327f7a80 # timeout=10 03:15:47 > git remote # timeout=10 03:15:47 > git config --get remote.origin.url # timeout=10 03:15:47 using GIT_SSH to set credentials SSH Credentials for GitHub 03:15:47 > git merge 276436e60f25d91e45baf5819fa2ea594f4bdb74 # timeout=10 03:15:47 > git rev-parse HEAD^{commit} # timeout=10 03:15:47 > git config core.sparsecheckout # timeout=10 03:15:47 > git checkout -f 6efe1694818f9186a3882eb0ec2bbd39327f7a80 # timeout=10 03:15:48 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:15:48 > git --version # timeout=10 03:15:48 > git --version # 'git version 2.25.1' 03:15:48 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:15:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:15:53 % Total % Received % Xferd Average Speed Time Time Time Current 03:15:53 Dload Upload Total Spent Left Speed 03:15:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 03:15:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:15:54 + sudo tee /etc/docker/daemon.new 03:15:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:15:54 { 03:15:54 "registry-mirrors": [ 03:15:54 "https://nexus3.edgexfoundry.org:10001" 03:15:54 ], 03:15:54 "bip": "10.250.0.254/24", 03:15:54 "hosts": [ 03:15:54 "tcp://0.0.0.0:5555", 03:15:54 "unix:///var/run/docker.sock" 03:15:54 ], 03:15:54 "mtu": 1458, 03:15:54 "selinux-enabled": true, 03:15:54 "seccomp-profile": "/etc/docker/seccomp.json" 03:15:54 } [Pipeline] sh 03:15:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:15:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:13 provisioning config files... 03:16:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3582318126040682887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:14 ---> ****-login.sh 03:16:14 nexus3.edgexfoundry.org:10001 03:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:16:14 Configure a credential helper to remove this warning. See 03:16:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:16:14 03:16:14 Login Succeeded 03:16:14 nexus3.edgexfoundry.org:10002 03:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:16:15 Configure a credential helper to remove this warning. See 03:16:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:16:15 03:16:15 Login Succeeded 03:16:15 nexus3.edgexfoundry.org:10003 03:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:16:15 Configure a credential helper to remove this warning. See 03:16:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:16:15 03:16:15 Login Succeeded 03:16:15 nexus3.edgexfoundry.org:10004 03:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:16:15 Configure a credential helper to remove this warning. See 03:16:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:16:15 03:16:15 Login Succeeded 03:16:15 ****.io 03:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:16:16 Configure a credential helper to remove this warning. See 03:16:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:16:16 03:16:16 Login Succeeded 03:16:16 ---> ****-login.sh ends [Pipeline] } 03:16:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:16:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:16:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:16:16 ========================================================= 03:16:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 03:16:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:17 + 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 . 03:16:18 Sending build context to Docker daemon 21.76MB 03:16:18 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:16:18 Step 2/13 : FROM ${BASE} AS builder 03:16:18 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:16:18 cf04c63912e1: Pulling fs layer 03:16:18 55b35a11ae5e: Pulling fs layer 03:16:18 a37a00ec5f00: Pulling fs layer 03:16:18 50b3750afda1: Pulling fs layer 03:16:18 4f4fb700ef54: Pulling fs layer 03:16:18 80978eb59214: Pulling fs layer 03:16:18 c9f46d7d2bd2: Pulling fs layer 03:16:18 c5a475d317c9: Pulling fs layer 03:16:18 50b3750afda1: Waiting 03:16:18 4f4fb700ef54: Waiting 03:16:18 80978eb59214: Waiting 03:16:18 c5a475d317c9: Waiting 03:16:18 55b35a11ae5e: Verifying Checksum 03:16:18 55b35a11ae5e: Download complete 03:16:18 50b3750afda1: Verifying Checksum 03:16:18 4f4fb700ef54: Verifying Checksum 03:16:18 4f4fb700ef54: Download complete 03:16:18 80978eb59214: Verifying Checksum 03:16:18 80978eb59214: Download complete 03:16:18 cf04c63912e1: Verifying Checksum 03:16:18 cf04c63912e1: Download complete 03:16:19 c5a475d317c9: Verifying Checksum 03:16:19 c5a475d317c9: Download complete 03:16:19 cf04c63912e1: Pull complete 03:16:20 55b35a11ae5e: Pull complete 03:16:20 a37a00ec5f00: Verifying Checksum 03:16:20 a37a00ec5f00: Download complete 03:16:21 c9f46d7d2bd2: Verifying Checksum 03:16:21 c9f46d7d2bd2: Download complete 03:16:33 a37a00ec5f00: Pull complete 03:16:33 50b3750afda1: Pull complete 03:16:34 4f4fb700ef54: Pull complete 03:16:34 80978eb59214: Pull complete 03:16:42 c9f46d7d2bd2: Pull complete 03:16:44 c5a475d317c9: Pull complete 03:16:44 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 03:16:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 03:16:44 ---> be29e6b0f0d4 03:16:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:16:44 ---> Running in b75d57b32b6a 03:16:44 Removing intermediate container b75d57b32b6a 03:16:44 ---> 3b1d6611d057 03:16:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:16:45 ---> Running in 5dfce50754e1 03:16:45 Removing intermediate container 5dfce50754e1 03:16:45 ---> 49831bd8a43a 03:16:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:16:45 ---> Running in 4646820aa1ec 03:16:45 Removing intermediate container 4646820aa1ec 03:16:45 ---> 135f966d45fc 03:16:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:16:45 ---> Running in 6ede51e6d7e5 03:16:46 Removing intermediate container 6ede51e6d7e5 03:16:46 ---> 1c261ac61ea3 03:16:46 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:16:46 ---> Running in 18a61a15c3df 03:16:46 Removing intermediate container 18a61a15c3df 03:16:46 ---> 190fd45ae97f 03:16:46 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:16:46 ---> Running in dc5e4c2626c9 03:16:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:16:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:16:49 OK: 238 MiB in 54 packages 03:16:50 Removing intermediate container dc5e4c2626c9 03:16:50 ---> ece5ee58dc0f 03:16:50 Step 9/13 : WORKDIR /device-onvif-camera 03:16:50 ---> Running in a0fbe5e65d1a 03:16:51 Removing intermediate container a0fbe5e65d1a 03:16:51 ---> b4f36db84076 03:16:51 Step 10/13 : COPY go.mod vendor* ./ 03:16:51 ---> e60eada1b754 03:16:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:16:51 ---> Running in 6d46285567b9 03:18:58 Removing intermediate container 6d46285567b9 03:18:58 ---> b71d7de3e8de 03:18:58 Step 12/13 : COPY . . 03:18:58 ---> a5d9bbaef88a 03:18:58 Step 13/13 : RUN ${MAKE} 03:18:58 ---> Running in 4d0682d8a094 03:18:58 noop 03:18:58 Removing intermediate container 4d0682d8a094 03:18:58 ---> 49ecae2eccdb 03:18:58 Successfully built 49ecae2eccdb 03:18:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:58 + docker inspect -f . ci-base-image-arm64 03:18:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:59 prd-ubuntu20.04-docker-arm64-4c-16g-15556 does not seem to be running inside a container 03:18:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:19:00 $ docker top fd7a2e5c8e9395d67e2089a07991dd98dc52c1e194e35f8a6d850d4c8d82cae9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:01 + go version 03:19:01 go version go1.23.2 linux/arm64 [Pipeline] } 03:19:01 $ docker stop --time=1 fd7a2e5c8e9395d67e2089a07991dd98dc52c1e194e35f8a6d850d4c8d82cae9 03:19:03 $ docker rm -f --volumes fd7a2e5c8e9395d67e2089a07991dd98dc52c1e194e35f8a6d850d4c8d82cae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:04 + docker inspect -f . ci-base-image-arm64 03:19:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:04 prd-ubuntu20.04-docker-arm64-4c-16g-15556 does not seem to be running inside a container 03:19:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:19:05 $ docker top b3ab01da8d6fe2af4c1c2305b98ec9a2b6b938d69643443079761b3a4c7ad738 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:06 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:19:06 + make test 03:19:06 go test ./... -coverprofile=coverage.out ./... 03:19:11 go: updates to go.mod needed; to update it: 03:19:11 go mod tidy 03:19:11 make: *** [Makefile:60: unittest] Error 1 [Pipeline] } 03:19:12 $ docker stop --time=1 b3ab01da8d6fe2af4c1c2305b98ec9a2b6b938d69643443079761b3a4c7ad738 03:19:13 $ docker rm -f --volumes b3ab01da8d6fe2af4c1c2305b98ec9a2b6b938d69643443079761b3a4c7ad738 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:19:15 03:19:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:19:16 arm64: Pulling from edgex-lftools-log-publisher 03:19:16 8998bd30e6a1: Pulling fs layer 03:19:16 04944245beec: Pulling fs layer 03:19:16 699f458cf7ca: Pulling fs layer 03:19:16 765212b225bb: Pulling fs layer 03:19:16 f23df028b6ca: Pulling fs layer 03:19:16 d65c8cfc05b1: Pulling fs layer 03:19:16 2437ff75d9bd: Pulling fs layer 03:19:16 f23df028b6ca: Waiting 03:19:16 d65c8cfc05b1: Waiting 03:19:16 2437ff75d9bd: Waiting 03:19:16 765212b225bb: Waiting 03:19:16 04944245beec: Verifying Checksum 03:19:16 04944245beec: Download complete 03:19:16 765212b225bb: Verifying Checksum 03:19:16 765212b225bb: Download complete 03:19:16 f23df028b6ca: Verifying Checksum 03:19:16 f23df028b6ca: Download complete 03:19:16 d65c8cfc05b1: Verifying Checksum 03:19:16 d65c8cfc05b1: Download complete 03:19:16 699f458cf7ca: Verifying Checksum 03:19:16 699f458cf7ca: Download complete 03:19:16 8998bd30e6a1: Verifying Checksum 03:19:16 8998bd30e6a1: Download complete 03:19:19 2437ff75d9bd: Verifying Checksum 03:19:19 2437ff75d9bd: Download complete 03:19:21 8998bd30e6a1: Pull complete 03:19:21 04944245beec: Pull complete 03:19:23 699f458cf7ca: Pull complete 03:19:23 765212b225bb: Pull complete 03:19:24 f23df028b6ca: Pull complete 03:19:24 d65c8cfc05b1: Pull complete 03:19:42 2437ff75d9bd: Pull complete 03:19:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:19:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:19:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:43 prd-ubuntu20.04-docker-arm64-4c-16g-15556 does not seem to be running inside a container 03:19:43 $ 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-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:19:45 $ docker top 1fe7caafe688d4f0b46c10562d709fe5c1e43dc29c1c015842d4cb5694a03836 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:46 ---> job-cost.sh 03:19:46 lf-activate-venv: SKIPPING 03:19:46 INFO: No Stack... 03:19:47 INFO: Retrieving Pricing Info for: v3-standard-4 03:19:48 INFO: Archiving Costs [Pipeline] sh 03:19:48 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:19:48 + cut -d, -f6 [Pipeline] lock 03:19:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-460-1-stack-cost] 03:19:48 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-460-1-stack-cost] did not exist. Created. 03:19:48 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-460-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:19:49 /w/workspace/device-onvif-camera/1@tmp/durable-9b198da2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:19:50 + echo total: 0.10999999940395355 [Pipeline] stash 03:19:50 Warning: overwriting stash ‘stack-cost’ 03:19:50 Stashed 1 file(s) [Pipeline] } 03:19:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-460-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:19:50 $ docker stop --time=1 1fe7caafe688d4f0b46c10562d709fe5c1e43dc29c1c015842d4cb5694a03836 03:19:52 $ docker rm -f --volumes 1fe7caafe688d4f0b46c10562d709fe5c1e43dc29c1c015842d4cb5694a03836 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:19:53 Failed in branch arm64 [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 03:19:55 + [ -d /w/workspace/undry_device-onvif-camera_PR-460/archives ] 03:19:55 + ls -al /w/workspace/undry_device-onvif-camera_PR-460/archives 03:19:55 total 16 03:19:55 drwxr-xr-x 3 root root 4096 Oct 4 03:15 . 03:19:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 03:15 .. 03:19:55 drwxr-xr-x 2 root root 4096 Oct 4 03:15 cost 03:19:55 -rw-r--r-- 1 root root 91 Oct 4 03:15 cost.csv 03:19:55 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-460/archives 03:19:55 + ls -al /w/workspace/undry_device-onvif-camera_PR-460/archives 03:19:55 total 16 03:19:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 03:15 . 03:19:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 03:15 .. 03:19:55 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 03:15 cost 03:19:55 -rw-r--r-- 1 jenkins jenkins 91 Oct 4 03:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:19:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:19:56 ---> package-listing.sh 03:19:56 ++ facter osfamily 03:19:56 ++ tr '[:upper:]' '[:lower:]' 03:19:57 + OS_FAMILY=debian 03:19:57 + workspace=/w/workspace/undry_device-onvif-camera_PR-460 03:19:57 + START_PACKAGES=/tmp/packages_start.txt 03:19:57 + END_PACKAGES=/tmp/packages_end.txt 03:19:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:19:57 + PACKAGES=/tmp/packages_start.txt 03:19:57 + '[' /w/workspace/undry_device-onvif-camera_PR-460 ']' 03:19:57 + PACKAGES=/tmp/packages_end.txt 03:19:57 + case "${OS_FAMILY}" in 03:19:57 + dpkg -l 03:19:57 + grep '^ii' 03:19:57 + '[' -f /tmp/packages_start.txt ']' 03:19:57 + '[' -f /tmp/packages_end.txt ']' 03:19:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:19:57 + '[' /w/workspace/undry_device-onvif-camera_PR-460 ']' 03:19:57 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-460/archives/ 03:19:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-460/archives/ [Pipeline] echo 03:19:57 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/undry_device-onvif-camera_PR-460/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:19:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:58 prd-ubuntu20.04-docker-8c-8g-15555 does not seem to be running inside a container 03:19:58 $ 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/undry_device-onvif-camera_PR-460/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-460 -v /w/workspace/undry_device-onvif-camera_PR-460:/w/workspace/undry_device-onvif-camera_PR-460:rw,z -v /w/workspace/undry_device-onvif-camera_PR-460@tmp:/w/workspace/undry_device-onvif-camera_PR-460@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 03:19:58 $ docker top ac7cb56aa6ed19e6870252c6789fab2133880c30e527de53444765241f27f497 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:59 + touch /tmp/pre-build-complete [Pipeline] sh 03:19:59 + mkdir -p /var/log/sysstat [Pipeline] sh 03:19:59 + ls /var/log/sa-host 03:19:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:20:00 provisioning config files... 03:20:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-460@tmp/config18332563936386246795tmp [Pipeline] { [Pipeline] echo 03:20:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:20:00 ---> create-netrc.sh [Pipeline] } 03:20:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:20:00 ---> python-tools-install.sh [Pipeline] echo 03:20:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:20:01 ---> sudo-logs.sh 03:20:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:20:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:20:01 ---> job-cost.sh 03:20:01 lf-activate-venv: SKIPPING 03:20:01 DEBUG: total: 0.2199999988079071 03:20:01 INFO: Retrieving Stack Cost... 03:20:02 INFO: Retrieving Pricing Info for: v3-standard-8 03:20:02 INFO: Archiving Costs [Pipeline] echo 03:20:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:20:02 ---> logs-deploy.sh 03:20:02 lf-activate-venv: SKIPPING 03:20:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-460/1 03:20:02 INFO: archiving workspace using pattern(s): 03:20:03 Archives upload complete. 03:20:04 INFO: archiving logs to Nexus