Pull request #467 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b4533ba52c5353d32e7a99d516642162464194d4+a3fe8259587aa11f7b523c7492f95c227b9e7f60 (487de879f4f5868c619e328c0e7ef69385044089) 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-ssh11860701439327136493.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14349895320775869521.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-467/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-467/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14767370427852266577.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-467/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11576740005528861383.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11925418601846474045.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-467/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-467/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2525052679840389777.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23236 in /w/workspace/undry_device-onvif-camera_PR-467 [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-467 # 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/467/head:refs/remotes/origin/PR-467 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a3fe8259587aa11f7b523c7492f95c227b9e7f60 into PR head commit b4533ba52c5353d32e7a99d516642162464194d4 Merge succeeded, producing b4533ba52c5353d32e7a99d516642162464194d4 Checking out Revision b4533ba52c5353d32e7a99d516642162464194d4 (PR-467) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f b4533ba52c5353d32e7a99d516642162464194d4 # 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 a3fe8259587aa11f7b523c7492f95c227b9e7f60 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4533ba52c5353d32e7a99d516642162464194d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-18T03:09:55.574Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-18T03:09:55.783Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-18T03:09:55.893Z] ========================================================= [2024-10-18T03:09:55.894Z] EdgeX Global Pipelines Version Info [2024-10-18T03:09:55.894Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:09:56.645Z] ------------------- [2024-10-18T03:09:56.645Z] stable info: [2024-10-18T03:09:56.645Z] ------------------- [2024-10-18T03:09:56.645Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-18T03:09:56.645Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-18T03:09:56.645Z] Message: update stable to v1.0.265 [2024-10-18T03:09:57.214Z] ------------------- [2024-10-18T03:09:57.214Z] experimental info: [2024-10-18T03:09:57.214Z] ------------------- [2024-10-18T03:09:57.214Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-18T03:09:57.214Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-18T03:09:57.214Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-18T03:09:57.443Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-10-18T03:09:57.504Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-10-18T03:09:57.561Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-18T03:09:57.612Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-18T03:09:57.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-18T03:09:57.721Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-18T03:09:57.772Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-18T03:09:57.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-18T03:09:57.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-18T03:09:57.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-18T03:09:57.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-18T03:09:58.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-10-18T03:09:58.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-18T03:09:58.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-18T03:09:58.206Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-18T03:09:58.260Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-18T03:09:58.315Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-18T03:09:58.370Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-18T03:09:58.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-18T03:09:58.499Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-18T03:09:58.558Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-18T03:09:58.611Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-10-18T03:09:58.671Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-18T03:09:58.727Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-18T03:09:58.787Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-18T03:09:58.843Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-18T03:09:58.897Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-18T03:09:58.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-467 [Pipeline] echo [2024-10-18T03:09:59.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-467 [Pipeline] echo [2024-10-18T03:09:59.074Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-467 [Pipeline] echo [2024-10-18T03:09:59.129Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4533ba52c5353d32e7a99d516642162464194d4 [Pipeline] echo [2024-10-18T03:09:59.190Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4533ba [Pipeline] echo [2024-10-18T03:09:59.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T03:09:59.393Z] provisioning config files... [2024-10-18T03:09:59.409Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-467@tmp/config248003439311270109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:09:59.804Z] ---> ****-login.sh [2024-10-18T03:09:59.804Z] nexus3.edgexfoundry.org:10001 [2024-10-18T03:10:00.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:10:00.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:10:00.064Z] Configure a credential helper to remove this warning. See [2024-10-18T03:10:00.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:10:00.064Z] [2024-10-18T03:10:00.064Z] Login Succeeded [2024-10-18T03:10:00.065Z] nexus3.edgexfoundry.org:10002 [2024-10-18T03:10:00.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:10:00.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:10:00.065Z] Configure a credential helper to remove this warning. See [2024-10-18T03:10:00.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:10:00.065Z] [2024-10-18T03:10:00.065Z] Login Succeeded [2024-10-18T03:10:00.065Z] nexus3.edgexfoundry.org:10003 [2024-10-18T03:10:00.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:10:00.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:10:00.326Z] Configure a credential helper to remove this warning. See [2024-10-18T03:10:00.326Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:10:00.326Z] [2024-10-18T03:10:00.326Z] Login Succeeded [2024-10-18T03:10:00.326Z] nexus3.edgexfoundry.org:10004 [2024-10-18T03:10:00.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:10:00.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:10:00.326Z] Configure a credential helper to remove this warning. See [2024-10-18T03:10:00.326Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:10:00.326Z] [2024-10-18T03:10:00.326Z] Login Succeeded [2024-10-18T03:10:00.326Z] ****.io [2024-10-18T03:10:00.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:10:00.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:10:00.846Z] Configure a credential helper to remove this warning. See [2024-10-18T03:10:00.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:10:00.846Z] [2024-10-18T03:10:00.846Z] Login Succeeded [2024-10-18T03:10:00.846Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T03:10:00.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-18T03:10:01.594Z] + git rev-list -1 --merges b4533ba52c5353d32e7a99d516642162464194d4~1..b4533ba52c5353d32e7a99d516642162464194d4 [Pipeline] echo [2024-10-18T03:10:01.646Z] -----------> git rev-list -1 --merges b4533ba52c5353d32e7a99d516642162464194d4~1..b4533ba52c5353d32e7a99d516642162464194d4 b4533ba52c5353d32e7a99d516642162464194d4 [false] [Pipeline] sh [2024-10-18T03:10:01.960Z] + git log --format=format:%s -1 b4533ba52c5353d32e7a99d516642162464194d4 [Pipeline] echo [2024-10-18T03:10:02.001Z] ========================================================= [2024-10-18T03:10:02.001Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-18T03:10:02.001Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T03:10:02.459Z] + git log --format=format:%s -1 b4533ba52c5353d32e7a99d516642162464194d4 [Pipeline] echo [2024-10-18T03:10:02.500Z] [semverPrep] GIT_COMMIT: b4533ba52c5353d32e7a99d516642162464194d4, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-18T03:10:02.546Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-18T03:10:02.952Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-18T03:10:02.953Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-18T03:10:02.953Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-18T03:10:02.953Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-18T03:10:02.953Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-18T03:10:02.953Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-18T03:10:02.953Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:10:03.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T03:10:03.426Z] [2024-10-18T03:10:03.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:10:03.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T03:10:03.879Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-18T03:10:03.879Z] b85a868b505f: Pulling fs layer [2024-10-18T03:10:03.879Z] e2be974225ed: Pulling fs layer [2024-10-18T03:10:03.879Z] 339a4e72a1f5: Pulling fs layer [2024-10-18T03:10:03.879Z] 988bab9f4d93: Pulling fs layer [2024-10-18T03:10:03.879Z] 1469e6f7b9e6: Pulling fs layer [2024-10-18T03:10:03.879Z] eaf3925da568: Pulling fs layer [2024-10-18T03:10:03.879Z] bab4dde63d76: Pulling fs layer [2024-10-18T03:10:03.879Z] bde34c3a00c8: Pulling fs layer [2024-10-18T03:10:03.879Z] b352a97aabf1: Pulling fs layer [2024-10-18T03:10:03.879Z] 4872d77fe225: Pulling fs layer [2024-10-18T03:10:03.879Z] 5851b861e8e6: Pulling fs layer [2024-10-18T03:10:03.879Z] eaf3925da568: Waiting [2024-10-18T03:10:03.879Z] bab4dde63d76: Waiting [2024-10-18T03:10:03.879Z] bde34c3a00c8: Waiting [2024-10-18T03:10:03.879Z] b352a97aabf1: Waiting [2024-10-18T03:10:03.879Z] 4872d77fe225: Waiting [2024-10-18T03:10:03.879Z] 5851b861e8e6: Waiting [2024-10-18T03:10:03.879Z] 988bab9f4d93: Waiting [2024-10-18T03:10:03.879Z] 1469e6f7b9e6: Waiting [2024-10-18T03:10:03.879Z] e2be974225ed: Download complete [2024-10-18T03:10:03.879Z] 988bab9f4d93: Verifying Checksum [2024-10-18T03:10:03.879Z] 988bab9f4d93: Download complete [2024-10-18T03:10:03.879Z] 1469e6f7b9e6: Verifying Checksum [2024-10-18T03:10:03.879Z] 1469e6f7b9e6: Download complete [2024-10-18T03:10:03.879Z] 339a4e72a1f5: Verifying Checksum [2024-10-18T03:10:03.879Z] 339a4e72a1f5: Download complete [2024-10-18T03:10:04.139Z] eaf3925da568: Download complete [2024-10-18T03:10:04.139Z] bde34c3a00c8: Verifying Checksum [2024-10-18T03:10:04.139Z] bde34c3a00c8: Download complete [2024-10-18T03:10:04.139Z] b352a97aabf1: Verifying Checksum [2024-10-18T03:10:04.139Z] b352a97aabf1: Download complete [2024-10-18T03:10:04.139Z] 4872d77fe225: Verifying Checksum [2024-10-18T03:10:04.139Z] 4872d77fe225: Download complete [2024-10-18T03:10:04.139Z] 5851b861e8e6: Verifying Checksum [2024-10-18T03:10:04.139Z] 5851b861e8e6: Download complete [2024-10-18T03:10:04.139Z] b85a868b505f: Download complete [2024-10-18T03:10:04.404Z] bab4dde63d76: Verifying Checksum [2024-10-18T03:10:04.404Z] bab4dde63d76: Download complete [2024-10-18T03:10:05.340Z] b85a868b505f: Pull complete [2024-10-18T03:10:05.340Z] e2be974225ed: Pull complete [2024-10-18T03:10:05.601Z] 339a4e72a1f5: Pull complete [2024-10-18T03:10:05.864Z] 988bab9f4d93: Pull complete [2024-10-18T03:10:05.864Z] 1469e6f7b9e6: Pull complete [2024-10-18T03:10:06.123Z] eaf3925da568: Pull complete [2024-10-18T03:10:07.501Z] bab4dde63d76: Pull complete [2024-10-18T03:10:07.761Z] bde34c3a00c8: Pull complete [2024-10-18T03:10:07.761Z] b352a97aabf1: Pull complete [2024-10-18T03:10:07.761Z] 4872d77fe225: Pull complete [2024-10-18T03:10:08.023Z] 5851b861e8e6: Pull complete [2024-10-18T03:10:08.023Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-18T03:10:08.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-18T03:10:08.023Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:10:08.315Z] prd-ubuntu20.04-docker-8c-8g-23236 does not seem to be running inside a container [2024-10-18T03:10:08.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-467 -v /w/workspace/undry_device-onvif-camera_PR-467:/w/workspace/undry_device-onvif-camera_PR-467:rw,z -v /w/workspace/undry_device-onvif-camera_PR-467@tmp:/w/workspace/undry_device-onvif-camera_PR-467@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-18T03:10:11.022Z] $ docker top 1375330956d05c921c55335d8864d4e155e4c67407dff1d4e8320c87b985ee39 -eo pid,comm [2024-10-18T03:10:11.074Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-18T03:10:11.075Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-18T03:10:11.240Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T03:10:11.240Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T03:10:11.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T03:10:11.351Z] $ docker exec 1375330956d05c921c55335d8864d4e155e4c67407dff1d4e8320c87b985ee39 ssh-agent [2024-10-18T03:10:11.456Z] SSH_AUTH_SOCK=/tmp/ssh-axQaGBbT6ANS/agent.33 [2024-10-18T03:10:11.457Z] SSH_AGENT_PID=39 [2024-10-18T03:10:11.462Z] Running ssh-add (command line suppressed) [2024-10-18T03:10:11.570Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-467@tmp/private_key_8174185116292227369.key (/w/workspace/undry_device-onvif-camera_PR-467@tmp/private_key_8174185116292227369.key) [2024-10-18T03:10:11.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T03:10:11.922Z] + git tag --points-at HEAD [Pipeline] } [2024-10-18T03:10:11.951Z] $ docker exec --env ******** --env ******** 1375330956d05c921c55335d8864d4e155e4c67407dff1d4e8320c87b985ee39 ssh-agent -k [2024-10-18T03:10:12.048Z] unset SSH_AUTH_SOCK; [2024-10-18T03:10:12.048Z] unset SSH_AGENT_PID; [2024-10-18T03:10:12.049Z] echo Agent pid 39 killed; [2024-10-18T03:10:12.058Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-18T03:10:12.170Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-18T03:10:12.170Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-18T03:10:12.274Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-18T03:10:12.276Z] $ docker exec 1375330956d05c921c55335d8864d4e155e4c67407dff1d4e8320c87b985ee39 ssh-agent [2024-10-18T03:10:12.391Z] SSH_AUTH_SOCK=/tmp/ssh-PfwSqrbKJlJA/agent.72 [2024-10-18T03:10:12.391Z] SSH_AGENT_PID=78 [2024-10-18T03:10:12.395Z] Running ssh-add (command line suppressed) [2024-10-18T03:10:12.496Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-467@tmp/private_key_7715683614570350425.key (/w/workspace/undry_device-onvif-camera_PR-467@tmp/private_key_7715683614570350425.key) [2024-10-18T03:10:12.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-18T03:10:12.861Z] + git semver init [2024-10-18T03:10:13.120Z] 2024-10-18 03:10:13,040 [run_init] DEBUG init version:0.0.0 force:False [2024-10-18T03:10:13.120Z] 2024-10-18 03:10:13,041 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-467/.semver [2024-10-18T03:10:13.120Z] 2024-10-18 03:10:13,042 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-467/.semver [2024-10-18T03:10:13.120Z] 2024-10-18 03:10:13,042 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-467/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-467, universal_newlines=False, shell=None, istream=None) [2024-10-18T03:10:14.496Z] 2024-10-18 03:10:14,230 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-467/.git/info/exclude [2024-10-18T03:10:14.496Z] 2024-10-18 03:10:14,231 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-467/.semver/PR-467 with force:False [2024-10-18T03:10:14.496Z] 2024-10-18 03:10:14,231 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-467/.semver/PR-467 [2024-10-18T03:10:14.496Z] 2024-10-18 03:10:14,235 [execute] INFO git cat-file --batch-check [2024-10-18T03:10:14.496Z] 2024-10-18 03:10:14,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-467/.semver, universal_newlines=False, shell=None, istream=) [2024-10-18T03:10:14.496Z] 2024-10-18 03:10:14,240 [execute] INFO git cat-file --batch [2024-10-18T03:10:14.496Z] 2024-10-18 03:10:14,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-467/.semver, universal_newlines=False, shell=None, istream=) [2024-10-18T03:10:14.496Z] 2024-10-18 03:10:14,244 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-467/.semver/PR-467 [2024-10-18T03:10:14.496Z] 0.0.0 [Pipeline] } [2024-10-18T03:10:14.523Z] $ docker exec --env ******** --env ******** 1375330956d05c921c55335d8864d4e155e4c67407dff1d4e8320c87b985ee39 ssh-agent -k [2024-10-18T03:10:14.616Z] unset SSH_AUTH_SOCK; [2024-10-18T03:10:14.617Z] unset SSH_AGENT_PID; [2024-10-18T03:10:14.617Z] echo Agent pid 78 killed; [2024-10-18T03:10:14.626Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-18T03:10:15.086Z] + git semver [Pipeline] } [2024-10-18T03:10:15.372Z] $ docker stop --time=1 1375330956d05c921c55335d8864d4e155e4c67407dff1d4e8320c87b985ee39 [2024-10-18T03:10:16.677Z] $ docker rm -f --volumes 1375330956d05c921c55335d8864d4e155e4c67407dff1d4e8320c87b985ee39 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-18T03:10:17.094Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-18T03:10:17.407Z] Stashed 1 file(s) [Pipeline] echo [2024-10-18T03:10:17.432Z] [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-10-18T03:10:18.135Z] provisioning config files... [2024-10-18T03:10:18.147Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-467@tmp/config2899918028849832850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:10:18.513Z] ---> ****-login.sh [2024-10-18T03:10:18.513Z] nexus3.edgexfoundry.org:10001 [2024-10-18T03:10:18.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:10:18.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:10:18.514Z] Configure a credential helper to remove this warning. See [2024-10-18T03:10:18.514Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:10:18.514Z] [2024-10-18T03:10:18.514Z] Login Succeeded [2024-10-18T03:10:18.514Z] nexus3.edgexfoundry.org:10002 [2024-10-18T03:10:18.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:10:18.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:10:18.514Z] Configure a credential helper to remove this warning. See [2024-10-18T03:10:18.514Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:10:18.514Z] [2024-10-18T03:10:18.514Z] Login Succeeded [2024-10-18T03:10:18.514Z] nexus3.edgexfoundry.org:10003 [2024-10-18T03:10:18.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:10:18.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:10:18.775Z] Configure a credential helper to remove this warning. See [2024-10-18T03:10:18.775Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:10:18.775Z] [2024-10-18T03:10:18.775Z] Login Succeeded [2024-10-18T03:10:18.775Z] nexus3.edgexfoundry.org:10004 [2024-10-18T03:10:18.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:10:18.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:10:18.775Z] Configure a credential helper to remove this warning. See [2024-10-18T03:10:18.775Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:10:18.775Z] [2024-10-18T03:10:18.775Z] Login Succeeded [2024-10-18T03:10:18.775Z] ****.io [2024-10-18T03:10:19.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:10:19.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:10:19.039Z] Configure a credential helper to remove this warning. See [2024-10-18T03:10:19.039Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:10:19.039Z] [2024-10-18T03:10:19.039Z] Login Succeeded [2024-10-18T03:10:19.039Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T03:10:19.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-18T03:10:19.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T03:10:19.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T03:10:19.399Z] ========================================================= [2024-10-18T03:10:19.399Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-18T03:10:19.399Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:10:19.922Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-18T03:10:19.922Z] Sending build context to Docker daemon 36.75MB [2024-10-18T03:10:19.922Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T03:10:19.922Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-18T03:10:20.180Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-18T03:10:20.180Z] 43c4264eed91: Pulling fs layer [2024-10-18T03:10:20.180Z] 4cc291be95ef: Pulling fs layer [2024-10-18T03:10:20.180Z] 2ac1f1163629: Pulling fs layer [2024-10-18T03:10:20.180Z] 5c3c966382ef: Pulling fs layer [2024-10-18T03:10:20.180Z] 4f4fb700ef54: Pulling fs layer [2024-10-18T03:10:20.180Z] 5d5c8e513c77: Pulling fs layer [2024-10-18T03:10:20.180Z] 9f66e0745190: Pulling fs layer [2024-10-18T03:10:20.180Z] f49a43e4bbc0: Pulling fs layer [2024-10-18T03:10:20.180Z] 561ebcabdf7f: Pulling fs layer [2024-10-18T03:10:20.180Z] 5c3c966382ef: Waiting [2024-10-18T03:10:20.180Z] 4f4fb700ef54: Waiting [2024-10-18T03:10:20.180Z] 5d5c8e513c77: Waiting [2024-10-18T03:10:20.180Z] 9f66e0745190: Waiting [2024-10-18T03:10:20.180Z] 561ebcabdf7f: Waiting [2024-10-18T03:10:20.180Z] f49a43e4bbc0: Waiting [2024-10-18T03:10:20.180Z] 4cc291be95ef: Verifying Checksum [2024-10-18T03:10:20.180Z] 4cc291be95ef: Download complete [2024-10-18T03:10:20.180Z] 5c3c966382ef: Verifying Checksum [2024-10-18T03:10:20.180Z] 5c3c966382ef: Download complete [2024-10-18T03:10:20.181Z] 4f4fb700ef54: Download complete [2024-10-18T03:10:20.181Z] 5d5c8e513c77: Verifying Checksum [2024-10-18T03:10:20.181Z] 5d5c8e513c77: Download complete [2024-10-18T03:10:20.181Z] 43c4264eed91: Verifying Checksum [2024-10-18T03:10:20.181Z] 43c4264eed91: Download complete [2024-10-18T03:10:20.181Z] 9f66e0745190: Verifying Checksum [2024-10-18T03:10:20.181Z] 9f66e0745190: Download complete [2024-10-18T03:10:20.440Z] 43c4264eed91: Pull complete [2024-10-18T03:10:20.440Z] 4cc291be95ef: Pull complete [2024-10-18T03:10:20.440Z] 561ebcabdf7f: Verifying Checksum [2024-10-18T03:10:20.440Z] 561ebcabdf7f: Download complete [2024-10-18T03:10:20.699Z] 2ac1f1163629: Verifying Checksum [2024-10-18T03:10:20.699Z] 2ac1f1163629: Download complete [2024-10-18T03:10:20.958Z] f49a43e4bbc0: Verifying Checksum [2024-10-18T03:10:20.959Z] f49a43e4bbc0: Download complete [2024-10-18T03:10:24.270Z] 2ac1f1163629: Pull complete [2024-10-18T03:10:24.270Z] 5c3c966382ef: Pull complete [2024-10-18T03:10:24.270Z] 4f4fb700ef54: Pull complete [2024-10-18T03:10:24.270Z] 5d5c8e513c77: Pull complete [2024-10-18T03:10:24.270Z] 9f66e0745190: Pull complete [2024-10-18T03:10:26.813Z] f49a43e4bbc0: Pull complete [2024-10-18T03:10:26.813Z] 561ebcabdf7f: Pull complete [2024-10-18T03:10:26.813Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-18T03:10:26.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-18T03:10:26.813Z] ---> 3a752c3f9dda [2024-10-18T03:10:26.813Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-18T03:10:31.008Z] ---> Running in ed32d2066a14 [2024-10-18T03:10:31.008Z] Removing intermediate container ed32d2066a14 [2024-10-18T03:10:31.008Z] ---> c14a61717085 [2024-10-18T03:10:31.008Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T03:10:31.008Z] ---> Running in 674e560f7529 [2024-10-18T03:10:31.008Z] Removing intermediate container 674e560f7529 [2024-10-18T03:10:31.008Z] ---> 8f5745f5fb71 [2024-10-18T03:10:31.008Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T03:10:31.008Z] ---> Running in e6865b7aba38 [2024-10-18T03:10:31.008Z] Removing intermediate container e6865b7aba38 [2024-10-18T03:10:31.008Z] ---> 10c2f77d3087 [2024-10-18T03:10:31.008Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T03:10:31.008Z] ---> Running in 6358d28904dc [2024-10-18T03:10:31.008Z] Removing intermediate container 6358d28904dc [2024-10-18T03:10:31.008Z] ---> d169045eae00 [2024-10-18T03:10:31.008Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-18T03:10:31.008Z] ---> Running in 06f11ec17f37 [2024-10-18T03:10:31.008Z] Removing intermediate container 06f11ec17f37 [2024-10-18T03:10:31.008Z] ---> ff4f8e0ec59c [2024-10-18T03:10:31.008Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T03:10:31.008Z] ---> Running in 18e054019fd6 [2024-10-18T03:10:31.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T03:10:31.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T03:10:31.528Z] OK: 246 MiB in 54 packages [2024-10-18T03:10:31.788Z] Removing intermediate container 18e054019fd6 [2024-10-18T03:10:31.788Z] ---> 1a2a75127a85 [2024-10-18T03:10:31.788Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-18T03:10:31.788Z] ---> Running in 564c0dcce379 [2024-10-18T03:10:32.047Z] Removing intermediate container 564c0dcce379 [2024-10-18T03:10:32.047Z] ---> f23499e1ee12 [2024-10-18T03:10:32.047Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-18T03:10:32.047Z] ---> 1ea19174885c [2024-10-18T03:10:32.047Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T03:10:32.047Z] ---> Running in cccc52cf9385 [2024-10-18T03:10:32.932Z] Still waiting to schedule task [2024-10-18T03:10:32.932Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-18T03:11:28.312Z] Removing intermediate container cccc52cf9385 [2024-10-18T03:11:28.312Z] ---> 9dfe38bb3139 [2024-10-18T03:11:28.312Z] Step 12/13 : COPY . . [2024-10-18T03:11:28.312Z] ---> ae88f0443604 [2024-10-18T03:11:28.312Z] Step 13/13 : RUN ${MAKE} [2024-10-18T03:11:28.312Z] ---> Running in b864ad2932d3 [2024-10-18T03:11:28.312Z] noop [2024-10-18T03:11:28.312Z] Removing intermediate container b864ad2932d3 [2024-10-18T03:11:28.312Z] ---> d406b1101982 [2024-10-18T03:11:28.312Z] Successfully built d406b1101982 [2024-10-18T03:11:28.312Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:11:28.824Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-18T03:11:28.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:11:28.994Z] prd-ubuntu20.04-docker-8c-8g-23236 does not seem to be running inside a container [2024-10-18T03:11:29.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-467 -v /w/workspace/undry_device-onvif-camera_PR-467:/w/workspace/undry_device-onvif-camera_PR-467:rw,z -v /w/workspace/undry_device-onvif-camera_PR-467@tmp:/w/workspace/undry_device-onvif-camera_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-18T03:11:29.350Z] $ docker top 695c13c7b7ed30d7412b1f544fd340f315ef2df4a80194a8140821fd2ca74e71 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T03:11:29.760Z] + go version [2024-10-18T03:11:29.760Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-18T03:11:29.794Z] $ docker stop --time=1 695c13c7b7ed30d7412b1f544fd340f315ef2df4a80194a8140821fd2ca74e71 [2024-10-18T03:11:31.026Z] $ docker rm -f --volumes 695c13c7b7ed30d7412b1f544fd340f315ef2df4a80194a8140821fd2ca74e71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:11:31.811Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-18T03:11:31.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:11:31.967Z] prd-ubuntu20.04-docker-8c-8g-23236 does not seem to be running inside a container [2024-10-18T03:11:31.996Z] $ 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-467 -v /w/workspace/undry_device-onvif-camera_PR-467:/w/workspace/undry_device-onvif-camera_PR-467:rw,z -v /w/workspace/undry_device-onvif-camera_PR-467@tmp:/w/workspace/undry_device-onvif-camera_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-18T03:11:32.307Z] $ docker top 65bf8acc19a9ad4ac0cbea170d5a59594e141c342d47159a1b7cdb78eb9559fb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T03:11:32.704Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-467 [Pipeline] fileExists [Pipeline] sh [2024-10-18T03:11:33.081Z] + make test [2024-10-18T03:11:33.081Z] go test ./... -coverprofile=coverage.out ./... [2024-10-18T03:11:34.986Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-18T03:11:53.061Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-18T03:11:53.061Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-18T03:11:54.015Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 31.4% of statements [2024-10-18T03:11:54.015Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.250s coverage: 86.5% of statements [2024-10-18T03:12:03.989Z] go vet ./... [2024-10-18T03:12:09.253Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-18T03:12:09.253Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-18T03:12:09.253Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-18T03:12:09.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-18T03:12:09.591Z] $ docker stop --time=1 65bf8acc19a9ad4ac0cbea170d5a59594e141c342d47159a1b7cdb78eb9559fb [2024-10-18T03:12:13.756Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23237 in /w/workspace/undry_device-onvif-camera_PR-467 [2024-10-18T03:12:13.832Z] $ docker rm -f --volumes 65bf8acc19a9ad4ac0cbea170d5a59594e141c342d47159a1b7cdb78eb9559fb [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2024-10-18T03:12:14.260Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-10-18T03:12:14.369Z] The recommended git tool is: git [2024-10-18T03:12:14.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-18T03:12:14.557Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-18T03:12:15.336Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-18T03:12:15.656Z] + ls -al . [2024-10-18T03:12:15.657Z] total 328 [2024-10-18T03:12:15.657Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 03:11 . [2024-10-18T03:12:15.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 03:09 .. [2024-10-18T03:12:15.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 03:11 .git [2024-10-18T03:12:15.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 03:09 .github [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 18 03:09 .gitignore [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 18 03:09 .golangci.yml [2024-10-18T03:12:15.657Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 03:10 .semver [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 18 03:09 Attribution.txt [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 18 03:09 CHANGELOG.md [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 18 03:09 Dockerfile [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 03:09 GOVERNANCE.md [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 18 03:09 Jenkinsfile [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 03:09 LICENSE [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 3420 Oct 18 03:09 Makefile [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 18 03:09 OWNERS.md [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 18 03:09 README.md [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 03:10 VERSION [2024-10-18T03:12:15.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 03:09 bin [2024-10-18T03:12:15.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 03:09 cmd [2024-10-18T03:12:15.657Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 18 03:11 coverage.out [2024-10-18T03:12:15.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 03:09 doc [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 18 03:09 go.mod [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 18 03:09 go.sum [2024-10-18T03:12:15.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 03:09 internal [2024-10-18T03:12:15.657Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 18 03:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:12:16.076Z] + 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=b4533ba52c5353d32e7a99d516642162464194d4 --label arch=amd64 --label version=0.0.0 . [2024-10-18T03:12:16.076Z] Sending build context to Docker daemon 36.85MB [2024-10-18T03:12:16.076Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T03:12:16.076Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-18T03:12:16.076Z] ---> d406b1101982 [2024-10-18T03:12:16.076Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-18T03:12:16.647Z] ---> Running in 18d3635f9c30 [2024-10-18T03:12:16.647Z] Removing intermediate container 18d3635f9c30 [2024-10-18T03:12:16.647Z] ---> 81aea1a56834 [2024-10-18T03:12:16.647Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T03:12:16.647Z] ---> Running in 00e6a3b62825 [2024-10-18T03:12:16.647Z] Removing intermediate container 00e6a3b62825 [2024-10-18T03:12:16.647Z] ---> ddc086b8385e [2024-10-18T03:12:16.647Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T03:12:16.906Z] ---> Running in c252e71bf156 [2024-10-18T03:12:16.906Z] Removing intermediate container c252e71bf156 [2024-10-18T03:12:16.906Z] ---> 744c47030f5c [2024-10-18T03:12:16.906Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T03:12:16.906Z] ---> Running in 2ea1e6955cc7 [2024-10-18T03:12:16.906Z] Removing intermediate container 2ea1e6955cc7 [2024-10-18T03:12:16.906Z] ---> 14fa6590ee22 [2024-10-18T03:12:16.906Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-18T03:12:16.906Z] ---> Running in c61e9cd6299e [2024-10-18T03:12:16.906Z] Removing intermediate container c61e9cd6299e [2024-10-18T03:12:16.906Z] ---> c7f88f0d6fdc [2024-10-18T03:12:16.906Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T03:12:17.165Z] ---> Running in 4f545724988e [2024-10-18T03:12:17.424Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T03:12:17.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T03:12:17.993Z] OK: 246 MiB in 54 packages [2024-10-18T03:12:17.993Z] Removing intermediate container 4f545724988e [2024-10-18T03:12:17.993Z] ---> 456740ec095a [2024-10-18T03:12:17.993Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-18T03:12:18.251Z] ---> Running in 655ad20a34d1 [2024-10-18T03:12:18.251Z] Removing intermediate container 655ad20a34d1 [2024-10-18T03:12:18.251Z] ---> 15b1390a89b2 [2024-10-18T03:12:18.251Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-18T03:12:18.251Z] ---> 5b1308edd320 [2024-10-18T03:12:18.251Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T03:12:18.251Z] ---> Running in f879284aa149 [2024-10-18T03:12:19.018Z] using credential edgex-jenkins-ssh [2024-10-18T03:12:19.040Z] Cloning the remote Git repository [2024-10-18T03:12:19.192Z] Removing intermediate container f879284aa149 [2024-10-18T03:12:19.192Z] ---> ac57a317a133 [2024-10-18T03:12:19.192Z] Step 12/27 : COPY . . [2024-10-18T03:12:19.088Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-18T03:12:19.187Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-10-18T03:12:19.347Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-18T03:12:19.348Z] > git --version # timeout=10 [2024-10-18T03:12:19.370Z] > git --version # 'git version 2.25.1' [2024-10-18T03:12:19.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-18T03:12:19.761Z] ---> f98ad49b8fa4 [2024-10-18T03:12:19.761Z] Step 13/27 : RUN ${MAKE} [2024-10-18T03:12:19.761Z] ---> Running in bd0d6f7560ee [2024-10-18T03:12:20.020Z] 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.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-10-18T03:12:20.723Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-18T03:12:23.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-18T03:12:23.132Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-18T03:12:24.570Z] Merging remotes/origin/main commit a3fe8259587aa11f7b523c7492f95c227b9e7f60 into PR head commit b4533ba52c5353d32e7a99d516642162464194d4 [2024-10-18T03:12:23.994Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-10-18T03:12:24.037Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-10-18T03:12:24.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-18T03:12:24.064Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-18T03:12:24.597Z] > git config core.sparsecheckout # timeout=10 [2024-10-18T03:12:24.915Z] Merge succeeded, producing b4533ba52c5353d32e7a99d516642162464194d4 [2024-10-18T03:12:24.916Z] Checking out Revision b4533ba52c5353d32e7a99d516642162464194d4 (PR-467) [2024-10-18T03:12:25.565Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-18T03:12:25.608Z] > git --version # timeout=10 [2024-10-18T03:12:25.618Z] > git --version # 'git version 2.25.1' [2024-10-18T03:12:25.632Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-18T03:12:24.662Z] > git checkout -f b4533ba52c5353d32e7a99d516642162464194d4 # timeout=10 [2024-10-18T03:12:24.818Z] > git remote # timeout=10 [2024-10-18T03:12:24.838Z] > git config --get remote.origin.url # timeout=10 [2024-10-18T03:12:24.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-18T03:12:24.877Z] > git merge a3fe8259587aa11f7b523c7492f95c227b9e7f60 # timeout=10 [2024-10-18T03:12:24.899Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-18T03:12:24.921Z] > git config core.sparsecheckout # timeout=10 [2024-10-18T03:12:24.941Z] > git checkout -f b4533ba52c5353d32e7a99d516642162464194d4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T03:12:30.480Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-18T03:12:30.480Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-18T03:12:30.480Z] Dload Upload Total Spent Left Speed [2024-10-18T03:12:30.480Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2024-10-18T03:12:30.828Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-18T03:12:31.223Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-18T03:12:31.223Z] + sudo tee /etc/docker/daemon.new [2024-10-18T03:12:31.223Z] { [2024-10-18T03:12:31.223Z] "registry-mirrors": [ [2024-10-18T03:12:31.223Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-18T03:12:31.223Z] ], [2024-10-18T03:12:31.223Z] "bip": "10.250.0.254/24", [2024-10-18T03:12:31.223Z] "hosts": [ [2024-10-18T03:12:31.223Z] "tcp://0.0.0.0:5555", [2024-10-18T03:12:31.223Z] "unix:///var/run/docker.sock" [2024-10-18T03:12:31.223Z] ], [2024-10-18T03:12:31.223Z] "mtu": 1458, [2024-10-18T03:12:31.223Z] "selinux-enabled": true, [2024-10-18T03:12:31.223Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-18T03:12:31.223Z] } [Pipeline] sh [2024-10-18T03:12:31.569Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-18T03:12:31.919Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T03:12:50.228Z] provisioning config files... [2024-10-18T03:12:50.252Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6052158009995509791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:12:50.724Z] ---> ****-login.sh [2024-10-18T03:12:50.724Z] nexus3.edgexfoundry.org:10001 [2024-10-18T03:12:50.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:12:51.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:12:51.262Z] Configure a credential helper to remove this warning. See [2024-10-18T03:12:51.262Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:12:51.262Z] [2024-10-18T03:12:51.262Z] Login Succeeded [2024-10-18T03:12:51.263Z] nexus3.edgexfoundry.org:10002 [2024-10-18T03:12:51.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:12:51.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:12:51.532Z] Configure a credential helper to remove this warning. See [2024-10-18T03:12:51.532Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:12:51.532Z] [2024-10-18T03:12:51.532Z] Login Succeeded [2024-10-18T03:12:51.532Z] nexus3.edgexfoundry.org:10003 [2024-10-18T03:12:51.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:12:51.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:12:51.803Z] Configure a credential helper to remove this warning. See [2024-10-18T03:12:51.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:12:51.803Z] [2024-10-18T03:12:51.803Z] Login Succeeded [2024-10-18T03:12:51.803Z] nexus3.edgexfoundry.org:10004 [2024-10-18T03:12:52.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:12:52.094Z] Removing intermediate container bd0d6f7560ee [2024-10-18T03:12:52.094Z] ---> 3f83e466ff22 [2024-10-18T03:12:52.094Z] Step 14/27 : FROM alpine:3.20 [2024-10-18T03:12:52.094Z] 3.20: Pulling from library/alpine [2024-10-18T03:12:52.094Z] 43c4264eed91: Already exists [2024-10-18T03:12:52.094Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-18T03:12:52.095Z] Status: Downloaded newer image for alpine:3.20 [2024-10-18T03:12:52.095Z] ---> 91ef0af61f39 [2024-10-18T03:12:52.095Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-18T03:12:52.095Z] ---> Running in fd9876ed7c77 [2024-10-18T03:12:52.095Z] Removing intermediate container fd9876ed7c77 [2024-10-18T03:12:52.095Z] ---> 0a6b7ad2904d [2024-10-18T03:12:52.095Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-18T03:12:52.095Z] ---> Running in 6b8b93833c79 [2024-10-18T03:12:52.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T03:12:52.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-18T03:12:52.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:12:52.347Z] Configure a credential helper to remove this warning. See [2024-10-18T03:12:52.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:12:52.347Z] [2024-10-18T03:12:52.347Z] Login Succeeded [2024-10-18T03:12:52.347Z] ****.io [2024-10-18T03:12:52.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-18T03:12:52.353Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-18T03:12:52.353Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T03:12:52.353Z] OK: 8 MiB in 15 packages [2024-10-18T03:12:52.611Z] Removing intermediate container 6b8b93833c79 [2024-10-18T03:12:52.611Z] ---> f8df66ef4d76 [2024-10-18T03:12:52.611Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-18T03:12:52.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-18T03:12:52.614Z] Configure a credential helper to remove this warning. See [2024-10-18T03:12:52.614Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-18T03:12:52.614Z] [2024-10-18T03:12:52.614Z] Login Succeeded [2024-10-18T03:12:52.614Z] ---> ****-login.sh ends [Pipeline] } [2024-10-18T03:12:52.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-10-18T03:12:52.871Z] ---> Running in 7d511f96c2f7 [2024-10-18T03:12:52.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [Pipeline] echo [2024-10-18T03:12:53.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-10-18T03:12:53.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [Pipeline] echo [2024-10-18T03:12:53.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-18T03:12:53.246Z] ========================================================= [2024-10-18T03:12:53.246Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-18T03:12:53.246Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [2024-10-18T03:12:53.388Z] Upgrading critical system libraries and apk-tools: [2024-10-18T03:12:53.388Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-18T03:12:53.388Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T03:12:53.388Z] Continuing the upgrade transaction with new apk-tools: [2024-10-18T03:12:53.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-18T03:12:53.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:12:53.647Z] OK: 8 MiB in 15 packages [2024-10-18T03:12:53.809Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-18T03:12:54.213Z] Removing intermediate container 7d511f96c2f7 [2024-10-18T03:12:54.213Z] ---> 75f45c5bf33e [2024-10-18T03:12:54.213Z] Step 18/27 : WORKDIR / [2024-10-18T03:12:54.213Z] ---> Running in 6c7122d65690 [2024-10-18T03:12:54.213Z] Removing intermediate container 6c7122d65690 [2024-10-18T03:12:54.213Z] ---> f52e0db91486 [2024-10-18T03:12:54.213Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-18T03:12:54.394Z] Sending build context to Docker daemon 21.79MB [2024-10-18T03:12:54.394Z] Step 1/13 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T03:12:54.394Z] Step 2/13 : FROM ${BASE} AS builder [2024-10-18T03:12:54.671Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-18T03:12:54.671Z] cf04c63912e1: Pulling fs layer [2024-10-18T03:12:54.671Z] 55b35a11ae5e: Pulling fs layer [2024-10-18T03:12:54.671Z] a37a00ec5f00: Pulling fs layer [2024-10-18T03:12:54.671Z] 50b3750afda1: Pulling fs layer [2024-10-18T03:12:54.671Z] 4f4fb700ef54: Pulling fs layer [2024-10-18T03:12:54.671Z] 80978eb59214: Pulling fs layer [2024-10-18T03:12:54.671Z] c9f46d7d2bd2: Pulling fs layer [2024-10-18T03:12:54.671Z] c5a475d317c9: Pulling fs layer [2024-10-18T03:12:54.671Z] 4f4fb700ef54: Waiting [2024-10-18T03:12:54.671Z] 80978eb59214: Waiting [2024-10-18T03:12:54.671Z] c9f46d7d2bd2: Waiting [2024-10-18T03:12:54.671Z] c5a475d317c9: Waiting [2024-10-18T03:12:54.671Z] 50b3750afda1: Waiting [2024-10-18T03:12:54.671Z] 55b35a11ae5e: Verifying Checksum [2024-10-18T03:12:54.671Z] 55b35a11ae5e: Download complete [2024-10-18T03:12:54.671Z] 50b3750afda1: Verifying Checksum [2024-10-18T03:12:54.671Z] 50b3750afda1: Download complete [2024-10-18T03:12:54.671Z] 4f4fb700ef54: Verifying Checksum [2024-10-18T03:12:54.671Z] 4f4fb700ef54: Download complete [2024-10-18T03:12:54.671Z] 80978eb59214: Verifying Checksum [2024-10-18T03:12:54.671Z] 80978eb59214: Download complete [2024-10-18T03:12:54.671Z] cf04c63912e1: Verifying Checksum [2024-10-18T03:12:54.671Z] cf04c63912e1: Download complete [2024-10-18T03:12:55.267Z] c5a475d317c9: Verifying Checksum [2024-10-18T03:12:55.267Z] c5a475d317c9: Download complete [2024-10-18T03:12:55.589Z] ---> 41e9466ae65d [2024-10-18T03:12:55.589Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-18T03:12:55.589Z] ---> ce6e8787e3ce [2024-10-18T03:12:55.589Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-18T03:12:55.848Z] ---> a0a1d5160071 [2024-10-18T03:12:55.848Z] Step 22/27 : EXPOSE 59984 [2024-10-18T03:12:55.848Z] ---> Running in ee984e0999cd [2024-10-18T03:12:55.848Z] Removing intermediate container ee984e0999cd [2024-10-18T03:12:55.848Z] ---> cb6ccb9dd7cc [2024-10-18T03:12:55.848Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-18T03:12:55.848Z] ---> Running in 355681c3fc20 [2024-10-18T03:12:55.862Z] cf04c63912e1: Pull complete [2024-10-18T03:12:56.107Z] Removing intermediate container 355681c3fc20 [2024-10-18T03:12:56.107Z] ---> 3302828ca3fd [2024-10-18T03:12:56.107Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-18T03:12:56.107Z] ---> Running in 4bb134a1f818 [2024-10-18T03:12:56.107Z] Removing intermediate container 4bb134a1f818 [2024-10-18T03:12:56.107Z] ---> e01823dd0118 [2024-10-18T03:12:56.107Z] Step 25/27 : LABEL arch=amd64 [2024-10-18T03:12:56.107Z] ---> Running in 661b9106f5e0 [2024-10-18T03:12:56.107Z] Removing intermediate container 661b9106f5e0 [2024-10-18T03:12:56.107Z] ---> e7526fc001e6 [2024-10-18T03:12:56.107Z] Step 26/27 : LABEL git_sha=b4533ba52c5353d32e7a99d516642162464194d4 [2024-10-18T03:12:56.107Z] ---> Running in 869a0c225142 [2024-10-18T03:12:56.367Z] Removing intermediate container 869a0c225142 [2024-10-18T03:12:56.367Z] ---> 4f3e00a39d6d [2024-10-18T03:12:56.367Z] Step 27/27 : LABEL version=0.0.0 [2024-10-18T03:12:56.367Z] ---> Running in 8b161eb006b6 [2024-10-18T03:12:56.367Z] Removing intermediate container 8b161eb006b6 [2024-10-18T03:12:56.367Z] ---> 718981044b47 [2024-10-18T03:12:56.367Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-18T03:12:56.367Z] Successfully built 718981044b47 [2024-10-18T03:12:56.367Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [2024-10-18T03:12:56.446Z] 55b35a11ae5e: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [2024-10-18T03:12:56.712Z] a37a00ec5f00: Verifying Checksum [2024-10-18T03:12:56.712Z] a37a00ec5f00: Download complete [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-10-18T03:12:57.293Z] c9f46d7d2bd2: Verifying Checksum [2024-10-18T03:12:57.293Z] c9f46d7d2bd2: Download complete [2024-10-18T03:12:57.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T03:12:57.456Z] [2024-10-18T03:12:57.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:12:57.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T03:12:57.870Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-18T03:12:57.870Z] 5eb5b503b376: Pulling fs layer [2024-10-18T03:12:57.870Z] 5c69ac0246d0: Pulling fs layer [2024-10-18T03:12:57.870Z] ec43610c2a17: Pulling fs layer [2024-10-18T03:12:57.870Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-18T03:12:57.870Z] 33b1e0a273af: Pulling fs layer [2024-10-18T03:12:57.870Z] 5d3b04190fa2: Pulling fs layer [2024-10-18T03:12:57.870Z] 2f39f015ded8: Pulling fs layer [2024-10-18T03:12:57.870Z] 2f39f015ded8: Waiting [2024-10-18T03:12:57.870Z] 5d3b04190fa2: Waiting [2024-10-18T03:12:57.870Z] 3a2ae6a8a46f: Waiting [2024-10-18T03:12:57.870Z] 33b1e0a273af: Waiting [2024-10-18T03:12:57.870Z] 5c69ac0246d0: Download complete [2024-10-18T03:12:57.870Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-18T03:12:57.870Z] 3a2ae6a8a46f: Download complete [2024-10-18T03:12:57.870Z] 33b1e0a273af: Verifying Checksum [2024-10-18T03:12:57.870Z] 33b1e0a273af: Download complete [2024-10-18T03:12:57.870Z] ec43610c2a17: Verifying Checksum [2024-10-18T03:12:57.870Z] ec43610c2a17: Download complete [2024-10-18T03:12:57.870Z] 5d3b04190fa2: Verifying Checksum [2024-10-18T03:12:57.870Z] 5d3b04190fa2: Download complete [2024-10-18T03:12:58.129Z] 5eb5b503b376: Verifying Checksum [2024-10-18T03:12:58.129Z] 5eb5b503b376: Download complete [2024-10-18T03:12:58.694Z] 2f39f015ded8: Download complete [2024-10-18T03:12:59.259Z] 5eb5b503b376: Pull complete [2024-10-18T03:12:59.259Z] 5c69ac0246d0: Pull complete [2024-10-18T03:12:59.827Z] ec43610c2a17: Pull complete [2024-10-18T03:12:59.827Z] 3a2ae6a8a46f: Pull complete [2024-10-18T03:12:59.827Z] 33b1e0a273af: Pull complete [2024-10-18T03:12:59.827Z] 5d3b04190fa2: Pull complete [2024-10-18T03:13:04.010Z] 2f39f015ded8: Pull complete [2024-10-18T03:13:04.010Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-18T03:13:04.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T03:13:04.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:13:04.293Z] prd-ubuntu20.04-docker-8c-8g-23236 does not seem to be running inside a container [2024-10-18T03:13:04.323Z] $ 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-467 -v /w/workspace/undry_device-onvif-camera_PR-467:/w/workspace/undry_device-onvif-camera_PR-467:rw,z -v /w/workspace/undry_device-onvif-camera_PR-467@tmp:/w/workspace/undry_device-onvif-camera_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-18T03:13:06.737Z] $ docker top 35edbf84a723fd4d4a3295553dcaa7b1910253c2a7b50d6d5dfcbcb780b4083b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:13:07.233Z] ---> job-cost.sh [2024-10-18T03:13:07.233Z] lf-activate-venv: SKIPPING [2024-10-18T03:13:07.233Z] INFO: No Stack... [2024-10-18T03:13:07.492Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-18T03:13:07.751Z] INFO: Archiving Costs [Pipeline] sh [2024-10-18T03:13:08.079Z] + cat /w/workspace/undry_device-onvif-camera_PR-467/archives/cost.csv [2024-10-18T03:13:08.079Z] + cut -d, -f6 [Pipeline] lock [2024-10-18T03:13:08.128Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-467-1-stack-cost] [2024-10-18T03:13:08.134Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-467-1-stack-cost] did not exist. Created. [2024-10-18T03:13:08.141Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-467-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-18T03:13:08.552Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-18T03:13:08.618Z] Stashed 1 file(s) [Pipeline] } [2024-10-18T03:13:08.653Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-467-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-18T03:13:08.743Z] $ docker stop --time=1 35edbf84a723fd4d4a3295553dcaa7b1910253c2a7b50d6d5dfcbcb780b4083b [2024-10-18T03:13:09.589Z] a37a00ec5f00: Pull complete [2024-10-18T03:13:09.589Z] 50b3750afda1: Pull complete [2024-10-18T03:13:09.589Z] 4f4fb700ef54: Pull complete [2024-10-18T03:13:09.589Z] 80978eb59214: Pull complete [2024-10-18T03:13:09.894Z] $ docker rm -f --volumes 35edbf84a723fd4d4a3295553dcaa7b1910253c2a7b50d6d5dfcbcb780b4083b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-18T03:13:16.225Z] c9f46d7d2bd2: Pull complete [2024-10-18T03:13:18.165Z] c5a475d317c9: Pull complete [2024-10-18T03:13:18.165Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-18T03:13:18.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-18T03:13:18.165Z] ---> be29e6b0f0d4 [2024-10-18T03:13:18.165Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-10-18T03:13:20.109Z] ---> Running in 48118dea8405 [2024-10-18T03:13:20.109Z] Removing intermediate container 48118dea8405 [2024-10-18T03:13:20.109Z] ---> 32c8444f4c44 [2024-10-18T03:13:20.109Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T03:13:20.109Z] ---> Running in 266c3de98dfc [2024-10-18T03:13:20.377Z] Removing intermediate container 266c3de98dfc [2024-10-18T03:13:20.377Z] ---> 2fe7d3458aaf [2024-10-18T03:13:20.377Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T03:13:20.377Z] ---> Running in e1706349ab95 [2024-10-18T03:13:20.972Z] Removing intermediate container e1706349ab95 [2024-10-18T03:13:20.972Z] ---> 32319e0149cf [2024-10-18T03:13:20.972Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T03:13:20.972Z] ---> Running in 61d0f0fe7e2f [2024-10-18T03:13:21.239Z] Removing intermediate container 61d0f0fe7e2f [2024-10-18T03:13:21.239Z] ---> ef9d89f97430 [2024-10-18T03:13:21.239Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-10-18T03:13:21.239Z] ---> Running in be384095f71c [2024-10-18T03:13:21.518Z] Removing intermediate container be384095f71c [2024-10-18T03:13:21.518Z] ---> f7aca5d05800 [2024-10-18T03:13:21.518Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T03:13:21.518Z] ---> Running in 1247f4f6a82c [2024-10-18T03:13:22.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T03:13:23.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T03:13:24.495Z] OK: 238 MiB in 54 packages [2024-10-18T03:13:25.084Z] Removing intermediate container 1247f4f6a82c [2024-10-18T03:13:25.084Z] ---> 7f06c4e7293e [2024-10-18T03:13:25.084Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-10-18T03:13:25.350Z] ---> Running in 4780d57cbb83 [2024-10-18T03:13:25.618Z] Removing intermediate container 4780d57cbb83 [2024-10-18T03:13:25.618Z] ---> d6257e93e9ea [2024-10-18T03:13:25.618Z] Step 10/13 : COPY go.mod vendor* ./ [2024-10-18T03:13:26.217Z] ---> 6acc12d5b8cf [2024-10-18T03:13:26.217Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T03:13:26.217Z] ---> Running in 949191bb61c5 [2024-10-18T03:15:17.959Z] Removing intermediate container 949191bb61c5 [2024-10-18T03:15:17.959Z] ---> fd9abd2f3e7d [2024-10-18T03:15:17.959Z] Step 12/13 : COPY . . [2024-10-18T03:15:19.369Z] ---> 533cca958671 [2024-10-18T03:15:19.369Z] Step 13/13 : RUN ${MAKE} [2024-10-18T03:15:19.369Z] ---> Running in f970af9dc5bb [2024-10-18T03:15:19.954Z] noop [2024-10-18T03:15:20.916Z] Removing intermediate container f970af9dc5bb [2024-10-18T03:15:20.917Z] ---> 67e9e190942c [2024-10-18T03:15:20.917Z] Successfully built 67e9e190942c [2024-10-18T03:15:20.917Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:15:21.429Z] + docker inspect -f . ci-base-image-arm64 [2024-10-18T03:15:21.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:15:21.730Z] prd-ubuntu20.04-docker-arm64-4c-16g-23237 does not seem to be running inside a container [2024-10-18T03:15:21.787Z] $ 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-10-18T03:15:22.969Z] $ docker top cb647cd2f4f77bf043d71f502d5f53f5d5bde45d985a3ca91361d2016cd2ca82 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T03:15:23.854Z] + go version [2024-10-18T03:15:23.854Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-18T03:15:23.891Z] $ docker stop --time=1 cb647cd2f4f77bf043d71f502d5f53f5d5bde45d985a3ca91361d2016cd2ca82 [2024-10-18T03:15:25.481Z] $ docker rm -f --volumes cb647cd2f4f77bf043d71f502d5f53f5d5bde45d985a3ca91361d2016cd2ca82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:15:26.409Z] + docker inspect -f . ci-base-image-arm64 [2024-10-18T03:15:26.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:15:26.687Z] prd-ubuntu20.04-docker-arm64-4c-16g-23237 does not seem to be running inside a container [2024-10-18T03:15:26.748Z] $ 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-10-18T03:15:27.878Z] $ docker top 4fe495f684f5480f5ff33e1d7045d0e01000c71fe4789fc9686cd622692150fb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T03:15:28.451Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-10-18T03:15:28.857Z] + make test [2024-10-18T03:15:29.123Z] go test ./... -coverprofile=coverage.out ./... [2024-10-18T03:15:35.773Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-10-18T03:18:57.553Z] github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements [2024-10-18T03:19:00.938Z] github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements [2024-10-18T03:19:02.877Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.157s coverage: 31.4% of statements [2024-10-18T03:19:24.925Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.579s coverage: 86.5% of statements [2024-10-18T03:19:24.925Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-18T03:19:24.925Z] go vet ./... [2024-10-18T03:20:21.299Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-18T03:20:21.299Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-18T03:20:21.299Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-18T03:20:21.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-18T03:20:21.385Z] $ docker stop --time=1 4fe495f684f5480f5ff33e1d7045d0e01000c71fe4789fc9686cd622692150fb [2024-10-18T03:20:23.122Z] $ docker rm -f --volumes 4fe495f684f5480f5ff33e1d7045d0e01000c71fe4789fc9686cd622692150fb [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-18T03:20:24.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-18T03:20:24.731Z] Warning: overwriting stash ‘coverage-report’ [2024-10-18T03:20:25.243Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-18T03:20:25.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-18T03:20:26.223Z] + ls -al . [2024-10-18T03:20:26.223Z] total 324 [2024-10-18T03:20:26.223Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 03:15 . [2024-10-18T03:20:26.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 03:12 .. [2024-10-18T03:20:26.223Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 03:12 .git [2024-10-18T03:20:26.223Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 03:12 .github [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 493 Oct 18 03:12 .gitignore [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 18 03:12 .golangci.yml [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 19973 Oct 18 03:12 Attribution.txt [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 17665 Oct 18 03:12 CHANGELOG.md [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 1715 Oct 18 03:12 Dockerfile [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 03:12 GOVERNANCE.md [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 739 Oct 18 03:12 Jenkinsfile [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 18 03:12 LICENSE [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 3420 Oct 18 03:12 Makefile [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 18 03:12 OWNERS.md [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 2620 Oct 18 03:12 README.md [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 03:10 VERSION [2024-10-18T03:20:26.223Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 03:12 bin [2024-10-18T03:20:26.223Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 03:12 cmd [2024-10-18T03:20:26.223Z] -rw-r--r-- 1 jenkins jenkins 92292 Oct 18 03:19 coverage.out [2024-10-18T03:20:26.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 03:12 doc [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 7303 Oct 18 03:12 go.mod [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 100916 Oct 18 03:12 go.sum [2024-10-18T03:20:26.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 03:12 internal [2024-10-18T03:20:26.223Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 18 03:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:20:26.663Z] + 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=b4533ba52c5353d32e7a99d516642162464194d4 --label arch=arm64 --label version=0.0.0 . [2024-10-18T03:20:27.246Z] Sending build context to Docker daemon 21.89MB [2024-10-18T03:20:27.246Z] Step 1/27 : ARG BASE=golang:1.23-alpine3.20 [2024-10-18T03:20:27.246Z] Step 2/27 : FROM ${BASE} AS builder [2024-10-18T03:20:27.246Z] ---> 67e9e190942c [2024-10-18T03:20:27.246Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-10-18T03:20:27.511Z] ---> Running in 18a5db875d86 [2024-10-18T03:20:27.777Z] Removing intermediate container 18a5db875d86 [2024-10-18T03:20:27.777Z] ---> c210502c937d [2024-10-18T03:20:27.777Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-18T03:20:27.777Z] ---> Running in 8ac18110c0c7 [2024-10-18T03:20:28.043Z] Removing intermediate container 8ac18110c0c7 [2024-10-18T03:20:28.043Z] ---> ba70c4e09802 [2024-10-18T03:20:28.043Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-10-18T03:20:28.043Z] ---> Running in 2cc1cef2d758 [2024-10-18T03:20:28.315Z] Removing intermediate container 2cc1cef2d758 [2024-10-18T03:20:28.315Z] ---> 8c50d8a1e16c [2024-10-18T03:20:28.315Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-10-18T03:20:28.315Z] ---> Running in 89162bdb486e [2024-10-18T03:20:28.592Z] Removing intermediate container 89162bdb486e [2024-10-18T03:20:28.592Z] ---> 9160f62ab1d0 [2024-10-18T03:20:28.592Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-10-18T03:20:28.866Z] ---> Running in 0afd637ce799 [2024-10-18T03:20:29.132Z] Removing intermediate container 0afd637ce799 [2024-10-18T03:20:29.133Z] ---> 71f142ef3a1d [2024-10-18T03:20:29.133Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-18T03:20:29.133Z] ---> Running in cb0cdb21edc8 [2024-10-18T03:20:30.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T03:20:30.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T03:20:31.762Z] OK: 238 MiB in 54 packages [2024-10-18T03:20:32.353Z] Removing intermediate container cb0cdb21edc8 [2024-10-18T03:20:32.353Z] ---> 63b869b546ca [2024-10-18T03:20:32.353Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-10-18T03:20:32.620Z] ---> Running in e9c2e47a4ff1 [2024-10-18T03:20:32.884Z] Removing intermediate container e9c2e47a4ff1 [2024-10-18T03:20:32.884Z] ---> d0526cac0cc5 [2024-10-18T03:20:32.884Z] Step 10/27 : COPY go.mod vendor* ./ [2024-10-18T03:20:34.295Z] ---> 2abbd7860cdd [2024-10-18T03:20:34.295Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-18T03:20:34.295Z] ---> Running in 32eca2558e4f [2024-10-18T03:20:36.885Z] Removing intermediate container 32eca2558e4f [2024-10-18T03:20:36.885Z] ---> 3daf621651e5 [2024-10-18T03:20:36.885Z] Step 12/27 : COPY . . [2024-10-18T03:20:38.293Z] ---> 3e7a3c81cd6e [2024-10-18T03:20:38.294Z] Step 13/27 : RUN ${MAKE} [2024-10-18T03:20:38.294Z] ---> Running in b6d074450180 [2024-10-18T03:20:39.258Z] 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.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-onvif-camera ./cmd [2024-10-18T03:24:16.098Z] Removing intermediate container b6d074450180 [2024-10-18T03:24:16.098Z] ---> d9f293596e8d [2024-10-18T03:24:16.098Z] Step 14/27 : FROM alpine:3.20 [2024-10-18T03:24:16.098Z] 3.20: Pulling from library/alpine [2024-10-18T03:24:16.098Z] cf04c63912e1: Already exists [2024-10-18T03:24:16.099Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-18T03:24:16.099Z] Status: Downloaded newer image for alpine:3.20 [2024-10-18T03:24:16.099Z] ---> c157a85ed455 [2024-10-18T03:24:16.099Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-10-18T03:24:16.099Z] ---> Running in 529af4046749 [2024-10-18T03:24:16.099Z] Removing intermediate container 529af4046749 [2024-10-18T03:24:16.099Z] ---> 9cf85220efc4 [2024-10-18T03:24:16.099Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-10-18T03:24:16.099Z] ---> Running in 02b33760a002 [2024-10-18T03:24:16.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T03:24:16.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T03:24:16.099Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-18T03:24:16.099Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T03:24:16.099Z] OK: 9 MiB in 15 packages [2024-10-18T03:24:16.099Z] Removing intermediate container 02b33760a002 [2024-10-18T03:24:16.099Z] ---> 477ee93c9667 [2024-10-18T03:24:16.099Z] Step 17/27 : RUN apk --no-cache upgrade [2024-10-18T03:24:16.099Z] ---> Running in 75f12d51d8d8 [2024-10-18T03:24:16.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T03:24:16.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T03:24:16.099Z] Upgrading critical system libraries and apk-tools: [2024-10-18T03:24:16.099Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-18T03:24:16.099Z] Executing busybox-1.36.1-r29.trigger [2024-10-18T03:24:16.099Z] Continuing the upgrade transaction with new apk-tools: [2024-10-18T03:24:16.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-18T03:24:16.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-18T03:24:16.366Z] OK: 9 MiB in 15 packages [2024-10-18T03:24:17.346Z] Removing intermediate container 75f12d51d8d8 [2024-10-18T03:24:17.346Z] ---> 23655fb8ce86 [2024-10-18T03:24:17.346Z] Step 18/27 : WORKDIR / [2024-10-18T03:24:17.346Z] ---> Running in bd9c481442ff [2024-10-18T03:24:17.613Z] Removing intermediate container bd9c481442ff [2024-10-18T03:24:17.613Z] ---> 878bff48638a [2024-10-18T03:24:17.613Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-10-18T03:24:20.362Z] ---> c276a52bf575 [2024-10-18T03:24:20.362Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-10-18T03:24:20.953Z] ---> 47c15f8a0b7a [2024-10-18T03:24:20.953Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-10-18T03:24:21.556Z] ---> ec7825ae1071 [2024-10-18T03:24:21.556Z] Step 22/27 : EXPOSE 59984 [2024-10-18T03:24:21.557Z] ---> Running in bd5fea9170e8 [2024-10-18T03:24:21.836Z] Removing intermediate container bd5fea9170e8 [2024-10-18T03:24:21.836Z] ---> ac02f3caca64 [2024-10-18T03:24:21.836Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-10-18T03:24:22.107Z] ---> Running in c57f9d057b2d [2024-10-18T03:24:22.371Z] Removing intermediate container c57f9d057b2d [2024-10-18T03:24:22.371Z] ---> ec81ac0f3d3f [2024-10-18T03:24:22.371Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-18T03:24:22.371Z] ---> Running in 5efa4114aa2e [2024-10-18T03:24:22.639Z] Removing intermediate container 5efa4114aa2e [2024-10-18T03:24:22.639Z] ---> b6018f9d4f6b [2024-10-18T03:24:22.639Z] Step 25/27 : LABEL arch=arm64 [2024-10-18T03:24:22.639Z] ---> Running in c879b6a7f06d [2024-10-18T03:24:22.915Z] Removing intermediate container c879b6a7f06d [2024-10-18T03:24:22.915Z] ---> ace64f462643 [2024-10-18T03:24:22.915Z] Step 26/27 : LABEL git_sha=b4533ba52c5353d32e7a99d516642162464194d4 [2024-10-18T03:24:22.915Z] ---> Running in 3b4085a28a68 [2024-10-18T03:24:23.179Z] Removing intermediate container 3b4085a28a68 [2024-10-18T03:24:23.179Z] ---> b3e907ada4ea [2024-10-18T03:24:23.179Z] Step 27/27 : LABEL version=0.0.0 [2024-10-18T03:24:23.452Z] ---> Running in ad9f1c032bda [2024-10-18T03:24:23.716Z] Removing intermediate container ad9f1c032bda [2024-10-18T03:24:23.716Z] ---> 16634e3c0e9d [2024-10-18T03:24:23.716Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-18T03:24:23.716Z] Successfully built 16634e3c0e9d [2024-10-18T03:24:23.716Z] 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-10-18T03:24:24.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T03:24:24.663Z] [2024-10-18T03:24:24.663Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:24:25.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T03:24:25.086Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-18T03:24:25.086Z] 8998bd30e6a1: Pulling fs layer [2024-10-18T03:24:25.086Z] 04944245beec: Pulling fs layer [2024-10-18T03:24:25.086Z] 699f458cf7ca: Pulling fs layer [2024-10-18T03:24:25.086Z] 765212b225bb: Pulling fs layer [2024-10-18T03:24:25.086Z] f23df028b6ca: Pulling fs layer [2024-10-18T03:24:25.086Z] d65c8cfc05b1: Pulling fs layer [2024-10-18T03:24:25.086Z] 2437ff75d9bd: Pulling fs layer [2024-10-18T03:24:25.086Z] 765212b225bb: Waiting [2024-10-18T03:24:25.086Z] f23df028b6ca: Waiting [2024-10-18T03:24:25.086Z] d65c8cfc05b1: Waiting [2024-10-18T03:24:25.086Z] 2437ff75d9bd: Waiting [2024-10-18T03:24:25.355Z] 04944245beec: Verifying Checksum [2024-10-18T03:24:25.355Z] 04944245beec: Download complete [2024-10-18T03:24:25.355Z] 765212b225bb: Verifying Checksum [2024-10-18T03:24:25.355Z] 765212b225bb: Download complete [2024-10-18T03:24:25.355Z] f23df028b6ca: Download complete [2024-10-18T03:24:25.355Z] d65c8cfc05b1: Verifying Checksum [2024-10-18T03:24:25.355Z] d65c8cfc05b1: Download complete [2024-10-18T03:24:25.355Z] 699f458cf7ca: Verifying Checksum [2024-10-18T03:24:25.355Z] 699f458cf7ca: Download complete [2024-10-18T03:24:25.934Z] 8998bd30e6a1: Verifying Checksum [2024-10-18T03:24:25.934Z] 8998bd30e6a1: Download complete [2024-10-18T03:24:28.504Z] 2437ff75d9bd: Verifying Checksum [2024-10-18T03:24:28.504Z] 2437ff75d9bd: Download complete [2024-10-18T03:24:30.443Z] 8998bd30e6a1: Pull complete [2024-10-18T03:24:30.709Z] 04944245beec: Pull complete [2024-10-18T03:24:32.113Z] 699f458cf7ca: Pull complete [2024-10-18T03:24:32.378Z] 765212b225bb: Pull complete [2024-10-18T03:24:32.957Z] f23df028b6ca: Pull complete [2024-10-18T03:24:33.222Z] d65c8cfc05b1: Pull complete [2024-10-18T03:24:51.415Z] 2437ff75d9bd: Pull complete [2024-10-18T03:24:51.415Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-18T03:24:51.415Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-18T03:24:51.415Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:24:51.784Z] prd-ubuntu20.04-docker-arm64-4c-16g-23237 does not seem to be running inside a container [2024-10-18T03:24:51.840Z] $ 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-10-18T03:24:54.621Z] $ docker top 32e8c38c1606f152e0f8a1c47bbd5cce1e6b2c5246fbebdaab3799e9190a2e7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:24:55.562Z] ---> job-cost.sh [2024-10-18T03:24:55.562Z] lf-activate-venv: SKIPPING [2024-10-18T03:24:55.562Z] INFO: No Stack... [2024-10-18T03:24:56.142Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-18T03:24:56.722Z] INFO: Archiving Costs [Pipeline] sh [2024-10-18T03:24:57.381Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-10-18T03:24:57.381Z] + cut -d, -f6 [Pipeline] lock [2024-10-18T03:24:57.471Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-467-1-stack-cost] [2024-10-18T03:24:57.478Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-467-1-stack-cost] did not exist. Created. [2024-10-18T03:24:57.485Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-467-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-18T03:24:58.233Z] /w/workspace/device-onvif-camera/1@tmp/durable-042402f3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-18T03:24:58.914Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-18T03:24:58.957Z] Warning: overwriting stash ‘stack-cost’ [2024-10-18T03:24:59.014Z] Stashed 1 file(s) [Pipeline] } [2024-10-18T03:24:59.035Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-467-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-18T03:24:59.123Z] $ docker stop --time=1 32e8c38c1606f152e0f8a1c47bbd5cce1e6b2c5246fbebdaab3799e9190a2e7b [2024-10-18T03:25:00.663Z] $ docker rm -f --volumes 32e8c38c1606f152e0f8a1c47bbd5cce1e6b2c5246fbebdaab3799e9190a2e7b [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-10-18T03:25:01.931Z] provisioning config files... [2024-10-18T03:25:01.938Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-467@tmp/config3743391554558738274tmp [Pipeline] { [Pipeline] sh [2024-10-18T03:25:02.298Z] + set +x [2024-10-18T03:25:02.298Z] + curl -s https://codecov.io/bash [2024-10-18T03:25:02.298Z] + bash -s -- [2024-10-18T03:25:02.298Z] [2024-10-18T03:25:02.298Z] _____ _ [2024-10-18T03:25:02.298Z] / ____| | | [2024-10-18T03:25:02.298Z] | | ___ __| | ___ ___ _____ __ [2024-10-18T03:25:02.298Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-18T03:25:02.298Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-18T03:25:02.298Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-18T03:25:02.298Z] Bash-1.0.6 [2024-10-18T03:25:02.298Z] [2024-10-18T03:25:02.298Z] [2024-10-18T03:25:02.298Z] ==> git version 2.25.1 found [2024-10-18T03:25:02.298Z] ==> 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-10-18T03:25:02.298Z] Release-Date: 2020-01-08 [2024-10-18T03:25:02.298Z] 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-10-18T03:25:02.298Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-18T03:25:02.298Z] ==> Jenkins CI detected. [2024-10-18T03:25:02.298Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-467 [2024-10-18T03:25:02.298Z] project root: . [2024-10-18T03:25:02.298Z] --> token set from env [2024-10-18T03:25:02.298Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-18T03:25:02.298Z] ==> Running gcov in . (disable via -X gcov) [2024-10-18T03:25:02.298Z] ==> Python coveragepy not found [2024-10-18T03:25:02.298Z] ==> Searching for coverage reports in: [2024-10-18T03:25:02.298Z] + . [2024-10-18T03:25:02.298Z] -> Found 1 reports [2024-10-18T03:25:02.298Z] ==> Detecting git/mercurial file structure [2024-10-18T03:25:02.558Z] ==> Reading reports [2024-10-18T03:25:02.558Z] + ./coverage.out bytes=92292 [2024-10-18T03:25:02.558Z] ==> Appending adjustments [2024-10-18T03:25:02.558Z] https://docs.codecov.io/docs/fixing-reports [2024-10-18T03:25:02.558Z] + Found adjustments [2024-10-18T03:25:02.558Z] ==> Gzipping contents [2024-10-18T03:25:02.558Z] 12K /tmp/codecov.O0MXWD.gz [2024-10-18T03:25:02.558Z] ==> Uploading reports [2024-10-18T03:25:02.558Z] url: https://codecov.io [2024-10-18T03:25:02.558Z] query: branch=PR-467&commit=b4533ba52c5353d32e7a99d516642162464194d4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-467%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=467&job=&cmd_args= [2024-10-18T03:25:02.558Z] -> Pinging Codecov [2024-10-18T03:25:02.558Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-467&commit=b4533ba52c5353d32e7a99d516642162464194d4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-467%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=467&job=&cmd_args= [2024-10-18T03:25:02.816Z] -> Uploading to [2024-10-18T03:25:02.816Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/b4533ba52c5353d32e7a99d516642162464194d4/d549c5f4-55c2-4379-aac6-3e755b9373c4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241018%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241018T032502Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2e4a1f038e78c671d590463f92b1aea86321cfd29c01de05bd6d18178afe9861 [2024-10-18T03:25:02.816Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-18T03:25:02.816Z] Dload Upload Total Spent Left Speed [2024-10-18T03:25:03.075Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 48364 --:--:-- --:--:-- --:--:-- 48364 [2024-10-18T03:25:03.075Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b4533ba52c5353d32e7a99d516642162464194d4 [Pipeline] } [2024-10-18T03:25:03.107Z] 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-10-18T03:25:05.462Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-467/archives ] [2024-10-18T03:25:05.462Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-467/archives [2024-10-18T03:25:05.462Z] total 16 [2024-10-18T03:25:05.462Z] drwxr-xr-x 3 root root 4096 Oct 18 03:13 . [2024-10-18T03:25:05.462Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 03:13 .. [2024-10-18T03:25:05.462Z] drwxr-xr-x 2 root root 4096 Oct 18 03:13 cost [2024-10-18T03:25:05.462Z] -rw-r--r-- 1 root root 91 Oct 18 03:13 cost.csv [2024-10-18T03:25:05.462Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-467/archives [2024-10-18T03:25:05.462Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-467/archives [2024-10-18T03:25:05.462Z] total 16 [2024-10-18T03:25:05.462Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 03:13 . [2024-10-18T03:25:05.462Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 03:13 .. [2024-10-18T03:25:05.462Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 03:13 cost [2024-10-18T03:25:05.462Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 18 03:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:25:05.800Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:25:06.806Z] ---> package-listing.sh [2024-10-18T03:25:06.806Z] ++ facter osfamily [2024-10-18T03:25:06.806Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-18T03:25:06.806Z] + OS_FAMILY=debian [2024-10-18T03:25:06.806Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-467 [2024-10-18T03:25:06.806Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-18T03:25:06.806Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-18T03:25:06.806Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-18T03:25:06.806Z] + PACKAGES=/tmp/packages_start.txt [2024-10-18T03:25:06.806Z] + '[' /w/workspace/undry_device-onvif-camera_PR-467 ']' [2024-10-18T03:25:06.806Z] + PACKAGES=/tmp/packages_end.txt [2024-10-18T03:25:06.806Z] + case "${OS_FAMILY}" in [2024-10-18T03:25:06.806Z] + dpkg -l [2024-10-18T03:25:06.806Z] + grep '^ii' [2024-10-18T03:25:06.806Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-18T03:25:06.806Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-18T03:25:06.806Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-18T03:25:06.806Z] + '[' /w/workspace/undry_device-onvif-camera_PR-467 ']' [2024-10-18T03:25:06.806Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-467/archives/ [2024-10-18T03:25:06.806Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-467/archives/ [Pipeline] echo [2024-10-18T03:25:06.856Z] 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-467/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-18T03:25:07.152Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-18T03:25:07.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-18T03:25:07.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-18T03:25:07.959Z] prd-ubuntu20.04-docker-8c-8g-23236 does not seem to be running inside a container [2024-10-18T03:25:07.989Z] $ 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-467/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-467 -v /w/workspace/undry_device-onvif-camera_PR-467:/w/workspace/undry_device-onvif-camera_PR-467:rw,z -v /w/workspace/undry_device-onvif-camera_PR-467@tmp:/w/workspace/undry_device-onvif-camera_PR-467@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-10-18T03:25:08.181Z] $ docker top a7b69ed81e46a6ce1d4a48fe53333addac3857760f7d03bd241c8af76c052695 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-18T03:25:08.598Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-18T03:25:08.919Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-18T03:25:09.237Z] + ls /var/log/sa-host [2024-10-18T03:25:09.237Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-18T03:25:09.481Z] provisioning config files... [2024-10-18T03:25:09.493Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-467@tmp/config14929432717733998835tmp [Pipeline] { [Pipeline] echo [2024-10-18T03:25:09.567Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:25:09.896Z] ---> create-netrc.sh [Pipeline] } [2024-10-18T03:25:09.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:25:10.358Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-18T03:25:10.397Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:25:10.721Z] ---> sudo-logs.sh [2024-10-18T03:25:10.721Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-18T03:25:10.826Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:25:11.152Z] ---> job-cost.sh [2024-10-18T03:25:11.152Z] lf-activate-venv: SKIPPING [2024-10-18T03:25:11.152Z] DEBUG: total: 0.2199999988079071 [2024-10-18T03:25:11.152Z] INFO: Retrieving Stack Cost... [2024-10-18T03:25:11.722Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-18T03:25:11.981Z] INFO: Archiving Costs [Pipeline] echo [2024-10-18T03:25:12.023Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-18T03:25:12.352Z] ---> logs-deploy.sh [2024-10-18T03:25:12.352Z] lf-activate-venv: SKIPPING [2024-10-18T03:25:12.352Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-467/1 [2024-10-18T03:25:12.352Z] INFO: archiving workspace using pattern(s): [2024-10-18T03:25:13.288Z] Archives upload complete. [2024-10-18T03:25:13.583Z] INFO: archiving logs to Nexus