Pull request #440 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 993a19db6d372bcd4a45ab9017f7e00783777922+9e152f0eea3cbe8e1fbe8298102668336ecdbf0d (594cd96f095858128ebc4830540f491cd7a1b735) 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-ssh1455466199816222104.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh8657187965424221996.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 590556114a56c6d90cc8043840e039c2f74196dc 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-440/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-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14259151895381962366.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-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12292497036901302403.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh9423636872202657322.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-440/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-440/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1694410061043915476.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 590556114a56c6d90cc8043840e039c2f74196dc 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.21 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4222’ Running on prd-ubuntu20.04-docker-8c-8g-4224 in /w/workspace/undry_device-onvif-camera_PR-440 [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-440 # 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 Merging remotes/origin/main commit 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d into PR head commit 993a19db6d372bcd4a45ab9017f7e00783777922 Merge succeeded, producing 993a19db6d372bcd4a45ab9017f7e00783777922 Checking out Revision 993a19db6d372bcd4a45ab9017f7e00783777922 (PR-440) > 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/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 993a19db6d372bcd4a45ab9017f7e00783777922 # 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 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 993a19db6d372bcd4a45ab9017f7e00783777922 # timeout=10 Commit message: "build(deps): Bump onvif from 1.1.1 to 1.1.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:22:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:22:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:22:55 ========================================================= 06:22:55 EdgeX Global Pipelines Version Info 06:22:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:22:56 ------------------- 06:22:56 stable info: 06:22:56 ------------------- 06:22:56 Commited By: Ginny Guan ginny@iotechsys.com 06:22:56 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 06:22:56 Message: update stable to v1.0.260 06:22:56 ------------------- 06:22:56 experimental info: 06:22:56 ------------------- 06:22:56 Commited By: Ginny Guan ginny@iotechsys.com 06:22:56 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 06:22:56 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:22:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-440 [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-440 [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-440 [Pipeline] echo 06:22:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 993a19db6d372bcd4a45ab9017f7e00783777922 [Pipeline] echo 06:22:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 993a19d [Pipeline] echo 06:22:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:22:59 provisioning config files... 06:22:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-440@tmp/config6250997261020873842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:22:59 ---> ****-login.sh 06:22:59 nexus3.edgexfoundry.org:10001 06:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:59 Configure a credential helper to remove this warning. See 06:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:59 06:22:59 Login Succeeded 06:22:59 nexus3.edgexfoundry.org:10002 06:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:22:59 Configure a credential helper to remove this warning. See 06:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:22:59 06:22:59 Login Succeeded 06:22:59 nexus3.edgexfoundry.org:10003 06:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:00 Configure a credential helper to remove this warning. See 06:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:00 06:23:00 Login Succeeded 06:23:00 nexus3.edgexfoundry.org:10004 06:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:00 Configure a credential helper to remove this warning. See 06:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:00 06:23:00 Login Succeeded 06:23:00 ****.io 06:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:00 Configure a credential helper to remove this warning. See 06:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:00 06:23:00 Login Succeeded 06:23:00 ---> ****-login.sh ends [Pipeline] } 06:23:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:23:01 + git rev-list -1 --merges 993a19db6d372bcd4a45ab9017f7e00783777922~1..993a19db6d372bcd4a45ab9017f7e00783777922 [Pipeline] echo 06:23:01 -----------> git rev-list -1 --merges 993a19db6d372bcd4a45ab9017f7e00783777922~1..993a19db6d372bcd4a45ab9017f7e00783777922 993a19db6d372bcd4a45ab9017f7e00783777922 [false] [Pipeline] sh 06:23:01 + git log --format=format:%s -1 993a19db6d372bcd4a45ab9017f7e00783777922 [Pipeline] echo 06:23:01 ========================================================= 06:23:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:23:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:23:02 + git log --format=format:%s -1 993a19db6d372bcd4a45ab9017f7e00783777922 [Pipeline] echo 06:23:02 [semverPrep] GIT_COMMIT: 993a19db6d372bcd4a45ab9017f7e00783777922, Commit Message: build(deps): Bump onvif from 1.1.1 to 1.1.2 [Pipeline] echo 06:23:02 [semverPrep] This is not a build commit. [Pipeline] sh 06:23:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:23:02 + grep -v github /etc/ssh/ssh_known_hosts 06:23:02 + [ -e /tmp/ssh_known_hosts ] 06:23:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:23:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:23:02 + sudo tee -a /etc/ssh/ssh_known_hosts 06:23:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:03 06:23:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:03 0.1.4: Pulling from edgex-devops/py-git-semver 06:23:03 b85a868b505f: Pulling fs layer 06:23:03 e2be974225ed: Pulling fs layer 06:23:03 339a4e72a1f5: Pulling fs layer 06:23:03 988bab9f4d93: Pulling fs layer 06:23:03 1469e6f7b9e6: Pulling fs layer 06:23:03 eaf3925da568: Pulling fs layer 06:23:03 bab4dde63d76: Pulling fs layer 06:23:03 bde34c3a00c8: Pulling fs layer 06:23:03 b352a97aabf1: Pulling fs layer 06:23:03 4872d77fe225: Pulling fs layer 06:23:03 5851b861e8e6: Pulling fs layer 06:23:03 988bab9f4d93: Waiting 06:23:03 1469e6f7b9e6: Waiting 06:23:03 eaf3925da568: Waiting 06:23:03 bde34c3a00c8: Waiting 06:23:03 bab4dde63d76: Waiting 06:23:03 b352a97aabf1: Waiting 06:23:03 4872d77fe225: Waiting 06:23:03 5851b861e8e6: Waiting 06:23:03 e2be974225ed: Download complete 06:23:03 988bab9f4d93: Download complete 06:23:03 1469e6f7b9e6: Verifying Checksum 06:23:03 1469e6f7b9e6: Download complete 06:23:03 eaf3925da568: Download complete 06:23:03 339a4e72a1f5: Verifying Checksum 06:23:03 339a4e72a1f5: Download complete 06:23:03 bde34c3a00c8: Verifying Checksum 06:23:03 bde34c3a00c8: Download complete 06:23:03 b352a97aabf1: Verifying Checksum 06:23:03 b352a97aabf1: Download complete 06:23:03 4872d77fe225: Verifying Checksum 06:23:03 4872d77fe225: Download complete 06:23:03 5851b861e8e6: Verifying Checksum 06:23:03 5851b861e8e6: Download complete 06:23:03 b85a868b505f: Verifying Checksum 06:23:03 b85a868b505f: Download complete 06:23:04 bab4dde63d76: Verifying Checksum 06:23:04 bab4dde63d76: Download complete 06:23:04 b85a868b505f: Pull complete 06:23:05 e2be974225ed: Pull complete 06:23:05 339a4e72a1f5: Pull complete 06:23:05 988bab9f4d93: Pull complete 06:23:06 1469e6f7b9e6: Pull complete 06:23:06 eaf3925da568: Pull complete 06:23:07 bab4dde63d76: Pull complete 06:23:07 bde34c3a00c8: Pull complete 06:23:07 b352a97aabf1: Pull complete 06:23:07 4872d77fe225: Pull complete 06:23:08 5851b861e8e6: Pull complete 06:23:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:23:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:23:08 prd-ubuntu20.04-docker-8c-8g-4224 does not seem to be running inside a container 06:23:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-440 -v /w/workspace/undry_device-onvif-camera_PR-440:/w/workspace/undry_device-onvif-camera_PR-440:rw,z -v /w/workspace/undry_device-onvif-camera_PR-440@tmp:/w/workspace/undry_device-onvif-camera_PR-440@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-devops/py-git-semver:0.1.4 cat 06:23:10 $ docker top 165c28a673f87fc1af0dba8edc4ceea0c73371d9708505ceb7286d789a0fb87c -eo pid,comm 06:23:10 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). 06:23:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:23:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:10 [ssh-agent] Looking for ssh-agent implementation... 06:23:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:10 $ docker exec 165c28a673f87fc1af0dba8edc4ceea0c73371d9708505ceb7286d789a0fb87c ssh-agent 06:23:10 SSH_AUTH_SOCK=/tmp/ssh-CL55GgBlfUzL/agent.32 06:23:10 SSH_AGENT_PID=38 06:23:10 Running ssh-add (command line suppressed) 06:23:10 Identity added: /w/workspace/undry_device-onvif-camera_PR-440@tmp/private_key_15873581898298780942.key (/w/workspace/undry_device-onvif-camera_PR-440@tmp/private_key_15873581898298780942.key) 06:23:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:23:11 + git tag --points-at HEAD [Pipeline] } 06:23:11 $ docker exec --env ******** --env ******** 165c28a673f87fc1af0dba8edc4ceea0c73371d9708505ceb7286d789a0fb87c ssh-agent -k 06:23:11 unset SSH_AUTH_SOCK; 06:23:11 unset SSH_AGENT_PID; 06:23:11 echo Agent pid 38 killed; 06:23:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:23:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:23:11 [ssh-agent] Looking for ssh-agent implementation... 06:23:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:23:11 $ docker exec 165c28a673f87fc1af0dba8edc4ceea0c73371d9708505ceb7286d789a0fb87c ssh-agent 06:23:11 SSH_AUTH_SOCK=/tmp/ssh-c2RWdmtmVOZs/agent.71 06:23:11 SSH_AGENT_PID=77 06:23:11 Running ssh-add (command line suppressed) 06:23:11 Identity added: /w/workspace/undry_device-onvif-camera_PR-440@tmp/private_key_14044875481118095964.key (/w/workspace/undry_device-onvif-camera_PR-440@tmp/private_key_14044875481118095964.key) 06:23:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:23:12 + git semver init 06:23:12 2024-06-24 06:23:12,378 [run_init] DEBUG init version:0.0.0 force:False 06:23:12 2024-06-24 06:23:12,380 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-440/.semver 06:23:12 2024-06-24 06:23:12,381 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-440/.semver 06:23:12 2024-06-24 06:23:12,381 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-440/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-440, universal_newlines=False, shell=None, istream=None) 06:23:13 2024-06-24 06:23:13,753 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-440/.git/info/exclude 06:23:13 2024-06-24 06:23:13,753 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-440/.semver/PR-440 with force:False 06:23:13 2024-06-24 06:23:13,753 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-440/.semver/PR-440 06:23:13 2024-06-24 06:23:13,782 [execute] INFO git cat-file --batch-check 06:23:13 2024-06-24 06:23:13,783 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-440/.semver, universal_newlines=False, shell=None, istream=) 06:23:13 2024-06-24 06:23:13,791 [execute] INFO git cat-file --batch 06:23:13 2024-06-24 06:23:13,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-440/.semver, universal_newlines=False, shell=None, istream=) 06:23:13 2024-06-24 06:23:13,798 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-440/.semver/PR-440 06:23:13 0.0.0 [Pipeline] } 06:23:13 $ docker exec --env ******** --env ******** 165c28a673f87fc1af0dba8edc4ceea0c73371d9708505ceb7286d789a0fb87c ssh-agent -k 06:23:13 unset SSH_AUTH_SOCK; 06:23:13 unset SSH_AGENT_PID; 06:23:13 echo Agent pid 77 killed; 06:23:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:23:14 + git semver [Pipeline] } 06:23:14 $ docker stop --time=1 165c28a673f87fc1af0dba8edc4ceea0c73371d9708505ceb7286d789a0fb87c 06:23:16 $ docker rm -f --volumes 165c28a673f87fc1af0dba8edc4ceea0c73371d9708505ceb7286d789a0fb87c [Pipeline] // withDockerContainer [Pipeline] sh 06:23:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:23:16 Stashed 1 file(s) [Pipeline] echo 06:23:16 [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 06:23:17 provisioning config files... 06:23:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-440@tmp/config2129811535890777729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:17 ---> ****-login.sh 06:23:17 nexus3.edgexfoundry.org:10001 06:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:18 Configure a credential helper to remove this warning. See 06:23:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:18 06:23:18 Login Succeeded 06:23:18 nexus3.edgexfoundry.org:10002 06:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:18 Configure a credential helper to remove this warning. See 06:23:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:18 06:23:18 Login Succeeded 06:23:18 nexus3.edgexfoundry.org:10003 06:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:18 Configure a credential helper to remove this warning. See 06:23:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:18 06:23:18 Login Succeeded 06:23:18 nexus3.edgexfoundry.org:10004 06:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:18 Configure a credential helper to remove this warning. See 06:23:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:18 06:23:18 Login Succeeded 06:23:18 ****.io 06:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:23:19 Configure a credential helper to remove this warning. See 06:23:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:23:19 06:23:19 Login Succeeded 06:23:19 ---> ****-login.sh ends [Pipeline] } 06:23:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:23:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:23:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:23:19 ========================================================= 06:23:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:23:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:23:20 Sending build context to Docker daemon 37.78MB 06:23:20 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 06:23:20 Step 2/13 : FROM ${BASE} AS builder 06:23:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:23:20 619be1103602: Pulling fs layer 06:23:20 7862e08f4a3e: Pulling fs layer 06:23:20 5df492c9dc93: Pulling fs layer 06:23:20 7629e6793208: Pulling fs layer 06:23:20 4f4fb700ef54: Pulling fs layer 06:23:20 fb5054dd5b73: Pulling fs layer 06:23:20 eeca6798cff9: Pulling fs layer 06:23:20 aa269ceb94a6: Pulling fs layer 06:23:20 ada007ff1a6a: Pulling fs layer 06:23:20 4f4fb700ef54: Waiting 06:23:20 fb5054dd5b73: Waiting 06:23:20 eeca6798cff9: Waiting 06:23:20 aa269ceb94a6: Waiting 06:23:20 ada007ff1a6a: Waiting 06:23:20 7629e6793208: Waiting 06:23:20 7862e08f4a3e: Verifying Checksum 06:23:20 7862e08f4a3e: Download complete 06:23:20 7629e6793208: Download complete 06:23:20 4f4fb700ef54: Download complete 06:23:20 fb5054dd5b73: Verifying Checksum 06:23:20 fb5054dd5b73: Download complete 06:23:20 619be1103602: Verifying Checksum 06:23:20 619be1103602: Download complete 06:23:20 eeca6798cff9: Download complete 06:23:20 619be1103602: Pull complete 06:23:20 ada007ff1a6a: Verifying Checksum 06:23:20 ada007ff1a6a: Download complete 06:23:20 7862e08f4a3e: Pull complete 06:23:21 5df492c9dc93: Verifying Checksum 06:23:21 5df492c9dc93: Download complete 06:23:21 aa269ceb94a6: Verifying Checksum 06:23:21 aa269ceb94a6: Download complete 06:23:24 5df492c9dc93: Pull complete 06:23:24 7629e6793208: Pull complete 06:23:24 4f4fb700ef54: Pull complete 06:23:24 fb5054dd5b73: Pull complete 06:23:24 eeca6798cff9: Pull complete 06:23:27 aa269ceb94a6: Pull complete 06:23:27 ada007ff1a6a: Pull complete 06:23:27 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:23:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:23:27 ---> f489d0715acc 06:23:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:23:30 ---> Running in 93edb746c940 06:23:30 Removing intermediate container 93edb746c940 06:23:30 ---> a3cc1cf2025f 06:23:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:23:30 ---> Running in 1bcbea754da3 06:23:30 Removing intermediate container 1bcbea754da3 06:23:30 ---> 3cc76d61d711 06:23:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:23:30 ---> Running in b7675a8993cb 06:23:30 Removing intermediate container b7675a8993cb 06:23:30 ---> 935f35ae616c 06:23:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:23:30 ---> Running in efabe0ea82b5 06:23:30 Removing intermediate container efabe0ea82b5 06:23:30 ---> 508f6da99f2d 06:23:30 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:23:30 ---> Running in be622a1033b1 06:23:30 Removing intermediate container be622a1033b1 06:23:30 ---> 152748776bc2 06:23:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:23:30 ---> Running in d131401d0cbb 06:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:23:31 OK: 264 MiB in 52 packages 06:23:31 Removing intermediate container d131401d0cbb 06:23:31 ---> bd6950a0efd9 06:23:31 Step 9/13 : WORKDIR /device-onvif-camera 06:23:31 ---> Running in 3cbb1fcb54d0 06:23:31 Removing intermediate container 3cbb1fcb54d0 06:23:31 ---> e16d0f3b3986 06:23:31 Step 10/13 : COPY go.mod vendor* ./ 06:23:31 ---> 296438ad81ea 06:23:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:23:31 ---> Running in c65ce3cef7ca 06:23:32 Still waiting to schedule task 06:23:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4223’ 06:24:27 Removing intermediate container c65ce3cef7ca 06:24:27 ---> 8ad0d955fbda 06:24:27 Step 12/13 : COPY . . 06:24:27 ---> 881bcd5779ff 06:24:27 Step 13/13 : RUN ${MAKE} 06:24:27 ---> Running in 6c53d0232038 06:24:27 noop 06:24:27 Removing intermediate container 6c53d0232038 06:24:27 ---> 3b81b8f7bdb1 06:24:27 Successfully built 3b81b8f7bdb1 06:24:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:28 + docker inspect -f . ci-base-image-x86_64 06:24:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:28 prd-ubuntu20.04-docker-8c-8g-4224 does not seem to be running inside a container 06:24:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-440 -v /w/workspace/undry_device-onvif-camera_PR-440:/w/workspace/undry_device-onvif-camera_PR-440:rw,z -v /w/workspace/undry_device-onvif-camera_PR-440@tmp:/w/workspace/undry_device-onvif-camera_PR-440@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:24:29 $ docker top d14d54bfc88cde75ac40928e9bc8e8825b5821684f6331fe80596a6e69fe308b -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:29 + go version 06:24:29 go version go1.21.9 linux/amd64 [Pipeline] } 06:24:29 $ docker stop --time=1 d14d54bfc88cde75ac40928e9bc8e8825b5821684f6331fe80596a6e69fe308b 06:24:30 $ docker rm -f --volumes d14d54bfc88cde75ac40928e9bc8e8825b5821684f6331fe80596a6e69fe308b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:31 + docker inspect -f . ci-base-image-x86_64 06:24:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:31 prd-ubuntu20.04-docker-8c-8g-4224 does not seem to be running inside a container 06:24:31 $ 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-440 -v /w/workspace/undry_device-onvif-camera_PR-440:/w/workspace/undry_device-onvif-camera_PR-440:rw,z -v /w/workspace/undry_device-onvif-camera_PR-440@tmp:/w/workspace/undry_device-onvif-camera_PR-440@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:24:32 $ docker top 2bd0dc6acaf6e87603fbe5d12c32a9ae99d0d2c5db35553bcea07365fb216438 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:32 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-440 [Pipeline] fileExists [Pipeline] sh 06:24:32 + make test 06:24:32 go test ./... -coverprofile=coverage.out ./... 06:24:34 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:24:56 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:24:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:24:56 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.047s coverage: 31.4% of statements 06:24:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.285s coverage: 86.5% of statements 06:25:08 go vet ./... 06:25:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:25:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:25:15 ./bin/test-attribution-txt.sh 06:25:15 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:25:15 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:25:15 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:25:15 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:25:15 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:25:15 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:25:15 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:25:15 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:25:15 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:25:15 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:25:15 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:25:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:25:15 $ docker stop --time=1 2bd0dc6acaf6e87603fbe5d12c32a9ae99d0d2c5db35553bcea07365fb216438 06:25:17 $ docker rm -f --volumes 2bd0dc6acaf6e87603fbe5d12c32a9ae99d0d2c5db35553bcea07365fb216438 [Pipeline] // withDockerContainer [Pipeline] sh 06:25:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:25:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:25:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:25:19 + ls -al . 06:25:19 total 312 06:25:19 drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 06:24 . 06:25:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 06:22 .. 06:25:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 06:24 .git 06:25:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 06:22 .github 06:25:19 -rw-rw-r-- 1 jenkins jenkins 493 Jun 24 06:22 .gitignore 06:25:19 -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 06:22 .golangci.yml 06:25:19 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 06:23 .semver 06:25:19 -rw-rw-r-- 1 jenkins jenkins 11155 Jun 24 06:22 Attribution.txt 06:25:19 -rw-rw-r-- 1 jenkins jenkins 17665 Jun 24 06:22 CHANGELOG.md 06:25:19 -rw-rw-r-- 1 jenkins jenkins 1683 Jun 24 06:22 Dockerfile 06:25:19 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 06:22 GOVERNANCE.md 06:25:19 -rw-rw-r-- 1 jenkins jenkins 739 Jun 24 06:22 Jenkinsfile 06:25:19 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 06:22 LICENSE 06:25:19 -rw-rw-r-- 1 jenkins jenkins 2883 Jun 24 06:22 Makefile 06:25:19 -rw-rw-r-- 1 jenkins jenkins 625 Jun 24 06:22 OWNERS.md 06:25:19 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 24 06:22 README.md 06:25:19 -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 06:23 VERSION 06:25:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 06:22 bin 06:25:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 06:22 cmd 06:25:19 -rw-r--r-- 1 jenkins jenkins 78805 Jun 24 06:24 coverage.out 06:25:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 06:22 doc 06:25:19 -rw-rw-r-- 1 jenkins jenkins 7387 Jun 24 06:22 go.mod 06:25:19 -rw-rw-r-- 1 jenkins jenkins 102689 Jun 24 06:22 go.sum 06:25:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 06:22 internal 06:25:19 -rw-rw-r-- 1 jenkins jenkins 236 Jun 24 06:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:19 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=993a19db6d372bcd4a45ab9017f7e00783777922 --label arch=amd64 --label version=0.0.0 . 06:25:19 Sending build context to Docker daemon 37.86MB 06:25:19 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 06:25:19 Step 2/27 : FROM ${BASE} AS builder 06:25:19 ---> 3b81b8f7bdb1 06:25:19 Step 3/27 : ARG ADD_BUILD_TAGS="" 06:25:20 ---> Running in 6be539dfaf99 06:25:20 Removing intermediate container 6be539dfaf99 06:25:20 ---> e132bf269449 06:25:20 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:25:20 ---> Running in d41406162226 06:25:20 Removing intermediate container d41406162226 06:25:20 ---> 0382c01948f7 06:25:20 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 06:25:20 ---> Running in 4517223178aa 06:25:20 Removing intermediate container 4517223178aa 06:25:20 ---> fb4a0a046acb 06:25:20 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 06:25:20 ---> Running in 32778745578c 06:25:20 Removing intermediate container 32778745578c 06:25:20 ---> ee90b39fbf6f 06:25:20 Step 7/27 : LABEL Name=edgex-device-onvif-camera 06:25:20 ---> Running in f7f3394cafaa 06:25:20 Removing intermediate container f7f3394cafaa 06:25:20 ---> a3c7044cda04 06:25:20 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:25:20 ---> Running in 86631ba02fd5 06:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:25:21 OK: 264 MiB in 52 packages 06:25:21 Removing intermediate container 86631ba02fd5 06:25:21 ---> acf6a5ae847d 06:25:21 Step 9/27 : WORKDIR /device-onvif-camera 06:25:21 ---> Running in d3d7c8b13079 06:25:21 Removing intermediate container d3d7c8b13079 06:25:21 ---> 286114b74436 06:25:21 Step 10/27 : COPY go.mod vendor* ./ 06:25:21 ---> 69832bcb53fc 06:25:21 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:25:21 ---> Running in ed9595e299ab 06:25:22 Removing intermediate container ed9595e299ab 06:25:22 ---> 6bc54a7f46f7 06:25:22 Step 12/27 : COPY . . 06:25:23 ---> 649baacf49ef 06:25:23 Step 13/27 : RUN ${MAKE} 06:25:23 ---> Running in 797804810c8b 06:25:23 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:25:55 Removing intermediate container 797804810c8b 06:25:55 ---> 5fe9f596fb63 06:25:55 Step 14/27 : FROM alpine:3.18 06:25:55 3.18: Pulling from library/alpine 06:25:55 73baa7ef167e: Pulling fs layer 06:25:55 73baa7ef167e: Download complete 06:25:55 73baa7ef167e: Pull complete 06:25:55 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 06:25:55 Status: Downloaded newer image for alpine:3.18 06:25:55 ---> 8fd7cac70a4a 06:25:55 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 06:25:55 ---> Running in b2f363a17a92 06:25:55 Removing intermediate container b2f363a17a92 06:25:55 ---> daed37d68501 06:25:55 Step 16/27 : RUN apk add --update --no-cache dumb-init 06:25:55 ---> Running in 2bdf74e32a8c 06:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:25:55 (1/1) Installing dumb-init (1.2.5-r2) 06:25:55 Executing busybox-1.36.1-r7.trigger 06:25:55 OK: 7 MiB in 16 packages 06:25:56 Removing intermediate container 2bdf74e32a8c 06:25:56 ---> 2dae2797bc30 06:25:56 Step 17/27 : RUN apk --no-cache upgrade 06:25:56 ---> Running in 4b617b5ef360 06:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:25:56 OK: 7 MiB in 16 packages 06:25:57 Removing intermediate container 4b617b5ef360 06:25:57 ---> 65907ff6e553 06:25:57 Step 18/27 : WORKDIR / 06:25:57 ---> Running in ba66cdc4122b 06:25:57 Removing intermediate container ba66cdc4122b 06:25:57 ---> 08bba606c481 06:25:57 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 06:25:57 ---> 05a23369112c 06:25:57 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 06:25:58 ---> f94d18aa6609 06:25:58 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:25:58 ---> c13f7b80cdde 06:25:58 Step 22/27 : EXPOSE 59984 06:25:58 ---> Running in c3fe0d66c863 06:25:58 Removing intermediate container c3fe0d66c863 06:25:58 ---> 25671f2aa5c8 06:25:58 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 06:25:58 ---> Running in a8bbd9a02b7c 06:25:58 Removing intermediate container a8bbd9a02b7c 06:25:58 ---> bc81999ec596 06:25:58 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:25:58 ---> Running in 3d0ffd9fea1f 06:25:58 Removing intermediate container 3d0ffd9fea1f 06:25:58 ---> 05d961bfe086 06:25:58 Step 25/27 : LABEL arch=amd64 06:25:58 ---> Running in dd9e41c6c2b5 06:25:58 Removing intermediate container dd9e41c6c2b5 06:25:58 ---> aeebf14620aa 06:25:58 Step 26/27 : LABEL git_sha=993a19db6d372bcd4a45ab9017f7e00783777922 06:25:58 ---> Running in 704df3f1d483 06:25:58 Removing intermediate container 704df3f1d483 06:25:58 ---> 6fba0ab1ad23 06:25:58 Step 27/27 : LABEL version=0.0.0 06:25:58 ---> Running in c365f5a290e1 06:25:58 Removing intermediate container c365f5a290e1 06:25:58 ---> d5ac06821543 06:25:58 [Warning] One or more build-args [ARCH] were not consumed 06:25:58 Successfully built d5ac06821543 06:25:58 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:26:00 06:26:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:26:00 latest: Pulling from edgex-lftools-log-publisher 06:26:00 5eb5b503b376: Pulling fs layer 06:26:00 5c69ac0246d0: Pulling fs layer 06:26:00 ec43610c2a17: Pulling fs layer 06:26:00 3a2ae6a8a46f: Pulling fs layer 06:26:00 33b1e0a273af: Pulling fs layer 06:26:00 5d3b04190fa2: Pulling fs layer 06:26:00 2f39f015ded8: Pulling fs layer 06:26:00 33b1e0a273af: Waiting 06:26:00 5d3b04190fa2: Waiting 06:26:00 2f39f015ded8: Waiting 06:26:00 3a2ae6a8a46f: Waiting 06:26:00 5c69ac0246d0: Verifying Checksum 06:26:00 5c69ac0246d0: Download complete 06:26:00 3a2ae6a8a46f: Verifying Checksum 06:26:00 3a2ae6a8a46f: Download complete 06:26:00 33b1e0a273af: Verifying Checksum 06:26:00 33b1e0a273af: Download complete 06:26:00 ec43610c2a17: Verifying Checksum 06:26:00 ec43610c2a17: Download complete 06:26:00 5d3b04190fa2: Download complete 06:26:00 5eb5b503b376: Verifying Checksum 06:26:00 5eb5b503b376: Download complete 06:26:01 2f39f015ded8: Download complete 06:26:01 5eb5b503b376: Pull complete 06:26:02 5c69ac0246d0: Pull complete 06:26:02 ec43610c2a17: Pull complete 06:26:02 3a2ae6a8a46f: Pull complete 06:26:02 33b1e0a273af: Pull complete 06:26:02 5d3b04190fa2: Pull complete 06:26:07 2f39f015ded8: Pull complete 06:26:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:26:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:26:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:07 prd-ubuntu20.04-docker-8c-8g-4224 does not seem to be running inside a container 06:26:07 $ 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-440 -v /w/workspace/undry_device-onvif-camera_PR-440:/w/workspace/undry_device-onvif-camera_PR-440:rw,z -v /w/workspace/undry_device-onvif-camera_PR-440@tmp:/w/workspace/undry_device-onvif-camera_PR-440@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:26:09 $ docker top 14982ca4a7fff9ba063a8b84e167ef7f2e64b343ea7bfc7c1445b8e2a90dfe42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:09 ---> job-cost.sh 06:26:09 lf-activate-venv: SKIPPING 06:26:09 INFO: No Stack... 06:26:10 INFO: Retrieving Pricing Info for: v3-standard-8 06:26:10 INFO: Archiving Costs [Pipeline] sh 06:26:10 + cat /w/workspace/undry_device-onvif-camera_PR-440/archives/cost.csv 06:26:10 + cut -d, -f6 [Pipeline] lock 06:26:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-440-1-stack-cost] 06:26:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-440-1-stack-cost] did not exist. Created. 06:26:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-440-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:26:11 + echo total: 0.2199999988079071 [Pipeline] stash 06:26:11 Stashed 1 file(s) [Pipeline] } 06:26:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-440-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:26:11 $ docker stop --time=1 14982ca4a7fff9ba063a8b84e167ef7f2e64b343ea7bfc7c1445b8e2a90dfe42 06:26:12 $ docker rm -f --volumes 14982ca4a7fff9ba063a8b84e167ef7f2e64b343ea7bfc7c1445b8e2a90dfe42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:27:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4225 in /w/workspace/undry_device-onvif-camera_PR-440 [Pipeline] { [Pipeline] ws 06:27:08 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 06:27:11 The recommended git tool is: git 06:27:19 using credential edgex-jenkins-ssh 06:27:19 Cloning the remote Git repository 06:27:19 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:27:19 > git init /w/workspace/device-onvif-camera/1 # timeout=10 06:27:19 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:27:19 > git --version # timeout=10 06:27:19 > git --version # 'git version 2.25.1' 06:27:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:27:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:27:23 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:27:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:27:23 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:27:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:27:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:27:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:27:24 Merging remotes/origin/main commit 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d into PR head commit 993a19db6d372bcd4a45ab9017f7e00783777922 06:27:24 Merge succeeded, producing 993a19db6d372bcd4a45ab9017f7e00783777922 06:27:24 Checking out Revision 993a19db6d372bcd4a45ab9017f7e00783777922 (PR-440) 06:27:24 > git config core.sparsecheckout # timeout=10 06:27:24 > git checkout -f 993a19db6d372bcd4a45ab9017f7e00783777922 # timeout=10 06:27:24 > git remote # timeout=10 06:27:24 > git config --get remote.origin.url # timeout=10 06:27:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:27:24 > git merge 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 06:27:24 > git rev-parse HEAD^{commit} # timeout=10 06:27:24 > git config core.sparsecheckout # timeout=10 06:27:24 > git checkout -f 993a19db6d372bcd4a45ab9017f7e00783777922 # timeout=10 06:27:28 Commit message: "build(deps): Bump onvif from 1.1.1 to 1.1.2" 06:27:28 > git --version # timeout=10 06:27:28 > git --version # 'git version 2.25.1' 06:27:28 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:27:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:27:31 % Total % Received % Xferd Average Speed Time Time Time Current 06:27:31 Dload Upload Total Spent Left Speed 06:27:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 104k 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 06:27:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:27:31 + sudo tee /etc/docker/daemon.new 06:27:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:27:31 { 06:27:31 "registry-mirrors": [ 06:27:31 "https://nexus3.edgexfoundry.org:10001" 06:27:31 ], 06:27:31 "bip": "10.250.0.254/24", 06:27:31 "hosts": [ 06:27:31 "tcp://0.0.0.0:5555", 06:27:31 "unix:///var/run/docker.sock" 06:27:31 ], 06:27:31 "mtu": 1458, 06:27:31 "selinux-enabled": true, 06:27:31 "seccomp-profile": "/etc/docker/seccomp.json" 06:27:31 } [Pipeline] sh 06:27:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:27:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:50 provisioning config files... 06:27:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config16479969987339380946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:51 ---> ****-login.sh 06:27:51 nexus3.edgexfoundry.org:10001 06:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:51 Configure a credential helper to remove this warning. See 06:27:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:51 06:27:51 Login Succeeded 06:27:51 nexus3.edgexfoundry.org:10002 06:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:52 Configure a credential helper to remove this warning. See 06:27:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:52 06:27:52 Login Succeeded 06:27:52 nexus3.edgexfoundry.org:10003 06:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:52 Configure a credential helper to remove this warning. See 06:27:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:52 06:27:52 Login Succeeded 06:27:52 nexus3.edgexfoundry.org:10004 06:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:52 Configure a credential helper to remove this warning. See 06:27:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:52 06:27:52 Login Succeeded 06:27:52 ****.io 06:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:27:53 Configure a credential helper to remove this warning. See 06:27:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:27:53 06:27:53 Login Succeeded 06:27:53 ---> ****-login.sh ends [Pipeline] } 06:27:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:27:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:27:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:27:54 ========================================================= 06:27:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:27:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 06:27:55 Sending build context to Docker daemon 22.31MB 06:27:55 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 06:27:55 Step 2/13 : FROM ${BASE} AS builder 06:27:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:27:55 c6b39de5b339: Pulling fs layer 06:27:55 a69c41024577: Pulling fs layer 06:27:55 d6de4b400683: Pulling fs layer 06:27:55 35cb2a7552d0: Pulling fs layer 06:27:55 4f4fb700ef54: Pulling fs layer 06:27:55 464afbd9ba4c: Pulling fs layer 06:27:55 00f215d4a9da: Pulling fs layer 06:27:55 d496ad576159: Pulling fs layer 06:27:55 464afbd9ba4c: Waiting 06:27:55 00f215d4a9da: Waiting 06:27:55 d496ad576159: Waiting 06:27:55 35cb2a7552d0: Waiting 06:27:55 4f4fb700ef54: Waiting 06:27:55 a69c41024577: Verifying Checksum 06:27:55 a69c41024577: Download complete 06:27:55 35cb2a7552d0: Verifying Checksum 06:27:55 35cb2a7552d0: Download complete 06:27:55 4f4fb700ef54: Verifying Checksum 06:27:55 4f4fb700ef54: Download complete 06:27:55 464afbd9ba4c: Verifying Checksum 06:27:55 464afbd9ba4c: Download complete 06:27:55 c6b39de5b339: Download complete 06:27:56 d496ad576159: Verifying Checksum 06:27:56 d496ad576159: Download complete 06:27:56 c6b39de5b339: Pull complete 06:27:56 a69c41024577: Pull complete 06:27:57 d6de4b400683: Verifying Checksum 06:27:57 d6de4b400683: Download complete 06:27:58 00f215d4a9da: Verifying Checksum 06:27:58 00f215d4a9da: Download complete 06:28:10 d6de4b400683: Pull complete 06:28:10 35cb2a7552d0: Pull complete 06:28:10 4f4fb700ef54: Pull complete 06:28:10 464afbd9ba4c: Pull complete 06:28:18 00f215d4a9da: Pull complete 06:28:20 d496ad576159: Pull complete 06:28:20 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:28:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:28:20 ---> f246e2811388 06:28:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:28:22 ---> Running in 94877c6026ed 06:28:22 Removing intermediate container 94877c6026ed 06:28:22 ---> 79e64fa022da 06:28:22 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:28:22 ---> Running in f7646f7b7bfe 06:28:22 Removing intermediate container f7646f7b7bfe 06:28:22 ---> 15513177e723 06:28:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:28:23 ---> Running in bbd50d22117c 06:28:23 Removing intermediate container bbd50d22117c 06:28:23 ---> 3e607e03104d 06:28:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:28:23 ---> Running in a8b6874422c0 06:28:23 Removing intermediate container a8b6874422c0 06:28:23 ---> 541d4fb6a28c 06:28:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:28:23 ---> Running in ab8a632f6fd9 06:28:24 Removing intermediate container ab8a632f6fd9 06:28:24 ---> 2c7565335b5a 06:28:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:28:24 ---> Running in be71cb3d1d32 06:28:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:28:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:28:27 OK: 266 MiB in 52 packages 06:28:28 Removing intermediate container be71cb3d1d32 06:28:28 ---> 89cc4cd5e418 06:28:28 Step 9/13 : WORKDIR /device-onvif-camera 06:28:28 ---> Running in 59b3d2a9029c 06:28:28 Removing intermediate container 59b3d2a9029c 06:28:28 ---> 028377ae97ae 06:28:28 Step 10/13 : COPY go.mod vendor* ./ 06:28:28 ---> 72d25c672d49 06:28:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:28:28 ---> Running in 3d9ec259c437 06:30:35 Removing intermediate container 3d9ec259c437 06:30:35 ---> 8dbd79018661 06:30:35 Step 12/13 : COPY . . 06:30:35 ---> 0dd6844e485b 06:30:35 Step 13/13 : RUN ${MAKE} 06:30:35 ---> Running in a41399b48b2d 06:30:35 noop 06:30:35 Removing intermediate container a41399b48b2d 06:30:35 ---> a9708934f979 06:30:35 Successfully built a9708934f979 06:30:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:36 + docker inspect -f . ci-base-image-arm64 06:30:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:36 prd-ubuntu20.04-docker-arm64-4c-16g-4225 does not seem to be running inside a container 06:30:36 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:30:37 $ docker top 71d70a53cfda095f04a2c6a703417fed11131ff8fb31b004b8877921f3596889 -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:38 + go version 06:30:38 go version go1.21.9 linux/arm64 [Pipeline] } 06:30:38 $ docker stop --time=1 71d70a53cfda095f04a2c6a703417fed11131ff8fb31b004b8877921f3596889 06:30:40 $ docker rm -f --volumes 71d70a53cfda095f04a2c6a703417fed11131ff8fb31b004b8877921f3596889 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:40 + docker inspect -f . ci-base-image-arm64 06:30:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:41 prd-ubuntu20.04-docker-arm64-4c-16g-4225 does not seem to be running inside a container 06:30:41 $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:30:42 $ docker top 3a0990f33b86e5626e877edc5a7b03f369580613314d8230ea456beddd1d21e8 -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:43 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 06:30:44 + make test 06:30:44 go test ./... -coverprofile=coverage.out ./... 06:30:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:34:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:34:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:34:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.232s coverage: 31.4% of statements 06:34:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.323s coverage: 86.5% of statements 06:34:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:34:33 go vet ./... 06:35:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:35:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:35:20 ./bin/test-attribution-txt.sh 06:35:20 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 06:35:20 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 06:35:20 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 06:35:20 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 06:35:20 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 06:35:20 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 06:35:20 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 06:35:20 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 06:35:20 An attribution for golang.org/x/term is missing from Attribution.txt, please add 06:35:20 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 06:35:20 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 06:35:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:35:20 $ docker stop --time=1 3a0990f33b86e5626e877edc5a7b03f369580613314d8230ea456beddd1d21e8 06:35:22 $ docker rm -f --volumes 3a0990f33b86e5626e877edc5a7b03f369580613314d8230ea456beddd1d21e8 [Pipeline] // withDockerContainer [Pipeline] sh 06:35:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:35:24 Warning: overwriting stash ‘coverage-report’ 06:35:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:35:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:35:26 + ls -al . 06:35:26 total 308 06:35:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 06:30 . 06:35:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 06:27 .. 06:35:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 06:27 .git 06:35:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 06:27 .github 06:35:26 -rw-rw-r-- 1 jenkins jenkins 493 Jun 24 06:27 .gitignore 06:35:26 -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 06:27 .golangci.yml 06:35:26 -rw-rw-r-- 1 jenkins jenkins 11155 Jun 24 06:27 Attribution.txt 06:35:26 -rw-rw-r-- 1 jenkins jenkins 17665 Jun 24 06:27 CHANGELOG.md 06:35:26 -rw-rw-r-- 1 jenkins jenkins 1683 Jun 24 06:27 Dockerfile 06:35:26 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 06:27 GOVERNANCE.md 06:35:26 -rw-rw-r-- 1 jenkins jenkins 739 Jun 24 06:27 Jenkinsfile 06:35:26 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 06:27 LICENSE 06:35:26 -rw-rw-r-- 1 jenkins jenkins 2883 Jun 24 06:27 Makefile 06:35:26 -rw-rw-r-- 1 jenkins jenkins 625 Jun 24 06:27 OWNERS.md 06:35:26 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 24 06:27 README.md 06:35:26 -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 06:23 VERSION 06:35:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 06:27 bin 06:35:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 06:27 cmd 06:35:26 -rw-r--r-- 1 jenkins jenkins 78805 Jun 24 06:34 coverage.out 06:35:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 06:27 doc 06:35:26 -rw-rw-r-- 1 jenkins jenkins 7387 Jun 24 06:27 go.mod 06:35:26 -rw-rw-r-- 1 jenkins jenkins 102689 Jun 24 06:27 go.sum 06:35:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 06:27 internal 06:35:26 -rw-rw-r-- 1 jenkins jenkins 236 Jun 24 06:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:26 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=993a19db6d372bcd4a45ab9017f7e00783777922 --label arch=arm64 --label version=0.0.0 . 06:35:27 Sending build context to Docker daemon 22.39MB 06:35:27 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 06:35:27 Step 2/27 : FROM ${BASE} AS builder 06:35:27 ---> a9708934f979 06:35:27 Step 3/27 : ARG ADD_BUILD_TAGS="" 06:35:27 ---> Running in e136d7eadaf4 06:35:27 Removing intermediate container e136d7eadaf4 06:35:27 ---> e75045c3c348 06:35:27 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:35:27 ---> Running in dc231b50f0b0 06:35:28 Removing intermediate container dc231b50f0b0 06:35:28 ---> 2f41c83ac7d1 06:35:28 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 06:35:28 ---> Running in 5bb8deeaff5d 06:35:28 Removing intermediate container 5bb8deeaff5d 06:35:28 ---> 1bc28c8bc11c 06:35:28 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 06:35:28 ---> Running in c80ad0191704 06:35:28 Removing intermediate container c80ad0191704 06:35:28 ---> 7231733b2e28 06:35:28 Step 7/27 : LABEL Name=edgex-device-onvif-camera 06:35:28 ---> Running in 2388d251e652 06:35:29 Removing intermediate container 2388d251e652 06:35:29 ---> acdeb316cf72 06:35:29 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:35:29 ---> Running in 62553551c1b7 06:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:35:31 OK: 266 MiB in 52 packages 06:35:32 Removing intermediate container 62553551c1b7 06:35:32 ---> e4adf8a05e91 06:35:32 Step 9/27 : WORKDIR /device-onvif-camera 06:35:32 ---> Running in 5bb6d3a18b4c 06:35:33 Removing intermediate container 5bb6d3a18b4c 06:35:33 ---> 750f54343284 06:35:33 Step 10/27 : COPY go.mod vendor* ./ 06:35:33 ---> b17886015db4 06:35:33 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:33 ---> Running in 4d91ed0a0195 06:35:36 Removing intermediate container 4d91ed0a0195 06:35:36 ---> eb18936f38dd 06:35:36 Step 12/27 : COPY . . 06:35:37 ---> e5ddec2ae15b 06:35:37 Step 13/27 : RUN ${MAKE} 06:35:37 ---> Running in c9cdfa5dd8ae 06:35:38 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.15" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:39:00 Removing intermediate container c9cdfa5dd8ae 06:39:00 ---> bc46ac616d09 06:39:00 Step 14/27 : FROM alpine:3.18 06:39:00 3.18: Pulling from library/alpine 06:39:00 5c905c7ebe2f: Pulling fs layer 06:39:00 5c905c7ebe2f: Download complete 06:39:00 5c905c7ebe2f: Pull complete 06:39:00 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 06:39:00 Status: Downloaded newer image for alpine:3.18 06:39:00 ---> dec292d02e07 06:39:00 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 06:39:00 ---> Running in 6ee3ea26cf32 06:39:00 Removing intermediate container 6ee3ea26cf32 06:39:00 ---> b2bcecc53434 06:39:00 Step 16/27 : RUN apk add --update --no-cache dumb-init 06:39:00 ---> Running in 4f0131adc2d8 06:39:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:39:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:39:01 (1/1) Installing dumb-init (1.2.5-r2) 06:39:01 Executing busybox-1.36.1-r7.trigger 06:39:01 OK: 8 MiB in 16 packages 06:39:02 Removing intermediate container 4f0131adc2d8 06:39:02 ---> ce9b84ede502 06:39:02 Step 17/27 : RUN apk --no-cache upgrade 06:39:02 ---> Running in be8b400b9a9c 06:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:39:04 OK: 8 MiB in 16 packages 06:39:05 Removing intermediate container be8b400b9a9c 06:39:05 ---> 01375499211e 06:39:05 Step 18/27 : WORKDIR / 06:39:05 ---> Running in ee896ac7b863 06:39:05 Removing intermediate container ee896ac7b863 06:39:05 ---> e978247f1a31 06:39:05 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 06:39:07 ---> 00e4450b3abe 06:39:07 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 06:39:08 ---> 5b330fcf4e90 06:39:08 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:39:08 ---> f3e0551855e5 06:39:08 Step 22/27 : EXPOSE 59984 06:39:08 ---> Running in 346e95c6813a 06:39:09 Removing intermediate container 346e95c6813a 06:39:09 ---> 188629125ac8 06:39:09 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 06:39:09 ---> Running in 30976d1659c7 06:39:09 Removing intermediate container 30976d1659c7 06:39:09 ---> faffe4b03c43 06:39:09 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:39:09 ---> Running in 164bdfaa6a09 06:39:09 Removing intermediate container 164bdfaa6a09 06:39:09 ---> 7f5659149175 06:39:09 Step 25/27 : LABEL arch=arm64 06:39:09 ---> Running in c756a452f9e7 06:39:10 Removing intermediate container c756a452f9e7 06:39:10 ---> 4fe05cda3ad4 06:39:10 Step 26/27 : LABEL git_sha=993a19db6d372bcd4a45ab9017f7e00783777922 06:39:10 ---> Running in b37c53986176 06:39:10 Removing intermediate container b37c53986176 06:39:10 ---> 4a9a7f812fe2 06:39:10 Step 27/27 : LABEL version=0.0.0 06:39:10 ---> Running in 1d277de3b0c1 06:39:10 Removing intermediate container 1d277de3b0c1 06:39:10 ---> b6c9313806b7 06:39:10 [Warning] One or more build-args [ARCH] were not consumed 06:39:10 Successfully built b6c9313806b7 06:39:10 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:39:11 06:39:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:39:12 arm64: Pulling from edgex-lftools-log-publisher 06:39:12 8998bd30e6a1: Pulling fs layer 06:39:12 04944245beec: Pulling fs layer 06:39:12 699f458cf7ca: Pulling fs layer 06:39:12 765212b225bb: Pulling fs layer 06:39:12 f23df028b6ca: Pulling fs layer 06:39:12 d65c8cfc05b1: Pulling fs layer 06:39:12 2437ff75d9bd: Pulling fs layer 06:39:12 765212b225bb: Waiting 06:39:12 f23df028b6ca: Waiting 06:39:12 d65c8cfc05b1: Waiting 06:39:12 2437ff75d9bd: Waiting 06:39:12 04944245beec: Verifying Checksum 06:39:12 04944245beec: Download complete 06:39:12 765212b225bb: Verifying Checksum 06:39:12 765212b225bb: Download complete 06:39:12 f23df028b6ca: Verifying Checksum 06:39:12 f23df028b6ca: Download complete 06:39:12 d65c8cfc05b1: Verifying Checksum 06:39:12 d65c8cfc05b1: Download complete 06:39:12 699f458cf7ca: Verifying Checksum 06:39:12 699f458cf7ca: Download complete 06:39:13 8998bd30e6a1: Download complete 06:39:15 2437ff75d9bd: Verifying Checksum 06:39:15 2437ff75d9bd: Download complete 06:39:17 8998bd30e6a1: Pull complete 06:39:17 04944245beec: Pull complete 06:39:19 699f458cf7ca: Pull complete 06:39:19 765212b225bb: Pull complete 06:39:20 f23df028b6ca: Pull complete 06:39:20 d65c8cfc05b1: Pull complete 06:39:38 2437ff75d9bd: Pull complete 06:39:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:39:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:39:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:39 prd-ubuntu20.04-docker-arm64-4c-16g-4225 does not seem to be running inside a container 06:39:39 $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:39:41 $ docker top d1dabeb89a2a60e93659f75640c0d9480aea2c303ded8535e8a53591f4a62789 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:42 ---> job-cost.sh 06:39:42 lf-activate-venv: SKIPPING 06:39:42 INFO: No Stack... 06:39:43 INFO: Retrieving Pricing Info for: v3-standard-4 06:39:44 INFO: Archiving Costs [Pipeline] sh 06:39:44 + cut -d, -f6 06:39:44 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 06:39:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-440-1-stack-cost] 06:39:44 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-440-1-stack-cost] did not exist. Created. 06:39:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-440-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:39:45 /w/workspace/device-onvif-camera/1@tmp/durable-85fde045/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:39:45 + echo total: 0.10999999940395355 [Pipeline] stash 06:39:45 Warning: overwriting stash ‘stack-cost’ 06:39:46 Stashed 1 file(s) [Pipeline] } 06:39:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-440-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:39:46 $ docker stop --time=1 d1dabeb89a2a60e93659f75640c0d9480aea2c303ded8535e8a53591f4a62789 06:39:47 $ docker rm -f --volumes d1dabeb89a2a60e93659f75640c0d9480aea2c303ded8535e8a53591f4a62789 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:39:48 provisioning config files... 06:39:48 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-440@tmp/config17824624653920847535tmp [Pipeline] { [Pipeline] sh 06:39:49 + set +x 06:39:49 + curl -s https://codecov.io/bash 06:39:49 + bash -s -- 06:39:49 06:39:49 _____ _ 06:39:49 / ____| | | 06:39:49 | | ___ __| | ___ ___ _____ __ 06:39:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:39:49 | |___| (_) | (_| | __/ (_| (_) \ V / 06:39:49 \_____\___/ \__,_|\___|\___\___/ \_/ 06:39:49 Bash-1.0.6 06:39:49 06:39:49 06:39:49 ==> git version 2.25.1 found 06:39:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:39:49 Release-Date: 2020-01-08 06:39:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:39:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:39:49 ==> Jenkins CI detected. 06:39:49 current dir:  /w/workspace/undry_device-onvif-camera_PR-440 06:39:49 project root: . 06:39:49 --> token set from env 06:39:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:39:49 ==> Running gcov in . (disable via -X gcov) 06:39:49 ==> Python coveragepy not found 06:39:49 ==> Searching for coverage reports in: 06:39:49 + . 06:39:49 -> Found 1 reports 06:39:49 ==> Detecting git/mercurial file structure 06:39:49 ==> Reading reports 06:39:49 + ./coverage.out bytes=78805 06:39:49 ==> Appending adjustments 06:39:49 https://docs.codecov.io/docs/fixing-reports 06:39:49 + Found adjustments 06:39:49 ==> Gzipping contents 06:39:49 12K /tmp/codecov.AkVgjK.gz 06:39:49 ==> Uploading reports 06:39:49 url: https://codecov.io 06:39:49 query: branch=PR-440&commit=993a19db6d372bcd4a45ab9017f7e00783777922&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-440%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=440&job=&cmd_args= 06:39:49 -> Pinging Codecov 06:39:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-440&commit=993a19db6d372bcd4a45ab9017f7e00783777922&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-440%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=440&job=&cmd_args= 06:39:49 -> Uploading to 06:39:49 https://storage.googleapis.com/codecov/v4/raw/2024-06-24/F29A59C45E3A92E06B3E522C9905F8EF/993a19db6d372bcd4a45ab9017f7e00783777922/374a4f25-b47e-411c-a9b5-aa679dfa2057.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240624%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240624T063949Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8d220fd996805e975e2ce4d5db421e2691f92672f3ff6deaf0ee9be923bebae 06:39:49 % Total % Received % Xferd Average Speed Time Time Time Current 06:39:49 Dload Upload Total Spent Left Speed 06:39:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 42448 --:--:-- --:--:-- --:--:-- 42448 06:39:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/993a19db6d372bcd4a45ab9017f7e00783777922 [Pipeline] } 06:39:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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 06:39:52 + [ -d /w/workspace/undry_device-onvif-camera_PR-440/archives ] 06:39:52 + ls -al /w/workspace/undry_device-onvif-camera_PR-440/archives 06:39:52 total 16 06:39:52 drwxr-xr-x 3 root root 4096 Jun 24 06:26 . 06:39:52 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 06:26 .. 06:39:52 drwxr-xr-x 2 root root 4096 Jun 24 06:26 cost 06:39:52 -rw-r--r-- 1 root root 91 Jun 24 06:26 cost.csv 06:39:52 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-440/archives 06:39:52 + ls -al /w/workspace/undry_device-onvif-camera_PR-440/archives 06:39:52 total 16 06:39:52 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 06:26 . 06:39:52 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 06:26 .. 06:39:52 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 06:26 cost 06:39:52 -rw-r--r-- 1 jenkins jenkins 91 Jun 24 06:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:39:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:39:53 ---> package-listing.sh 06:39:53 ++ tr '[:upper:]' '[:lower:]' 06:39:53 ++ facter osfamily 06:39:53 + OS_FAMILY=debian 06:39:53 + workspace=/w/workspace/undry_device-onvif-camera_PR-440 06:39:53 + START_PACKAGES=/tmp/packages_start.txt 06:39:53 + END_PACKAGES=/tmp/packages_end.txt 06:39:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:39:53 + PACKAGES=/tmp/packages_start.txt 06:39:53 + '[' /w/workspace/undry_device-onvif-camera_PR-440 ']' 06:39:53 + PACKAGES=/tmp/packages_end.txt 06:39:53 + case "${OS_FAMILY}" in 06:39:53 + dpkg -l 06:39:53 + grep '^ii' 06:39:53 + '[' -f /tmp/packages_start.txt ']' 06:39:53 + '[' -f /tmp/packages_end.txt ']' 06:39:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:39:53 + '[' /w/workspace/undry_device-onvif-camera_PR-440 ']' 06:39:53 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-440/archives/ 06:39:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-440/archives/ [Pipeline] echo 06:39:53 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-440/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:39:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:39:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:55 prd-ubuntu20.04-docker-8c-8g-4224 does not seem to be running inside a container 06:39:55 $ 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-440/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-440 -v /w/workspace/undry_device-onvif-camera_PR-440:/w/workspace/undry_device-onvif-camera_PR-440:rw,z -v /w/workspace/undry_device-onvif-camera_PR-440@tmp:/w/workspace/undry_device-onvif-camera_PR-440@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:39:55 $ docker top 67ade9c7e72436b97e5b03b68b530cf36852fd9875c7ae496233c8c4861e9799 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:55 + touch /tmp/pre-build-complete [Pipeline] sh 06:39:56 + mkdir -p /var/log/sysstat [Pipeline] sh 06:39:56 + ls /var/log/sa-host 06:39:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:39:56 provisioning config files... 06:39:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-440@tmp/config7738389946793311588tmp [Pipeline] { [Pipeline] echo 06:39:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:39:57 ---> create-netrc.sh [Pipeline] } 06:39:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:39:57 ---> python-tools-install.sh [Pipeline] echo 06:39:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:39:57 ---> sudo-logs.sh 06:39:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:39:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:39:58 ---> job-cost.sh 06:39:58 lf-activate-venv: SKIPPING 06:39:58 DEBUG: total: 0.2199999988079071 06:39:58 INFO: Retrieving Stack Cost... 06:39:58 INFO: Retrieving Pricing Info for: v3-standard-8 06:39:59 INFO: Archiving Costs [Pipeline] echo 06:39:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:39:59 ---> logs-deploy.sh 06:39:59 lf-activate-venv: SKIPPING 06:39:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-440/1 06:39:59 INFO: archiving workspace using pattern(s): 06:40:00 Archives upload complete. 06:40:00 INFO: archiving logs to Nexus 06:40:01 ---> uname -a: 06:40:01 Linux prd-ubuntu20-04-docker-8c-8g-4224 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:40:01 06:40:01 06:40:01 ---> lscpu: 06:40:01 Architecture: x86_64 06:40:01 CPU op-mode(s): 32-bit, 64-bit 06:40:01 Byte Order: Little Endian 06:40:01 Address sizes: 40 bits physical, 48 bits virtual 06:40:01 CPU(s): 8 06:40:01 On-line CPU(s) list: 0-7 06:40:01 Thread(s) per core: 1 06:40:01 Core(s) per socket: 1 06:40:01 Socket(s): 8 06:40:01 NUMA node(s): 1 06:40:01 Vendor ID: AuthenticAMD 06:40:01 CPU family: 23 06:40:01 Model: 49 06:40:01 Model name: AMD EPYC-Rome Processor 06:40:01 Stepping: 0 06:40:01 CPU MHz: 2799.998 06:40:01 BogoMIPS: 5599.99 06:40:01 Virtualization: AMD-V 06:40:01 Hypervisor vendor: KVM 06:40:01 Virtualization type: full 06:40:01 L1d cache: 256 KiB 06:40:01 L1i cache: 256 KiB 06:40:01 L2 cache: 4 MiB 06:40:01 L3 cache: 128 MiB 06:40:01 NUMA node0 CPU(s): 0-7 06:40:01 Vulnerability Itlb multihit: Not affected 06:40:01 Vulnerability L1tf: Not affected 06:40:01 Vulnerability Mds: Not affected 06:40:01 Vulnerability Meltdown: Not affected 06:40:01 Vulnerability Mmio stale data: Not affected 06:40:01 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:40:01 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:40:01 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:40:01 Vulnerability Srbds: Not affected 06:40:01 Vulnerability Tsx async abort: Not affected 06:40:01 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 06:40:01 06:40:01 06:40:01 ---> nproc: 06:40:01 8 06:40:01 06:40:01 06:40:01 ---> df -h: 06:40:01 Filesystem Size Used Avail Use% Mounted on 06:40:01 overlay 155G 13G 143G 8% / 06:40:01 tmpfs 64M 0 64M 0% /dev 06:40:01 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:40:01 shm 64M 0 64M 0% /dev/shm 06:40:01 /dev/vda1 155G 13G 143G 8% /facter-os 06:40:01 06:40:01