Pull request #443 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c15011e21c833793caab455bb4f05a2375d87a75+4403bb01aaef0144ea9be46ab10d7e2cec719e21 (62f5531118e18946bc0869588297ad0a566a905d) 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-ssh8239458082022286773.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-ssh15058694788142025623.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-443/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-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh922252066781547469.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-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18047940266385863534.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-ssh14355608410224751726.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-443/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-443/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6361348285119686252.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 Running on prd-ubuntu20.04-docker-8c-8g-4973 in /w/workspace/undry_device-onvif-camera_PR-443 [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-443 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/443/head:refs/remotes/origin/PR-443 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4403bb01aaef0144ea9be46ab10d7e2cec719e21 into PR head commit c15011e21c833793caab455bb4f05a2375d87a75 Merge succeeded, producing c15011e21c833793caab455bb4f05a2375d87a75 Checking out Revision c15011e21c833793caab455bb4f05a2375d87a75 (PR-443) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f c15011e21c833793caab455bb4f05a2375d87a75 # 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 4403bb01aaef0144ea9be46ab10d7e2cec719e21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c15011e21c833793caab455bb4f05a2375d87a75 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:36:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:36:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:36:45 ========================================================= 03:36:45 EdgeX Global Pipelines Version Info 03:36:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:36:45 ------------------- 03:36:45 stable info: 03:36:45 ------------------- 03:36:45 Commited By: Ginny Guan ginny@iotechsys.com 03:36:45 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:36:45 Message: update stable to v1.0.260 03:36:46 ------------------- 03:36:46 experimental info: 03:36:46 ------------------- 03:36:46 Commited By: Ginny Guan ginny@iotechsys.com 03:36:46 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:36:46 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:36:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:36:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:36:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:36:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:36:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:36:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-443 [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-443 [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-443 [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c15011e21c833793caab455bb4f05a2375d87a75 [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c15011e [Pipeline] echo 03:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:36:49 provisioning config files... 03:36:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-443@tmp/config2970390928744701727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:36:49 ---> ****-login.sh 03:36:49 nexus3.edgexfoundry.org:10001 03:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:49 Configure a credential helper to remove this warning. See 03:36:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:49 03:36:49 Login Succeeded 03:36:49 nexus3.edgexfoundry.org:10002 03:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:50 Configure a credential helper to remove this warning. See 03:36:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:50 03:36:50 Login Succeeded 03:36:50 nexus3.edgexfoundry.org:10003 03:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:50 Configure a credential helper to remove this warning. See 03:36:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:50 03:36:50 Login Succeeded 03:36:50 nexus3.edgexfoundry.org:10004 03:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:50 Configure a credential helper to remove this warning. See 03:36:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:50 03:36:50 Login Succeeded 03:36:50 ****.io 03:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:36:50 Configure a credential helper to remove this warning. See 03:36:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:36:50 03:36:50 Login Succeeded 03:36:50 ---> ****-login.sh ends [Pipeline] } 03:36:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:36:51 + git rev-list -1 --merges c15011e21c833793caab455bb4f05a2375d87a75~1..c15011e21c833793caab455bb4f05a2375d87a75 [Pipeline] echo 03:36:51 -----------> git rev-list -1 --merges c15011e21c833793caab455bb4f05a2375d87a75~1..c15011e21c833793caab455bb4f05a2375d87a75 c15011e21c833793caab455bb4f05a2375d87a75 [false] [Pipeline] sh 03:36:51 + git log --format=format:%s -1 c15011e21c833793caab455bb4f05a2375d87a75 [Pipeline] echo 03:36:51 ========================================================= 03:36:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:36:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:36:51 + git log --format=format:%s -1 c15011e21c833793caab455bb4f05a2375d87a75 [Pipeline] echo 03:36:51 [semverPrep] GIT_COMMIT: c15011e21c833793caab455bb4f05a2375d87a75, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:36:52 [semverPrep] This is not a build commit. [Pipeline] sh 03:36:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:36:52 + grep -v github /etc/ssh/ssh_known_hosts 03:36:52 + [ -e /tmp/ssh_known_hosts ] 03:36:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:36:52 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:36:52 sudo tee -a /etc/ssh/ssh_known_hosts 03:36:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:36:52 03:36:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:36:53 0.1.4: Pulling from edgex-devops/py-git-semver 03:36:53 b85a868b505f: Pulling fs layer 03:36:53 e2be974225ed: Pulling fs layer 03:36:53 339a4e72a1f5: Pulling fs layer 03:36:53 988bab9f4d93: Pulling fs layer 03:36:53 1469e6f7b9e6: Pulling fs layer 03:36:53 eaf3925da568: Pulling fs layer 03:36:53 bab4dde63d76: Pulling fs layer 03:36:53 bde34c3a00c8: Pulling fs layer 03:36:53 b352a97aabf1: Pulling fs layer 03:36:53 4872d77fe225: Pulling fs layer 03:36:53 5851b861e8e6: Pulling fs layer 03:36:53 bab4dde63d76: Waiting 03:36:53 4872d77fe225: Waiting 03:36:53 bde34c3a00c8: Waiting 03:36:53 b352a97aabf1: Waiting 03:36:53 1469e6f7b9e6: Waiting 03:36:53 5851b861e8e6: Waiting 03:36:53 988bab9f4d93: Waiting 03:36:53 eaf3925da568: Waiting 03:36:53 e2be974225ed: Verifying Checksum 03:36:53 e2be974225ed: Download complete 03:36:53 988bab9f4d93: Verifying Checksum 03:36:53 988bab9f4d93: Download complete 03:36:53 1469e6f7b9e6: Verifying Checksum 03:36:53 1469e6f7b9e6: Download complete 03:36:53 eaf3925da568: Download complete 03:36:53 339a4e72a1f5: Verifying Checksum 03:36:53 339a4e72a1f5: Download complete 03:36:53 bde34c3a00c8: Download complete 03:36:53 b352a97aabf1: Verifying Checksum 03:36:53 b352a97aabf1: Download complete 03:36:53 4872d77fe225: Verifying Checksum 03:36:53 4872d77fe225: Download complete 03:36:53 5851b861e8e6: Download complete 03:36:53 b85a868b505f: Verifying Checksum 03:36:53 b85a868b505f: Download complete 03:36:53 bab4dde63d76: Download complete 03:36:54 b85a868b505f: Pull complete 03:36:54 e2be974225ed: Pull complete 03:36:55 339a4e72a1f5: Pull complete 03:36:55 988bab9f4d93: Pull complete 03:36:55 1469e6f7b9e6: Pull complete 03:36:55 eaf3925da568: Pull complete 03:36:57 bab4dde63d76: Pull complete 03:36:57 bde34c3a00c8: Pull complete 03:36:57 b352a97aabf1: Pull complete 03:36:57 4872d77fe225: Pull complete 03:36:57 5851b861e8e6: Pull complete 03:36:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:36:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:36:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:57 prd-ubuntu20.04-docker-8c-8g-4973 does not seem to be running inside a container 03:36:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-443 -v /w/workspace/undry_device-onvif-camera_PR-443:/w/workspace/undry_device-onvif-camera_PR-443:rw,z -v /w/workspace/undry_device-onvif-camera_PR-443@tmp:/w/workspace/undry_device-onvif-camera_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:37:00 $ docker top 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:37:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:37:00 [ssh-agent] Looking for ssh-agent implementation... 03:37:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:37:00 $ docker exec 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d ssh-agent 03:37:00 SSH_AUTH_SOCK=/tmp/ssh-v6S5dgTfhchZ/agent.32 03:37:00 SSH_AGENT_PID=38 03:37:00 Running ssh-add (command line suppressed) 03:37:00 Identity added: /w/workspace/undry_device-onvif-camera_PR-443@tmp/private_key_5501642594813556053.key (/w/workspace/undry_device-onvif-camera_PR-443@tmp/private_key_5501642594813556053.key) 03:37:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:37:01 + git tag --points-at HEAD [Pipeline] } 03:37:01 $ docker exec --env ******** --env ******** 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d ssh-agent -k 03:37:01 unset SSH_AUTH_SOCK; 03:37:01 unset SSH_AGENT_PID; 03:37:01 echo Agent pid 38 killed; 03:37:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:37:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:37:01 [ssh-agent] Looking for ssh-agent implementation... 03:37:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:37:01 $ docker exec 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d ssh-agent 03:37:01 SSH_AUTH_SOCK=/tmp/ssh-Dq9umvc2C7iy/agent.71 03:37:01 SSH_AGENT_PID=77 03:37:01 Running ssh-add (command line suppressed) 03:37:01 Identity added: /w/workspace/undry_device-onvif-camera_PR-443@tmp/private_key_8496453417651838022.key (/w/workspace/undry_device-onvif-camera_PR-443@tmp/private_key_8496453417651838022.key) 03:37:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:37:02 + git semver init 03:37:02 2024-07-04 03:37:02,353 [run_init] DEBUG init version:0.0.0 force:False 03:37:02 2024-07-04 03:37:02,354 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-443/.semver 03:37:02 2024-07-04 03:37:02,355 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-443/.semver 03:37:02 2024-07-04 03:37:02,355 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-443/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-443, universal_newlines=False, shell=None, istream=None) 03:37:03 2024-07-04 03:37:03,817 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-443/.git/info/exclude 03:37:03 2024-07-04 03:37:03,817 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-443/.semver/PR-443 with force:False 03:37:03 2024-07-04 03:37:03,817 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-443/.semver/PR-443 03:37:03 2024-07-04 03:37:03,822 [execute] INFO git cat-file --batch-check 03:37:03 2024-07-04 03:37:03,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-443/.semver, universal_newlines=False, shell=None, istream=) 03:37:03 2024-07-04 03:37:03,828 [execute] INFO git cat-file --batch 03:37:03 2024-07-04 03:37:03,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-443/.semver, universal_newlines=False, shell=None, istream=) 03:37:03 2024-07-04 03:37:03,833 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-443/.semver/PR-443 03:37:03 0.0.0 [Pipeline] } 03:37:04 $ docker exec --env ******** --env ******** 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d ssh-agent -k 03:37:04 unset SSH_AUTH_SOCK; 03:37:04 unset SSH_AGENT_PID; 03:37:04 echo Agent pid 77 killed; 03:37:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:37:04 + git semver [Pipeline] } 03:37:04 $ docker stop --time=1 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d 03:37:06 $ docker rm -f --volumes 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d [Pipeline] // withDockerContainer [Pipeline] sh 03:37:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:37:07 Stashed 1 file(s) [Pipeline] echo 03:37:07 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:37:07 provisioning config files... 03:37:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-443@tmp/config15700207403529406942tmp 03:37:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4985 in /w/workspace/undry_device-onvif-camera_PR-443 [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 03:37:07 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:37:08 The recommended git tool is: git 03:37:08 ---> ****-login.sh 03:37:08 nexus3.edgexfoundry.org:10001 03:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:08 Configure a credential helper to remove this warning. See 03:37:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:08 03:37:08 Login Succeeded 03:37:08 nexus3.edgexfoundry.org:10002 03:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:08 Configure a credential helper to remove this warning. See 03:37:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:08 03:37:08 Login Succeeded 03:37:08 nexus3.edgexfoundry.org:10003 03:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:08 Configure a credential helper to remove this warning. See 03:37:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:08 03:37:08 Login Succeeded 03:37:08 nexus3.edgexfoundry.org:10004 03:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:08 Configure a credential helper to remove this warning. See 03:37:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:08 03:37:08 Login Succeeded 03:37:08 ****.io 03:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:08 Configure a credential helper to remove this warning. See 03:37:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:08 03:37:08 Login Succeeded 03:37:08 ---> ****-login.sh ends [Pipeline] } 03:37:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:37:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:37:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:37:09 ========================================================= 03:37:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:37:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:09 + 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 . 03:37:09 Sending build context to Docker daemon 36.6MB 03:37:09 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:37:09 Step 2/13 : FROM ${BASE} AS builder 03:37:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:37:09 619be1103602: Pulling fs layer 03:37:09 7862e08f4a3e: Pulling fs layer 03:37:09 5df492c9dc93: Pulling fs layer 03:37:09 7629e6793208: Pulling fs layer 03:37:09 4f4fb700ef54: Pulling fs layer 03:37:09 fb5054dd5b73: Pulling fs layer 03:37:09 eeca6798cff9: Pulling fs layer 03:37:09 aa269ceb94a6: Pulling fs layer 03:37:09 ada007ff1a6a: Pulling fs layer 03:37:09 4f4fb700ef54: Waiting 03:37:09 fb5054dd5b73: Waiting 03:37:09 eeca6798cff9: Waiting 03:37:09 7629e6793208: Waiting 03:37:09 aa269ceb94a6: Waiting 03:37:09 ada007ff1a6a: Waiting 03:37:09 7862e08f4a3e: Verifying Checksum 03:37:09 7862e08f4a3e: Download complete 03:37:09 7629e6793208: Verifying Checksum 03:37:09 7629e6793208: Download complete 03:37:09 4f4fb700ef54: Verifying Checksum 03:37:09 4f4fb700ef54: Download complete 03:37:09 fb5054dd5b73: Download complete 03:37:09 619be1103602: Verifying Checksum 03:37:09 619be1103602: Download complete 03:37:09 eeca6798cff9: Download complete 03:37:10 619be1103602: Pull complete 03:37:10 ada007ff1a6a: Verifying Checksum 03:37:10 ada007ff1a6a: Download complete 03:37:10 7862e08f4a3e: Pull complete 03:37:10 5df492c9dc93: Download complete 03:37:10 aa269ceb94a6: Verifying Checksum 03:37:10 aa269ceb94a6: Download complete 03:37:12 using credential edgex-jenkins-ssh 03:37:12 Cloning the remote Git repository 03:37:12 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:37:12 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:37:12 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:37:12 > git --version # timeout=10 03:37:12 > git --version # 'git version 2.25.1' 03:37:12 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:37:13 5df492c9dc93: Pull complete 03:37:13 7629e6793208: Pull complete 03:37:13 4f4fb700ef54: Pull complete 03:37:13 fb5054dd5b73: Pull complete 03:37:13 eeca6798cff9: Pull complete 03:37:15 aa269ceb94a6: Pull complete 03:37:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:37:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:37:15 ada007ff1a6a: Pull complete 03:37:15 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:37:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:37:15 ---> f489d0715acc 03:37:15 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:37:16 Merging remotes/origin/main commit 4403bb01aaef0144ea9be46ab10d7e2cec719e21 into PR head commit c15011e21c833793caab455bb4f05a2375d87a75 03:37:16 Merge succeeded, producing c15011e21c833793caab455bb4f05a2375d87a75 03:37:16 Checking out Revision c15011e21c833793caab455bb4f05a2375d87a75 (PR-443) 03:37:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:37:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:37:15 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/443/head:refs/remotes/origin/PR-443 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:37:16 > git config core.sparsecheckout # timeout=10 03:37:16 > git checkout -f c15011e21c833793caab455bb4f05a2375d87a75 # timeout=10 03:37:16 > git remote # timeout=10 03:37:16 > git config --get remote.origin.url # timeout=10 03:37:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:16 > git merge 4403bb01aaef0144ea9be46ab10d7e2cec719e21 # timeout=10 03:37:16 > git rev-parse HEAD^{commit} # timeout=10 03:37:16 > git config core.sparsecheckout # timeout=10 03:37:17 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:37:17 > git --version # timeout=10 03:37:17 > git --version # 'git version 2.25.1' 03:37:17 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 03:37:16 > git checkout -f c15011e21c833793caab455bb4f05a2375d87a75 # timeout=10 03:37:20 ---> Running in 11dfc58b113c 03:37:20 Removing intermediate container 11dfc58b113c 03:37:20 ---> 58dca0cada09 03:37:20 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:37:20 ---> Running in a6fd13005369 03:37:20 Removing intermediate container a6fd13005369 03:37:20 ---> fc5e23a657a6 03:37:20 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:37:20 ---> Running in 01ba7b21b8eb 03:37:20 Removing intermediate container 01ba7b21b8eb 03:37:20 ---> 982b9d32a51d 03:37:20 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:37:20 ---> Running in c7524d77defd 03:37:20 Removing intermediate container c7524d77defd 03:37:20 ---> 40006c374ac0 03:37:20 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:37:20 ---> Running in 0d9a5622a4ff 03:37:20 Removing intermediate container 0d9a5622a4ff 03:37:20 ---> 570e9f946a27 03:37:20 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:37:20 ---> Running in 6ca7dcf41773 03:37:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:37:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:37:21 OK: 264 MiB in 52 packages 03:37:21 Removing intermediate container 6ca7dcf41773 03:37:21 ---> 41968c36582e 03:37:21 Step 9/13 : WORKDIR /device-onvif-camera 03:37:21 ---> Running in bf33c46a3daa 03:37:21 Removing intermediate container bf33c46a3daa 03:37:21 ---> 2555b72b2c35 03:37:21 Step 10/13 : COPY go.mod vendor* ./ 03:37:21 ---> aa63ac896d44 03:37:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:37:21 ---> Running in 5594b90f61df [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:37:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:37:22 % Total % Received % Xferd Average Speed Time Time Time Current 03:37:22 Dload Upload Total Spent Left Speed 03:37:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 87265 0 --:--:-- --:--:-- --:--:-- 87265 [Pipeline] sh 03:37:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:37:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:37:23 + sudo tee /etc/docker/daemon.new 03:37:23 { 03:37:23 "registry-mirrors": [ 03:37:23 "https://nexus3.edgexfoundry.org:10001" 03:37:23 ], 03:37:23 "bip": "10.250.0.254/24", 03:37:23 "hosts": [ 03:37:23 "tcp://0.0.0.0:5555", 03:37:23 "unix:///var/run/docker.sock" 03:37:23 ], 03:37:23 "mtu": 1458, 03:37:23 "selinux-enabled": true, 03:37:23 "seccomp-profile": "/etc/docker/seccomp.json" 03:37:23 } [Pipeline] sh 03:37:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:37:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:37:42 provisioning config files... 03:37:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6977511813392332289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:42 ---> ****-login.sh 03:37:42 nexus3.edgexfoundry.org:10001 03:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:43 Configure a credential helper to remove this warning. See 03:37:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:43 03:37:43 Login Succeeded 03:37:43 nexus3.edgexfoundry.org:10002 03:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:43 Configure a credential helper to remove this warning. See 03:37:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:43 03:37:43 Login Succeeded 03:37:43 nexus3.edgexfoundry.org:10003 03:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:44 Configure a credential helper to remove this warning. See 03:37:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:44 03:37:44 Login Succeeded 03:37:44 nexus3.edgexfoundry.org:10004 03:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:44 Configure a credential helper to remove this warning. See 03:37:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:44 03:37:44 Login Succeeded 03:37:44 ****.io 03:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:45 Configure a credential helper to remove this warning. See 03:37:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:45 03:37:45 Login Succeeded 03:37:45 ---> ****-login.sh ends [Pipeline] } 03:37:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:37:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:37:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:37:45 ========================================================= 03:37:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:37:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:46 + 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 . 03:37:47 Sending build context to Docker daemon 21.71MB 03:37:47 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:37:47 Step 2/13 : FROM ${BASE} AS builder 03:37:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:37:47 c6b39de5b339: Pulling fs layer 03:37:47 a69c41024577: Pulling fs layer 03:37:47 d6de4b400683: Pulling fs layer 03:37:47 35cb2a7552d0: Pulling fs layer 03:37:47 4f4fb700ef54: Pulling fs layer 03:37:47 464afbd9ba4c: Pulling fs layer 03:37:47 00f215d4a9da: Pulling fs layer 03:37:47 d496ad576159: Pulling fs layer 03:37:47 464afbd9ba4c: Waiting 03:37:47 00f215d4a9da: Waiting 03:37:47 d496ad576159: Waiting 03:37:47 35cb2a7552d0: Waiting 03:37:47 4f4fb700ef54: Waiting 03:37:47 a69c41024577: Verifying Checksum 03:37:47 a69c41024577: Download complete 03:37:47 35cb2a7552d0: Verifying Checksum 03:37:47 35cb2a7552d0: Download complete 03:37:47 4f4fb700ef54: Verifying Checksum 03:37:47 4f4fb700ef54: Download complete 03:37:47 c6b39de5b339: Download complete 03:37:47 464afbd9ba4c: Verifying Checksum 03:37:47 464afbd9ba4c: Download complete 03:37:47 d496ad576159: Verifying Checksum 03:37:47 d496ad576159: Download complete 03:37:48 c6b39de5b339: Pull complete 03:37:49 a69c41024577: Pull complete 03:37:49 d6de4b400683: Verifying Checksum 03:37:49 d6de4b400683: Download complete 03:37:50 00f215d4a9da: Verifying Checksum 03:37:50 00f215d4a9da: Download complete 03:38:02 d6de4b400683: Pull complete 03:38:02 35cb2a7552d0: Pull complete 03:38:02 4f4fb700ef54: Pull complete 03:38:02 464afbd9ba4c: Pull complete 03:38:10 00f215d4a9da: Pull complete 03:38:12 d496ad576159: Pull complete 03:38:12 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:38:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:38:12 ---> f246e2811388 03:38:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:38:13 ---> Running in 5d79ba546083 03:38:13 Removing intermediate container 5d79ba546083 03:38:13 ---> e4e0db32e29d 03:38:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:38:13 ---> Running in 5a567140b377 03:38:13 Removing intermediate container 5a567140b377 03:38:13 ---> 2f6499cc992f 03:38:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:38:14 ---> Running in ab05595830f1 03:38:14 Removing intermediate container ab05595830f1 03:38:14 ---> d89aae73ed15 03:38:14 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:38:14 ---> Running in 84974acd6312 03:38:14 Removing intermediate container 84974acd6312 03:38:14 ---> f32d4db1887c 03:38:14 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:38:14 ---> Running in aa86d645676d 03:38:15 Removing intermediate container aa86d645676d 03:38:15 ---> 40dc20b0183f 03:38:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:38:15 ---> Running in bc92cca353f0 03:38:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:38:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:38:17 OK: 266 MiB in 52 packages 03:38:18 Removing intermediate container bc92cca353f0 03:38:18 ---> e271c8454b7e 03:38:18 Step 9/13 : WORKDIR /device-onvif-camera 03:38:18 ---> Running in 4927947894b5 03:38:18 Removing intermediate container 4927947894b5 03:38:18 ---> b92f158af79d 03:38:18 Step 10/13 : COPY go.mod vendor* ./ 03:38:19 ---> 4554afc736db 03:38:19 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:38:19 ---> Running in 2208d221d4fa 03:38:29 Removing intermediate container 5594b90f61df 03:38:29 ---> b42d90955b6b 03:38:29 Step 12/13 : COPY . . 03:38:29 ---> 87f615fba66d 03:38:29 Step 13/13 : RUN ${MAKE} 03:38:29 ---> Running in e8151f9168c1 03:38:29 noop 03:38:29 Removing intermediate container e8151f9168c1 03:38:29 ---> 295172dde2dc 03:38:29 Successfully built 295172dde2dc 03:38:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:29 + docker inspect -f . ci-base-image-x86_64 03:38:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:30 prd-ubuntu20.04-docker-8c-8g-4973 does not seem to be running inside a container 03:38:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-443 -v /w/workspace/undry_device-onvif-camera_PR-443:/w/workspace/undry_device-onvif-camera_PR-443:rw,z -v /w/workspace/undry_device-onvif-camera_PR-443@tmp:/w/workspace/undry_device-onvif-camera_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:38:30 $ docker top 8860b901571582cae1a3063402393c398cc0d21fb3fcfe22058444741f2d6900 -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:31 + go version 03:38:31 go version go1.21.9 linux/amd64 [Pipeline] } 03:38:31 $ docker stop --time=1 8860b901571582cae1a3063402393c398cc0d21fb3fcfe22058444741f2d6900 03:38:32 $ docker rm -f --volumes 8860b901571582cae1a3063402393c398cc0d21fb3fcfe22058444741f2d6900 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:33 + docker inspect -f . ci-base-image-x86_64 03:38:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:33 prd-ubuntu20.04-docker-8c-8g-4973 does not seem to be running inside a container 03:38:33 $ 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-443 -v /w/workspace/undry_device-onvif-camera_PR-443:/w/workspace/undry_device-onvif-camera_PR-443:rw,z -v /w/workspace/undry_device-onvif-camera_PR-443@tmp:/w/workspace/undry_device-onvif-camera_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:38:33 $ docker top 9bc7acb87c20e34ce05f7b40a3d002fdfda864b92c6cad4efd7a5891b192593b -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:34 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-443 [Pipeline] fileExists [Pipeline] sh 03:38:34 + make test 03:38:34 go test ./... -coverprofile=coverage.out ./... 03:38:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:38:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:38:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:38:56 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.4% of statements 03:38:56 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.207s coverage: 86.5% of statements 03:39:09 go vet ./... 03:39:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:39:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:39:13 ./bin/test-attribution-txt.sh 03:39:13 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:39:13 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:39:13 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:39:13 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:39:13 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:39:13 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:39:13 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:39:13 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:39:13 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:39:13 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:39:13 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:39:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:39:13 $ docker stop --time=1 9bc7acb87c20e34ce05f7b40a3d002fdfda864b92c6cad4efd7a5891b192593b 03:39:16 $ docker rm -f --volumes 9bc7acb87c20e34ce05f7b40a3d002fdfda864b92c6cad4efd7a5891b192593b [Pipeline] // withDockerContainer [Pipeline] sh 03:39:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:39:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:39:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:39:18 + ls -al . 03:39:18 total 312 03:39:18 drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 03:38 . 03:39:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:36 .. 03:39:18 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 03:38 .git 03:39:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 03:36 .github 03:39:18 -rw-rw-r-- 1 jenkins jenkins 493 Jul 4 03:36 .gitignore 03:39:18 -rw-rw-r-- 1 jenkins jenkins 42 Jul 4 03:36 .golangci.yml 03:39:18 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 03:37 .semver 03:39:18 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 4 03:36 Attribution.txt 03:39:18 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 4 03:36 CHANGELOG.md 03:39:18 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 4 03:36 Dockerfile 03:39:18 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 03:36 GOVERNANCE.md 03:39:18 -rw-rw-r-- 1 jenkins jenkins 739 Jul 4 03:36 Jenkinsfile 03:39:18 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 4 03:36 LICENSE 03:39:18 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 4 03:36 Makefile 03:39:18 -rw-rw-r-- 1 jenkins jenkins 625 Jul 4 03:36 OWNERS.md 03:39:18 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 4 03:36 README.md 03:39:18 -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 03:37 VERSION 03:39:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 03:36 bin 03:39:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 03:36 cmd 03:39:18 -rw-r--r-- 1 jenkins jenkins 78805 Jul 4 03:38 coverage.out 03:39:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:36 doc 03:39:18 -rw-rw-r-- 1 jenkins jenkins 7388 Jul 4 03:36 go.mod 03:39:18 -rw-rw-r-- 1 jenkins jenkins 102691 Jul 4 03:36 go.sum 03:39:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:36 internal 03:39:18 -rw-rw-r-- 1 jenkins jenkins 236 Jul 4 03:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39: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=c15011e21c833793caab455bb4f05a2375d87a75 --label arch=amd64 --label version=0.0.0 . 03:39:19 Sending build context to Docker daemon 36.68MB 03:39:19 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:39:19 Step 2/27 : FROM ${BASE} AS builder 03:39:19 ---> 295172dde2dc 03:39:19 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:39:19 ---> Running in 9f8301c7a363 03:39:19 Removing intermediate container 9f8301c7a363 03:39:19 ---> f5c893437706 03:39:19 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:39:19 ---> Running in bc59c180e2dd 03:39:19 Removing intermediate container bc59c180e2dd 03:39:19 ---> 383da7758dbc 03:39:19 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:39:19 ---> Running in abc61c7eb4ef 03:39:20 Removing intermediate container abc61c7eb4ef 03:39:20 ---> 8299b9f8ae36 03:39:20 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:39:20 ---> Running in 95ed739fd20e 03:39:20 Removing intermediate container 95ed739fd20e 03:39:20 ---> fc0f4b1e4ace 03:39:20 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:39:20 ---> Running in e33a88385d1e 03:39:20 Removing intermediate container e33a88385d1e 03:39:20 ---> 6e0d0b218924 03:39:20 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:39:20 ---> Running in 99eaeb9bc7a2 03:39:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:39:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:39:20 OK: 264 MiB in 52 packages 03:39:21 Removing intermediate container 99eaeb9bc7a2 03:39:21 ---> 1fd87c061d02 03:39:21 Step 9/27 : WORKDIR /device-onvif-camera 03:39:21 ---> Running in 8917dd35f834 03:39:21 Removing intermediate container 8917dd35f834 03:39:21 ---> c9f92da49da5 03:39:21 Step 10/27 : COPY go.mod vendor* ./ 03:39:21 ---> b19e2a82c22f 03:39:21 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:39:21 ---> Running in caac5439d33a 03:39:22 Removing intermediate container caac5439d33a 03:39:22 ---> 151f3fd55907 03:39:22 Step 12/27 : COPY . . 03:39:23 ---> 3ae25c9a2020 03:39:23 Step 13/27 : RUN ${MAKE} 03:39:23 ---> Running in 00b4cb616cb5 03:39: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.20" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:39:55 Removing intermediate container 00b4cb616cb5 03:39:55 ---> 48ad726bb14b 03:39:55 Step 14/27 : FROM alpine:3.18 03:39:55 3.18: Pulling from library/alpine 03:39:55 73baa7ef167e: Pulling fs layer 03:39:55 73baa7ef167e: Download complete 03:39:55 73baa7ef167e: Pull complete 03:39:55 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 03:39:55 Status: Downloaded newer image for alpine:3.18 03:39:55 ---> 8fd7cac70a4a 03:39:55 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:39:55 ---> Running in a925f63b048c 03:39:55 Removing intermediate container a925f63b048c 03:39:55 ---> af8fa2a8bcad 03:39:55 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:39:55 ---> Running in dde1a4b3191f 03:39:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:39:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:39:55 (1/1) Installing dumb-init (1.2.5-r2) 03:39:55 Executing busybox-1.36.1-r7.trigger 03:39:55 OK: 7 MiB in 16 packages 03:39:55 Removing intermediate container dde1a4b3191f 03:39:55 ---> ffbca6349ef2 03:39:55 Step 17/27 : RUN apk --no-cache upgrade 03:39:55 ---> Running in 6db74221933f 03:39:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:39:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:39:56 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 03:39:56 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 03:39:56 OK: 7 MiB in 16 packages 03:39:56 Removing intermediate container 6db74221933f 03:39:56 ---> f97bd0b4aeb7 03:39:56 Step 18/27 : WORKDIR / 03:39:56 ---> Running in c1c0d8e114b1 03:39:56 Removing intermediate container c1c0d8e114b1 03:39:56 ---> 76af588741e9 03:39:56 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:39:57 ---> c0e65676ccc6 03:39:57 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:39:57 ---> 4072fb9d94a1 03:39:57 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:39:57 ---> 6771c9c023a5 03:39:57 Step 22/27 : EXPOSE 59984 03:39:57 ---> Running in b26dbcf31677 03:39:57 Removing intermediate container b26dbcf31677 03:39:57 ---> dcfd4f0cd4d6 03:39:57 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:39:57 ---> Running in d3e0028af2a5 03:39:58 Removing intermediate container d3e0028af2a5 03:39:58 ---> 19c87e627348 03:39:58 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:39:58 ---> Running in a4dd6d2092e9 03:39:58 Removing intermediate container a4dd6d2092e9 03:39:58 ---> e7fe81ee9a2e 03:39:58 Step 25/27 : LABEL arch=amd64 03:39:58 ---> Running in df471ee7e0cf 03:39:58 Removing intermediate container df471ee7e0cf 03:39:58 ---> c52a3a12c5dc 03:39:58 Step 26/27 : LABEL git_sha=c15011e21c833793caab455bb4f05a2375d87a75 03:39:58 ---> Running in 9b51566bf3a6 03:39:58 Removing intermediate container 9b51566bf3a6 03:39:58 ---> fed7db1eb989 03:39:58 Step 27/27 : LABEL version=0.0.0 03:39:58 ---> Running in 84449edad683 03:39:58 Removing intermediate container 84449edad683 03:39:58 ---> cc3413ceb839 03:39:58 [Warning] One or more build-args [ARCH] were not consumed 03:39:58 Successfully built cc3413ceb839 03:39: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 03:39:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:59 03:39:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:00 latest: Pulling from edgex-lftools-log-publisher 03:40:00 5eb5b503b376: Pulling fs layer 03:40:00 5c69ac0246d0: Pulling fs layer 03:40:00 ec43610c2a17: Pulling fs layer 03:40:00 3a2ae6a8a46f: Pulling fs layer 03:40:00 33b1e0a273af: Pulling fs layer 03:40:00 5d3b04190fa2: Pulling fs layer 03:40:00 2f39f015ded8: Pulling fs layer 03:40:00 3a2ae6a8a46f: Waiting 03:40:00 33b1e0a273af: Waiting 03:40:00 5d3b04190fa2: Waiting 03:40:00 2f39f015ded8: Waiting 03:40:00 5c69ac0246d0: Download complete 03:40:00 3a2ae6a8a46f: Verifying Checksum 03:40:00 3a2ae6a8a46f: Download complete 03:40:00 33b1e0a273af: Verifying Checksum 03:40:00 33b1e0a273af: Download complete 03:40:00 5d3b04190fa2: Verifying Checksum 03:40:00 5d3b04190fa2: Download complete 03:40:00 ec43610c2a17: Verifying Checksum 03:40:00 ec43610c2a17: Download complete 03:40:00 5eb5b503b376: Verifying Checksum 03:40:00 5eb5b503b376: Download complete 03:40:01 2f39f015ded8: Download complete 03:40:01 5eb5b503b376: Pull complete 03:40:01 5c69ac0246d0: Pull complete 03:40:02 ec43610c2a17: Pull complete 03:40:02 3a2ae6a8a46f: Pull complete 03:40:02 33b1e0a273af: Pull complete 03:40:02 5d3b04190fa2: Pull complete 03:40:06 2f39f015ded8: Pull complete 03:40:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:40:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:06 prd-ubuntu20.04-docker-8c-8g-4973 does not seem to be running inside a container 03:40:06 $ 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-443 -v /w/workspace/undry_device-onvif-camera_PR-443:/w/workspace/undry_device-onvif-camera_PR-443:rw,z -v /w/workspace/undry_device-onvif-camera_PR-443@tmp:/w/workspace/undry_device-onvif-camera_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:40:10 Removing intermediate container 2208d221d4fa 03:40:10 ---> a49f403b08cf 03:40:10 Step 12/13 : COPY . . 03:40:10 ---> 9f686b54d1d6 03:40:10 Step 13/13 : RUN ${MAKE} 03:40:10 ---> Running in 129e3fbc599f 03:40:10 noop 03:40:11 Removing intermediate container 129e3fbc599f 03:40:11 ---> e541a118443c 03:40:11 Successfully built e541a118443c 03:40:11 Successfully tagged ci-base-image-arm64:latest 03:40:11 $ docker top 2579db55470b132f6d05114d9552f784ce7208f03c3d4ec30de648f3522ac93c -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:12 ---> job-cost.sh 03:40:12 lf-activate-venv: SKIPPING 03:40:12 INFO: No Stack... 03:40:12 + docker inspect -f . ci-base-image-arm64 03:40:12 . 03:40:12 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:12 prd-ubuntu20.04-docker-arm64-4c-16g-4985 does not seem to be running inside a container 03:40:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:40:12 INFO: Archiving Costs 03:40:13 $ docker top 29a1227a355bc748392d43f00236970df6cbfce6f5fb2fb73e61868c7a989078 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 03:40:14 + cat /w/workspace/undry_device-onvif-camera_PR-443/archives/cost.csv 03:40:14 + cut -d, -f6 [Pipeline] lock 03:40:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] 03:40:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] did not exist. Created. 03:40:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:40:14 + go version 03:40:14 go version go1.21.9 linux/arm64 [Pipeline] } 03:40:14 $ docker stop --time=1 29a1227a355bc748392d43f00236970df6cbfce6f5fb2fb73e61868c7a989078 03:40:15 + echo total: 0.4399999976158142 03:40:16 $ docker rm -f --volumes 29a1227a355bc748392d43f00236970df6cbfce6f5fb2fb73e61868c7a989078 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash 03:40:16 Stashed 1 file(s) [Pipeline] // script [Pipeline] } [Pipeline] } 03:40:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] [Pipeline] // stage [Pipeline] // lock [Pipeline] } 03:40:17 $ docker stop --time=1 2579db55470b132f6d05114d9552f784ce7208f03c3d4ec30de648f3522ac93c 03:40:18 $ docker rm -f --volumes 2579db55470b132f6d05114d9552f784ce7208f03c3d4ec30de648f3522ac93c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:19 + docker inspect -f . ci-base-image-arm64 03:40:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:19 prd-ubuntu20.04-docker-arm64-4c-16g-4985 does not seem to be running inside a container 03:40:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:40:20 $ docker top 90f578d6b6c3b35667336d59ae63981bde96d5ac838e4d11cf1536208cf98a79 -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:21 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:40:22 + make test 03:40:22 go test ./... -coverprofile=coverage.out ./... 03:40:27 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:43:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:43:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:43:50 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.192s coverage: 31.4% of statements 03:44:16 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.275s coverage: 86.5% of statements 03:44:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:44:16 go vet ./... 03:45:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:45:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:45:03 ./bin/test-attribution-txt.sh 03:45:03 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:45:03 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:45:03 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:45:03 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:45:03 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:45:03 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:45:03 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:45:03 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:45:03 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:45:03 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:45:03 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:45:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:45:03 $ docker stop --time=1 90f578d6b6c3b35667336d59ae63981bde96d5ac838e4d11cf1536208cf98a79 03:45:05 $ docker rm -f --volumes 90f578d6b6c3b35667336d59ae63981bde96d5ac838e4d11cf1536208cf98a79 [Pipeline] // withDockerContainer [Pipeline] sh 03:45:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:45:07 Warning: overwriting stash ‘coverage-report’ 03:45:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:45:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:45:08 + ls -al . 03:45:08 total 308 03:45:08 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 03:40 . 03:45:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:37 .. 03:45:08 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 03:37 .git 03:45:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 03:37 .github 03:45:08 -rw-rw-r-- 1 jenkins jenkins 493 Jul 4 03:37 .gitignore 03:45:08 -rw-rw-r-- 1 jenkins jenkins 42 Jul 4 03:37 .golangci.yml 03:45:08 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 4 03:37 Attribution.txt 03:45:08 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 4 03:37 CHANGELOG.md 03:45:08 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 4 03:37 Dockerfile 03:45:08 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 03:37 GOVERNANCE.md 03:45:08 -rw-rw-r-- 1 jenkins jenkins 739 Jul 4 03:37 Jenkinsfile 03:45:08 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 4 03:37 LICENSE 03:45:08 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 4 03:37 Makefile 03:45:08 -rw-rw-r-- 1 jenkins jenkins 625 Jul 4 03:37 OWNERS.md 03:45:08 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 4 03:37 README.md 03:45:08 -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 03:37 VERSION 03:45:08 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 03:37 bin 03:45:08 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 03:37 cmd 03:45:08 -rw-r--r-- 1 jenkins jenkins 78805 Jul 4 03:44 coverage.out 03:45:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:37 doc 03:45:08 -rw-rw-r-- 1 jenkins jenkins 7388 Jul 4 03:37 go.mod 03:45:08 -rw-rw-r-- 1 jenkins jenkins 102691 Jul 4 03:37 go.sum 03:45:08 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:37 internal 03:45:08 -rw-rw-r-- 1 jenkins jenkins 236 Jul 4 03:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:09 + 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=c15011e21c833793caab455bb4f05a2375d87a75 --label arch=arm64 --label version=0.0.0 . 03:45:09 Sending build context to Docker daemon 21.79MB 03:45:09 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:45:09 Step 2/27 : FROM ${BASE} AS builder 03:45:09 ---> e541a118443c 03:45:09 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:45:09 ---> Running in b9821f2f323f 03:45:10 Removing intermediate container b9821f2f323f 03:45:10 ---> b7791479540c 03:45:10 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:45:10 ---> Running in b8ee09c022a2 03:45:10 Removing intermediate container b8ee09c022a2 03:45:10 ---> 6a6ee55e4167 03:45:10 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:45:10 ---> Running in 71e822e52283 03:45:10 Removing intermediate container 71e822e52283 03:45:10 ---> bc0b3f9482ed 03:45:10 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:45:10 ---> Running in 1d2a210ea3b6 03:45:11 Removing intermediate container 1d2a210ea3b6 03:45:11 ---> 6de066ae6e6f 03:45:11 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:45:11 ---> Running in 4dc551bd98c2 03:45:11 Removing intermediate container 4dc551bd98c2 03:45:11 ---> 811669599124 03:45:11 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:45:11 ---> Running in 29545f700712 03:45:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:45:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:45:14 OK: 266 MiB in 52 packages 03:45:14 Removing intermediate container 29545f700712 03:45:14 ---> 4ed3bbee9eb4 03:45:14 Step 9/27 : WORKDIR /device-onvif-camera 03:45:15 ---> Running in de72144c717a 03:45:15 Removing intermediate container de72144c717a 03:45:15 ---> b4f56ba0608a 03:45:15 Step 10/27 : COPY go.mod vendor* ./ 03:45:15 ---> 1d44c6700f30 03:45:15 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:45:15 ---> Running in 9e799b857a45 03:45:18 Removing intermediate container 9e799b857a45 03:45:18 ---> 345826fc70b9 03:45:18 Step 12/27 : COPY . . 03:45:19 ---> def282a3713f 03:45:19 Step 13/27 : RUN ${MAKE} 03:45:19 ---> Running in b75d6a8cc864 03:45:20 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.20" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:48:42 Removing intermediate container b75d6a8cc864 03:48:42 ---> dbdc8c8f2554 03:48:42 Step 14/27 : FROM alpine:3.18 03:48:42 3.18: Pulling from library/alpine 03:48:42 5c905c7ebe2f: Pulling fs layer 03:48:42 5c905c7ebe2f: Verifying Checksum 03:48:42 5c905c7ebe2f: Download complete 03:48:42 5c905c7ebe2f: Pull complete 03:48:42 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 03:48:42 Status: Downloaded newer image for alpine:3.18 03:48:42 ---> dec292d02e07 03:48:42 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:48:42 ---> Running in 42339e8d0ce9 03:48:42 Removing intermediate container 42339e8d0ce9 03:48:42 ---> 80de7e3fd384 03:48:42 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:48:42 ---> Running in 5be493c0fd19 03:48:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:48:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:48:44 (1/1) Installing dumb-init (1.2.5-r2) 03:48:44 Executing busybox-1.36.1-r7.trigger 03:48:44 OK: 8 MiB in 16 packages 03:48:45 Removing intermediate container 5be493c0fd19 03:48:45 ---> b96dfcfd64ed 03:48:45 Step 17/27 : RUN apk --no-cache upgrade 03:48:45 ---> Running in 9dce53f38d81 03:48:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:48:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:48:47 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 03:48:47 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 03:48:47 OK: 8 MiB in 16 packages 03:48:48 Removing intermediate container 9dce53f38d81 03:48:48 ---> 014979a47537 03:48:48 Step 18/27 : WORKDIR / 03:48:48 ---> Running in 3536f9c30503 03:48:49 Removing intermediate container 3536f9c30503 03:48:49 ---> 5baa56c71806 03:48:49 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:48:50 ---> 9f340f551929 03:48:50 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:48:51 ---> 84d24fb4da6c 03:48:51 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:48:51 ---> 9f26f62d70b0 03:48:51 Step 22/27 : EXPOSE 59984 03:48:51 ---> Running in dcb504635c7e 03:48:51 Removing intermediate container dcb504635c7e 03:48:51 ---> 999e1634fe2d 03:48:51 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:48:51 ---> Running in c6644344e2be 03:48:52 Removing intermediate container c6644344e2be 03:48:52 ---> 8a93b4ae44da 03:48:52 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:48:52 ---> Running in 212fbaa8e01d 03:48:52 Removing intermediate container 212fbaa8e01d 03:48:52 ---> f6ba8562c9f7 03:48:52 Step 25/27 : LABEL arch=arm64 03:48:52 ---> Running in 6f0156b721a3 03:48:52 Removing intermediate container 6f0156b721a3 03:48:52 ---> e5cac03591e0 03:48:52 Step 26/27 : LABEL git_sha=c15011e21c833793caab455bb4f05a2375d87a75 03:48:52 ---> Running in 4376c1132f8a 03:48:53 Removing intermediate container 4376c1132f8a 03:48:53 ---> 96e6fa299801 03:48:53 Step 27/27 : LABEL version=0.0.0 03:48:53 ---> Running in d2dff88f720d 03:48:53 Removing intermediate container d2dff88f720d 03:48:53 ---> f6a937bb60ac 03:48:53 [Warning] One or more build-args [ARCH] were not consumed 03:48:53 Successfully built f6a937bb60ac 03:48:53 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 03:48:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:48:54 03:48:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:48:54 arm64: Pulling from edgex-lftools-log-publisher 03:48:54 8998bd30e6a1: Pulling fs layer 03:48:54 04944245beec: Pulling fs layer 03:48:54 699f458cf7ca: Pulling fs layer 03:48:54 765212b225bb: Pulling fs layer 03:48:54 f23df028b6ca: Pulling fs layer 03:48:54 d65c8cfc05b1: Pulling fs layer 03:48:54 2437ff75d9bd: Pulling fs layer 03:48:54 765212b225bb: Waiting 03:48:54 f23df028b6ca: Waiting 03:48:54 d65c8cfc05b1: Waiting 03:48:54 2437ff75d9bd: Waiting 03:48:55 04944245beec: Verifying Checksum 03:48:55 04944245beec: Download complete 03:48:55 765212b225bb: Download complete 03:48:55 f23df028b6ca: Verifying Checksum 03:48:55 f23df028b6ca: Download complete 03:48:55 d65c8cfc05b1: Verifying Checksum 03:48:55 d65c8cfc05b1: Download complete 03:48:55 699f458cf7ca: Verifying Checksum 03:48:55 699f458cf7ca: Download complete 03:48:55 8998bd30e6a1: Verifying Checksum 03:48:55 8998bd30e6a1: Download complete 03:48:58 2437ff75d9bd: Verifying Checksum 03:48:58 2437ff75d9bd: Download complete 03:49:00 8998bd30e6a1: Pull complete 03:49:00 04944245beec: Pull complete 03:49:02 699f458cf7ca: Pull complete 03:49:02 765212b225bb: Pull complete 03:49:03 f23df028b6ca: Pull complete 03:49:03 d65c8cfc05b1: Pull complete 03:49:21 2437ff75d9bd: Pull complete 03:49:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:49:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:49:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:49:22 prd-ubuntu20.04-docker-arm64-4c-16g-4985 does not seem to be running inside a container 03:49:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:49:24 $ docker top 346d4a388aebcc173649f9601fd2bf0f0f48b599d4ed3a05f8c74b1b23d2132b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:49:25 ---> job-cost.sh 03:49:25 lf-activate-venv: SKIPPING 03:49:25 INFO: No Stack... 03:49:26 INFO: Retrieving Pricing Info for: v3-standard-4 03:49:27 INFO: Archiving Costs [Pipeline] sh 03:49:27 + cat+ /w/workspace/device-onvif-camera/1/archives/cost.csv 03:49:27 cut -d, -f6 [Pipeline] lock 03:49:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] 03:49:27 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] did not exist. Created. 03:49:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:49:28 /w/workspace/device-onvif-camera/1@tmp/durable-aea627d9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:49:29 + echo total: 0.2199999988079071 [Pipeline] stash 03:49:29 Warning: overwriting stash ‘stack-cost’ 03:49:29 Stashed 1 file(s) [Pipeline] } 03:49:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:49:29 $ docker stop --time=1 346d4a388aebcc173649f9601fd2bf0f0f48b599d4ed3a05f8c74b1b23d2132b 03:49:30 $ docker rm -f --volumes 346d4a388aebcc173649f9601fd2bf0f0f48b599d4ed3a05f8c74b1b23d2132b [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 03:49:32 provisioning config files... 03:49:32 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-443@tmp/config1688555329376982415tmp [Pipeline] { [Pipeline] sh 03:49:32 + set +x 03:49:32 + curl -s https://codecov.io/bash 03:49:32 + bash -s -- 03:49:32 03:49:32 _____ _ 03:49:32 / ____| | | 03:49:32 | | ___ __| | ___ ___ _____ __ 03:49:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:49:32 | |___| (_) | (_| | __/ (_| (_) \ V / 03:49:32 \_____\___/ \__,_|\___|\___\___/ \_/ 03:49:32 Bash-1.0.6 03:49:32 03:49:32 03:49:32 ==> git version 2.25.1 found 03:49:32 ==> 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 03:49:32 Release-Date: 2020-01-08 03:49:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:49:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:49:32 ==> Jenkins CI detected. 03:49:32 current dir:  /w/workspace/undry_device-onvif-camera_PR-443 03:49:32 project root: . 03:49:32 --> token set from env 03:49:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:49:32 ==> Running gcov in . (disable via -X gcov) 03:49:32 ==> Python coveragepy not found 03:49:32 ==> Searching for coverage reports in: 03:49:32 + . 03:49:32 -> Found 1 reports 03:49:32 ==> Detecting git/mercurial file structure 03:49:32 ==> Reading reports 03:49:32 + ./coverage.out bytes=78805 03:49:32 ==> Appending adjustments 03:49:32 https://docs.codecov.io/docs/fixing-reports 03:49:33 + Found adjustments 03:49:33 ==> Gzipping contents 03:49:33 12K /tmp/codecov.0Y3c63.gz 03:49:33 ==> Uploading reports 03:49:33 url: https://codecov.io 03:49:33 query: branch=PR-443&commit=c15011e21c833793caab455bb4f05a2375d87a75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-443%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=443&job=&cmd_args= 03:49:33 -> Pinging Codecov 03:49:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-443&commit=c15011e21c833793caab455bb4f05a2375d87a75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-443%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=443&job=&cmd_args= 03:49:33 -> Uploading to 03:49:33 https://storage.googleapis.com/codecov/v4/raw/2024-07-04/F29A59C45E3A92E06B3E522C9905F8EF/c15011e21c833793caab455bb4f05a2375d87a75/bc00276c-0a7a-4c1a-85d9-f81dc59ae667.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240704%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240704T034932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d04c2a6a6ca478aaa4be7eac0997ce8f871f93e1979b699069df8a9f178e657 03:49:33 % Total % Received % Xferd Average Speed Time Time Time Current 03:49:33 Dload Upload Total Spent Left Speed 03:49:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 42276 --:--:-- --:--:-- --:--:-- 42276 100 10400 0 0 100 10400 0 42276 --:--:-- --:--:-- --:--:-- 42105 03:49:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c15011e21c833793caab455bb4f05a2375d87a75 [Pipeline] } 03:49:33 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 03:49:35 + [ -d /w/workspace/undry_device-onvif-camera_PR-443/archives ] 03:49:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-443/archives 03:49:35 total 16 03:49:35 drwxr-xr-x 3 root root 4096 Jul 4 03:40 . 03:49:35 drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 03:40 .. 03:49:35 drwxr-xr-x 2 root root 4096 Jul 4 03:40 cost 03:49:35 -rw-r--r-- 1 root root 92 Jul 4 03:40 cost.csv 03:49:35 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-443/archives 03:49:35 + ls -al /w/workspace/undry_device-onvif-camera_PR-443/archives 03:49:35 total 16 03:49:35 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 03:40 . 03:49:35 drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 03:40 .. 03:49:35 drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 03:40 cost 03:49:35 -rw-r--r-- 1 jenkins jenkins 92 Jul 4 03:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:49:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:49:36 ---> package-listing.sh 03:49:36 ++ facter osfamily 03:49:36 ++ tr '[:upper:]' '[:lower:]' 03:49:37 + OS_FAMILY=debian 03:49:37 + workspace=/w/workspace/undry_device-onvif-camera_PR-443 03:49:37 + START_PACKAGES=/tmp/packages_start.txt 03:49:37 + END_PACKAGES=/tmp/packages_end.txt 03:49:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:49:37 + PACKAGES=/tmp/packages_start.txt 03:49:37 + '[' /w/workspace/undry_device-onvif-camera_PR-443 ']' 03:49:37 + PACKAGES=/tmp/packages_end.txt 03:49:37 + case "${OS_FAMILY}" in 03:49:37 + dpkg -l 03:49:37 + grep '^ii' 03:49:37 + '[' -f /tmp/packages_start.txt ']' 03:49:37 + '[' -f /tmp/packages_end.txt ']' 03:49:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:49:37 + '[' /w/workspace/undry_device-onvif-camera_PR-443 ']' 03:49:37 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-443/archives/ 03:49:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-443/archives/ [Pipeline] echo 03:49:37 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-443/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:49:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:49:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:49:38 prd-ubuntu20.04-docker-8c-8g-4973 does not seem to be running inside a container 03:49:38 $ 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-443/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-443 -v /w/workspace/undry_device-onvif-camera_PR-443:/w/workspace/undry_device-onvif-camera_PR-443:rw,z -v /w/workspace/undry_device-onvif-camera_PR-443@tmp:/w/workspace/undry_device-onvif-camera_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:49:38 $ docker top 7c8525e49f5e9b0dbe176fef180f6dbfe0eb07a5ed082882dd54ce61d339f7ec -eo pid,comm [Pipeline] { [Pipeline] sh 03:49:39 + touch /tmp/pre-build-complete [Pipeline] sh 03:49:39 + mkdir -p /var/log/sysstat [Pipeline] sh 03:49:39 + ls /var/log/sa-host 03:49:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:49:39 provisioning config files... 03:49:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-443@tmp/config7693776802777469218tmp [Pipeline] { [Pipeline] echo 03:49:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:49:40 ---> create-netrc.sh [Pipeline] } 03:49:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:49:40 ---> python-tools-install.sh [Pipeline] echo 03:49:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:49:41 ---> sudo-logs.sh 03:49:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:49:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:49:41 ---> job-cost.sh 03:49:41 lf-activate-venv: SKIPPING 03:49:41 DEBUG: total: 0.4399999976158142 03:49:41 INFO: Retrieving Stack Cost... 03:49:41 INFO: Retrieving Pricing Info for: v3-standard-8 03:49:42 INFO: Archiving Costs [Pipeline] echo 03:49:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:49:42 ---> logs-deploy.sh 03:49:42 lf-activate-venv: SKIPPING 03:49:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-443/1 03:49:42 INFO: archiving workspace using pattern(s): 03:49:43 Archives upload complete. 03:49:43 INFO: archiving logs to Nexus