Pull request #449 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd+a701db29a77f3bc55bc717b71f527cfd5cf355f2 (efd2df44f73f58c6e7df2b0a0455ecaf5da806d4) 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-ssh10687565106666058710.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-ssh9363648071882296016.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-449/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-449/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh988707738880630125.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-449/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15947215107474415379.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-ssh15243224266497607535.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-449/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-449/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9994036643294396750.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-6509 in /w/workspace/undry_device-onvif-camera_PR-449 [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-449 # 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/449/head:refs/remotes/origin/PR-449 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a701db29a77f3bc55bc717b71f527cfd5cf355f2 into PR head commit 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd Merge succeeded, producing 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd Checking out Revision 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd (PR-449) 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 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd # 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 a701db29a77f3bc55bc717b71f527cfd5cf355f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-26T03:05:08.212Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-26T03:05:08.464Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-26T03:05:08.603Z] ========================================================= [2024-07-26T03:05:08.603Z] EdgeX Global Pipelines Version Info [2024-07-26T03:05:08.603Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:05:09.410Z] ------------------- [2024-07-26T03:05:09.411Z] stable info: [2024-07-26T03:05:09.411Z] ------------------- [2024-07-26T03:05:09.411Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-26T03:05:09.411Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-26T03:05:09.411Z] Message: update stable to v1.0.260 [2024-07-26T03:05:09.981Z] ------------------- [2024-07-26T03:05:09.981Z] experimental info: [2024-07-26T03:05:09.981Z] ------------------- [2024-07-26T03:05:09.981Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-26T03:05:09.982Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-26T03:05:09.982Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-26T03:05:10.253Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-07-26T03:05:10.320Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-07-26T03:05:10.386Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-26T03:05:10.449Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-26T03:05:10.513Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-26T03:05:10.580Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-26T03:05:10.649Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-26T03:05:10.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-26T03:05:10.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-26T03:05:10.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-26T03:05:10.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-26T03:05:10.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-07-26T03:05:11.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-26T03:05:11.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-26T03:05:11.162Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-26T03:05:11.227Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-26T03:05:11.292Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-26T03:05:11.361Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-26T03:05:11.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-26T03:05:11.490Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-26T03:05:11.557Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-26T03:05:11.620Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-07-26T03:05:11.680Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-26T03:05:11.740Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-26T03:05:11.799Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-26T03:05:11.859Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-26T03:05:11.924Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-26T03:05:12.001Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-449 [Pipeline] echo [2024-07-26T03:05:12.069Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-449 [Pipeline] echo [2024-07-26T03:05:12.137Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-449 [Pipeline] echo [2024-07-26T03:05:12.202Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd [Pipeline] echo [2024-07-26T03:05:12.264Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a8dc4f [Pipeline] echo [2024-07-26T03:05:12.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-26T03:05:12.496Z] provisioning config files... [2024-07-26T03:05:12.511Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-449@tmp/config16219914645966867012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:05:12.918Z] ---> ****-login.sh [2024-07-26T03:05:12.918Z] nexus3.edgexfoundry.org:10001 [2024-07-26T03:05:13.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:05:13.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:05:13.177Z] Configure a credential helper to remove this warning. See [2024-07-26T03:05:13.177Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:05:13.177Z] [2024-07-26T03:05:13.178Z] Login Succeeded [2024-07-26T03:05:13.178Z] nexus3.edgexfoundry.org:10002 [2024-07-26T03:05:13.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:05:13.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:05:13.178Z] Configure a credential helper to remove this warning. See [2024-07-26T03:05:13.178Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:05:13.178Z] [2024-07-26T03:05:13.178Z] Login Succeeded [2024-07-26T03:05:13.178Z] nexus3.edgexfoundry.org:10003 [2024-07-26T03:05:13.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:05:13.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:05:13.440Z] Configure a credential helper to remove this warning. See [2024-07-26T03:05:13.440Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:05:13.440Z] [2024-07-26T03:05:13.440Z] Login Succeeded [2024-07-26T03:05:13.440Z] nexus3.edgexfoundry.org:10004 [2024-07-26T03:05:13.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:05:13.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:05:13.440Z] Configure a credential helper to remove this warning. See [2024-07-26T03:05:13.440Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:05:13.440Z] [2024-07-26T03:05:13.440Z] Login Succeeded [2024-07-26T03:05:13.440Z] ****.io [2024-07-26T03:05:13.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:05:13.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:05:13.702Z] Configure a credential helper to remove this warning. See [2024-07-26T03:05:13.702Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:05:13.702Z] [2024-07-26T03:05:13.702Z] Login Succeeded [2024-07-26T03:05:13.702Z] ---> ****-login.sh ends [Pipeline] } [2024-07-26T03:05:13.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-26T03:05:14.451Z] + git rev-list -1 --merges 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd~1..0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd [Pipeline] echo [2024-07-26T03:05:14.495Z] -----------> git rev-list -1 --merges 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd~1..0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd [false] [Pipeline] sh [2024-07-26T03:05:14.825Z] + git log --format=format:%s -1 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd [Pipeline] echo [2024-07-26T03:05:14.873Z] ========================================================= [2024-07-26T03:05:14.873Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-26T03:05:14.873Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-26T03:05:15.349Z] + git log --format=format:%s -1 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd [Pipeline] echo [2024-07-26T03:05:15.403Z] [semverPrep] GIT_COMMIT: 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-26T03:05:15.450Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-26T03:05:15.867Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-26T03:05:15.868Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-26T03:05:15.868Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-26T03:05:15.868Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-26T03:05:15.868Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-26T03:05:15.868Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-26T03:05:15.868Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:05:16.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-26T03:05:16.382Z] [2024-07-26T03:05:16.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:05:16.796Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-26T03:05:16.796Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-26T03:05:16.796Z] b85a868b505f: Pulling fs layer [2024-07-26T03:05:16.796Z] e2be974225ed: Pulling fs layer [2024-07-26T03:05:16.796Z] 339a4e72a1f5: Pulling fs layer [2024-07-26T03:05:16.796Z] 988bab9f4d93: Pulling fs layer [2024-07-26T03:05:16.796Z] 1469e6f7b9e6: Pulling fs layer [2024-07-26T03:05:16.796Z] eaf3925da568: Pulling fs layer [2024-07-26T03:05:16.796Z] bab4dde63d76: Pulling fs layer [2024-07-26T03:05:16.796Z] bde34c3a00c8: Pulling fs layer [2024-07-26T03:05:16.796Z] b352a97aabf1: Pulling fs layer [2024-07-26T03:05:16.796Z] 4872d77fe225: Pulling fs layer [2024-07-26T03:05:16.796Z] 5851b861e8e6: Pulling fs layer [2024-07-26T03:05:16.796Z] bde34c3a00c8: Waiting [2024-07-26T03:05:16.796Z] bab4dde63d76: Waiting [2024-07-26T03:05:16.796Z] b352a97aabf1: Waiting [2024-07-26T03:05:16.796Z] eaf3925da568: Waiting [2024-07-26T03:05:16.796Z] 4872d77fe225: Waiting [2024-07-26T03:05:16.796Z] 988bab9f4d93: Waiting [2024-07-26T03:05:16.796Z] 5851b861e8e6: Waiting [2024-07-26T03:05:16.796Z] 1469e6f7b9e6: Waiting [2024-07-26T03:05:16.796Z] e2be974225ed: Verifying Checksum [2024-07-26T03:05:16.796Z] e2be974225ed: Download complete [2024-07-26T03:05:16.796Z] 988bab9f4d93: Verifying Checksum [2024-07-26T03:05:16.796Z] 988bab9f4d93: Download complete [2024-07-26T03:05:16.796Z] 1469e6f7b9e6: Verifying Checksum [2024-07-26T03:05:16.796Z] 1469e6f7b9e6: Download complete [2024-07-26T03:05:16.796Z] eaf3925da568: Verifying Checksum [2024-07-26T03:05:16.796Z] eaf3925da568: Download complete [2024-07-26T03:05:17.058Z] 339a4e72a1f5: Verifying Checksum [2024-07-26T03:05:17.058Z] 339a4e72a1f5: Download complete [2024-07-26T03:05:17.058Z] bde34c3a00c8: Download complete [2024-07-26T03:05:17.058Z] b352a97aabf1: Verifying Checksum [2024-07-26T03:05:17.058Z] b352a97aabf1: Download complete [2024-07-26T03:05:17.058Z] 4872d77fe225: Verifying Checksum [2024-07-26T03:05:17.058Z] 4872d77fe225: Download complete [2024-07-26T03:05:17.058Z] 5851b861e8e6: Verifying Checksum [2024-07-26T03:05:17.058Z] 5851b861e8e6: Download complete [2024-07-26T03:05:17.058Z] b85a868b505f: Verifying Checksum [2024-07-26T03:05:17.058Z] b85a868b505f: Download complete [2024-07-26T03:05:17.320Z] bab4dde63d76: Verifying Checksum [2024-07-26T03:05:17.320Z] bab4dde63d76: Download complete [2024-07-26T03:05:18.256Z] b85a868b505f: Pull complete [2024-07-26T03:05:18.256Z] e2be974225ed: Pull complete [2024-07-26T03:05:18.824Z] 339a4e72a1f5: Pull complete [2024-07-26T03:05:18.824Z] 988bab9f4d93: Pull complete [2024-07-26T03:05:19.084Z] 1469e6f7b9e6: Pull complete [2024-07-26T03:05:19.084Z] eaf3925da568: Pull complete [2024-07-26T03:05:20.990Z] bab4dde63d76: Pull complete [2024-07-26T03:05:20.990Z] bde34c3a00c8: Pull complete [2024-07-26T03:05:20.990Z] b352a97aabf1: Pull complete [2024-07-26T03:05:20.990Z] 4872d77fe225: Pull complete [2024-07-26T03:05:20.990Z] 5851b861e8e6: Pull complete [2024-07-26T03:05:20.990Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-26T03:05:20.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-26T03:05:20.990Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T03:05:21.259Z] prd-ubuntu20.04-docker-8c-8g-6509 does not seem to be running inside a container [2024-07-26T03:05:21.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-449 -v /w/workspace/undry_device-onvif-camera_PR-449:/w/workspace/undry_device-onvif-camera_PR-449:rw,z -v /w/workspace/undry_device-onvif-camera_PR-449@tmp:/w/workspace/undry_device-onvif-camera_PR-449@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 [2024-07-26T03:05:24.383Z] $ docker top 495c87a600ed69651ac55ddf24c949cc41f7b6e2150785d4cab820640a2943c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-26T03:05:24.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-26T03:05:24.649Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-26T03:05:24.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-26T03:05:24.760Z] $ docker exec 495c87a600ed69651ac55ddf24c949cc41f7b6e2150785d4cab820640a2943c9 ssh-agent [2024-07-26T03:05:24.874Z] SSH_AUTH_SOCK=/tmp/ssh-SxxqgsCGTPhM/agent.32 [2024-07-26T03:05:24.874Z] SSH_AGENT_PID=38 [2024-07-26T03:05:24.879Z] Running ssh-add (command line suppressed) [2024-07-26T03:05:24.974Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-449@tmp/private_key_15595059747466494922.key (/w/workspace/undry_device-onvif-camera_PR-449@tmp/private_key_15595059747466494922.key) [2024-07-26T03:05:24.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-26T03:05:25.363Z] + git tag --points-at HEAD [Pipeline] } [2024-07-26T03:05:25.384Z] $ docker exec --env ******** --env ******** 495c87a600ed69651ac55ddf24c949cc41f7b6e2150785d4cab820640a2943c9 ssh-agent -k [2024-07-26T03:05:25.469Z] unset SSH_AUTH_SOCK; [2024-07-26T03:05:25.470Z] unset SSH_AGENT_PID; [2024-07-26T03:05:25.470Z] echo Agent pid 38 killed; [2024-07-26T03:05:25.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-26T03:05:25.597Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-26T03:05:25.597Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-26T03:05:25.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-26T03:05:25.704Z] $ docker exec 495c87a600ed69651ac55ddf24c949cc41f7b6e2150785d4cab820640a2943c9 ssh-agent [2024-07-26T03:05:25.811Z] SSH_AUTH_SOCK=/tmp/ssh-6MZ5Mbfh6qFe/agent.71 [2024-07-26T03:05:25.811Z] SSH_AGENT_PID=77 [2024-07-26T03:05:25.815Z] Running ssh-add (command line suppressed) [2024-07-26T03:05:25.901Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-449@tmp/private_key_4034433191400574066.key (/w/workspace/undry_device-onvif-camera_PR-449@tmp/private_key_4034433191400574066.key) [2024-07-26T03:05:25.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-26T03:05:26.273Z] + git semver init [2024-07-26T03:05:26.535Z] 2024-07-26 03:05:26,469 [run_init] DEBUG init version:0.0.0 force:False [2024-07-26T03:05:26.535Z] 2024-07-26 03:05:26,470 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-449/.semver [2024-07-26T03:05:26.535Z] 2024-07-26 03:05:26,470 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-449/.semver [2024-07-26T03:05:26.535Z] 2024-07-26 03:05:26,471 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-449/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-449, universal_newlines=False, shell=None, istream=None) [2024-07-26T03:05:27.923Z] 2024-07-26 03:05:27,769 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-449/.git/info/exclude [2024-07-26T03:05:27.923Z] 2024-07-26 03:05:27,769 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-449/.semver/PR-449 with force:False [2024-07-26T03:05:27.923Z] 2024-07-26 03:05:27,770 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-449/.semver/PR-449 [2024-07-26T03:05:27.923Z] 2024-07-26 03:05:27,774 [execute] INFO git cat-file --batch-check [2024-07-26T03:05:27.923Z] 2024-07-26 03:05:27,775 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-449/.semver, universal_newlines=False, shell=None, istream=) [2024-07-26T03:05:27.923Z] 2024-07-26 03:05:27,781 [execute] INFO git cat-file --batch [2024-07-26T03:05:27.923Z] 2024-07-26 03:05:27,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-449/.semver, universal_newlines=False, shell=None, istream=) [2024-07-26T03:05:27.923Z] 2024-07-26 03:05:27,786 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-449/.semver/PR-449 [2024-07-26T03:05:27.923Z] 0.0.0 [Pipeline] } [2024-07-26T03:05:27.946Z] $ docker exec --env ******** --env ******** 495c87a600ed69651ac55ddf24c949cc41f7b6e2150785d4cab820640a2943c9 ssh-agent -k [2024-07-26T03:05:28.043Z] unset SSH_AUTH_SOCK; [2024-07-26T03:05:28.044Z] unset SSH_AGENT_PID; [2024-07-26T03:05:28.044Z] echo Agent pid 77 killed; [2024-07-26T03:05:28.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-26T03:05:28.566Z] + git semver [Pipeline] } [2024-07-26T03:05:28.850Z] $ docker stop --time=1 495c87a600ed69651ac55ddf24c949cc41f7b6e2150785d4cab820640a2943c9 [2024-07-26T03:05:30.241Z] $ docker rm -f --volumes 495c87a600ed69651ac55ddf24c949cc41f7b6e2150785d4cab820640a2943c9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-26T03:05:30.683Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-26T03:05:31.016Z] Stashed 1 file(s) [Pipeline] echo [2024-07-26T03:05:31.042Z] [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 [2024-07-26T03:05:31.864Z] provisioning config files... [2024-07-26T03:05:31.875Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-449@tmp/config12223481374869034010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:05:32.048Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6519 in /w/workspace/undry_device-onvif-camera_PR-449 [Pipeline] { [Pipeline] ws [2024-07-26T03:05:32.128Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-07-26T03:05:32.227Z] The recommended git tool is: git [2024-07-26T03:05:32.263Z] ---> ****-login.sh [2024-07-26T03:05:32.263Z] nexus3.edgexfoundry.org:10001 [2024-07-26T03:05:32.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:05:32.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:05:32.264Z] Configure a credential helper to remove this warning. See [2024-07-26T03:05:32.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:05:32.264Z] [2024-07-26T03:05:32.264Z] Login Succeeded [2024-07-26T03:05:32.264Z] nexus3.edgexfoundry.org:10002 [2024-07-26T03:05:32.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:05:32.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:05:32.264Z] Configure a credential helper to remove this warning. See [2024-07-26T03:05:32.264Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:05:32.264Z] [2024-07-26T03:05:32.264Z] Login Succeeded [2024-07-26T03:05:32.264Z] nexus3.edgexfoundry.org:10003 [2024-07-26T03:05:32.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:05:32.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:05:32.524Z] Configure a credential helper to remove this warning. See [2024-07-26T03:05:32.524Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:05:32.525Z] [2024-07-26T03:05:32.525Z] Login Succeeded [2024-07-26T03:05:32.525Z] nexus3.edgexfoundry.org:10004 [2024-07-26T03:05:32.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:05:32.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:05:32.525Z] Configure a credential helper to remove this warning. See [2024-07-26T03:05:32.525Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:05:32.525Z] [2024-07-26T03:05:32.525Z] Login Succeeded [2024-07-26T03:05:32.525Z] ****.io [2024-07-26T03:05:32.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:05:32.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:05:32.784Z] Configure a credential helper to remove this warning. See [2024-07-26T03:05:32.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:05:32.784Z] [2024-07-26T03:05:32.784Z] Login Succeeded [2024-07-26T03:05:32.784Z] ---> ****-login.sh ends [Pipeline] } [2024-07-26T03:05:32.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-26T03:05:33.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-26T03:05:33.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-26T03:05:33.189Z] ========================================================= [2024-07-26T03:05:33.189Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-26T03:05:33.189Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:05:33.746Z] + 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 . [2024-07-26T03:05:33.746Z] Sending build context to Docker daemon 36.64MB [2024-07-26T03:05:33.746Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-07-26T03:05:33.746Z] Step 2/13 : FROM ${BASE} AS builder [2024-07-26T03:05:34.006Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-26T03:05:34.006Z] 619be1103602: Pulling fs layer [2024-07-26T03:05:34.006Z] 7862e08f4a3e: Pulling fs layer [2024-07-26T03:05:34.006Z] 5df492c9dc93: Pulling fs layer [2024-07-26T03:05:34.006Z] 7629e6793208: Pulling fs layer [2024-07-26T03:05:34.006Z] 4f4fb700ef54: Pulling fs layer [2024-07-26T03:05:34.006Z] fb5054dd5b73: Pulling fs layer [2024-07-26T03:05:34.006Z] eeca6798cff9: Pulling fs layer [2024-07-26T03:05:34.006Z] aa269ceb94a6: Pulling fs layer [2024-07-26T03:05:34.006Z] ada007ff1a6a: Pulling fs layer [2024-07-26T03:05:34.006Z] fb5054dd5b73: Waiting [2024-07-26T03:05:34.006Z] eeca6798cff9: Waiting [2024-07-26T03:05:34.006Z] aa269ceb94a6: Waiting [2024-07-26T03:05:34.006Z] ada007ff1a6a: Waiting [2024-07-26T03:05:34.006Z] 7629e6793208: Waiting [2024-07-26T03:05:34.006Z] 4f4fb700ef54: Waiting [2024-07-26T03:05:34.006Z] 7862e08f4a3e: Verifying Checksum [2024-07-26T03:05:34.006Z] 7862e08f4a3e: Download complete [2024-07-26T03:05:34.006Z] 7629e6793208: Verifying Checksum [2024-07-26T03:05:34.006Z] 7629e6793208: Download complete [2024-07-26T03:05:34.006Z] 4f4fb700ef54: Download complete [2024-07-26T03:05:34.006Z] fb5054dd5b73: Download complete [2024-07-26T03:05:34.006Z] 619be1103602: Verifying Checksum [2024-07-26T03:05:34.006Z] 619be1103602: Download complete [2024-07-26T03:05:34.006Z] eeca6798cff9: Verifying Checksum [2024-07-26T03:05:34.006Z] eeca6798cff9: Download complete [2024-07-26T03:05:34.266Z] 619be1103602: Pull complete [2024-07-26T03:05:34.266Z] ada007ff1a6a: Verifying Checksum [2024-07-26T03:05:34.266Z] ada007ff1a6a: Download complete [2024-07-26T03:05:34.266Z] 7862e08f4a3e: Pull complete [2024-07-26T03:05:34.524Z] 5df492c9dc93: Verifying Checksum [2024-07-26T03:05:34.524Z] 5df492c9dc93: Download complete [2024-07-26T03:05:34.782Z] aa269ceb94a6: Verifying Checksum [2024-07-26T03:05:34.782Z] aa269ceb94a6: Download complete [2024-07-26T03:05:36.624Z] using credential edgex-jenkins-ssh [2024-07-26T03:05:36.649Z] Cloning the remote Git repository [2024-07-26T03:05:36.670Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-26T03:05:36.758Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-07-26T03:05:36.909Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-26T03:05:36.910Z] > git --version # timeout=10 [2024-07-26T03:05:36.931Z] > git --version # 'git version 2.25.1' [2024-07-26T03:05:36.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-26T03:05:37.071Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-26T03:05:37.316Z] 5df492c9dc93: Pull complete [2024-07-26T03:05:37.317Z] 7629e6793208: Pull complete [2024-07-26T03:05:37.317Z] 4f4fb700ef54: Pull complete [2024-07-26T03:05:37.317Z] fb5054dd5b73: Pull complete [2024-07-26T03:05:37.317Z] eeca6798cff9: Pull complete [2024-07-26T03:05:39.854Z] aa269ceb94a6: Pull complete [2024-07-26T03:05:40.113Z] ada007ff1a6a: Pull complete [2024-07-26T03:05:40.113Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-26T03:05:40.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-26T03:05:40.113Z] ---> f489d0715acc [2024-07-26T03:05:40.113Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-07-26T03:05:39.662Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-07-26T03:05:39.694Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-26T03:05:40.510Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-07-26T03:05:40.552Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-26T03:05:40.552Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-26T03:05:40.573Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/449/head:refs/remotes/origin/PR-449 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-26T03:05:41.039Z] Merging remotes/origin/main commit a701db29a77f3bc55bc717b71f527cfd5cf355f2 into PR head commit 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd [2024-07-26T03:05:41.406Z] Merge succeeded, producing 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd [2024-07-26T03:05:41.406Z] Checking out Revision 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd (PR-449) [2024-07-26T03:05:42.236Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-26T03:05:42.263Z] > git --version # timeout=10 [2024-07-26T03:05:42.275Z] > git --version # 'git version 2.25.1' [2024-07-26T03:05:42.287Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-26T03:05:41.037Z] > git config core.sparsecheckout # timeout=10 [2024-07-26T03:05:41.109Z] > git checkout -f 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd # timeout=10 [2024-07-26T03:05:41.285Z] > git remote # timeout=10 [2024-07-26T03:05:41.303Z] > git config --get remote.origin.url # timeout=10 [2024-07-26T03:05:41.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-26T03:05:41.339Z] > git merge a701db29a77f3bc55bc717b71f527cfd5cf355f2 # timeout=10 [2024-07-26T03:05:41.365Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-26T03:05:41.390Z] > git config core.sparsecheckout # timeout=10 [2024-07-26T03:05:41.408Z] > git checkout -f 0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd # timeout=10 [2024-07-26T03:05:44.311Z] ---> Running in ffdd619349f9 [2024-07-26T03:05:44.311Z] Removing intermediate container ffdd619349f9 [2024-07-26T03:05:44.311Z] ---> d4ea9fbc7cee [2024-07-26T03:05:44.311Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-26T03:05:44.311Z] ---> Running in 831379c53b85 [2024-07-26T03:05:44.572Z] Removing intermediate container 831379c53b85 [2024-07-26T03:05:44.572Z] ---> 385736347677 [2024-07-26T03:05:44.572Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-07-26T03:05:44.572Z] ---> Running in 5dc4408880e7 [2024-07-26T03:05:44.572Z] Removing intermediate container 5dc4408880e7 [2024-07-26T03:05:44.572Z] ---> e57048327e06 [2024-07-26T03:05:44.572Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-07-26T03:05:44.572Z] ---> Running in b6a02fb2abe1 [2024-07-26T03:05:44.572Z] Removing intermediate container b6a02fb2abe1 [2024-07-26T03:05:44.572Z] ---> 2a23d0e4d0de [2024-07-26T03:05:44.572Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-07-26T03:05:44.834Z] ---> Running in d7b067a09e73 [2024-07-26T03:05:44.834Z] Removing intermediate container d7b067a09e73 [2024-07-26T03:05:44.834Z] ---> a4b59831ebab [2024-07-26T03:05:44.834Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-26T03:05:44.834Z] ---> Running in b461812b972f [2024-07-26T03:05:45.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-26T03:05:45.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-26T03:05:45.356Z] OK: 264 MiB in 52 packages [2024-07-26T03:05:45.926Z] Removing intermediate container b461812b972f [2024-07-26T03:05:45.926Z] ---> 69fb1fe65288 [2024-07-26T03:05:45.926Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-07-26T03:05:45.926Z] ---> Running in 357559a6cf5a [2024-07-26T03:05:45.926Z] Removing intermediate container 357559a6cf5a [2024-07-26T03:05:45.926Z] ---> f7625a498c12 [2024-07-26T03:05:45.926Z] Step 10/13 : COPY go.mod vendor* ./ [2024-07-26T03:05:45.926Z] ---> 436bc57f7433 [2024-07-26T03:05:45.926Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-26T03:05:45.926Z] ---> Running in 8b71f6cd41f3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-26T03:05:47.280Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-26T03:05:47.280Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-26T03:05:47.280Z] Dload Upload Total Spent Left Speed [2024-07-26T03:05:47.280Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 69717 0 --:--:-- --:--:-- --:--:-- 69340 [Pipeline] sh [2024-07-26T03:05:47.639Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-26T03:05:47.988Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2024-07-26T03:05:47.989Z] /etc/docker/daemon.new [2024-07-26T03:05:47.989Z] { [2024-07-26T03:05:47.989Z] "registry-mirrors": [ [2024-07-26T03:05:47.989Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-26T03:05:47.989Z] ], [2024-07-26T03:05:47.989Z] "bip": "10.250.0.254/24", [2024-07-26T03:05:47.989Z] "hosts": [ [2024-07-26T03:05:47.989Z] "tcp://0.0.0.0:5555", [2024-07-26T03:05:47.989Z] "unix:///var/run/docker.sock" [2024-07-26T03:05:47.989Z] ], [2024-07-26T03:05:47.989Z] "mtu": 1458, [2024-07-26T03:05:47.989Z] "selinux-enabled": true, [2024-07-26T03:05:47.989Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-26T03:05:47.989Z] } [Pipeline] sh [2024-07-26T03:05:48.336Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-26T03:05:48.713Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-26T03:06:07.066Z] provisioning config files... [2024-07-26T03:06:07.092Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5565221938063311495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:06:07.609Z] ---> ****-login.sh [2024-07-26T03:06:07.609Z] nexus3.edgexfoundry.org:10001 [2024-07-26T03:06:07.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:06:08.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:06:08.149Z] Configure a credential helper to remove this warning. See [2024-07-26T03:06:08.149Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:06:08.149Z] [2024-07-26T03:06:08.149Z] Login Succeeded [2024-07-26T03:06:08.149Z] nexus3.edgexfoundry.org:10002 [2024-07-26T03:06:08.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:06:08.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:06:08.696Z] Configure a credential helper to remove this warning. See [2024-07-26T03:06:08.696Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:06:08.696Z] [2024-07-26T03:06:08.696Z] Login Succeeded [2024-07-26T03:06:08.696Z] nexus3.edgexfoundry.org:10003 [2024-07-26T03:06:08.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:06:08.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:06:08.968Z] Configure a credential helper to remove this warning. See [2024-07-26T03:06:08.969Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:06:08.969Z] [2024-07-26T03:06:08.969Z] Login Succeeded [2024-07-26T03:06:08.969Z] nexus3.edgexfoundry.org:10004 [2024-07-26T03:06:09.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:06:09.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:06:09.238Z] Configure a credential helper to remove this warning. See [2024-07-26T03:06:09.238Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:06:09.238Z] [2024-07-26T03:06:09.238Z] Login Succeeded [2024-07-26T03:06:09.238Z] ****.io [2024-07-26T03:06:09.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-26T03:06:09.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-26T03:06:09.777Z] Configure a credential helper to remove this warning. See [2024-07-26T03:06:09.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-26T03:06:09.777Z] [2024-07-26T03:06:09.777Z] Login Succeeded [2024-07-26T03:06:09.777Z] ---> ****-login.sh ends [Pipeline] } [2024-07-26T03:06:09.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-26T03:06:10.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-26T03:06:10.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-26T03:06:10.379Z] ========================================================= [2024-07-26T03:06:10.379Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-26T03:06:10.379Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:06:10.977Z] + 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 . [2024-07-26T03:06:11.566Z] Sending build context to Docker daemon 21.73MB [2024-07-26T03:06:11.566Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-07-26T03:06:11.566Z] Step 2/13 : FROM ${BASE} AS builder [2024-07-26T03:06:11.836Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-26T03:06:11.836Z] c6b39de5b339: Pulling fs layer [2024-07-26T03:06:11.836Z] a69c41024577: Pulling fs layer [2024-07-26T03:06:11.836Z] d6de4b400683: Pulling fs layer [2024-07-26T03:06:11.836Z] 35cb2a7552d0: Pulling fs layer [2024-07-26T03:06:11.836Z] 4f4fb700ef54: Pulling fs layer [2024-07-26T03:06:11.836Z] 464afbd9ba4c: Pulling fs layer [2024-07-26T03:06:11.836Z] 35cb2a7552d0: Waiting [2024-07-26T03:06:11.836Z] 4f4fb700ef54: Waiting [2024-07-26T03:06:11.836Z] 00f215d4a9da: Pulling fs layer [2024-07-26T03:06:11.836Z] d496ad576159: Pulling fs layer [2024-07-26T03:06:11.836Z] 00f215d4a9da: Waiting [2024-07-26T03:06:11.836Z] d496ad576159: Waiting [2024-07-26T03:06:11.836Z] a69c41024577: Verifying Checksum [2024-07-26T03:06:11.836Z] a69c41024577: Download complete [2024-07-26T03:06:11.836Z] 35cb2a7552d0: Verifying Checksum [2024-07-26T03:06:11.836Z] 35cb2a7552d0: Download complete [2024-07-26T03:06:11.836Z] 4f4fb700ef54: Verifying Checksum [2024-07-26T03:06:11.836Z] 4f4fb700ef54: Download complete [2024-07-26T03:06:11.836Z] 464afbd9ba4c: Verifying Checksum [2024-07-26T03:06:11.836Z] 464afbd9ba4c: Download complete [2024-07-26T03:06:11.836Z] c6b39de5b339: Verifying Checksum [2024-07-26T03:06:11.836Z] c6b39de5b339: Download complete [2024-07-26T03:06:12.423Z] d496ad576159: Verifying Checksum [2024-07-26T03:06:12.423Z] d496ad576159: Download complete [2024-07-26T03:06:12.693Z] c6b39de5b339: Pull complete [2024-07-26T03:06:13.280Z] a69c41024577: Pull complete [2024-07-26T03:06:13.866Z] d6de4b400683: Verifying Checksum [2024-07-26T03:06:13.866Z] d6de4b400683: Download complete [2024-07-26T03:06:14.833Z] 00f215d4a9da: Verifying Checksum [2024-07-26T03:06:14.833Z] 00f215d4a9da: Download complete [2024-07-26T03:06:27.161Z] d6de4b400683: Pull complete [2024-07-26T03:06:27.161Z] 35cb2a7552d0: Pull complete [2024-07-26T03:06:27.161Z] 4f4fb700ef54: Pull complete [2024-07-26T03:06:27.161Z] 464afbd9ba4c: Pull complete [2024-07-26T03:06:35.408Z] 00f215d4a9da: Pull complete [2024-07-26T03:06:36.815Z] d496ad576159: Pull complete [2024-07-26T03:06:36.815Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-26T03:06:36.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-26T03:06:36.815Z] ---> f246e2811388 [2024-07-26T03:06:36.815Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-07-26T03:06:38.774Z] ---> Running in bde55f227894 [2024-07-26T03:06:38.774Z] Removing intermediate container bde55f227894 [2024-07-26T03:06:38.774Z] ---> 4bb6eea6c7f8 [2024-07-26T03:06:38.774Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-26T03:06:39.042Z] ---> Running in ebae50d7695d [2024-07-26T03:06:39.310Z] Removing intermediate container ebae50d7695d [2024-07-26T03:06:39.310Z] ---> b7fd0d9081d6 [2024-07-26T03:06:39.310Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-07-26T03:06:39.310Z] ---> Running in 10519e0747d5 [2024-07-26T03:06:39.586Z] Removing intermediate container 10519e0747d5 [2024-07-26T03:06:39.586Z] ---> 96247dcac83a [2024-07-26T03:06:39.586Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-07-26T03:06:39.586Z] ---> Running in 8c99c9003f58 [2024-07-26T03:06:39.858Z] Removing intermediate container 8c99c9003f58 [2024-07-26T03:06:39.858Z] ---> 3faef6ccff5f [2024-07-26T03:06:39.858Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-07-26T03:06:40.125Z] ---> Running in da9ae1687681 [2024-07-26T03:06:40.393Z] Removing intermediate container da9ae1687681 [2024-07-26T03:06:40.393Z] ---> a4e0e66c8218 [2024-07-26T03:06:40.393Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-26T03:06:40.393Z] ---> Running in 4b35109b84d9 [2024-07-26T03:06:41.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-26T03:06:41.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-26T03:06:42.176Z] Removing intermediate container 8b71f6cd41f3 [2024-07-26T03:06:42.176Z] ---> 3935d277c715 [2024-07-26T03:06:42.176Z] Step 12/13 : COPY . . [2024-07-26T03:06:42.176Z] ---> fb0da65ad44b [2024-07-26T03:06:42.176Z] Step 13/13 : RUN ${MAKE} [2024-07-26T03:06:42.176Z] ---> Running in b0c427c20116 [2024-07-26T03:06:42.436Z] noop [2024-07-26T03:06:42.696Z] Removing intermediate container b0c427c20116 [2024-07-26T03:06:42.696Z] ---> 2f2401861d16 [2024-07-26T03:06:42.696Z] Successfully built 2f2401861d16 [2024-07-26T03:06:42.696Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-07-26T03:06:42.910Z] OK: 266 MiB in 52 packages [Pipeline] sh [2024-07-26T03:06:43.205Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-26T03:06:43.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T03:06:43.402Z] prd-ubuntu20.04-docker-8c-8g-6509 does not seem to be running inside a container [2024-07-26T03:06:43.495Z] Removing intermediate container 4b35109b84d9 [2024-07-26T03:06:43.495Z] ---> 35255ee11afa [2024-07-26T03:06:43.495Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-07-26T03:06:43.503Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-449 -v /w/workspace/undry_device-onvif-camera_PR-449:/w/workspace/undry_device-onvif-camera_PR-449:rw,z -v /w/workspace/undry_device-onvif-camera_PR-449@tmp:/w/workspace/undry_device-onvif-camera_PR-449@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 [2024-07-26T03:06:43.763Z] ---> Running in 2be4e60b227e [2024-07-26T03:06:43.830Z] $ docker top 5a7590a1abc0dc6ce344b749310ceb7ac55735c0cc5e5b974bf05ade3ff39ad4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-26T03:06:44.030Z] Removing intermediate container 2be4e60b227e [2024-07-26T03:06:44.030Z] ---> 72aaa95868e1 [2024-07-26T03:06:44.030Z] Step 10/13 : COPY go.mod vendor* ./ [2024-07-26T03:06:44.285Z] + go version [2024-07-26T03:06:44.286Z] go version go1.21.9 linux/amd64 [2024-07-26T03:06:44.296Z] ---> 01c17b7ec171 [2024-07-26T03:06:44.296Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [Pipeline] } [2024-07-26T03:06:44.325Z] $ docker stop --time=1 5a7590a1abc0dc6ce344b749310ceb7ac55735c0cc5e5b974bf05ade3ff39ad4 [2024-07-26T03:06:44.569Z] ---> Running in 5df98042a2ff [2024-07-26T03:06:45.585Z] $ docker rm -f --volumes 5a7590a1abc0dc6ce344b749310ceb7ac55735c0cc5e5b974bf05ade3ff39ad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:06:46.402Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-26T03:06:46.402Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T03:06:46.582Z] prd-ubuntu20.04-docker-8c-8g-6509 does not seem to be running inside a container [2024-07-26T03:06:46.605Z] $ 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-449 -v /w/workspace/undry_device-onvif-camera_PR-449:/w/workspace/undry_device-onvif-camera_PR-449:rw,z -v /w/workspace/undry_device-onvif-camera_PR-449@tmp:/w/workspace/undry_device-onvif-camera_PR-449@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 [2024-07-26T03:06:46.930Z] $ docker top f23a49f49b18b7f6210caef80c457113d6ea4eebbecc9ac8e312b63d77d754df -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-26T03:06:47.350Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-449 [Pipeline] fileExists [Pipeline] sh [2024-07-26T03:06:47.737Z] + make test [2024-07-26T03:06:47.737Z] go test ./... -coverprofile=coverage.out ./... [2024-07-26T03:06:49.639Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-07-26T03:07:07.715Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-07-26T03:07:07.715Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-07-26T03:07:08.648Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.029s coverage: 31.4% of statements [2024-07-26T03:07:08.907Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.158s coverage: 86.5% of statements [2024-07-26T03:07:18.895Z] go vet ./... [2024-07-26T03:07:24.163Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-26T03:07:24.163Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-26T03:07:24.163Z] ./bin/test-attribution-txt.sh [2024-07-26T03:07:24.163Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-26T03:07:24.163Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-26T03:07:24.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-26T03:07:24.268Z] $ docker stop --time=1 f23a49f49b18b7f6210caef80c457113d6ea4eebbecc9ac8e312b63d77d754df [2024-07-26T03:07:28.544Z] $ docker rm -f --volumes f23a49f49b18b7f6210caef80c457113d6ea4eebbecc9ac8e312b63d77d754df [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-26T03:07:29.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-26T03:07:29.297Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-26T03:07:30.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-26T03:07:30.390Z] + ls -al . [2024-07-26T03:07:30.391Z] total 312 [2024-07-26T03:07:30.391Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 03:06 . [2024-07-26T03:07:30.391Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 03:05 .. [2024-07-26T03:07:30.391Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 03:07 .git [2024-07-26T03:07:30.391Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 03:05 .github [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 493 Jul 26 03:05 .gitignore [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 26 03:05 .golangci.yml [2024-07-26T03:07:30.391Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 03:05 .semver [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 11155 Jul 26 03:05 Attribution.txt [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 17665 Jul 26 03:05 CHANGELOG.md [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 1683 Jul 26 03:05 Dockerfile [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 03:05 GOVERNANCE.md [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 739 Jul 26 03:05 Jenkinsfile [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 03:05 LICENSE [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 2883 Jul 26 03:05 Makefile [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 26 03:05 OWNERS.md [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jul 26 03:05 README.md [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 03:05 VERSION [2024-07-26T03:07:30.391Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 03:05 bin [2024-07-26T03:07:30.391Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 03:05 cmd [2024-07-26T03:07:30.391Z] -rw-r--r-- 1 jenkins jenkins 78805 Jul 26 03:07 coverage.out [2024-07-26T03:07:30.391Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 03:05 doc [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 7331 Jul 26 03:05 go.mod [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 102413 Jul 26 03:05 go.sum [2024-07-26T03:07:30.391Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 03:05 internal [2024-07-26T03:07:30.391Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 26 03:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:07:30.830Z] + 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=0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd --label arch=amd64 --label version=0.0.0 . [2024-07-26T03:07:30.830Z] Sending build context to Docker daemon 36.72MB [2024-07-26T03:07:30.830Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-07-26T03:07:30.830Z] Step 2/27 : FROM ${BASE} AS builder [2024-07-26T03:07:30.830Z] ---> 2f2401861d16 [2024-07-26T03:07:30.830Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-07-26T03:07:31.399Z] ---> Running in 0411e503f5f0 [2024-07-26T03:07:31.399Z] Removing intermediate container 0411e503f5f0 [2024-07-26T03:07:31.399Z] ---> 9f6dfef86794 [2024-07-26T03:07:31.399Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-26T03:07:31.399Z] ---> Running in d4786b3e3ffc [2024-07-26T03:07:31.399Z] Removing intermediate container d4786b3e3ffc [2024-07-26T03:07:31.399Z] ---> f3178f4543b6 [2024-07-26T03:07:31.399Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-07-26T03:07:31.399Z] ---> Running in b6d897cb8f95 [2024-07-26T03:07:31.399Z] Removing intermediate container b6d897cb8f95 [2024-07-26T03:07:31.399Z] ---> e482cee60950 [2024-07-26T03:07:31.399Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-07-26T03:07:31.399Z] ---> Running in 3751379b56b9 [2024-07-26T03:07:31.657Z] Removing intermediate container 3751379b56b9 [2024-07-26T03:07:31.657Z] ---> 764af4893387 [2024-07-26T03:07:31.657Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-07-26T03:07:31.657Z] ---> Running in 8dc5eb262e08 [2024-07-26T03:07:31.657Z] Removing intermediate container 8dc5eb262e08 [2024-07-26T03:07:31.657Z] ---> a9b9865a33c6 [2024-07-26T03:07:31.657Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-26T03:07:31.657Z] ---> Running in db4695f8c269 [2024-07-26T03:07:31.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-26T03:07:32.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-26T03:07:32.435Z] OK: 264 MiB in 52 packages [2024-07-26T03:07:32.696Z] Removing intermediate container db4695f8c269 [2024-07-26T03:07:32.696Z] ---> e8dfa5717621 [2024-07-26T03:07:32.696Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-07-26T03:07:32.696Z] ---> Running in b68425df1235 [2024-07-26T03:07:32.956Z] Removing intermediate container b68425df1235 [2024-07-26T03:07:32.956Z] ---> c1ce19f4e27f [2024-07-26T03:07:32.956Z] Step 10/27 : COPY go.mod vendor* ./ [2024-07-26T03:07:32.956Z] ---> a6c8b0b34295 [2024-07-26T03:07:32.956Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-26T03:07:32.956Z] ---> Running in 12e8c45c28e9 [2024-07-26T03:07:33.889Z] Removing intermediate container 12e8c45c28e9 [2024-07-26T03:07:33.889Z] ---> ebd7bfa28a80 [2024-07-26T03:07:33.889Z] Step 12/27 : COPY . . [2024-07-26T03:07:34.457Z] ---> d2078bcab5f5 [2024-07-26T03:07:34.457Z] Step 13/27 : RUN ${MAKE} [2024-07-26T03:07:34.715Z] ---> Running in 192869402a6b [2024-07-26T03:07:34.715Z] 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.27" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-07-26T03:08:06.803Z] Removing intermediate container 192869402a6b [2024-07-26T03:08:06.803Z] ---> 27961cdedc88 [2024-07-26T03:08:06.803Z] Step 14/27 : FROM alpine:3.18 [2024-07-26T03:08:06.803Z] 3.18: Pulling from library/alpine [2024-07-26T03:08:06.803Z] 930bdd4d222e: Pulling fs layer [2024-07-26T03:08:06.803Z] 930bdd4d222e: Verifying Checksum [2024-07-26T03:08:06.803Z] 930bdd4d222e: Download complete [2024-07-26T03:08:06.803Z] 930bdd4d222e: Pull complete [2024-07-26T03:08:06.803Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-26T03:08:06.803Z] Status: Downloaded newer image for alpine:3.18 [2024-07-26T03:08:06.803Z] ---> 18f865063206 [2024-07-26T03:08:06.803Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-07-26T03:08:06.803Z] ---> Running in c0fd085f8cb7 [2024-07-26T03:08:06.803Z] Removing intermediate container c0fd085f8cb7 [2024-07-26T03:08:06.803Z] ---> 7ca31ff885c9 [2024-07-26T03:08:06.803Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-07-26T03:08:06.803Z] ---> Running in 1a06b4d048d3 [2024-07-26T03:08:06.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-26T03:08:06.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-26T03:08:07.372Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-26T03:08:07.372Z] Executing busybox-1.36.1-r7.trigger [2024-07-26T03:08:07.372Z] OK: 7 MiB in 16 packages [2024-07-26T03:08:07.632Z] Removing intermediate container 1a06b4d048d3 [2024-07-26T03:08:07.632Z] ---> 711161c285f4 [2024-07-26T03:08:07.632Z] Step 17/27 : RUN apk --no-cache upgrade [2024-07-26T03:08:07.632Z] ---> Running in fafac290240b [2024-07-26T03:08:07.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-26T03:08:07.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-26T03:08:08.156Z] OK: 7 MiB in 16 packages [2024-07-26T03:08:08.429Z] Removing intermediate container fafac290240b [2024-07-26T03:08:08.429Z] ---> 542e62df1ad3 [2024-07-26T03:08:08.429Z] Step 18/27 : WORKDIR / [2024-07-26T03:08:08.429Z] ---> Running in 0995405d8b7d [2024-07-26T03:08:08.429Z] Removing intermediate container 0995405d8b7d [2024-07-26T03:08:08.429Z] ---> 97abab5b3764 [2024-07-26T03:08:08.429Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-07-26T03:08:09.366Z] ---> 09f6fb9a4146 [2024-07-26T03:08:09.366Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-07-26T03:08:09.626Z] ---> beeca9300cc6 [2024-07-26T03:08:09.626Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-07-26T03:08:09.626Z] ---> 94b828392bc8 [2024-07-26T03:08:09.626Z] Step 22/27 : EXPOSE 59984 [2024-07-26T03:08:09.626Z] ---> Running in e60ce647dafa [2024-07-26T03:08:09.626Z] Removing intermediate container e60ce647dafa [2024-07-26T03:08:09.626Z] ---> b3408bb8d226 [2024-07-26T03:08:09.626Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-07-26T03:08:09.887Z] ---> Running in b56a6c800d2a [2024-07-26T03:08:09.887Z] Removing intermediate container b56a6c800d2a [2024-07-26T03:08:09.887Z] ---> 91284e91b43e [2024-07-26T03:08:09.887Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-26T03:08:09.887Z] ---> Running in 41a0c2b2251b [2024-07-26T03:08:09.887Z] Removing intermediate container 41a0c2b2251b [2024-07-26T03:08:09.887Z] ---> e962332bc5cb [2024-07-26T03:08:09.887Z] Step 25/27 : LABEL arch=amd64 [2024-07-26T03:08:09.887Z] ---> Running in d9343c5fb9ea [2024-07-26T03:08:10.146Z] Removing intermediate container d9343c5fb9ea [2024-07-26T03:08:10.146Z] ---> e38b164a7627 [2024-07-26T03:08:10.146Z] Step 26/27 : LABEL git_sha=0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd [2024-07-26T03:08:10.146Z] ---> Running in 817adbe206a5 [2024-07-26T03:08:10.146Z] Removing intermediate container 817adbe206a5 [2024-07-26T03:08:10.146Z] ---> 20908b4d499b [2024-07-26T03:08:10.146Z] Step 27/27 : LABEL version=0.0.0 [2024-07-26T03:08:10.146Z] ---> Running in 9345f5855498 [2024-07-26T03:08:10.146Z] Removing intermediate container 9345f5855498 [2024-07-26T03:08:10.146Z] ---> 7e3fd0704696 [2024-07-26T03:08:10.146Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-26T03:08:10.146Z] Successfully built 7e3fd0704696 [2024-07-26T03:08:10.146Z] 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 [2024-07-26T03:08:11.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-26T03:08:11.266Z] [2024-07-26T03:08:11.266Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:08:11.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-26T03:08:11.718Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-26T03:08:11.718Z] 5eb5b503b376: Pulling fs layer [2024-07-26T03:08:11.718Z] 5c69ac0246d0: Pulling fs layer [2024-07-26T03:08:11.718Z] ec43610c2a17: Pulling fs layer [2024-07-26T03:08:11.718Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-26T03:08:11.718Z] 33b1e0a273af: Pulling fs layer [2024-07-26T03:08:11.718Z] 5d3b04190fa2: Pulling fs layer [2024-07-26T03:08:11.718Z] 2f39f015ded8: Pulling fs layer [2024-07-26T03:08:11.718Z] 3a2ae6a8a46f: Waiting [2024-07-26T03:08:11.718Z] 33b1e0a273af: Waiting [2024-07-26T03:08:11.718Z] 5d3b04190fa2: Waiting [2024-07-26T03:08:11.718Z] 5c69ac0246d0: Verifying Checksum [2024-07-26T03:08:11.718Z] 5c69ac0246d0: Download complete [2024-07-26T03:08:11.718Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-26T03:08:11.718Z] 3a2ae6a8a46f: Download complete [2024-07-26T03:08:11.718Z] 33b1e0a273af: Verifying Checksum [2024-07-26T03:08:11.718Z] 33b1e0a273af: Download complete [2024-07-26T03:08:11.718Z] ec43610c2a17: Verifying Checksum [2024-07-26T03:08:11.718Z] ec43610c2a17: Download complete [2024-07-26T03:08:11.718Z] 5d3b04190fa2: Download complete [2024-07-26T03:08:11.976Z] 5eb5b503b376: Verifying Checksum [2024-07-26T03:08:11.977Z] 5eb5b503b376: Download complete [2024-07-26T03:08:12.544Z] 2f39f015ded8: Download complete [2024-07-26T03:08:13.113Z] 5eb5b503b376: Pull complete [2024-07-26T03:08:13.113Z] 5c69ac0246d0: Pull complete [2024-07-26T03:08:13.678Z] ec43610c2a17: Pull complete [2024-07-26T03:08:13.678Z] 3a2ae6a8a46f: Pull complete [2024-07-26T03:08:13.935Z] 33b1e0a273af: Pull complete [2024-07-26T03:08:13.935Z] 5d3b04190fa2: Pull complete [2024-07-26T03:08:18.132Z] 2f39f015ded8: Pull complete [2024-07-26T03:08:18.132Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-26T03:08:18.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-26T03:08:18.132Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T03:08:18.425Z] prd-ubuntu20.04-docker-8c-8g-6509 does not seem to be running inside a container [2024-07-26T03:08:18.450Z] $ 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-449 -v /w/workspace/undry_device-onvif-camera_PR-449:/w/workspace/undry_device-onvif-camera_PR-449:rw,z -v /w/workspace/undry_device-onvif-camera_PR-449@tmp:/w/workspace/undry_device-onvif-camera_PR-449@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 [2024-07-26T03:08:22.515Z] $ docker top d8a42f4e3525f69848414a8efe2d59e9dfe196dd8809e13b252df4627a1dd37a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:08:23.103Z] ---> job-cost.sh [2024-07-26T03:08:23.104Z] lf-activate-venv: SKIPPING [2024-07-26T03:08:23.104Z] INFO: No Stack... [2024-07-26T03:08:23.362Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-26T03:08:23.930Z] INFO: Archiving Costs [Pipeline] sh [2024-07-26T03:08:24.272Z] + cat /w/workspace/undry_device-onvif-camera_PR-449/archives/cost.csv [2024-07-26T03:08:24.272Z] + cut -d, -f6 [Pipeline] lock [2024-07-26T03:08:24.329Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-449-1-stack-cost] [2024-07-26T03:08:24.336Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-449-1-stack-cost] did not exist. Created. [2024-07-26T03:08:24.342Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-449-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-26T03:08:24.800Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-26T03:08:24.863Z] Stashed 1 file(s) [Pipeline] } [2024-07-26T03:08:24.898Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-449-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-26T03:08:25.039Z] $ docker stop --time=1 d8a42f4e3525f69848414a8efe2d59e9dfe196dd8809e13b252df4627a1dd37a [2024-07-26T03:08:26.198Z] $ docker rm -f --volumes d8a42f4e3525f69848414a8efe2d59e9dfe196dd8809e13b252df4627a1dd37a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-26T03:08:36.196Z] Removing intermediate container 5df98042a2ff [2024-07-26T03:08:36.196Z] ---> 2e2f5e859d1c [2024-07-26T03:08:36.196Z] Step 12/13 : COPY . . [2024-07-26T03:08:36.196Z] ---> f1daeb790237 [2024-07-26T03:08:36.196Z] Step 13/13 : RUN ${MAKE} [2024-07-26T03:08:36.196Z] ---> Running in 13e643eae6b4 [2024-07-26T03:08:36.196Z] noop [2024-07-26T03:08:36.466Z] Removing intermediate container 13e643eae6b4 [2024-07-26T03:08:36.466Z] ---> 0684aa5f4050 [2024-07-26T03:08:36.466Z] Successfully built 0684aa5f4050 [2024-07-26T03:08:36.466Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:08:37.003Z] + docker inspect -f . ci-base-image-arm64 [2024-07-26T03:08:37.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T03:08:37.311Z] prd-ubuntu20.04-docker-arm64-4c-16g-6519 does not seem to be running inside a container [2024-07-26T03:08:37.350Z] $ 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 [2024-07-26T03:08:38.553Z] $ docker top 5e15dd2238a14983943c564d6a605f6f33a5ac7c3caf87426126b3c3394e4a2d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-26T03:08:39.456Z] + go version [2024-07-26T03:08:39.456Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-26T03:08:39.508Z] $ docker stop --time=1 5e15dd2238a14983943c564d6a605f6f33a5ac7c3caf87426126b3c3394e4a2d [2024-07-26T03:08:41.108Z] $ docker rm -f --volumes 5e15dd2238a14983943c564d6a605f6f33a5ac7c3caf87426126b3c3394e4a2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:08:42.122Z] + docker inspect -f . ci-base-image-arm64 [2024-07-26T03:08:42.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T03:08:42.427Z] prd-ubuntu20.04-docker-arm64-4c-16g-6519 does not seem to be running inside a container [2024-07-26T03:08:42.489Z] $ 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 [2024-07-26T03:08:43.590Z] $ docker top 2e34a00f77dad9e5bec98d62781bc865ae31051f8c104ea0459ffd3f97d39bed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-26T03:08:44.190Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-07-26T03:08:44.604Z] + make test [2024-07-26T03:08:44.871Z] go test ./... -coverprofile=coverage.out ./... [2024-07-26T03:08:50.311Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-07-26T03:12:12.105Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-07-26T03:12:12.105Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-07-26T03:12:12.105Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.170s coverage: 31.4% of statements [2024-07-26T03:12:34.202Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.564s coverage: 86.5% of statements [2024-07-26T03:12:34.202Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-26T03:12:34.202Z] go vet ./... [2024-07-26T03:13:21.037Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-26T03:13:21.037Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-26T03:13:21.037Z] ./bin/test-attribution-txt.sh [2024-07-26T03:13:21.037Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-26T03:13:21.037Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-26T03:13:21.038Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-26T03:13:21.038Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-26T03:13:21.038Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-26T03:13:21.038Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-26T03:13:21.038Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-26T03:13:21.038Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-26T03:13:21.038Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-26T03:13:21.038Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-26T03:13:21.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-26T03:13:21.120Z] $ docker stop --time=1 2e34a00f77dad9e5bec98d62781bc865ae31051f8c104ea0459ffd3f97d39bed [2024-07-26T03:13:23.060Z] $ docker rm -f --volumes 2e34a00f77dad9e5bec98d62781bc865ae31051f8c104ea0459ffd3f97d39bed [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-26T03:13:24.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-26T03:13:24.682Z] Warning: overwriting stash ‘coverage-report’ [2024-07-26T03:13:25.190Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-26T03:13:25.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-26T03:13:26.190Z] + ls -al . [2024-07-26T03:13:26.190Z] total 308 [2024-07-26T03:13:26.190Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 03:08 . [2024-07-26T03:13:26.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 03:05 .. [2024-07-26T03:13:26.190Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 03:05 .git [2024-07-26T03:13:26.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 03:05 .github [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 493 Jul 26 03:05 .gitignore [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 26 03:05 .golangci.yml [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 11155 Jul 26 03:05 Attribution.txt [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 17665 Jul 26 03:05 CHANGELOG.md [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 1683 Jul 26 03:05 Dockerfile [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 26 03:05 GOVERNANCE.md [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 739 Jul 26 03:05 Jenkinsfile [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 03:05 LICENSE [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 2883 Jul 26 03:05 Makefile [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 26 03:05 OWNERS.md [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jul 26 03:05 README.md [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 03:05 VERSION [2024-07-26T03:13:26.190Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 03:05 bin [2024-07-26T03:13:26.190Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 03:05 cmd [2024-07-26T03:13:26.190Z] -rw-r--r-- 1 jenkins jenkins 78805 Jul 26 03:12 coverage.out [2024-07-26T03:13:26.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 03:05 doc [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 7331 Jul 26 03:05 go.mod [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 102413 Jul 26 03:05 go.sum [2024-07-26T03:13:26.190Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 03:05 internal [2024-07-26T03:13:26.190Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 26 03:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:13:26.631Z] + 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=0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd --label arch=arm64 --label version=0.0.0 . [2024-07-26T03:13:27.221Z] Sending build context to Docker daemon 21.81MB [2024-07-26T03:13:27.221Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-07-26T03:13:27.221Z] Step 2/27 : FROM ${BASE} AS builder [2024-07-26T03:13:27.221Z] ---> 0684aa5f4050 [2024-07-26T03:13:27.221Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-07-26T03:13:27.488Z] ---> Running in ba5e47f54d6b [2024-07-26T03:13:27.754Z] Removing intermediate container ba5e47f54d6b [2024-07-26T03:13:27.754Z] ---> df588991f4fd [2024-07-26T03:13:27.754Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-26T03:13:27.754Z] ---> Running in 58846d3a99b1 [2024-07-26T03:13:28.021Z] Removing intermediate container 58846d3a99b1 [2024-07-26T03:13:28.021Z] ---> 0505b57ef60e [2024-07-26T03:13:28.021Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-07-26T03:13:28.286Z] ---> Running in c99f532f5687 [2024-07-26T03:13:28.551Z] Removing intermediate container c99f532f5687 [2024-07-26T03:13:28.551Z] ---> 4ac31c89b269 [2024-07-26T03:13:28.551Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-07-26T03:13:28.551Z] ---> Running in 68e188522df5 [2024-07-26T03:13:28.818Z] Removing intermediate container 68e188522df5 [2024-07-26T03:13:28.818Z] ---> de5ed148085b [2024-07-26T03:13:28.818Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-07-26T03:13:29.087Z] ---> Running in de8401a2e983 [2024-07-26T03:13:29.354Z] Removing intermediate container de8401a2e983 [2024-07-26T03:13:29.354Z] ---> 94658a648788 [2024-07-26T03:13:29.354Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-26T03:13:29.354Z] ---> Running in 2a57ec1422cc [2024-07-26T03:13:30.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-26T03:13:30.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-26T03:13:31.538Z] OK: 266 MiB in 52 packages [2024-07-26T03:13:32.492Z] Removing intermediate container 2a57ec1422cc [2024-07-26T03:13:32.492Z] ---> 629608fee8e5 [2024-07-26T03:13:32.492Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-07-26T03:13:32.758Z] ---> Running in 9589bf5c9d95 [2024-07-26T03:13:33.023Z] Removing intermediate container 9589bf5c9d95 [2024-07-26T03:13:33.023Z] ---> a7780c64d420 [2024-07-26T03:13:33.023Z] Step 10/27 : COPY go.mod vendor* ./ [2024-07-26T03:13:33.294Z] ---> 1950560fd581 [2024-07-26T03:13:33.294Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-26T03:13:33.560Z] ---> Running in abf32d1c4fbf [2024-07-26T03:13:36.140Z] Removing intermediate container abf32d1c4fbf [2024-07-26T03:13:36.140Z] ---> b6a09e5f40fd [2024-07-26T03:13:36.140Z] Step 12/27 : COPY . . [2024-07-26T03:13:37.557Z] ---> 904ba5cdb213 [2024-07-26T03:13:37.557Z] Step 13/27 : RUN ${MAKE} [2024-07-26T03:13:37.557Z] ---> Running in 0c96816a059e [2024-07-26T03:13:38.514Z] 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.27" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-07-26T03:17:00.263Z] Removing intermediate container 0c96816a059e [2024-07-26T03:17:00.263Z] ---> 68b61ccf0656 [2024-07-26T03:17:00.263Z] Step 14/27 : FROM alpine:3.18 [2024-07-26T03:17:00.263Z] 3.18: Pulling from library/alpine [2024-07-26T03:17:00.263Z] 4983c3fe2029: Pulling fs layer [2024-07-26T03:17:00.263Z] 4983c3fe2029: Verifying Checksum [2024-07-26T03:17:00.263Z] 4983c3fe2029: Download complete [2024-07-26T03:17:00.263Z] 4983c3fe2029: Pull complete [2024-07-26T03:17:00.263Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-26T03:17:00.263Z] Status: Downloaded newer image for alpine:3.18 [2024-07-26T03:17:00.263Z] ---> a0237000ae83 [2024-07-26T03:17:00.263Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-07-26T03:17:00.263Z] ---> Running in cf973c3ba26c [2024-07-26T03:17:00.263Z] Removing intermediate container cf973c3ba26c [2024-07-26T03:17:00.263Z] ---> 4e9214daeb7e [2024-07-26T03:17:00.263Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-07-26T03:17:00.263Z] ---> Running in c9fa1a70981b [2024-07-26T03:17:00.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-26T03:17:00.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-26T03:17:01.753Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-26T03:17:01.753Z] Executing busybox-1.36.1-r7.trigger [2024-07-26T03:17:01.753Z] OK: 8 MiB in 16 packages [2024-07-26T03:17:02.727Z] Removing intermediate container c9fa1a70981b [2024-07-26T03:17:02.727Z] ---> d1dd14590b68 [2024-07-26T03:17:02.727Z] Step 17/27 : RUN apk --no-cache upgrade [2024-07-26T03:17:02.727Z] ---> Running in f2cf5c2eee0f [2024-07-26T03:17:03.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-26T03:17:03.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-26T03:17:04.908Z] OK: 8 MiB in 16 packages [2024-07-26T03:17:05.867Z] Removing intermediate container f2cf5c2eee0f [2024-07-26T03:17:05.867Z] ---> 84f5991e14d5 [2024-07-26T03:17:05.867Z] Step 18/27 : WORKDIR / [2024-07-26T03:17:05.867Z] ---> Running in 0ef80d9072c8 [2024-07-26T03:17:06.133Z] Removing intermediate container 0ef80d9072c8 [2024-07-26T03:17:06.133Z] ---> 742437745b60 [2024-07-26T03:17:06.133Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-07-26T03:17:08.078Z] ---> abca90ef05f3 [2024-07-26T03:17:08.078Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-07-26T03:17:08.345Z] ---> 4e5f613e99fb [2024-07-26T03:17:08.345Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-07-26T03:17:08.928Z] ---> 80469f34a445 [2024-07-26T03:17:08.929Z] Step 22/27 : EXPOSE 59984 [2024-07-26T03:17:08.929Z] ---> Running in dd95fc38403d [2024-07-26T03:17:09.195Z] Removing intermediate container dd95fc38403d [2024-07-26T03:17:09.195Z] ---> 7128426a5557 [2024-07-26T03:17:09.195Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-07-26T03:17:09.195Z] ---> Running in 9aa539f398b6 [2024-07-26T03:17:09.462Z] Removing intermediate container 9aa539f398b6 [2024-07-26T03:17:09.462Z] ---> 86aa05729258 [2024-07-26T03:17:09.462Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-26T03:17:09.462Z] ---> Running in 6008ab710116 [2024-07-26T03:17:09.727Z] Removing intermediate container 6008ab710116 [2024-07-26T03:17:09.727Z] ---> 7ecfb91623a5 [2024-07-26T03:17:09.727Z] Step 25/27 : LABEL arch=arm64 [2024-07-26T03:17:09.994Z] ---> Running in 2a69f1590c26 [2024-07-26T03:17:10.261Z] Removing intermediate container 2a69f1590c26 [2024-07-26T03:17:10.261Z] ---> 503600d814d1 [2024-07-26T03:17:10.261Z] Step 26/27 : LABEL git_sha=0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd [2024-07-26T03:17:10.261Z] ---> Running in 7513d6493472 [2024-07-26T03:17:10.529Z] Removing intermediate container 7513d6493472 [2024-07-26T03:17:10.529Z] ---> c74c1fb23640 [2024-07-26T03:17:10.529Z] Step 27/27 : LABEL version=0.0.0 [2024-07-26T03:17:10.796Z] ---> Running in ee6eeda0023c [2024-07-26T03:17:11.060Z] Removing intermediate container ee6eeda0023c [2024-07-26T03:17:11.060Z] ---> 44b9704cae6d [2024-07-26T03:17:11.060Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-26T03:17:11.060Z] Successfully built 44b9704cae6d [2024-07-26T03:17:11.060Z] 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 [2024-07-26T03:17:12.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-26T03:17:12.055Z] [2024-07-26T03:17:12.055Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:17:12.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-26T03:17:12.488Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-26T03:17:12.488Z] 8998bd30e6a1: Pulling fs layer [2024-07-26T03:17:12.488Z] 04944245beec: Pulling fs layer [2024-07-26T03:17:12.488Z] 699f458cf7ca: Pulling fs layer [2024-07-26T03:17:12.488Z] 765212b225bb: Pulling fs layer [2024-07-26T03:17:12.488Z] f23df028b6ca: Pulling fs layer [2024-07-26T03:17:12.488Z] d65c8cfc05b1: Pulling fs layer [2024-07-26T03:17:12.488Z] 2437ff75d9bd: Pulling fs layer [2024-07-26T03:17:12.488Z] 765212b225bb: Waiting [2024-07-26T03:17:12.488Z] f23df028b6ca: Waiting [2024-07-26T03:17:12.488Z] d65c8cfc05b1: Waiting [2024-07-26T03:17:12.488Z] 2437ff75d9bd: Waiting [2024-07-26T03:17:12.753Z] 04944245beec: Verifying Checksum [2024-07-26T03:17:12.753Z] 04944245beec: Download complete [2024-07-26T03:17:12.753Z] 765212b225bb: Verifying Checksum [2024-07-26T03:17:12.753Z] 765212b225bb: Download complete [2024-07-26T03:17:12.753Z] f23df028b6ca: Verifying Checksum [2024-07-26T03:17:12.753Z] f23df028b6ca: Download complete [2024-07-26T03:17:12.753Z] d65c8cfc05b1: Verifying Checksum [2024-07-26T03:17:12.753Z] d65c8cfc05b1: Download complete [2024-07-26T03:17:13.018Z] 699f458cf7ca: Verifying Checksum [2024-07-26T03:17:13.018Z] 699f458cf7ca: Download complete [2024-07-26T03:17:13.283Z] 8998bd30e6a1: Verifying Checksum [2024-07-26T03:17:13.283Z] 8998bd30e6a1: Download complete [2024-07-26T03:17:15.857Z] 2437ff75d9bd: Verifying Checksum [2024-07-26T03:17:15.857Z] 2437ff75d9bd: Download complete [2024-07-26T03:17:17.882Z] 8998bd30e6a1: Pull complete [2024-07-26T03:17:18.476Z] 04944245beec: Pull complete [2024-07-26T03:17:20.422Z] 699f458cf7ca: Pull complete [2024-07-26T03:17:20.422Z] 765212b225bb: Pull complete [2024-07-26T03:17:21.374Z] f23df028b6ca: Pull complete [2024-07-26T03:17:21.374Z] d65c8cfc05b1: Pull complete [2024-07-26T03:17:39.559Z] 2437ff75d9bd: Pull complete [2024-07-26T03:17:39.559Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-26T03:17:39.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-26T03:17:39.559Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T03:17:39.931Z] prd-ubuntu20.04-docker-arm64-4c-16g-6519 does not seem to be running inside a container [2024-07-26T03:17:39.959Z] $ 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 [2024-07-26T03:17:42.559Z] $ docker top a6b1bd226740382a0fb0324962d1342b297461457813f724dad287bd3d114dd6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:17:43.493Z] ---> job-cost.sh [2024-07-26T03:17:43.493Z] lf-activate-venv: SKIPPING [2024-07-26T03:17:43.493Z] INFO: No Stack... [2024-07-26T03:17:43.755Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-26T03:17:44.704Z] INFO: Archiving Costs [Pipeline] sh [2024-07-26T03:17:45.365Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-07-26T03:17:45.365Z] + cut -d, -f6 [Pipeline] lock [2024-07-26T03:17:45.424Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-449-1-stack-cost] [2024-07-26T03:17:45.430Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-449-1-stack-cost] did not exist. Created. [2024-07-26T03:17:45.436Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-449-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-26T03:17:45.872Z] /w/workspace/device-onvif-camera/1@tmp/durable-3ca0f24d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-26T03:17:46.537Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-26T03:17:46.584Z] Warning: overwriting stash ‘stack-cost’ [2024-07-26T03:17:46.644Z] Stashed 1 file(s) [Pipeline] } [2024-07-26T03:17:46.663Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-449-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-26T03:17:46.741Z] $ docker stop --time=1 a6b1bd226740382a0fb0324962d1342b297461457813f724dad287bd3d114dd6 [2024-07-26T03:17:48.210Z] $ docker rm -f --volumes a6b1bd226740382a0fb0324962d1342b297461457813f724dad287bd3d114dd6 [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 [2024-07-26T03:17:49.628Z] provisioning config files... [2024-07-26T03:17:49.639Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-449@tmp/config8153856940433492872tmp [Pipeline] { [Pipeline] sh [2024-07-26T03:17:49.994Z] + set +x [2024-07-26T03:17:49.994Z] + curl -s https://codecov.io/bash [2024-07-26T03:17:49.994Z] + bash -s -- [2024-07-26T03:17:49.994Z] [2024-07-26T03:17:49.994Z] _____ _ [2024-07-26T03:17:49.994Z] / ____| | | [2024-07-26T03:17:49.994Z] | | ___ __| | ___ ___ _____ __ [2024-07-26T03:17:49.994Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-26T03:17:49.994Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-26T03:17:49.994Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-26T03:17:49.994Z] Bash-1.0.6 [2024-07-26T03:17:49.994Z] [2024-07-26T03:17:49.994Z] [2024-07-26T03:17:49.994Z] ==> git version 2.25.1 found [2024-07-26T03:17:49.994Z] ==> 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 [2024-07-26T03:17:49.994Z] Release-Date: 2020-01-08 [2024-07-26T03:17:49.994Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-26T03:17:49.994Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-26T03:17:49.994Z] ==> Jenkins CI detected. [2024-07-26T03:17:49.994Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-449 [2024-07-26T03:17:49.994Z] project root: . [2024-07-26T03:17:49.994Z] --> token set from env [2024-07-26T03:17:49.994Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-26T03:17:49.994Z] ==> Running gcov in . (disable via -X gcov) [2024-07-26T03:17:49.995Z] ==> Python coveragepy not found [2024-07-26T03:17:49.995Z] ==> Searching for coverage reports in: [2024-07-26T03:17:49.995Z] + . [2024-07-26T03:17:50.255Z] -> Found 1 reports [2024-07-26T03:17:50.255Z] ==> Detecting git/mercurial file structure [2024-07-26T03:17:50.255Z] ==> Reading reports [2024-07-26T03:17:50.255Z] + ./coverage.out bytes=78805 [2024-07-26T03:17:50.255Z] ==> Appending adjustments [2024-07-26T03:17:50.255Z] https://docs.codecov.io/docs/fixing-reports [2024-07-26T03:17:50.255Z] + Found adjustments [2024-07-26T03:17:50.255Z] ==> Gzipping contents [2024-07-26T03:17:50.255Z] 12K /tmp/codecov.evRbpW.gz [2024-07-26T03:17:50.255Z] ==> Uploading reports [2024-07-26T03:17:50.255Z] url: https://codecov.io [2024-07-26T03:17:50.255Z] query: branch=PR-449&commit=0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-449%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=449&job=&cmd_args= [2024-07-26T03:17:50.255Z] -> Pinging Codecov [2024-07-26T03:17:50.255Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-449&commit=0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-449%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=449&job=&cmd_args= [2024-07-26T03:17:50.515Z] -> Uploading to [2024-07-26T03:17:50.516Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-26/F29A59C45E3A92E06B3E522C9905F8EF/0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd/e7f03109-2b74-4208-9a8c-dbae82191dec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240726%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240726T031750Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc7485310081c8be7abff334ea0f9395bde166fd4f87c7ba0dc35fadf6d9767e [2024-07-26T03:17:50.516Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-26T03:17:50.516Z] Dload Upload Total Spent Left Speed [2024-07-26T03:17:50.775Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 50241 --:--:-- --:--:-- --:--:-- 50000 100 10400 0 0 100 10400 0 43697 --:--:-- --:--:-- --:--:-- 43514 [2024-07-26T03:17:50.775Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/0a8dc4fbbc5ae08e8d763564b32ccc6002fa49dd [Pipeline] } [2024-07-26T03:17:50.809Z] 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 [2024-07-26T03:17:53.173Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-449/archives ] [2024-07-26T03:17:53.173Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-449/archives [2024-07-26T03:17:53.173Z] total 16 [2024-07-26T03:17:53.173Z] drwxr-xr-x 3 root root 4096 Jul 26 03:08 . [2024-07-26T03:17:53.173Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 03:08 .. [2024-07-26T03:17:53.173Z] drwxr-xr-x 2 root root 4096 Jul 26 03:08 cost [2024-07-26T03:17:53.173Z] -rw-r--r-- 1 root root 92 Jul 26 03:08 cost.csv [2024-07-26T03:17:53.173Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-449/archives [2024-07-26T03:17:53.173Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-449/archives [2024-07-26T03:17:53.173Z] total 16 [2024-07-26T03:17:53.173Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 03:08 . [2024-07-26T03:17:53.173Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 03:08 .. [2024-07-26T03:17:53.173Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 03:08 cost [2024-07-26T03:17:53.173Z] -rw-r--r-- 1 jenkins jenkins 92 Jul 26 03:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:17:53.521Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:17:54.427Z] ---> package-listing.sh [2024-07-26T03:17:54.428Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-26T03:17:54.428Z] ++ facter osfamily [2024-07-26T03:17:54.689Z] + OS_FAMILY=debian [2024-07-26T03:17:54.689Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-449 [2024-07-26T03:17:54.689Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-26T03:17:54.689Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-26T03:17:54.689Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-26T03:17:54.689Z] + PACKAGES=/tmp/packages_start.txt [2024-07-26T03:17:54.689Z] + '[' /w/workspace/undry_device-onvif-camera_PR-449 ']' [2024-07-26T03:17:54.689Z] + PACKAGES=/tmp/packages_end.txt [2024-07-26T03:17:54.689Z] + case "${OS_FAMILY}" in [2024-07-26T03:17:54.689Z] + dpkg -l [2024-07-26T03:17:54.689Z] + grep '^ii' [2024-07-26T03:17:54.689Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-26T03:17:54.689Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-26T03:17:54.689Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-26T03:17:54.689Z] + '[' /w/workspace/undry_device-onvif-camera_PR-449 ']' [2024-07-26T03:17:54.689Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-449/archives/ [2024-07-26T03:17:54.689Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-449/archives/ [Pipeline] echo [2024-07-26T03:17:54.734Z] 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-449/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-26T03:17:55.035Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-26T03:17:55.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-26T03:17:55.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-26T03:17:55.864Z] prd-ubuntu20.04-docker-8c-8g-6509 does not seem to be running inside a container [2024-07-26T03:17:55.886Z] $ 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-449/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-449 -v /w/workspace/undry_device-onvif-camera_PR-449:/w/workspace/undry_device-onvif-camera_PR-449:rw,z -v /w/workspace/undry_device-onvif-camera_PR-449@tmp:/w/workspace/undry_device-onvif-camera_PR-449@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 [2024-07-26T03:17:56.077Z] $ docker top 020d38ee41f6a7fcb63889358fd3aa51489aa70130c2036eb6d3f25bf0bc192d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-26T03:17:56.494Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-26T03:17:56.811Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-26T03:17:57.155Z] + ls /var/log/sa-host [2024-07-26T03:17:57.155Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-26T03:17:57.422Z] provisioning config files... [2024-07-26T03:17:57.433Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-449@tmp/config14167224851800678380tmp [Pipeline] { [Pipeline] echo [2024-07-26T03:17:57.506Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:17:57.838Z] ---> create-netrc.sh [Pipeline] } [2024-07-26T03:17:57.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:17:58.302Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-26T03:17:58.342Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:17:58.671Z] ---> sudo-logs.sh [2024-07-26T03:17:58.671Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-26T03:17:58.781Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:17:59.122Z] ---> job-cost.sh [2024-07-26T03:17:59.122Z] lf-activate-venv: SKIPPING [2024-07-26T03:17:59.122Z] DEBUG: total: 0.2199999988079071 [2024-07-26T03:17:59.122Z] INFO: Retrieving Stack Cost... [2024-07-26T03:17:59.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-26T03:17:59.954Z] INFO: Archiving Costs [Pipeline] echo [2024-07-26T03:17:59.997Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-26T03:18:00.330Z] ---> logs-deploy.sh [2024-07-26T03:18:00.330Z] lf-activate-venv: SKIPPING [2024-07-26T03:18:00.330Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-449/1 [2024-07-26T03:18:00.330Z] INFO: archiving workspace using pattern(s): [2024-07-26T03:18:01.269Z] Archives upload complete. [2024-07-26T03:18:01.269Z] INFO: archiving logs to Nexus