Pull request #443 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c15011e21c833793caab455bb4f05a2375d87a75+4403bb01aaef0144ea9be46ab10d7e2cec719e21 (62f5531118e18946bc0869588297ad0a566a905d) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8239458082022286773.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15058694788142025623.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh922252066781547469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-443/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18047940266385863534.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14355608410224751726.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-443/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-443/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6361348285119686252.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-4973 in /w/workspace/undry_device-onvif-camera_PR-443 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-443 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/443/head:refs/remotes/origin/PR-443 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4403bb01aaef0144ea9be46ab10d7e2cec719e21 into PR head commit c15011e21c833793caab455bb4f05a2375d87a75 Merge succeeded, producing c15011e21c833793caab455bb4f05a2375d87a75 Checking out Revision c15011e21c833793caab455bb4f05a2375d87a75 (PR-443) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f c15011e21c833793caab455bb4f05a2375d87a75 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4403bb01aaef0144ea9be46ab10d7e2cec719e21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c15011e21c833793caab455bb4f05a2375d87a75 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-04T03:36:44.778Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-04T03:36:45.010Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-04T03:36:45.150Z] ========================================================= [2024-07-04T03:36:45.150Z] EdgeX Global Pipelines Version Info [2024-07-04T03:36:45.150Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:36:45.930Z] ------------------- [2024-07-04T03:36:45.930Z] stable info: [2024-07-04T03:36:45.930Z] ------------------- [2024-07-04T03:36:45.930Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-04T03:36:45.930Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-04T03:36:45.930Z] Message: update stable to v1.0.260 [2024-07-04T03:36:46.504Z] ------------------- [2024-07-04T03:36:46.505Z] experimental info: [2024-07-04T03:36:46.505Z] ------------------- [2024-07-04T03:36:46.505Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-04T03:36:46.505Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-04T03:36:46.505Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-04T03:36:46.727Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-07-04T03:36:46.800Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-07-04T03:36:46.865Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-04T03:36:46.928Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-04T03:36:46.992Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-04T03:36:47.057Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-04T03:36:47.118Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-04T03:36:47.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-04T03:36:47.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-04T03:36:47.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-04T03:36:47.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-04T03:36:47.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-07-04T03:36:47.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-04T03:36:47.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-04T03:36:47.681Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-04T03:36:47.740Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-04T03:36:47.796Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-04T03:36:47.854Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-04T03:36:47.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-04T03:36:48.009Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-04T03:36:48.071Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-04T03:36:48.142Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-07-04T03:36:48.250Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-04T03:36:48.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-04T03:36:48.404Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-04T03:36:48.466Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-04T03:36:48.525Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-04T03:36:48.586Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-443 [Pipeline] echo [2024-07-04T03:36:48.649Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-443 [Pipeline] echo [2024-07-04T03:36:48.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-443 [Pipeline] echo [2024-07-04T03:36:48.772Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c15011e21c833793caab455bb4f05a2375d87a75 [Pipeline] echo [2024-07-04T03:36:48.838Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c15011e [Pipeline] echo [2024-07-04T03:36:48.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-04T03:36:49.055Z] provisioning config files... [2024-07-04T03:36:49.069Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-443@tmp/config2970390928744701727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:36:49.475Z] ---> ****-login.sh [2024-07-04T03:36:49.475Z] nexus3.edgexfoundry.org:10001 [2024-07-04T03:36:49.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:36:49.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:36:49.742Z] Configure a credential helper to remove this warning. See [2024-07-04T03:36:49.742Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:36:49.742Z] [2024-07-04T03:36:49.742Z] Login Succeeded [2024-07-04T03:36:49.742Z] nexus3.edgexfoundry.org:10002 [2024-07-04T03:36:49.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:36:50.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:36:50.004Z] Configure a credential helper to remove this warning. See [2024-07-04T03:36:50.004Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:36:50.004Z] [2024-07-04T03:36:50.004Z] Login Succeeded [2024-07-04T03:36:50.004Z] nexus3.edgexfoundry.org:10003 [2024-07-04T03:36:50.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:36:50.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:36:50.005Z] Configure a credential helper to remove this warning. See [2024-07-04T03:36:50.005Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:36:50.005Z] [2024-07-04T03:36:50.005Z] Login Succeeded [2024-07-04T03:36:50.005Z] nexus3.edgexfoundry.org:10004 [2024-07-04T03:36:50.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:36:50.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:36:50.005Z] Configure a credential helper to remove this warning. See [2024-07-04T03:36:50.005Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:36:50.005Z] [2024-07-04T03:36:50.005Z] Login Succeeded [2024-07-04T03:36:50.005Z] ****.io [2024-07-04T03:36:50.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:36:50.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:36:50.268Z] Configure a credential helper to remove this warning. See [2024-07-04T03:36:50.268Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:36:50.268Z] [2024-07-04T03:36:50.268Z] Login Succeeded [2024-07-04T03:36:50.268Z] ---> ****-login.sh ends [Pipeline] } [2024-07-04T03:36:50.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-04T03:36:51.033Z] + git rev-list -1 --merges c15011e21c833793caab455bb4f05a2375d87a75~1..c15011e21c833793caab455bb4f05a2375d87a75 [Pipeline] echo [2024-07-04T03:36:51.073Z] -----------> git rev-list -1 --merges c15011e21c833793caab455bb4f05a2375d87a75~1..c15011e21c833793caab455bb4f05a2375d87a75 c15011e21c833793caab455bb4f05a2375d87a75 [false] [Pipeline] sh [2024-07-04T03:36:51.399Z] + git log --format=format:%s -1 c15011e21c833793caab455bb4f05a2375d87a75 [Pipeline] echo [2024-07-04T03:36:51.445Z] ========================================================= [2024-07-04T03:36:51.445Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-04T03:36:51.445Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-04T03:36:51.931Z] + git log --format=format:%s -1 c15011e21c833793caab455bb4f05a2375d87a75 [Pipeline] echo [2024-07-04T03:36:51.973Z] [semverPrep] GIT_COMMIT: c15011e21c833793caab455bb4f05a2375d87a75, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-04T03:36:52.017Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-04T03:36:52.452Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-04T03:36:52.452Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-04T03:36:52.452Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-04T03:36:52.452Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-04T03:36:52.452Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-04T03:36:52.452Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-04T03:36:52.452Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:36:52.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-04T03:36:52.971Z] [2024-07-04T03:36:52.971Z] 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-04T03:36:53.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-04T03:36:53.378Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-04T03:36:53.378Z] b85a868b505f: Pulling fs layer [2024-07-04T03:36:53.378Z] e2be974225ed: Pulling fs layer [2024-07-04T03:36:53.378Z] 339a4e72a1f5: Pulling fs layer [2024-07-04T03:36:53.378Z] 988bab9f4d93: Pulling fs layer [2024-07-04T03:36:53.378Z] 1469e6f7b9e6: Pulling fs layer [2024-07-04T03:36:53.378Z] eaf3925da568: Pulling fs layer [2024-07-04T03:36:53.378Z] bab4dde63d76: Pulling fs layer [2024-07-04T03:36:53.378Z] bde34c3a00c8: Pulling fs layer [2024-07-04T03:36:53.378Z] b352a97aabf1: Pulling fs layer [2024-07-04T03:36:53.378Z] 4872d77fe225: Pulling fs layer [2024-07-04T03:36:53.378Z] 5851b861e8e6: Pulling fs layer [2024-07-04T03:36:53.378Z] bab4dde63d76: Waiting [2024-07-04T03:36:53.378Z] 4872d77fe225: Waiting [2024-07-04T03:36:53.378Z] bde34c3a00c8: Waiting [2024-07-04T03:36:53.378Z] b352a97aabf1: Waiting [2024-07-04T03:36:53.378Z] 1469e6f7b9e6: Waiting [2024-07-04T03:36:53.378Z] 5851b861e8e6: Waiting [2024-07-04T03:36:53.378Z] 988bab9f4d93: Waiting [2024-07-04T03:36:53.378Z] eaf3925da568: Waiting [2024-07-04T03:36:53.378Z] e2be974225ed: Verifying Checksum [2024-07-04T03:36:53.378Z] e2be974225ed: Download complete [2024-07-04T03:36:53.378Z] 988bab9f4d93: Verifying Checksum [2024-07-04T03:36:53.378Z] 988bab9f4d93: Download complete [2024-07-04T03:36:53.378Z] 1469e6f7b9e6: Verifying Checksum [2024-07-04T03:36:53.378Z] 1469e6f7b9e6: Download complete [2024-07-04T03:36:53.638Z] eaf3925da568: Download complete [2024-07-04T03:36:53.638Z] 339a4e72a1f5: Verifying Checksum [2024-07-04T03:36:53.638Z] 339a4e72a1f5: Download complete [2024-07-04T03:36:53.638Z] bde34c3a00c8: Download complete [2024-07-04T03:36:53.638Z] b352a97aabf1: Verifying Checksum [2024-07-04T03:36:53.638Z] b352a97aabf1: Download complete [2024-07-04T03:36:53.638Z] 4872d77fe225: Verifying Checksum [2024-07-04T03:36:53.638Z] 4872d77fe225: Download complete [2024-07-04T03:36:53.638Z] 5851b861e8e6: Download complete [2024-07-04T03:36:53.638Z] b85a868b505f: Verifying Checksum [2024-07-04T03:36:53.638Z] b85a868b505f: Download complete [2024-07-04T03:36:53.897Z] bab4dde63d76: Download complete [2024-07-04T03:36:54.835Z] b85a868b505f: Pull complete [2024-07-04T03:36:54.835Z] e2be974225ed: Pull complete [2024-07-04T03:36:55.404Z] 339a4e72a1f5: Pull complete [2024-07-04T03:36:55.404Z] 988bab9f4d93: Pull complete [2024-07-04T03:36:55.665Z] 1469e6f7b9e6: Pull complete [2024-07-04T03:36:55.665Z] eaf3925da568: Pull complete [2024-07-04T03:36:57.044Z] bab4dde63d76: Pull complete [2024-07-04T03:36:57.304Z] bde34c3a00c8: Pull complete [2024-07-04T03:36:57.304Z] b352a97aabf1: Pull complete [2024-07-04T03:36:57.304Z] 4872d77fe225: Pull complete [2024-07-04T03:36:57.563Z] 5851b861e8e6: Pull complete [2024-07-04T03:36:57.563Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-04T03:36:57.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-04T03:36:57.564Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T03:36:57.822Z] prd-ubuntu20.04-docker-8c-8g-4973 does not seem to be running inside a container [2024-07-04T03:36:57.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-443 -v /w/workspace/undry_device-onvif-camera_PR-443:/w/workspace/undry_device-onvif-camera_PR-443:rw,z -v /w/workspace/undry_device-onvif-camera_PR-443@tmp:/w/workspace/undry_device-onvif-camera_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-04T03:37:00.264Z] $ docker top 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-04T03:37:00.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-04T03:37:00.539Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-04T03:37:00.655Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-04T03:37:00.654Z] $ docker exec 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d ssh-agent [2024-07-04T03:37:00.758Z] SSH_AUTH_SOCK=/tmp/ssh-v6S5dgTfhchZ/agent.32 [2024-07-04T03:37:00.758Z] SSH_AGENT_PID=38 [2024-07-04T03:37:00.764Z] Running ssh-add (command line suppressed) [2024-07-04T03:37:00.878Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-443@tmp/private_key_5501642594813556053.key (/w/workspace/undry_device-onvif-camera_PR-443@tmp/private_key_5501642594813556053.key) [2024-07-04T03:37:00.895Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-04T03:37:01.245Z] + git tag --points-at HEAD [Pipeline] } [2024-07-04T03:37:01.272Z] $ docker exec --env ******** --env ******** 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d ssh-agent -k [2024-07-04T03:37:01.365Z] unset SSH_AUTH_SOCK; [2024-07-04T03:37:01.365Z] unset SSH_AGENT_PID; [2024-07-04T03:37:01.365Z] echo Agent pid 38 killed; [2024-07-04T03:37:01.378Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-04T03:37:01.507Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-04T03:37:01.508Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-04T03:37:01.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-04T03:37:01.626Z] $ docker exec 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d ssh-agent [2024-07-04T03:37:01.731Z] SSH_AUTH_SOCK=/tmp/ssh-Dq9umvc2C7iy/agent.71 [2024-07-04T03:37:01.731Z] SSH_AGENT_PID=77 [2024-07-04T03:37:01.735Z] Running ssh-add (command line suppressed) [2024-07-04T03:37:01.829Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-443@tmp/private_key_8496453417651838022.key (/w/workspace/undry_device-onvif-camera_PR-443@tmp/private_key_8496453417651838022.key) [2024-07-04T03:37:01.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-04T03:37:02.197Z] + git semver init [2024-07-04T03:37:02.456Z] 2024-07-04 03:37:02,353 [run_init] DEBUG init version:0.0.0 force:False [2024-07-04T03:37:02.456Z] 2024-07-04 03:37:02,354 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-443/.semver [2024-07-04T03:37:02.456Z] 2024-07-04 03:37:02,355 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-443/.semver [2024-07-04T03:37:02.456Z] 2024-07-04 03:37:02,355 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-443/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-443, universal_newlines=False, shell=None, istream=None) [2024-07-04T03:37:03.842Z] 2024-07-04 03:37:03,817 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-443/.git/info/exclude [2024-07-04T03:37:03.842Z] 2024-07-04 03:37:03,817 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-443/.semver/PR-443 with force:False [2024-07-04T03:37:03.842Z] 2024-07-04 03:37:03,817 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-443/.semver/PR-443 [2024-07-04T03:37:03.842Z] 2024-07-04 03:37:03,822 [execute] INFO git cat-file --batch-check [2024-07-04T03:37:03.842Z] 2024-07-04 03:37:03,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-443/.semver, universal_newlines=False, shell=None, istream=) [2024-07-04T03:37:03.842Z] 2024-07-04 03:37:03,828 [execute] INFO git cat-file --batch [2024-07-04T03:37:03.842Z] 2024-07-04 03:37:03,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-443/.semver, universal_newlines=False, shell=None, istream=) [2024-07-04T03:37:03.842Z] 2024-07-04 03:37:03,833 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-443/.semver/PR-443 [2024-07-04T03:37:03.842Z] 0.0.0 [Pipeline] } [2024-07-04T03:37:04.114Z] $ docker exec --env ******** --env ******** 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d ssh-agent -k [2024-07-04T03:37:04.217Z] unset SSH_AUTH_SOCK; [2024-07-04T03:37:04.217Z] unset SSH_AGENT_PID; [2024-07-04T03:37:04.217Z] echo Agent pid 77 killed; [2024-07-04T03:37:04.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-04T03:37:04.703Z] + git semver [Pipeline] } [2024-07-04T03:37:04.989Z] $ docker stop --time=1 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d [2024-07-04T03:37:06.250Z] $ docker rm -f --volumes 3caad522c47d49fbd4b422443cd35c329d56b3a7ac17b278eaafa7c39655fc6d [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-04T03:37:06.687Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-04T03:37:07.030Z] Stashed 1 file(s) [Pipeline] echo [2024-07-04T03:37:07.053Z] [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-04T03:37:07.785Z] provisioning config files... [2024-07-04T03:37:07.796Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-443@tmp/config15700207403529406942tmp [2024-07-04T03:37:07.804Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4985 in /w/workspace/undry_device-onvif-camera_PR-443 [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2024-07-04T03:37:07.982Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-07-04T03:37:08.074Z] The recommended git tool is: git [2024-07-04T03:37:08.191Z] ---> ****-login.sh [2024-07-04T03:37:08.191Z] nexus3.edgexfoundry.org:10001 [2024-07-04T03:37:08.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:37:08.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:37:08.191Z] Configure a credential helper to remove this warning. See [2024-07-04T03:37:08.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:37:08.191Z] [2024-07-04T03:37:08.191Z] Login Succeeded [2024-07-04T03:37:08.191Z] nexus3.edgexfoundry.org:10002 [2024-07-04T03:37:08.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:37:08.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:37:08.191Z] Configure a credential helper to remove this warning. See [2024-07-04T03:37:08.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:37:08.191Z] [2024-07-04T03:37:08.191Z] Login Succeeded [2024-07-04T03:37:08.191Z] nexus3.edgexfoundry.org:10003 [2024-07-04T03:37:08.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:37:08.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:37:08.450Z] Configure a credential helper to remove this warning. See [2024-07-04T03:37:08.450Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:37:08.450Z] [2024-07-04T03:37:08.450Z] Login Succeeded [2024-07-04T03:37:08.450Z] nexus3.edgexfoundry.org:10004 [2024-07-04T03:37:08.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:37:08.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:37:08.450Z] Configure a credential helper to remove this warning. See [2024-07-04T03:37:08.450Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:37:08.450Z] [2024-07-04T03:37:08.450Z] Login Succeeded [2024-07-04T03:37:08.450Z] ****.io [2024-07-04T03:37:08.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:37:08.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:37:08.710Z] Configure a credential helper to remove this warning. See [2024-07-04T03:37:08.710Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:37:08.710Z] [2024-07-04T03:37:08.710Z] Login Succeeded [2024-07-04T03:37:08.710Z] ---> ****-login.sh ends [Pipeline] } [2024-07-04T03:37:08.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-04T03:37:09.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-04T03:37:09.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-04T03:37:09.115Z] ========================================================= [2024-07-04T03:37:09.115Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-04T03:37:09.115Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:37:09.645Z] + 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-04T03:37:09.645Z] Sending build context to Docker daemon 36.6MB [2024-07-04T03:37:09.645Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-07-04T03:37:09.645Z] Step 2/13 : FROM ${BASE} AS builder [2024-07-04T03:37:09.904Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-04T03:37:09.904Z] 619be1103602: Pulling fs layer [2024-07-04T03:37:09.904Z] 7862e08f4a3e: Pulling fs layer [2024-07-04T03:37:09.904Z] 5df492c9dc93: Pulling fs layer [2024-07-04T03:37:09.904Z] 7629e6793208: Pulling fs layer [2024-07-04T03:37:09.904Z] 4f4fb700ef54: Pulling fs layer [2024-07-04T03:37:09.904Z] fb5054dd5b73: Pulling fs layer [2024-07-04T03:37:09.904Z] eeca6798cff9: Pulling fs layer [2024-07-04T03:37:09.904Z] aa269ceb94a6: Pulling fs layer [2024-07-04T03:37:09.904Z] ada007ff1a6a: Pulling fs layer [2024-07-04T03:37:09.904Z] 4f4fb700ef54: Waiting [2024-07-04T03:37:09.904Z] fb5054dd5b73: Waiting [2024-07-04T03:37:09.904Z] eeca6798cff9: Waiting [2024-07-04T03:37:09.904Z] 7629e6793208: Waiting [2024-07-04T03:37:09.904Z] aa269ceb94a6: Waiting [2024-07-04T03:37:09.904Z] ada007ff1a6a: Waiting [2024-07-04T03:37:09.904Z] 7862e08f4a3e: Verifying Checksum [2024-07-04T03:37:09.904Z] 7862e08f4a3e: Download complete [2024-07-04T03:37:09.904Z] 7629e6793208: Verifying Checksum [2024-07-04T03:37:09.904Z] 7629e6793208: Download complete [2024-07-04T03:37:09.904Z] 4f4fb700ef54: Verifying Checksum [2024-07-04T03:37:09.904Z] 4f4fb700ef54: Download complete [2024-07-04T03:37:09.904Z] fb5054dd5b73: Download complete [2024-07-04T03:37:09.904Z] 619be1103602: Verifying Checksum [2024-07-04T03:37:09.904Z] 619be1103602: Download complete [2024-07-04T03:37:09.904Z] eeca6798cff9: Download complete [2024-07-04T03:37:10.164Z] 619be1103602: Pull complete [2024-07-04T03:37:10.164Z] ada007ff1a6a: Verifying Checksum [2024-07-04T03:37:10.164Z] ada007ff1a6a: Download complete [2024-07-04T03:37:10.164Z] 7862e08f4a3e: Pull complete [2024-07-04T03:37:10.423Z] 5df492c9dc93: Download complete [2024-07-04T03:37:10.681Z] aa269ceb94a6: Verifying Checksum [2024-07-04T03:37:10.681Z] aa269ceb94a6: Download complete [2024-07-04T03:37:12.233Z] using credential edgex-jenkins-ssh [2024-07-04T03:37:12.255Z] Cloning the remote Git repository [2024-07-04T03:37:12.292Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-04T03:37:12.367Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-07-04T03:37:12.478Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-04T03:37:12.479Z] > git --version # timeout=10 [2024-07-04T03:37:12.503Z] > git --version # 'git version 2.25.1' [2024-07-04T03:37:12.505Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-04T03:37:12.635Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-04T03:37:13.210Z] 5df492c9dc93: Pull complete [2024-07-04T03:37:13.210Z] 7629e6793208: Pull complete [2024-07-04T03:37:13.210Z] 4f4fb700ef54: Pull complete [2024-07-04T03:37:13.210Z] fb5054dd5b73: Pull complete [2024-07-04T03:37:13.469Z] eeca6798cff9: Pull complete [2024-07-04T03:37:15.369Z] aa269ceb94a6: Pull complete [2024-07-04T03:37:15.082Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-07-04T03:37:15.110Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-04T03:37:15.936Z] ada007ff1a6a: Pull complete [2024-07-04T03:37:15.936Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-04T03:37:15.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-04T03:37:15.936Z] ---> f489d0715acc [2024-07-04T03:37:15.936Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-07-04T03:37:16.498Z] Merging remotes/origin/main commit 4403bb01aaef0144ea9be46ab10d7e2cec719e21 into PR head commit c15011e21c833793caab455bb4f05a2375d87a75 [2024-07-04T03:37:16.865Z] Merge succeeded, producing c15011e21c833793caab455bb4f05a2375d87a75 [2024-07-04T03:37:16.866Z] Checking out Revision c15011e21c833793caab455bb4f05a2375d87a75 (PR-443) [2024-07-04T03:37:15.943Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-07-04T03:37:15.983Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-07-04T03:37:15.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-04T03:37:16.005Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/443/head:refs/remotes/origin/PR-443 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-04T03:37:16.506Z] > git config core.sparsecheckout # timeout=10 [2024-07-04T03:37:16.558Z] > git checkout -f c15011e21c833793caab455bb4f05a2375d87a75 # timeout=10 [2024-07-04T03:37:16.735Z] > git remote # timeout=10 [2024-07-04T03:37:16.752Z] > git config --get remote.origin.url # timeout=10 [2024-07-04T03:37:16.782Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-04T03:37:16.800Z] > git merge 4403bb01aaef0144ea9be46ab10d7e2cec719e21 # timeout=10 [2024-07-04T03:37:16.839Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-04T03:37:16.864Z] > git config core.sparsecheckout # timeout=10 [2024-07-04T03:37:17.610Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-04T03:37:17.652Z] > git --version # timeout=10 [2024-07-04T03:37:17.667Z] > git --version # 'git version 2.25.1' [2024-07-04T03:37:17.682Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-04T03:37:16.878Z] > git checkout -f c15011e21c833793caab455bb4f05a2375d87a75 # timeout=10 [2024-07-04T03:37:20.132Z] ---> Running in 11dfc58b113c [2024-07-04T03:37:20.132Z] Removing intermediate container 11dfc58b113c [2024-07-04T03:37:20.132Z] ---> 58dca0cada09 [2024-07-04T03:37:20.132Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-04T03:37:20.132Z] ---> Running in a6fd13005369 [2024-07-04T03:37:20.392Z] Removing intermediate container a6fd13005369 [2024-07-04T03:37:20.392Z] ---> fc5e23a657a6 [2024-07-04T03:37:20.392Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-07-04T03:37:20.392Z] ---> Running in 01ba7b21b8eb [2024-07-04T03:37:20.392Z] Removing intermediate container 01ba7b21b8eb [2024-07-04T03:37:20.392Z] ---> 982b9d32a51d [2024-07-04T03:37:20.392Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-07-04T03:37:20.392Z] ---> Running in c7524d77defd [2024-07-04T03:37:20.652Z] Removing intermediate container c7524d77defd [2024-07-04T03:37:20.652Z] ---> 40006c374ac0 [2024-07-04T03:37:20.652Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-07-04T03:37:20.652Z] ---> Running in 0d9a5622a4ff [2024-07-04T03:37:20.652Z] Removing intermediate container 0d9a5622a4ff [2024-07-04T03:37:20.652Z] ---> 570e9f946a27 [2024-07-04T03:37:20.652Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-04T03:37:20.652Z] ---> Running in 6ca7dcf41773 [2024-07-04T03:37:20.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-04T03:37:21.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-04T03:37:21.431Z] OK: 264 MiB in 52 packages [2024-07-04T03:37:21.691Z] Removing intermediate container 6ca7dcf41773 [2024-07-04T03:37:21.691Z] ---> 41968c36582e [2024-07-04T03:37:21.691Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-07-04T03:37:21.691Z] ---> Running in bf33c46a3daa [2024-07-04T03:37:21.691Z] Removing intermediate container bf33c46a3daa [2024-07-04T03:37:21.691Z] ---> 2555b72b2c35 [2024-07-04T03:37:21.691Z] Step 10/13 : COPY go.mod vendor* ./ [2024-07-04T03:37:21.691Z] ---> aa63ac896d44 [2024-07-04T03:37:21.691Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-04T03:37:21.691Z] ---> Running in 5594b90f61df [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-04T03:37:22.550Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-04T03:37:22.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-04T03:37:22.550Z] Dload Upload Total Spent Left Speed [2024-07-04T03:37:22.550Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 87265 0 --:--:-- --:--:-- --:--:-- 87265 [Pipeline] sh [2024-07-04T03:37:22.907Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-04T03:37:23.262Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-04T03:37:23.263Z] + sudo tee /etc/docker/daemon.new [2024-07-04T03:37:23.263Z] { [2024-07-04T03:37:23.263Z] "registry-mirrors": [ [2024-07-04T03:37:23.263Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-04T03:37:23.263Z] ], [2024-07-04T03:37:23.263Z] "bip": "10.250.0.254/24", [2024-07-04T03:37:23.263Z] "hosts": [ [2024-07-04T03:37:23.263Z] "tcp://0.0.0.0:5555", [2024-07-04T03:37:23.263Z] "unix:///var/run/docker.sock" [2024-07-04T03:37:23.263Z] ], [2024-07-04T03:37:23.263Z] "mtu": 1458, [2024-07-04T03:37:23.263Z] "selinux-enabled": true, [2024-07-04T03:37:23.263Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-04T03:37:23.263Z] } [Pipeline] sh [2024-07-04T03:37:23.612Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-04T03:37:23.965Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-04T03:37:42.314Z] provisioning config files... [2024-07-04T03:37:42.343Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6977511813392332289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:37:42.943Z] ---> ****-login.sh [2024-07-04T03:37:42.943Z] nexus3.edgexfoundry.org:10001 [2024-07-04T03:37:43.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:37:43.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:37:43.633Z] Configure a credential helper to remove this warning. See [2024-07-04T03:37:43.633Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:37:43.633Z] [2024-07-04T03:37:43.633Z] Login Succeeded [2024-07-04T03:37:43.633Z] nexus3.edgexfoundry.org:10002 [2024-07-04T03:37:43.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:37:43.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:37:43.903Z] Configure a credential helper to remove this warning. See [2024-07-04T03:37:43.903Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:37:43.903Z] [2024-07-04T03:37:43.903Z] Login Succeeded [2024-07-04T03:37:43.903Z] nexus3.edgexfoundry.org:10003 [2024-07-04T03:37:44.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:37:44.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:37:44.172Z] Configure a credential helper to remove this warning. See [2024-07-04T03:37:44.172Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:37:44.172Z] [2024-07-04T03:37:44.172Z] Login Succeeded [2024-07-04T03:37:44.441Z] nexus3.edgexfoundry.org:10004 [2024-07-04T03:37:44.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:37:44.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:37:44.709Z] Configure a credential helper to remove this warning. See [2024-07-04T03:37:44.709Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:37:44.709Z] [2024-07-04T03:37:44.709Z] Login Succeeded [2024-07-04T03:37:44.709Z] ****.io [2024-07-04T03:37:44.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-04T03:37:45.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-04T03:37:45.245Z] Configure a credential helper to remove this warning. See [2024-07-04T03:37:45.245Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-04T03:37:45.245Z] [2024-07-04T03:37:45.245Z] Login Succeeded [2024-07-04T03:37:45.245Z] ---> ****-login.sh ends [Pipeline] } [2024-07-04T03:37:45.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-04T03:37:45.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-04T03:37:45.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-04T03:37:45.778Z] ========================================================= [2024-07-04T03:37:45.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-04T03:37:45.778Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:37:46.373Z] + 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-04T03:37:47.344Z] Sending build context to Docker daemon 21.71MB [2024-07-04T03:37:47.344Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-07-04T03:37:47.344Z] Step 2/13 : FROM ${BASE} AS builder [2024-07-04T03:37:47.344Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-04T03:37:47.344Z] c6b39de5b339: Pulling fs layer [2024-07-04T03:37:47.344Z] a69c41024577: Pulling fs layer [2024-07-04T03:37:47.344Z] d6de4b400683: Pulling fs layer [2024-07-04T03:37:47.344Z] 35cb2a7552d0: Pulling fs layer [2024-07-04T03:37:47.344Z] 4f4fb700ef54: Pulling fs layer [2024-07-04T03:37:47.344Z] 464afbd9ba4c: Pulling fs layer [2024-07-04T03:37:47.344Z] 00f215d4a9da: Pulling fs layer [2024-07-04T03:37:47.344Z] d496ad576159: Pulling fs layer [2024-07-04T03:37:47.344Z] 464afbd9ba4c: Waiting [2024-07-04T03:37:47.344Z] 00f215d4a9da: Waiting [2024-07-04T03:37:47.344Z] d496ad576159: Waiting [2024-07-04T03:37:47.344Z] 35cb2a7552d0: Waiting [2024-07-04T03:37:47.344Z] 4f4fb700ef54: Waiting [2024-07-04T03:37:47.344Z] a69c41024577: Verifying Checksum [2024-07-04T03:37:47.344Z] a69c41024577: Download complete [2024-07-04T03:37:47.344Z] 35cb2a7552d0: Verifying Checksum [2024-07-04T03:37:47.344Z] 35cb2a7552d0: Download complete [2024-07-04T03:37:47.620Z] 4f4fb700ef54: Verifying Checksum [2024-07-04T03:37:47.620Z] 4f4fb700ef54: Download complete [2024-07-04T03:37:47.620Z] c6b39de5b339: Download complete [2024-07-04T03:37:47.620Z] 464afbd9ba4c: Verifying Checksum [2024-07-04T03:37:47.620Z] 464afbd9ba4c: Download complete [2024-07-04T03:37:47.890Z] d496ad576159: Verifying Checksum [2024-07-04T03:37:47.890Z] d496ad576159: Download complete [2024-07-04T03:37:48.475Z] c6b39de5b339: Pull complete [2024-07-04T03:37:49.060Z] a69c41024577: Pull complete [2024-07-04T03:37:49.329Z] d6de4b400683: Verifying Checksum [2024-07-04T03:37:49.329Z] d6de4b400683: Download complete [2024-07-04T03:37:50.317Z] 00f215d4a9da: Verifying Checksum [2024-07-04T03:37:50.317Z] 00f215d4a9da: Download complete [2024-07-04T03:38:02.644Z] d6de4b400683: Pull complete [2024-07-04T03:38:02.645Z] 35cb2a7552d0: Pull complete [2024-07-04T03:38:02.645Z] 4f4fb700ef54: Pull complete [2024-07-04T03:38:02.645Z] 464afbd9ba4c: Pull complete [2024-07-04T03:38:10.879Z] 00f215d4a9da: Pull complete [2024-07-04T03:38:12.825Z] d496ad576159: Pull complete [2024-07-04T03:38:12.825Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-04T03:38:12.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-04T03:38:12.825Z] ---> f246e2811388 [2024-07-04T03:38:12.825Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-07-04T03:38:13.409Z] ---> Running in 5d79ba546083 [2024-07-04T03:38:13.677Z] Removing intermediate container 5d79ba546083 [2024-07-04T03:38:13.677Z] ---> e4e0db32e29d [2024-07-04T03:38:13.677Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-04T03:38:13.677Z] ---> Running in 5a567140b377 [2024-07-04T03:38:13.945Z] Removing intermediate container 5a567140b377 [2024-07-04T03:38:13.945Z] ---> 2f6499cc992f [2024-07-04T03:38:13.945Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-07-04T03:38:14.212Z] ---> Running in ab05595830f1 [2024-07-04T03:38:14.480Z] Removing intermediate container ab05595830f1 [2024-07-04T03:38:14.480Z] ---> d89aae73ed15 [2024-07-04T03:38:14.480Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-07-04T03:38:14.480Z] ---> Running in 84974acd6312 [2024-07-04T03:38:14.751Z] Removing intermediate container 84974acd6312 [2024-07-04T03:38:14.751Z] ---> f32d4db1887c [2024-07-04T03:38:14.751Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-07-04T03:38:14.751Z] ---> Running in aa86d645676d [2024-07-04T03:38:15.018Z] Removing intermediate container aa86d645676d [2024-07-04T03:38:15.018Z] ---> 40dc20b0183f [2024-07-04T03:38:15.018Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-04T03:38:15.287Z] ---> Running in bc92cca353f0 [2024-07-04T03:38:16.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-04T03:38:16.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-04T03:38:17.802Z] OK: 266 MiB in 52 packages [2024-07-04T03:38:18.395Z] Removing intermediate container bc92cca353f0 [2024-07-04T03:38:18.395Z] ---> e271c8454b7e [2024-07-04T03:38:18.395Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-07-04T03:38:18.395Z] ---> Running in 4927947894b5 [2024-07-04T03:38:18.663Z] Removing intermediate container 4927947894b5 [2024-07-04T03:38:18.663Z] ---> b92f158af79d [2024-07-04T03:38:18.663Z] Step 10/13 : COPY go.mod vendor* ./ [2024-07-04T03:38:19.248Z] ---> 4554afc736db [2024-07-04T03:38:19.248Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-04T03:38:19.248Z] ---> Running in 2208d221d4fa [2024-07-04T03:38:29.411Z] Removing intermediate container 5594b90f61df [2024-07-04T03:38:29.411Z] ---> b42d90955b6b [2024-07-04T03:38:29.411Z] Step 12/13 : COPY . . [2024-07-04T03:38:29.411Z] ---> 87f615fba66d [2024-07-04T03:38:29.411Z] Step 13/13 : RUN ${MAKE} [2024-07-04T03:38:29.411Z] ---> Running in e8151f9168c1 [2024-07-04T03:38:29.411Z] noop [2024-07-04T03:38:29.411Z] Removing intermediate container e8151f9168c1 [2024-07-04T03:38:29.411Z] ---> 295172dde2dc [2024-07-04T03:38:29.411Z] Successfully built 295172dde2dc [2024-07-04T03:38:29.411Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:38:29.939Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-04T03:38:29.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T03:38:30.187Z] prd-ubuntu20.04-docker-8c-8g-4973 does not seem to be running inside a container [2024-07-04T03:38:30.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-443 -v /w/workspace/undry_device-onvif-camera_PR-443:/w/workspace/undry_device-onvif-camera_PR-443:rw,z -v /w/workspace/undry_device-onvif-camera_PR-443@tmp:/w/workspace/undry_device-onvif-camera_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-04T03:38:30.561Z] $ docker top 8860b901571582cae1a3063402393c398cc0d21fb3fcfe22058444741f2d6900 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-04T03:38:31.015Z] + go version [2024-07-04T03:38:31.015Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-04T03:38:31.051Z] $ docker stop --time=1 8860b901571582cae1a3063402393c398cc0d21fb3fcfe22058444741f2d6900 [2024-07-04T03:38:32.325Z] $ docker rm -f --volumes 8860b901571582cae1a3063402393c398cc0d21fb3fcfe22058444741f2d6900 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:38:33.156Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-04T03:38:33.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T03:38:33.433Z] prd-ubuntu20.04-docker-8c-8g-4973 does not seem to be running inside a container [2024-07-04T03:38:33.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-443 -v /w/workspace/undry_device-onvif-camera_PR-443:/w/workspace/undry_device-onvif-camera_PR-443:rw,z -v /w/workspace/undry_device-onvif-camera_PR-443@tmp:/w/workspace/undry_device-onvif-camera_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-04T03:38:33.860Z] $ docker top 9bc7acb87c20e34ce05f7b40a3d002fdfda864b92c6cad4efd7a5891b192593b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-04T03:38:34.287Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-443 [Pipeline] fileExists [Pipeline] sh [2024-07-04T03:38:34.684Z] + make test [2024-07-04T03:38:34.684Z] go test ./... -coverprofile=coverage.out ./... [2024-07-04T03:38:36.588Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-07-04T03:38:54.686Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-07-04T03:38:54.686Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-07-04T03:38:56.596Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.030s coverage: 31.4% of statements [2024-07-04T03:38:56.856Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.207s coverage: 86.5% of statements [2024-07-04T03:39:09.074Z] go vet ./... [2024-07-04T03:39:13.267Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-04T03:39:13.267Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-04T03:39:13.524Z] ./bin/test-attribution-txt.sh [2024-07-04T03:39:13.524Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-04T03:39:13.524Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-04T03:39:13.580Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-04T03:39:13.621Z] $ docker stop --time=1 9bc7acb87c20e34ce05f7b40a3d002fdfda864b92c6cad4efd7a5891b192593b [2024-07-04T03:39:16.885Z] $ docker rm -f --volumes 9bc7acb87c20e34ce05f7b40a3d002fdfda864b92c6cad4efd7a5891b192593b [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-04T03:39:17.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-04T03:39:17.627Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-04T03:39:18.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-04T03:39:18.766Z] + ls -al . [2024-07-04T03:39:18.766Z] total 312 [2024-07-04T03:39:18.766Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 03:38 . [2024-07-04T03:39:18.766Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:36 .. [2024-07-04T03:39:18.766Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 03:38 .git [2024-07-04T03:39:18.766Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 03:36 .github [2024-07-04T03:39:18.766Z] -rw-rw-r-- 1 jenkins jenkins 493 Jul 4 03:36 .gitignore [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 4 03:36 .golangci.yml [2024-07-04T03:39:18.767Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 03:37 .semver [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 11155 Jul 4 03:36 Attribution.txt [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 17665 Jul 4 03:36 CHANGELOG.md [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 1683 Jul 4 03:36 Dockerfile [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 03:36 GOVERNANCE.md [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 739 Jul 4 03:36 Jenkinsfile [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 4 03:36 LICENSE [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 2883 Jul 4 03:36 Makefile [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 4 03:36 OWNERS.md [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jul 4 03:36 README.md [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 03:37 VERSION [2024-07-04T03:39:18.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 03:36 bin [2024-07-04T03:39:18.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 03:36 cmd [2024-07-04T03:39:18.767Z] -rw-r--r-- 1 jenkins jenkins 78805 Jul 4 03:38 coverage.out [2024-07-04T03:39:18.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:36 doc [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 7388 Jul 4 03:36 go.mod [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 102691 Jul 4 03:36 go.sum [2024-07-04T03:39:18.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:36 internal [2024-07-04T03:39:18.767Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 4 03:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:39:19.219Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c15011e21c833793caab455bb4f05a2375d87a75 --label arch=amd64 --label version=0.0.0 . [2024-07-04T03:39:19.220Z] Sending build context to Docker daemon 36.68MB [2024-07-04T03:39:19.220Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-07-04T03:39:19.220Z] Step 2/27 : FROM ${BASE} AS builder [2024-07-04T03:39:19.220Z] ---> 295172dde2dc [2024-07-04T03:39:19.220Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-07-04T03:39:19.788Z] ---> Running in 9f8301c7a363 [2024-07-04T03:39:19.788Z] Removing intermediate container 9f8301c7a363 [2024-07-04T03:39:19.788Z] ---> f5c893437706 [2024-07-04T03:39:19.788Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-04T03:39:19.788Z] ---> Running in bc59c180e2dd [2024-07-04T03:39:19.788Z] Removing intermediate container bc59c180e2dd [2024-07-04T03:39:19.788Z] ---> 383da7758dbc [2024-07-04T03:39:19.788Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-07-04T03:39:19.788Z] ---> Running in abc61c7eb4ef [2024-07-04T03:39:20.047Z] Removing intermediate container abc61c7eb4ef [2024-07-04T03:39:20.047Z] ---> 8299b9f8ae36 [2024-07-04T03:39:20.047Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-07-04T03:39:20.047Z] ---> Running in 95ed739fd20e [2024-07-04T03:39:20.047Z] Removing intermediate container 95ed739fd20e [2024-07-04T03:39:20.047Z] ---> fc0f4b1e4ace [2024-07-04T03:39:20.047Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-07-04T03:39:20.047Z] ---> Running in e33a88385d1e [2024-07-04T03:39:20.047Z] Removing intermediate container e33a88385d1e [2024-07-04T03:39:20.047Z] ---> 6e0d0b218924 [2024-07-04T03:39:20.047Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-04T03:39:20.047Z] ---> Running in 99eaeb9bc7a2 [2024-07-04T03:39:20.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-04T03:39:20.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-04T03:39:20.830Z] OK: 264 MiB in 52 packages [2024-07-04T03:39:21.089Z] Removing intermediate container 99eaeb9bc7a2 [2024-07-04T03:39:21.089Z] ---> 1fd87c061d02 [2024-07-04T03:39:21.089Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-07-04T03:39:21.089Z] ---> Running in 8917dd35f834 [2024-07-04T03:39:21.348Z] Removing intermediate container 8917dd35f834 [2024-07-04T03:39:21.348Z] ---> c9f92da49da5 [2024-07-04T03:39:21.348Z] Step 10/27 : COPY go.mod vendor* ./ [2024-07-04T03:39:21.348Z] ---> b19e2a82c22f [2024-07-04T03:39:21.348Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-04T03:39:21.348Z] ---> Running in caac5439d33a [2024-07-04T03:39:22.282Z] Removing intermediate container caac5439d33a [2024-07-04T03:39:22.282Z] ---> 151f3fd55907 [2024-07-04T03:39:22.282Z] Step 12/27 : COPY . . [2024-07-04T03:39:23.219Z] ---> 3ae25c9a2020 [2024-07-04T03:39:23.219Z] Step 13/27 : RUN ${MAKE} [2024-07-04T03:39:23.219Z] ---> Running in 00b4cb616cb5 [2024-07-04T03:39:23.478Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-07-04T03:39:55.559Z] Removing intermediate container 00b4cb616cb5 [2024-07-04T03:39:55.559Z] ---> 48ad726bb14b [2024-07-04T03:39:55.559Z] Step 14/27 : FROM alpine:3.18 [2024-07-04T03:39:55.559Z] 3.18: Pulling from library/alpine [2024-07-04T03:39:55.559Z] 73baa7ef167e: Pulling fs layer [2024-07-04T03:39:55.559Z] 73baa7ef167e: Download complete [2024-07-04T03:39:55.559Z] 73baa7ef167e: Pull complete [2024-07-04T03:39:55.559Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-04T03:39:55.559Z] Status: Downloaded newer image for alpine:3.18 [2024-07-04T03:39:55.559Z] ---> 8fd7cac70a4a [2024-07-04T03:39:55.559Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-07-04T03:39:55.559Z] ---> Running in a925f63b048c [2024-07-04T03:39:55.559Z] Removing intermediate container a925f63b048c [2024-07-04T03:39:55.559Z] ---> af8fa2a8bcad [2024-07-04T03:39:55.559Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-07-04T03:39:55.559Z] ---> Running in dde1a4b3191f [2024-07-04T03:39:55.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-04T03:39:55.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-04T03:39:55.559Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-04T03:39:55.559Z] Executing busybox-1.36.1-r7.trigger [2024-07-04T03:39:55.559Z] OK: 7 MiB in 16 packages [2024-07-04T03:39:55.559Z] Removing intermediate container dde1a4b3191f [2024-07-04T03:39:55.559Z] ---> ffbca6349ef2 [2024-07-04T03:39:55.559Z] Step 17/27 : RUN apk --no-cache upgrade [2024-07-04T03:39:55.559Z] ---> Running in 6db74221933f [2024-07-04T03:39:55.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-04T03:39:55.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-04T03:39:56.087Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-04T03:39:56.087Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-04T03:39:56.087Z] OK: 7 MiB in 16 packages [2024-07-04T03:39:56.703Z] Removing intermediate container 6db74221933f [2024-07-04T03:39:56.703Z] ---> f97bd0b4aeb7 [2024-07-04T03:39:56.703Z] Step 18/27 : WORKDIR / [2024-07-04T03:39:56.703Z] ---> Running in c1c0d8e114b1 [2024-07-04T03:39:56.703Z] Removing intermediate container c1c0d8e114b1 [2024-07-04T03:39:56.703Z] ---> 76af588741e9 [2024-07-04T03:39:56.703Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-07-04T03:39:57.642Z] ---> c0e65676ccc6 [2024-07-04T03:39:57.642Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-07-04T03:39:57.907Z] ---> 4072fb9d94a1 [2024-07-04T03:39:57.907Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-07-04T03:39:57.907Z] ---> 6771c9c023a5 [2024-07-04T03:39:57.907Z] Step 22/27 : EXPOSE 59984 [2024-07-04T03:39:57.907Z] ---> Running in b26dbcf31677 [2024-07-04T03:39:57.907Z] Removing intermediate container b26dbcf31677 [2024-07-04T03:39:57.907Z] ---> dcfd4f0cd4d6 [2024-07-04T03:39:57.907Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-07-04T03:39:57.907Z] ---> Running in d3e0028af2a5 [2024-07-04T03:39:58.165Z] Removing intermediate container d3e0028af2a5 [2024-07-04T03:39:58.165Z] ---> 19c87e627348 [2024-07-04T03:39:58.165Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-04T03:39:58.165Z] ---> Running in a4dd6d2092e9 [2024-07-04T03:39:58.165Z] Removing intermediate container a4dd6d2092e9 [2024-07-04T03:39:58.165Z] ---> e7fe81ee9a2e [2024-07-04T03:39:58.165Z] Step 25/27 : LABEL arch=amd64 [2024-07-04T03:39:58.165Z] ---> Running in df471ee7e0cf [2024-07-04T03:39:58.424Z] Removing intermediate container df471ee7e0cf [2024-07-04T03:39:58.424Z] ---> c52a3a12c5dc [2024-07-04T03:39:58.424Z] Step 26/27 : LABEL git_sha=c15011e21c833793caab455bb4f05a2375d87a75 [2024-07-04T03:39:58.424Z] ---> Running in 9b51566bf3a6 [2024-07-04T03:39:58.424Z] Removing intermediate container 9b51566bf3a6 [2024-07-04T03:39:58.424Z] ---> fed7db1eb989 [2024-07-04T03:39:58.424Z] Step 27/27 : LABEL version=0.0.0 [2024-07-04T03:39:58.424Z] ---> Running in 84449edad683 [2024-07-04T03:39:58.684Z] Removing intermediate container 84449edad683 [2024-07-04T03:39:58.684Z] ---> cc3413ceb839 [2024-07-04T03:39:58.684Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-04T03:39:58.684Z] Successfully built cc3413ceb839 [2024-07-04T03:39:58.684Z] 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-04T03:39:59.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-04T03:39:59.805Z] [2024-07-04T03:39:59.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:40:00.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-04T03:40:00.242Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-04T03:40:00.242Z] 5eb5b503b376: Pulling fs layer [2024-07-04T03:40:00.242Z] 5c69ac0246d0: Pulling fs layer [2024-07-04T03:40:00.242Z] ec43610c2a17: Pulling fs layer [2024-07-04T03:40:00.242Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-04T03:40:00.242Z] 33b1e0a273af: Pulling fs layer [2024-07-04T03:40:00.242Z] 5d3b04190fa2: Pulling fs layer [2024-07-04T03:40:00.242Z] 2f39f015ded8: Pulling fs layer [2024-07-04T03:40:00.242Z] 3a2ae6a8a46f: Waiting [2024-07-04T03:40:00.242Z] 33b1e0a273af: Waiting [2024-07-04T03:40:00.242Z] 5d3b04190fa2: Waiting [2024-07-04T03:40:00.242Z] 2f39f015ded8: Waiting [2024-07-04T03:40:00.242Z] 5c69ac0246d0: Download complete [2024-07-04T03:40:00.242Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-04T03:40:00.242Z] 3a2ae6a8a46f: Download complete [2024-07-04T03:40:00.242Z] 33b1e0a273af: Verifying Checksum [2024-07-04T03:40:00.242Z] 33b1e0a273af: Download complete [2024-07-04T03:40:00.242Z] 5d3b04190fa2: Verifying Checksum [2024-07-04T03:40:00.242Z] 5d3b04190fa2: Download complete [2024-07-04T03:40:00.242Z] ec43610c2a17: Verifying Checksum [2024-07-04T03:40:00.242Z] ec43610c2a17: Download complete [2024-07-04T03:40:00.501Z] 5eb5b503b376: Verifying Checksum [2024-07-04T03:40:00.501Z] 5eb5b503b376: Download complete [2024-07-04T03:40:01.080Z] 2f39f015ded8: Download complete [2024-07-04T03:40:01.658Z] 5eb5b503b376: Pull complete [2024-07-04T03:40:01.658Z] 5c69ac0246d0: Pull complete [2024-07-04T03:40:02.229Z] ec43610c2a17: Pull complete [2024-07-04T03:40:02.229Z] 3a2ae6a8a46f: Pull complete [2024-07-04T03:40:02.487Z] 33b1e0a273af: Pull complete [2024-07-04T03:40:02.487Z] 5d3b04190fa2: Pull complete [2024-07-04T03:40:06.686Z] 2f39f015ded8: Pull complete [2024-07-04T03:40:06.686Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-04T03:40:06.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-04T03:40:06.686Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T03:40:06.963Z] prd-ubuntu20.04-docker-8c-8g-4973 does not seem to be running inside a container [2024-07-04T03:40:06.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-443 -v /w/workspace/undry_device-onvif-camera_PR-443:/w/workspace/undry_device-onvif-camera_PR-443:rw,z -v /w/workspace/undry_device-onvif-camera_PR-443@tmp:/w/workspace/undry_device-onvif-camera_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-04T03:40:10.892Z] Removing intermediate container 2208d221d4fa [2024-07-04T03:40:10.892Z] ---> a49f403b08cf [2024-07-04T03:40:10.892Z] Step 12/13 : COPY . . [2024-07-04T03:40:10.892Z] ---> 9f686b54d1d6 [2024-07-04T03:40:10.892Z] Step 13/13 : RUN ${MAKE} [2024-07-04T03:40:10.892Z] ---> Running in 129e3fbc599f [2024-07-04T03:40:10.892Z] noop [2024-07-04T03:40:11.159Z] Removing intermediate container 129e3fbc599f [2024-07-04T03:40:11.159Z] ---> e541a118443c [2024-07-04T03:40:11.426Z] Successfully built e541a118443c [2024-07-04T03:40:11.426Z] Successfully tagged ci-base-image-arm64:latest [2024-07-04T03:40:11.487Z] $ docker top 2579db55470b132f6d05114d9552f784ce7208f03c3d4ec30de648f3522ac93c -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:40:12.083Z] ---> job-cost.sh [2024-07-04T03:40:12.083Z] lf-activate-venv: SKIPPING [2024-07-04T03:40:12.083Z] INFO: No Stack... [2024-07-04T03:40:12.315Z] + docker inspect -f . ci-base-image-arm64 [2024-07-04T03:40:12.315Z] . [2024-07-04T03:40:12.341Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T03:40:12.654Z] prd-ubuntu20.04-docker-arm64-4c-16g-4985 does not seem to be running inside a container [2024-07-04T03:40:12.724Z] $ 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-04T03:40:12.911Z] INFO: Archiving Costs [2024-07-04T03:40:13.934Z] $ docker top 29a1227a355bc748392d43f00236970df6cbfce6f5fb2fb73e61868c7a989078 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2024-07-04T03:40:14.525Z] + cat /w/workspace/undry_device-onvif-camera_PR-443/archives/cost.csv [2024-07-04T03:40:14.525Z] + cut -d, -f6 [Pipeline] lock [2024-07-04T03:40:14.593Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] [2024-07-04T03:40:14.601Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] did not exist. Created. [2024-07-04T03:40:14.609Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-04T03:40:14.930Z] + go version [2024-07-04T03:40:14.930Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-04T03:40:14.960Z] $ docker stop --time=1 29a1227a355bc748392d43f00236970df6cbfce6f5fb2fb73e61868c7a989078 [2024-07-04T03:40:15.028Z] + echo total: 0.4399999976158142 [2024-07-04T03:40:16.606Z] $ docker rm -f --volumes 29a1227a355bc748392d43f00236970df6cbfce6f5fb2fb73e61868c7a989078 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [2024-07-04T03:40:16.908Z] Stashed 1 file(s) [Pipeline] // script [Pipeline] } [Pipeline] } [2024-07-04T03:40:16.994Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] [Pipeline] // stage [Pipeline] // lock [Pipeline] } [2024-07-04T03:40:17.149Z] $ docker stop --time=1 2579db55470b132f6d05114d9552f784ce7208f03c3d4ec30de648f3522ac93c [2024-07-04T03:40:18.295Z] $ docker rm -f --volumes 2579db55470b132f6d05114d9552f784ce7208f03c3d4ec30de648f3522ac93c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:40:19.111Z] + docker inspect -f . ci-base-image-arm64 [2024-07-04T03:40:19.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T03:40:19.394Z] prd-ubuntu20.04-docker-arm64-4c-16g-4985 does not seem to be running inside a container [2024-07-04T03:40:19.446Z] $ 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-04T03:40:20.654Z] $ docker top 90f578d6b6c3b35667336d59ae63981bde96d5ac838e4d11cf1536208cf98a79 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-04T03:40:21.575Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-07-04T03:40:22.300Z] + make test [2024-07-04T03:40:22.300Z] go test ./... -coverprofile=coverage.out ./... [2024-07-04T03:40:27.643Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-07-04T03:43:49.418Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-07-04T03:43:49.418Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-07-04T03:43:50.003Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.192s coverage: 31.4% of statements [2024-07-04T03:44:16.706Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.275s coverage: 86.5% of statements [2024-07-04T03:44:16.706Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-04T03:44:16.706Z] go vet ./... [2024-07-04T03:45:03.529Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-04T03:45:03.529Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-04T03:45:03.529Z] ./bin/test-attribution-txt.sh [2024-07-04T03:45:03.529Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-04T03:45:03.529Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-04T03:45:03.530Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-04T03:45:03.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-04T03:45:03.608Z] $ docker stop --time=1 90f578d6b6c3b35667336d59ae63981bde96d5ac838e4d11cf1536208cf98a79 [2024-07-04T03:45:05.469Z] $ docker rm -f --volumes 90f578d6b6c3b35667336d59ae63981bde96d5ac838e4d11cf1536208cf98a79 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-04T03:45:07.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-04T03:45:07.157Z] Warning: overwriting stash ‘coverage-report’ [2024-07-04T03:45:07.641Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-04T03:45:08.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-04T03:45:08.597Z] + ls -al . [2024-07-04T03:45:08.597Z] total 308 [2024-07-04T03:45:08.597Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 03:40 . [2024-07-04T03:45:08.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:37 .. [2024-07-04T03:45:08.597Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 03:37 .git [2024-07-04T03:45:08.597Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 03:37 .github [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 493 Jul 4 03:37 .gitignore [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 4 03:37 .golangci.yml [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 11155 Jul 4 03:37 Attribution.txt [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 17665 Jul 4 03:37 CHANGELOG.md [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 1683 Jul 4 03:37 Dockerfile [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 03:37 GOVERNANCE.md [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 739 Jul 4 03:37 Jenkinsfile [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 4 03:37 LICENSE [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 2883 Jul 4 03:37 Makefile [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 4 03:37 OWNERS.md [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 2620 Jul 4 03:37 README.md [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 03:37 VERSION [2024-07-04T03:45:08.597Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 03:37 bin [2024-07-04T03:45:08.597Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 03:37 cmd [2024-07-04T03:45:08.597Z] -rw-r--r-- 1 jenkins jenkins 78805 Jul 4 03:44 coverage.out [2024-07-04T03:45:08.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:37 doc [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 7388 Jul 4 03:37 go.mod [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 102691 Jul 4 03:37 go.sum [2024-07-04T03:45:08.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 03:37 internal [2024-07-04T03:45:08.597Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 4 03:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:45:09.062Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c15011e21c833793caab455bb4f05a2375d87a75 --label arch=arm64 --label version=0.0.0 . [2024-07-04T03:45:09.643Z] Sending build context to Docker daemon 21.79MB [2024-07-04T03:45:09.643Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-07-04T03:45:09.643Z] Step 2/27 : FROM ${BASE} AS builder [2024-07-04T03:45:09.643Z] ---> e541a118443c [2024-07-04T03:45:09.643Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-07-04T03:45:09.907Z] ---> Running in b9821f2f323f [2024-07-04T03:45:10.180Z] Removing intermediate container b9821f2f323f [2024-07-04T03:45:10.181Z] ---> b7791479540c [2024-07-04T03:45:10.181Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-04T03:45:10.445Z] ---> Running in b8ee09c022a2 [2024-07-04T03:45:10.708Z] Removing intermediate container b8ee09c022a2 [2024-07-04T03:45:10.708Z] ---> 6a6ee55e4167 [2024-07-04T03:45:10.708Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-07-04T03:45:10.708Z] ---> Running in 71e822e52283 [2024-07-04T03:45:10.981Z] Removing intermediate container 71e822e52283 [2024-07-04T03:45:10.981Z] ---> bc0b3f9482ed [2024-07-04T03:45:10.981Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-07-04T03:45:10.981Z] ---> Running in 1d2a210ea3b6 [2024-07-04T03:45:11.246Z] Removing intermediate container 1d2a210ea3b6 [2024-07-04T03:45:11.246Z] ---> 6de066ae6e6f [2024-07-04T03:45:11.246Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-07-04T03:45:11.510Z] ---> Running in 4dc551bd98c2 [2024-07-04T03:45:11.775Z] Removing intermediate container 4dc551bd98c2 [2024-07-04T03:45:11.775Z] ---> 811669599124 [2024-07-04T03:45:11.775Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-04T03:45:11.775Z] ---> Running in 29545f700712 [2024-07-04T03:45:12.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-04T03:45:13.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-04T03:45:14.258Z] OK: 266 MiB in 52 packages [2024-07-04T03:45:14.844Z] Removing intermediate container 29545f700712 [2024-07-04T03:45:14.844Z] ---> 4ed3bbee9eb4 [2024-07-04T03:45:14.844Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-07-04T03:45:15.108Z] ---> Running in de72144c717a [2024-07-04T03:45:15.373Z] Removing intermediate container de72144c717a [2024-07-04T03:45:15.373Z] ---> b4f56ba0608a [2024-07-04T03:45:15.373Z] Step 10/27 : COPY go.mod vendor* ./ [2024-07-04T03:45:15.951Z] ---> 1d44c6700f30 [2024-07-04T03:45:15.951Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-04T03:45:15.951Z] ---> Running in 9e799b857a45 [2024-07-04T03:45:18.530Z] Removing intermediate container 9e799b857a45 [2024-07-04T03:45:18.530Z] ---> 345826fc70b9 [2024-07-04T03:45:18.530Z] Step 12/27 : COPY . . [2024-07-04T03:45:19.935Z] ---> def282a3713f [2024-07-04T03:45:19.935Z] Step 13/27 : RUN ${MAKE} [2024-07-04T03:45:19.935Z] ---> Running in b75d6a8cc864 [2024-07-04T03:45:20.895Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-07-04T03:48:42.662Z] Removing intermediate container b75d6a8cc864 [2024-07-04T03:48:42.662Z] ---> dbdc8c8f2554 [2024-07-04T03:48:42.662Z] Step 14/27 : FROM alpine:3.18 [2024-07-04T03:48:42.662Z] 3.18: Pulling from library/alpine [2024-07-04T03:48:42.662Z] 5c905c7ebe2f: Pulling fs layer [2024-07-04T03:48:42.662Z] 5c905c7ebe2f: Verifying Checksum [2024-07-04T03:48:42.662Z] 5c905c7ebe2f: Download complete [2024-07-04T03:48:42.662Z] 5c905c7ebe2f: Pull complete [2024-07-04T03:48:42.662Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-04T03:48:42.662Z] Status: Downloaded newer image for alpine:3.18 [2024-07-04T03:48:42.662Z] ---> dec292d02e07 [2024-07-04T03:48:42.662Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-07-04T03:48:42.662Z] ---> Running in 42339e8d0ce9 [2024-07-04T03:48:42.662Z] Removing intermediate container 42339e8d0ce9 [2024-07-04T03:48:42.662Z] ---> 80de7e3fd384 [2024-07-04T03:48:42.662Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-07-04T03:48:42.662Z] ---> Running in 5be493c0fd19 [2024-07-04T03:48:43.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-04T03:48:43.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-04T03:48:44.836Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-04T03:48:44.836Z] Executing busybox-1.36.1-r7.trigger [2024-07-04T03:48:44.836Z] OK: 8 MiB in 16 packages [2024-07-04T03:48:45.790Z] Removing intermediate container 5be493c0fd19 [2024-07-04T03:48:45.790Z] ---> b96dfcfd64ed [2024-07-04T03:48:45.790Z] Step 17/27 : RUN apk --no-cache upgrade [2024-07-04T03:48:45.790Z] ---> Running in 9dce53f38d81 [2024-07-04T03:48:46.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-04T03:48:46.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-04T03:48:47.544Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-04T03:48:47.811Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-04T03:48:47.811Z] OK: 8 MiB in 16 packages [2024-07-04T03:48:48.775Z] Removing intermediate container 9dce53f38d81 [2024-07-04T03:48:48.775Z] ---> 014979a47537 [2024-07-04T03:48:48.775Z] Step 18/27 : WORKDIR / [2024-07-04T03:48:48.775Z] ---> Running in 3536f9c30503 [2024-07-04T03:48:49.039Z] Removing intermediate container 3536f9c30503 [2024-07-04T03:48:49.039Z] ---> 5baa56c71806 [2024-07-04T03:48:49.039Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-07-04T03:48:50.448Z] ---> 9f340f551929 [2024-07-04T03:48:50.448Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-07-04T03:48:51.029Z] ---> 84d24fb4da6c [2024-07-04T03:48:51.029Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-07-04T03:48:51.614Z] ---> 9f26f62d70b0 [2024-07-04T03:48:51.614Z] Step 22/27 : EXPOSE 59984 [2024-07-04T03:48:51.614Z] ---> Running in dcb504635c7e [2024-07-04T03:48:51.879Z] Removing intermediate container dcb504635c7e [2024-07-04T03:48:51.880Z] ---> 999e1634fe2d [2024-07-04T03:48:51.880Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-07-04T03:48:51.880Z] ---> Running in c6644344e2be [2024-07-04T03:48:52.147Z] Removing intermediate container c6644344e2be [2024-07-04T03:48:52.147Z] ---> 8a93b4ae44da [2024-07-04T03:48:52.147Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-04T03:48:52.147Z] ---> Running in 212fbaa8e01d [2024-07-04T03:48:52.415Z] Removing intermediate container 212fbaa8e01d [2024-07-04T03:48:52.415Z] ---> f6ba8562c9f7 [2024-07-04T03:48:52.415Z] Step 25/27 : LABEL arch=arm64 [2024-07-04T03:48:52.683Z] ---> Running in 6f0156b721a3 [2024-07-04T03:48:52.954Z] Removing intermediate container 6f0156b721a3 [2024-07-04T03:48:52.954Z] ---> e5cac03591e0 [2024-07-04T03:48:52.954Z] Step 26/27 : LABEL git_sha=c15011e21c833793caab455bb4f05a2375d87a75 [2024-07-04T03:48:52.954Z] ---> Running in 4376c1132f8a [2024-07-04T03:48:53.222Z] Removing intermediate container 4376c1132f8a [2024-07-04T03:48:53.222Z] ---> 96e6fa299801 [2024-07-04T03:48:53.222Z] Step 27/27 : LABEL version=0.0.0 [2024-07-04T03:48:53.222Z] ---> Running in d2dff88f720d [2024-07-04T03:48:53.488Z] Removing intermediate container d2dff88f720d [2024-07-04T03:48:53.488Z] ---> f6a937bb60ac [2024-07-04T03:48:53.488Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-04T03:48:53.488Z] Successfully built f6a937bb60ac [2024-07-04T03:48:53.488Z] 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-04T03:48:54.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-04T03:48:54.445Z] [2024-07-04T03:48:54.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:48:54.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-04T03:48:54.867Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-04T03:48:54.867Z] 8998bd30e6a1: Pulling fs layer [2024-07-04T03:48:54.867Z] 04944245beec: Pulling fs layer [2024-07-04T03:48:54.867Z] 699f458cf7ca: Pulling fs layer [2024-07-04T03:48:54.867Z] 765212b225bb: Pulling fs layer [2024-07-04T03:48:54.867Z] f23df028b6ca: Pulling fs layer [2024-07-04T03:48:54.867Z] d65c8cfc05b1: Pulling fs layer [2024-07-04T03:48:54.867Z] 2437ff75d9bd: Pulling fs layer [2024-07-04T03:48:54.867Z] 765212b225bb: Waiting [2024-07-04T03:48:54.867Z] f23df028b6ca: Waiting [2024-07-04T03:48:54.867Z] d65c8cfc05b1: Waiting [2024-07-04T03:48:54.867Z] 2437ff75d9bd: Waiting [2024-07-04T03:48:55.134Z] 04944245beec: Verifying Checksum [2024-07-04T03:48:55.134Z] 04944245beec: Download complete [2024-07-04T03:48:55.134Z] 765212b225bb: Download complete [2024-07-04T03:48:55.134Z] f23df028b6ca: Verifying Checksum [2024-07-04T03:48:55.134Z] f23df028b6ca: Download complete [2024-07-04T03:48:55.134Z] d65c8cfc05b1: Verifying Checksum [2024-07-04T03:48:55.134Z] d65c8cfc05b1: Download complete [2024-07-04T03:48:55.134Z] 699f458cf7ca: Verifying Checksum [2024-07-04T03:48:55.134Z] 699f458cf7ca: Download complete [2024-07-04T03:48:55.712Z] 8998bd30e6a1: Verifying Checksum [2024-07-04T03:48:55.712Z] 8998bd30e6a1: Download complete [2024-07-04T03:48:58.297Z] 2437ff75d9bd: Verifying Checksum [2024-07-04T03:48:58.297Z] 2437ff75d9bd: Download complete [2024-07-04T03:49:00.246Z] 8998bd30e6a1: Pull complete [2024-07-04T03:49:00.518Z] 04944245beec: Pull complete [2024-07-04T03:49:02.471Z] 699f458cf7ca: Pull complete [2024-07-04T03:49:02.471Z] 765212b225bb: Pull complete [2024-07-04T03:49:03.433Z] f23df028b6ca: Pull complete [2024-07-04T03:49:03.433Z] d65c8cfc05b1: Pull complete [2024-07-04T03:49:21.640Z] 2437ff75d9bd: Pull complete [2024-07-04T03:49:21.640Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-04T03:49:21.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-04T03:49:21.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T03:49:22.121Z] prd-ubuntu20.04-docker-arm64-4c-16g-4985 does not seem to be running inside a container [2024-07-04T03:49:22.183Z] $ 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-04T03:49:24.860Z] $ docker top 346d4a388aebcc173649f9601fd2bf0f0f48b599d4ed3a05f8c74b1b23d2132b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:49:25.849Z] ---> job-cost.sh [2024-07-04T03:49:25.849Z] lf-activate-venv: SKIPPING [2024-07-04T03:49:25.849Z] INFO: No Stack... [2024-07-04T03:49:26.123Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-04T03:49:27.100Z] INFO: Archiving Costs [Pipeline] sh [2024-07-04T03:49:27.779Z] + cat+ /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-07-04T03:49:27.779Z] cut -d, -f6 [Pipeline] lock [2024-07-04T03:49:27.836Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] [2024-07-04T03:49:27.847Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] did not exist. Created. [2024-07-04T03:49:27.854Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-04T03:49:28.599Z] /w/workspace/device-onvif-camera/1@tmp/durable-aea627d9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-04T03:49:29.267Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-04T03:49:29.317Z] Warning: overwriting stash ‘stack-cost’ [2024-07-04T03:49:29.369Z] Stashed 1 file(s) [Pipeline] } [2024-07-04T03:49:29.392Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-443-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-04T03:49:29.483Z] $ docker stop --time=1 346d4a388aebcc173649f9601fd2bf0f0f48b599d4ed3a05f8c74b1b23d2132b [2024-07-04T03:49:30.983Z] $ docker rm -f --volumes 346d4a388aebcc173649f9601fd2bf0f0f48b599d4ed3a05f8c74b1b23d2132b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-07-04T03:49:32.171Z] provisioning config files... [2024-07-04T03:49:32.180Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-443@tmp/config1688555329376982415tmp [Pipeline] { [Pipeline] sh [2024-07-04T03:49:32.540Z] + set +x [2024-07-04T03:49:32.540Z] + curl -s https://codecov.io/bash [2024-07-04T03:49:32.540Z] + bash -s -- [2024-07-04T03:49:32.540Z] [2024-07-04T03:49:32.540Z] _____ _ [2024-07-04T03:49:32.540Z] / ____| | | [2024-07-04T03:49:32.540Z] | | ___ __| | ___ ___ _____ __ [2024-07-04T03:49:32.540Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-04T03:49:32.540Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-04T03:49:32.540Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-04T03:49:32.540Z] Bash-1.0.6 [2024-07-04T03:49:32.540Z] [2024-07-04T03:49:32.540Z] [2024-07-04T03:49:32.540Z] ==> git version 2.25.1 found [2024-07-04T03:49:32.799Z] ==> 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-04T03:49:32.799Z] Release-Date: 2020-01-08 [2024-07-04T03:49:32.799Z] 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-04T03:49:32.799Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-04T03:49:32.799Z] ==> Jenkins CI detected. [2024-07-04T03:49:32.799Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-443 [2024-07-04T03:49:32.799Z] project root: . [2024-07-04T03:49:32.799Z] --> token set from env [2024-07-04T03:49:32.799Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-04T03:49:32.799Z] ==> Running gcov in . (disable via -X gcov) [2024-07-04T03:49:32.799Z] ==> Python coveragepy not found [2024-07-04T03:49:32.799Z] ==> Searching for coverage reports in: [2024-07-04T03:49:32.799Z] + . [2024-07-04T03:49:32.799Z] -> Found 1 reports [2024-07-04T03:49:32.799Z] ==> Detecting git/mercurial file structure [2024-07-04T03:49:32.799Z] ==> Reading reports [2024-07-04T03:49:32.799Z] + ./coverage.out bytes=78805 [2024-07-04T03:49:32.799Z] ==> Appending adjustments [2024-07-04T03:49:32.799Z] https://docs.codecov.io/docs/fixing-reports [2024-07-04T03:49:33.081Z] + Found adjustments [2024-07-04T03:49:33.081Z] ==> Gzipping contents [2024-07-04T03:49:33.081Z] 12K /tmp/codecov.0Y3c63.gz [2024-07-04T03:49:33.081Z] ==> Uploading reports [2024-07-04T03:49:33.081Z] url: https://codecov.io [2024-07-04T03:49:33.081Z] query: branch=PR-443&commit=c15011e21c833793caab455bb4f05a2375d87a75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-443%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=443&job=&cmd_args= [2024-07-04T03:49:33.081Z] -> Pinging Codecov [2024-07-04T03:49:33.081Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-443&commit=c15011e21c833793caab455bb4f05a2375d87a75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-443%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=443&job=&cmd_args= [2024-07-04T03:49:33.081Z] -> Uploading to [2024-07-04T03:49:33.081Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-04/F29A59C45E3A92E06B3E522C9905F8EF/c15011e21c833793caab455bb4f05a2375d87a75/bc00276c-0a7a-4c1a-85d9-f81dc59ae667.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240704%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240704T034932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d04c2a6a6ca478aaa4be7eac0997ce8f871f93e1979b699069df8a9f178e657 [2024-07-04T03:49:33.081Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-04T03:49:33.081Z] Dload Upload Total Spent Left Speed [2024-07-04T03:49:33.340Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 42276 --:--:-- --:--:-- --:--:-- 42276 100 10400 0 0 100 10400 0 42276 --:--:-- --:--:-- --:--:-- 42105 [2024-07-04T03:49:33.340Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c15011e21c833793caab455bb4f05a2375d87a75 [Pipeline] } [2024-07-04T03:49:33.372Z] 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-04T03:49:35.663Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-443/archives ] [2024-07-04T03:49:35.663Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-443/archives [2024-07-04T03:49:35.663Z] total 16 [2024-07-04T03:49:35.663Z] drwxr-xr-x 3 root root 4096 Jul 4 03:40 . [2024-07-04T03:49:35.663Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 03:40 .. [2024-07-04T03:49:35.663Z] drwxr-xr-x 2 root root 4096 Jul 4 03:40 cost [2024-07-04T03:49:35.663Z] -rw-r--r-- 1 root root 92 Jul 4 03:40 cost.csv [2024-07-04T03:49:35.663Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-443/archives [2024-07-04T03:49:35.663Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-443/archives [2024-07-04T03:49:35.663Z] total 16 [2024-07-04T03:49:35.663Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 03:40 . [2024-07-04T03:49:35.663Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 03:40 .. [2024-07-04T03:49:35.663Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 03:40 cost [2024-07-04T03:49:35.663Z] -rw-r--r-- 1 jenkins jenkins 92 Jul 4 03:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:49:36.012Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:49:36.912Z] ---> package-listing.sh [2024-07-04T03:49:36.912Z] ++ facter osfamily [2024-07-04T03:49:36.912Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-04T03:49:37.171Z] + OS_FAMILY=debian [2024-07-04T03:49:37.171Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-443 [2024-07-04T03:49:37.171Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-04T03:49:37.171Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-04T03:49:37.171Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-04T03:49:37.171Z] + PACKAGES=/tmp/packages_start.txt [2024-07-04T03:49:37.171Z] + '[' /w/workspace/undry_device-onvif-camera_PR-443 ']' [2024-07-04T03:49:37.171Z] + PACKAGES=/tmp/packages_end.txt [2024-07-04T03:49:37.171Z] + case "${OS_FAMILY}" in [2024-07-04T03:49:37.171Z] + dpkg -l [2024-07-04T03:49:37.171Z] + grep '^ii' [2024-07-04T03:49:37.171Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-04T03:49:37.171Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-04T03:49:37.171Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-04T03:49:37.171Z] + '[' /w/workspace/undry_device-onvif-camera_PR-443 ']' [2024-07-04T03:49:37.171Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-443/archives/ [2024-07-04T03:49:37.171Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-443/archives/ [Pipeline] echo [2024-07-04T03:49:37.216Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-443/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-04T03:49:37.533Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-04T03:49:38.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-04T03:49:38.215Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-04T03:49:38.394Z] prd-ubuntu20.04-docker-8c-8g-4973 does not seem to be running inside a container [2024-07-04T03:49:38.423Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-443/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-443 -v /w/workspace/undry_device-onvif-camera_PR-443:/w/workspace/undry_device-onvif-camera_PR-443:rw,z -v /w/workspace/undry_device-onvif-camera_PR-443@tmp:/w/workspace/undry_device-onvif-camera_PR-443@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-04T03:49:38.594Z] $ docker top 7c8525e49f5e9b0dbe176fef180f6dbfe0eb07a5ed082882dd54ce61d339f7ec -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-04T03:49:39.012Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-04T03:49:39.349Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-04T03:49:39.669Z] + ls /var/log/sa-host [2024-07-04T03:49:39.669Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-04T03:49:39.950Z] provisioning config files... [2024-07-04T03:49:39.958Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-443@tmp/config7693776802777469218tmp [Pipeline] { [Pipeline] echo [2024-07-04T03:49:40.028Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:49:40.354Z] ---> create-netrc.sh [Pipeline] } [2024-07-04T03:49:40.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:49:40.824Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-04T03:49:40.867Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:49:41.202Z] ---> sudo-logs.sh [2024-07-04T03:49:41.202Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-04T03:49:41.316Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:49:41.640Z] ---> job-cost.sh [2024-07-04T03:49:41.640Z] lf-activate-venv: SKIPPING [2024-07-04T03:49:41.640Z] DEBUG: total: 0.4399999976158142 [2024-07-04T03:49:41.640Z] INFO: Retrieving Stack Cost... [2024-07-04T03:49:41.900Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-04T03:49:42.470Z] INFO: Archiving Costs [Pipeline] echo [2024-07-04T03:49:42.519Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-04T03:49:42.847Z] ---> logs-deploy.sh [2024-07-04T03:49:42.847Z] lf-activate-venv: SKIPPING [2024-07-04T03:49:42.847Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-443/1 [2024-07-04T03:49:42.847Z] INFO: archiving workspace using pattern(s): [2024-07-04T03:49:43.782Z] Archives upload complete. [2024-07-04T03:49:43.782Z] INFO: archiving logs to Nexus