Pull request #309 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec+7c14cf897af34df275d4233d707e2506881d1776 (fe5773079fe40bda6aaf09e1334032b09893be21) 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-ssh4541861366123612181.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4081996254663327714.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-309/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-309/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17623997777296449463.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-309/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16375521432591554563.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh6814308980393686380.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-309/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-309/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7025721378361314312.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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/v2]] ========================================================= [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.20 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8765 in /w/workspace/undry_device-onvif-camera_PR-309 [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-309 # 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/309/head:refs/remotes/origin/PR-309 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7c14cf897af34df275d4233d707e2506881d1776 into PR head commit 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec Merge succeeded, producing 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec Checking out Revision 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec (PR-309) > git config core.sparsecheckout # timeout=10 > git checkout -f 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec # 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 7c14cf897af34df275d4233d707e2506881d1776 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec # timeout=10 Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T18:54:33.344Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T18:54:33.515Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T18:54:33.621Z] ========================================================= [2023-04-17T18:54:33.621Z] EdgeX Global Pipelines Version Info [2023-04-17T18:54:33.621Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:54:34.388Z] ------------------- [2023-04-17T18:54:34.389Z] stable info: [2023-04-17T18:54:34.389Z] ------------------- [2023-04-17T18:54:34.389Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T18:54:34.389Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:54:34.389Z] Message: update stable to v1.0.248 [2023-04-17T18:54:34.959Z] ------------------- [2023-04-17T18:54:34.959Z] experimental info: [2023-04-17T18:54:34.959Z] ------------------- [2023-04-17T18:54:34.959Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T18:54:34.959Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:54:34.959Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T18:54:35.227Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-17T18:54:35.269Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-17T18:54:35.306Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T18:54:35.341Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T18:54:35.386Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T18:54:35.428Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T18:54:35.473Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T18:54:35.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T18:54:35.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T18:54:35.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T18:54:35.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T18:54:35.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-17T18:54:35.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T18:54:35.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T18:54:35.923Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T18:54:35.962Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T18:54:36.001Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T18:54:36.041Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T18:54:36.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T18:54:36.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T18:54:36.170Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-17T18:54:36.212Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-17T18:54:36.256Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T18:54:36.299Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T18:54:36.347Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T18:54:36.389Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T18:54:36.433Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T18:54:36.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-309 [Pipeline] echo [2023-04-17T18:54:36.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-309 [Pipeline] echo [2023-04-17T18:54:36.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-309 [Pipeline] echo [2023-04-17T18:54:36.603Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec [Pipeline] echo [2023-04-17T18:54:36.646Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6bdb430 [Pipeline] echo [2023-04-17T18:54:36.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:54:36.809Z] provisioning config files... [2023-04-17T18:54:36.825Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-309@tmp/config11534482700838231668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:54:37.173Z] ---> docker-login.sh [2023-04-17T18:54:37.173Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:54:37.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:54:37.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:54:37.433Z] Configure a credential helper to remove this warning. See [2023-04-17T18:54:37.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:54:37.433Z] [2023-04-17T18:54:37.433Z] Login Succeeded [2023-04-17T18:54:37.433Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:54:37.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:54:37.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:54:37.693Z] Configure a credential helper to remove this warning. See [2023-04-17T18:54:37.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:54:37.693Z] [2023-04-17T18:54:37.693Z] Login Succeeded [2023-04-17T18:54:37.693Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:54:37.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:54:37.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:54:37.693Z] Configure a credential helper to remove this warning. See [2023-04-17T18:54:37.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:54:37.693Z] [2023-04-17T18:54:37.693Z] Login Succeeded [2023-04-17T18:54:37.693Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:54:37.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:54:37.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:54:37.954Z] Configure a credential helper to remove this warning. See [2023-04-17T18:54:37.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:54:37.954Z] [2023-04-17T18:54:37.954Z] Login Succeeded [2023-04-17T18:54:37.954Z] docker.io [2023-04-17T18:54:37.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:54:38.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:54:38.214Z] Configure a credential helper to remove this warning. See [2023-04-17T18:54:38.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:54:38.214Z] [2023-04-17T18:54:38.214Z] Login Succeeded [2023-04-17T18:54:38.214Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:54:38.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T18:54:38.858Z] + git rev-list -1 --merges 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec~1..6bdb430b29f1c0710c4aaf0684041bf2d40a24ec [Pipeline] echo [2023-04-17T18:54:38.919Z] -----------> git rev-list -1 --merges 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec~1..6bdb430b29f1c0710c4aaf0684041bf2d40a24ec 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec [false] [Pipeline] sh [2023-04-17T18:54:39.227Z] + git log --format=format:%s -1 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec [Pipeline] echo [2023-04-17T18:54:39.259Z] ========================================================= [2023-04-17T18:54:39.259Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T18:54:39.259Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:54:39.681Z] + git log --format=format:%s -1 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec [Pipeline] echo [2023-04-17T18:54:39.711Z] [semverPrep] GIT_COMMIT: 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec, Commit Message: fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config [Pipeline] echo [2023-04-17T18:54:39.742Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T18:54:40.127Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T18:54:40.127Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T18:54:40.127Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T18:54:40.127Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T18:54:40.127Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T18:54:40.127Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T18:54:40.127Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:54:40.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:54:40.573Z] [2023-04-17T18:54:40.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:54:40.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:54:40.994Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T18:54:40.994Z] b85a868b505f: Pulling fs layer [2023-04-17T18:54:40.994Z] e2be974225ed: Pulling fs layer [2023-04-17T18:54:40.994Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T18:54:40.994Z] 988bab9f4d93: Pulling fs layer [2023-04-17T18:54:40.994Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T18:54:40.994Z] eaf3925da568: Pulling fs layer [2023-04-17T18:54:40.994Z] bab4dde63d76: Pulling fs layer [2023-04-17T18:54:40.994Z] bde34c3a00c8: Pulling fs layer [2023-04-17T18:54:40.994Z] b352a97aabf1: Pulling fs layer [2023-04-17T18:54:40.994Z] 4872d77fe225: Pulling fs layer [2023-04-17T18:54:40.994Z] 5851b861e8e6: Pulling fs layer [2023-04-17T18:54:40.994Z] bab4dde63d76: Waiting [2023-04-17T18:54:40.994Z] b352a97aabf1: Waiting [2023-04-17T18:54:40.994Z] 988bab9f4d93: Waiting [2023-04-17T18:54:40.994Z] 1469e6f7b9e6: Waiting [2023-04-17T18:54:40.994Z] eaf3925da568: Waiting [2023-04-17T18:54:40.994Z] 4872d77fe225: Waiting [2023-04-17T18:54:40.994Z] bde34c3a00c8: Waiting [2023-04-17T18:54:40.994Z] e2be974225ed: Download complete [2023-04-17T18:54:40.994Z] 988bab9f4d93: Download complete [2023-04-17T18:54:41.255Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T18:54:41.255Z] 1469e6f7b9e6: Download complete [2023-04-17T18:54:41.255Z] eaf3925da568: Verifying Checksum [2023-04-17T18:54:41.255Z] eaf3925da568: Download complete [2023-04-17T18:54:41.255Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T18:54:41.255Z] bde34c3a00c8: Verifying Checksum [2023-04-17T18:54:41.255Z] bde34c3a00c8: Download complete [2023-04-17T18:54:41.255Z] b352a97aabf1: Download complete [2023-04-17T18:54:41.255Z] 4872d77fe225: Download complete [2023-04-17T18:54:41.255Z] 5851b861e8e6: Verifying Checksum [2023-04-17T18:54:41.255Z] 5851b861e8e6: Download complete [2023-04-17T18:54:41.255Z] b85a868b505f: Verifying Checksum [2023-04-17T18:54:41.255Z] b85a868b505f: Download complete [2023-04-17T18:54:41.515Z] bab4dde63d76: Verifying Checksum [2023-04-17T18:54:41.515Z] bab4dde63d76: Download complete [2023-04-17T18:54:42.892Z] b85a868b505f: Pull complete [2023-04-17T18:54:42.892Z] e2be974225ed: Pull complete [2023-04-17T18:54:43.152Z] 339a4e72a1f5: Pull complete [2023-04-17T18:54:43.413Z] 988bab9f4d93: Pull complete [2023-04-17T18:54:43.672Z] 1469e6f7b9e6: Pull complete [2023-04-17T18:54:43.672Z] eaf3925da568: Pull complete [2023-04-17T18:54:45.574Z] bab4dde63d76: Pull complete [2023-04-17T18:54:45.574Z] bde34c3a00c8: Pull complete [2023-04-17T18:54:45.835Z] b352a97aabf1: Pull complete [2023-04-17T18:54:45.835Z] 4872d77fe225: Pull complete [2023-04-17T18:54:45.835Z] 5851b861e8e6: Pull complete [2023-04-17T18:54:45.835Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T18:54:45.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:54:45.835Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:54:46.065Z] prd-ubuntu20.04-docker-8c-8g-8765 does not seem to be running inside a container [2023-04-17T18:54:46.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-309 -v /w/workspace/undry_device-onvif-camera_PR-309:/w/workspace/undry_device-onvif-camera_PR-309:rw,z -v /w/workspace/undry_device-onvif-camera_PR-309@tmp:/w/workspace/undry_device-onvif-camera_PR-309@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-devops/py-git-semver:0.1.4 cat [2023-04-17T18:54:47.636Z] $ docker top 49dfe2a963edf9d4fc1dde2b4fe07d7677017a4d202c52d2c816f02f80f4b050 -eo pid,comm [2023-04-17T18:54:47.694Z] 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). [2023-04-17T18:54:47.694Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T18:54:47.817Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:54:47.817Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:54:47.936Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:54:47.943Z] $ docker exec 49dfe2a963edf9d4fc1dde2b4fe07d7677017a4d202c52d2c816f02f80f4b050 ssh-agent [2023-04-17T18:54:48.051Z] SSH_AUTH_SOCK=/tmp/ssh-DunLd867iDxE/agent.33 [2023-04-17T18:54:48.051Z] SSH_AGENT_PID=39 [2023-04-17T18:54:48.057Z] Running ssh-add (command line suppressed) [2023-04-17T18:54:48.158Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-309@tmp/private_key_439594257917170884.key (/w/workspace/undry_device-onvif-camera_PR-309@tmp/private_key_439594257917170884.key) [2023-04-17T18:54:48.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:54:48.503Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T18:54:48.536Z] $ docker exec --env ******** --env ******** 49dfe2a963edf9d4fc1dde2b4fe07d7677017a4d202c52d2c816f02f80f4b050 ssh-agent -k [2023-04-17T18:54:48.652Z] unset SSH_AUTH_SOCK; [2023-04-17T18:54:48.652Z] unset SSH_AGENT_PID; [2023-04-17T18:54:48.653Z] echo Agent pid 39 killed; [2023-04-17T18:54:48.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T18:54:48.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:54:48.737Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:54:48.845Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:54:48.851Z] $ docker exec 49dfe2a963edf9d4fc1dde2b4fe07d7677017a4d202c52d2c816f02f80f4b050 ssh-agent [2023-04-17T18:54:48.950Z] SSH_AUTH_SOCK=/tmp/ssh-zXqQ4DDUQw9x/agent.71 [2023-04-17T18:54:48.950Z] SSH_AGENT_PID=77 [2023-04-17T18:54:48.955Z] Running ssh-add (command line suppressed) [2023-04-17T18:54:49.062Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-309@tmp/private_key_7052897133788722507.key (/w/workspace/undry_device-onvif-camera_PR-309@tmp/private_key_7052897133788722507.key) [2023-04-17T18:54:49.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:54:49.399Z] + git semver init [2023-04-17T18:54:49.659Z] 2023-04-17 18:54:49,600 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T18:54:49.659Z] 2023-04-17 18:54:49,601 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-309/.semver [2023-04-17T18:54:49.659Z] 2023-04-17 18:54:49,601 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-309/.semver [2023-04-17T18:54:49.659Z] 2023-04-17 18:54:49,602 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-309/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-309, universal_newlines=False, shell=None, istream=None) [2023-04-17T18:54:50.595Z] 2023-04-17 18:54:50,419 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-309/.git/info/exclude [2023-04-17T18:54:50.595Z] 2023-04-17 18:54:50,420 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-309/.semver/PR-309 with force:False [2023-04-17T18:54:50.595Z] 2023-04-17 18:54:50,420 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-309/.semver/PR-309 [2023-04-17T18:54:50.595Z] 2023-04-17 18:54:50,424 [execute] INFO git cat-file --batch-check [2023-04-17T18:54:50.595Z] 2023-04-17 18:54:50,425 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-309/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T18:54:50.595Z] 2023-04-17 18:54:50,430 [execute] INFO git cat-file --batch [2023-04-17T18:54:50.595Z] 2023-04-17 18:54:50,431 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-309/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T18:54:50.595Z] 2023-04-17 18:54:50,437 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-309/.semver/PR-309 [2023-04-17T18:54:50.595Z] 0.0.0 [Pipeline] } [2023-04-17T18:54:50.629Z] $ docker exec --env ******** --env ******** 49dfe2a963edf9d4fc1dde2b4fe07d7677017a4d202c52d2c816f02f80f4b050 ssh-agent -k [2023-04-17T18:54:50.732Z] unset SSH_AUTH_SOCK; [2023-04-17T18:54:50.732Z] unset SSH_AGENT_PID; [2023-04-17T18:54:50.732Z] echo Agent pid 77 killed; [2023-04-17T18:54:50.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T18:54:51.176Z] + git semver [Pipeline] } [2023-04-17T18:54:51.464Z] $ docker stop --time=1 49dfe2a963edf9d4fc1dde2b4fe07d7677017a4d202c52d2c816f02f80f4b050 [2023-04-17T18:54:52.833Z] $ docker rm -f --volumes 49dfe2a963edf9d4fc1dde2b4fe07d7677017a4d202c52d2c816f02f80f4b050 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:54:53.233Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T18:54:53.492Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T18:54:53.509Z] [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 [2023-04-17T18:54:54.177Z] provisioning config files... [2023-04-17T18:54:54.188Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-309@tmp/config12503340748608369143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:54:54.530Z] ---> docker-login.sh [2023-04-17T18:54:54.530Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:54:54.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:54:54.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:54:54.530Z] Configure a credential helper to remove this warning. See [2023-04-17T18:54:54.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:54:54.530Z] [2023-04-17T18:54:54.530Z] Login Succeeded [2023-04-17T18:54:54.530Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:54:54.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:54:54.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:54:54.530Z] Configure a credential helper to remove this warning. See [2023-04-17T18:54:54.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:54:54.530Z] [2023-04-17T18:54:54.530Z] Login Succeeded [2023-04-17T18:54:54.530Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:54:54.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:54:54.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:54:54.789Z] Configure a credential helper to remove this warning. See [2023-04-17T18:54:54.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:54:54.789Z] [2023-04-17T18:54:54.789Z] Login Succeeded [2023-04-17T18:54:54.789Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:54:54.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:54:54.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:54:54.789Z] Configure a credential helper to remove this warning. See [2023-04-17T18:54:54.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:54:54.789Z] [2023-04-17T18:54:54.789Z] Login Succeeded [2023-04-17T18:54:54.789Z] docker.io [2023-04-17T18:54:55.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:54:55.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:54:55.049Z] Configure a credential helper to remove this warning. See [2023-04-17T18:54:55.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:54:55.049Z] [2023-04-17T18:54:55.049Z] Login Succeeded [2023-04-17T18:54:55.049Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:54:55.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T18:54:55.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:54:55.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:54:55.420Z] ========================================================= [2023-04-17T18:54:55.420Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T18:54:55.420Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:54:55.888Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T18:54:55.888Z] Sending build context to Docker daemon 26.93MB [2023-04-17T18:54:55.888Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:54:55.888Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-17T18:54:56.149Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T18:54:56.149Z] 63b65145d645: Pulling fs layer [2023-04-17T18:54:56.149Z] a2d21d5440eb: Pulling fs layer [2023-04-17T18:54:56.149Z] 935e6c44a52c: Pulling fs layer [2023-04-17T18:54:56.149Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T18:54:56.149Z] 30dea6a524f1: Pulling fs layer [2023-04-17T18:54:56.149Z] a2aff8979fd8: Pulling fs layer [2023-04-17T18:54:56.149Z] 6808be2612f2: Pulling fs layer [2023-04-17T18:54:56.149Z] f25807f1079a: Pulling fs layer [2023-04-17T18:54:56.149Z] 94cc34f8dd06: Waiting [2023-04-17T18:54:56.149Z] 30dea6a524f1: Waiting [2023-04-17T18:54:56.149Z] a2aff8979fd8: Waiting [2023-04-17T18:54:56.149Z] 6808be2612f2: Waiting [2023-04-17T18:54:56.149Z] f25807f1079a: Waiting [2023-04-17T18:54:56.149Z] a2d21d5440eb: Verifying Checksum [2023-04-17T18:54:56.149Z] a2d21d5440eb: Download complete [2023-04-17T18:54:56.149Z] 94cc34f8dd06: Verifying Checksum [2023-04-17T18:54:56.149Z] 94cc34f8dd06: Download complete [2023-04-17T18:54:56.149Z] 30dea6a524f1: Verifying Checksum [2023-04-17T18:54:56.149Z] 30dea6a524f1: Download complete [2023-04-17T18:54:56.149Z] 63b65145d645: Verifying Checksum [2023-04-17T18:54:56.149Z] 63b65145d645: Download complete [2023-04-17T18:54:56.149Z] a2aff8979fd8: Verifying Checksum [2023-04-17T18:54:56.149Z] a2aff8979fd8: Download complete [2023-04-17T18:54:56.410Z] 63b65145d645: Pull complete [2023-04-17T18:54:56.410Z] a2d21d5440eb: Pull complete [2023-04-17T18:54:56.669Z] f25807f1079a: Verifying Checksum [2023-04-17T18:54:56.669Z] f25807f1079a: Download complete [2023-04-17T18:54:56.929Z] 935e6c44a52c: Verifying Checksum [2023-04-17T18:54:56.929Z] 935e6c44a52c: Download complete [2023-04-17T18:54:56.929Z] 6808be2612f2: Verifying Checksum [2023-04-17T18:54:56.929Z] 6808be2612f2: Download complete [2023-04-17T18:55:01.128Z] 935e6c44a52c: Pull complete [2023-04-17T18:55:01.128Z] 94cc34f8dd06: Pull complete [2023-04-17T18:55:01.128Z] 30dea6a524f1: Pull complete [2023-04-17T18:55:01.128Z] a2aff8979fd8: Pull complete [2023-04-17T18:55:03.665Z] 6808be2612f2: Pull complete [2023-04-17T18:55:04.231Z] f25807f1079a: Pull complete [2023-04-17T18:55:04.231Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T18:55:04.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T18:55:04.231Z] ---> 3b553350e43f [2023-04-17T18:55:04.231Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:55:06.138Z] ---> Running in b16c6159769b [2023-04-17T18:55:06.138Z] Removing intermediate container b16c6159769b [2023-04-17T18:55:06.138Z] ---> 566d55b1d75e [2023-04-17T18:55:06.138Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:55:06.138Z] ---> Running in 57ebe56b25c4 [2023-04-17T18:55:06.138Z] Removing intermediate container 57ebe56b25c4 [2023-04-17T18:55:06.138Z] ---> 377bca3b4525 [2023-04-17T18:55:06.138Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-17T18:55:06.138Z] ---> Running in 6d4822dd6f78 [2023-04-17T18:55:06.398Z] Removing intermediate container 6d4822dd6f78 [2023-04-17T18:55:06.398Z] ---> 2f5e826bd3e3 [2023-04-17T18:55:06.398Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:55:06.398Z] ---> Running in 44fab480af3f [2023-04-17T18:55:06.398Z] Removing intermediate container 44fab480af3f [2023-04-17T18:55:06.398Z] ---> ab34d47a3ad3 [2023-04-17T18:55:06.398Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-17T18:55:06.398Z] ---> Running in 5c45c38506f1 [2023-04-17T18:55:06.657Z] Removing intermediate container 5c45c38506f1 [2023-04-17T18:55:06.657Z] ---> 6f2db090dcc6 [2023-04-17T18:55:06.657Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:55:06.657Z] ---> Running in 0c3241c847d6 [2023-04-17T18:55:06.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:55:07.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:55:07.438Z] OK: 265 MiB in 53 packages [2023-04-17T18:55:07.707Z] Removing intermediate container 0c3241c847d6 [2023-04-17T18:55:07.707Z] ---> 6cb1e644347f [2023-04-17T18:55:07.707Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-17T18:55:07.707Z] ---> Running in fa62ada4ef45 [2023-04-17T18:55:07.966Z] Removing intermediate container fa62ada4ef45 [2023-04-17T18:55:07.966Z] ---> f62ad158436d [2023-04-17T18:55:07.966Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-17T18:55:07.966Z] ---> e119e38cdccf [2023-04-17T18:55:07.966Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:55:08.226Z] ---> Running in 55d1f7b2dacb [2023-04-17T18:55:08.924Z] Still waiting to schedule task [2023-04-17T18:55:08.924Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8764’ [2023-04-17T18:55:34.796Z] Removing intermediate container 55d1f7b2dacb [2023-04-17T18:55:34.796Z] ---> 1e8f4d40b64a [2023-04-17T18:55:34.796Z] Step 12/13 : COPY . . [2023-04-17T18:55:34.796Z] ---> 953ebeb7849f [2023-04-17T18:55:34.796Z] Step 13/13 : RUN ${MAKE} [2023-04-17T18:55:34.796Z] ---> Running in c20be3820706 [2023-04-17T18:55:34.796Z] noop [2023-04-17T18:55:34.796Z] Removing intermediate container c20be3820706 [2023-04-17T18:55:34.796Z] ---> 9c6d969e3b3e [2023-04-17T18:55:34.796Z] Successfully built 9c6d969e3b3e [2023-04-17T18:55:34.796Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:55:35.242Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T18:55:35.242Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:55:35.393Z] prd-ubuntu20.04-docker-8c-8g-8765 does not seem to be running inside a container [2023-04-17T18:55:35.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-309 -v /w/workspace/undry_device-onvif-camera_PR-309:/w/workspace/undry_device-onvif-camera_PR-309:rw,z -v /w/workspace/undry_device-onvif-camera_PR-309@tmp:/w/workspace/undry_device-onvif-camera_PR-309@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T18:55:35.803Z] $ docker top b19411a42ab52c35148f4961a8f762703f461f3418b196c8adb7ee09ccc8b987 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:55:36.197Z] + go version [2023-04-17T18:55:36.197Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T18:55:36.233Z] $ docker stop --time=1 b19411a42ab52c35148f4961a8f762703f461f3418b196c8adb7ee09ccc8b987 [2023-04-17T18:55:37.541Z] $ docker rm -f --volumes b19411a42ab52c35148f4961a8f762703f461f3418b196c8adb7ee09ccc8b987 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:55:38.255Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T18:55:38.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:55:38.401Z] prd-ubuntu20.04-docker-8c-8g-8765 does not seem to be running inside a container [2023-04-17T18:55:38.435Z] $ 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-309 -v /w/workspace/undry_device-onvif-camera_PR-309:/w/workspace/undry_device-onvif-camera_PR-309:rw,z -v /w/workspace/undry_device-onvif-camera_PR-309@tmp:/w/workspace/undry_device-onvif-camera_PR-309@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T18:55:38.811Z] $ docker top c455f9449973253b23e4a502693fee0f1d2d88434a2122cd402fad01aa3fba61 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:55:39.212Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-309 [Pipeline] fileExists [Pipeline] sh [2023-04-17T18:55:39.562Z] + make test [2023-04-17T18:55:39.562Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T18:55:44.831Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-17T18:55:54.793Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-17T18:55:54.793Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-17T18:55:56.168Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 31.6% of statements [2023-04-17T18:55:59.465Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.887s coverage: 86.5% of statements [2023-04-17T18:56:06.039Z] go vet ./... [2023-04-17T18:56:09.325Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T18:56:09.325Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T18:56:09.325Z] ./bin/test-attribution-txt.sh [2023-04-17T18:56:09.325Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T18:56:09.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T18:56:09.409Z] $ docker stop --time=1 c455f9449973253b23e4a502693fee0f1d2d88434a2122cd402fad01aa3fba61 [2023-04-17T18:56:10.838Z] $ docker rm -f --volumes c455f9449973253b23e4a502693fee0f1d2d88434a2122cd402fad01aa3fba61 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:56:11.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T18:56:11.426Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T18:56:12.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T18:56:12.347Z] + ls -al . [2023-04-17T18:56:12.347Z] total 236 [2023-04-17T18:56:12.347Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 18:55 . [2023-04-17T18:56:12.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:54 .. [2023-04-17T18:56:12.347Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:54 .git [2023-04-17T18:56:12.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:54 .github [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 17 18:54 .gitignore [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 18:54 .golangci.yml [2023-04-17T18:56:12.347Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:54 .semver [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 17 18:54 Attribution.txt [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 17 18:54 CHANGELOG.md [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 17 18:54 Dockerfile [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:54 GOVERNANCE.md [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 17 18:54 Jenkinsfile [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 17 18:54 LICENSE [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 17 18:54 Makefile [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 17 18:54 OWNERS.md [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 17 18:54 README.md [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 18:54 VERSION [2023-04-17T18:56:12.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:54 bin [2023-04-17T18:56:12.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:54 cmd [2023-04-17T18:56:12.347Z] -rw-r--r-- 1 jenkins jenkins 78835 Apr 17 18:55 coverage.out [2023-04-17T18:56:12.347Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 17 18:54 doc [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 17 18:54 go.mod [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 17 18:54 go.sum [2023-04-17T18:56:12.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:54 internal [2023-04-17T18:56:12.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:54 snap [2023-04-17T18:56:12.347Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 17 18:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:56:12.739Z] + 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=6bdb430b29f1c0710c4aaf0684041bf2d40a24ec --label arch=amd64 --label version=0.0.0 . [2023-04-17T18:56:12.739Z] Sending build context to Docker daemon 27.01MB [2023-04-17T18:56:12.739Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:56:12.739Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-17T18:56:12.739Z] ---> 9c6d969e3b3e [2023-04-17T18:56:12.739Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:56:12.997Z] ---> Running in e5fc45c355a7 [2023-04-17T18:56:12.997Z] Removing intermediate container e5fc45c355a7 [2023-04-17T18:56:12.997Z] ---> 228d8ff75c4d [2023-04-17T18:56:12.997Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:56:12.997Z] ---> Running in 6409ca563b9e [2023-04-17T18:56:13.255Z] Removing intermediate container 6409ca563b9e [2023-04-17T18:56:13.255Z] ---> a3c2a6643107 [2023-04-17T18:56:13.255Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-17T18:56:13.255Z] ---> Running in 4d128f00b03f [2023-04-17T18:56:13.255Z] Removing intermediate container 4d128f00b03f [2023-04-17T18:56:13.255Z] ---> dfddd6a30efc [2023-04-17T18:56:13.255Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:56:13.255Z] ---> Running in 6c0e60d983b4 [2023-04-17T18:56:13.515Z] Removing intermediate container 6c0e60d983b4 [2023-04-17T18:56:13.515Z] ---> 4116153f1061 [2023-04-17T18:56:13.515Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-17T18:56:13.515Z] ---> Running in 4ed9915a394c [2023-04-17T18:56:13.515Z] Removing intermediate container 4ed9915a394c [2023-04-17T18:56:13.515Z] ---> 5c526ffed36a [2023-04-17T18:56:13.515Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:56:13.515Z] ---> Running in d6f0e7452db6 [2023-04-17T18:56:13.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:56:14.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:56:14.033Z] OK: 265 MiB in 53 packages [2023-04-17T18:56:14.606Z] Removing intermediate container d6f0e7452db6 [2023-04-17T18:56:14.606Z] ---> cd659771be1e [2023-04-17T18:56:14.606Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-17T18:56:14.606Z] ---> Running in 50f13ac0b9eb [2023-04-17T18:56:14.606Z] Removing intermediate container 50f13ac0b9eb [2023-04-17T18:56:14.606Z] ---> 7450a5e660e7 [2023-04-17T18:56:14.606Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-17T18:56:14.865Z] ---> 487b1fc1e0f9 [2023-04-17T18:56:14.865Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:56:14.865Z] ---> Running in 0ee8f0e5467d [2023-04-17T18:56:15.804Z] Removing intermediate container 0ee8f0e5467d [2023-04-17T18:56:15.804Z] ---> 1a76281b0466 [2023-04-17T18:56:15.804Z] Step 12/26 : COPY . . [2023-04-17T18:56:16.373Z] ---> d11af609c910 [2023-04-17T18:56:16.373Z] Step 13/26 : RUN ${MAKE} [2023-04-17T18:56:16.373Z] ---> Running in 3b3b4db89b66 [2023-04-17T18:56:16.373Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-17T18:56:34.447Z] Removing intermediate container 3b3b4db89b66 [2023-04-17T18:56:34.447Z] ---> f64acae850f8 [2023-04-17T18:56:34.447Z] Step 14/26 : FROM alpine:3.17 [2023-04-17T18:56:35.012Z] 3.17: Pulling from library/alpine [2023-04-17T18:56:35.012Z] f56be85fc22e: Pulling fs layer [2023-04-17T18:56:35.012Z] f56be85fc22e: Verifying Checksum [2023-04-17T18:56:35.012Z] f56be85fc22e: Download complete [2023-04-17T18:56:35.271Z] f56be85fc22e: Pull complete [2023-04-17T18:56:35.271Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T18:56:35.271Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T18:56:35.271Z] ---> 9ed4aefc74f6 [2023-04-17T18:56:35.271Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-17T18:56:35.271Z] ---> Running in 99182bbafa4c [2023-04-17T18:56:35.529Z] Removing intermediate container 99182bbafa4c [2023-04-17T18:56:35.529Z] ---> 4cd54e37c01c [2023-04-17T18:56:35.529Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-17T18:56:35.529Z] ---> Running in 173ec55b7d46 [2023-04-17T18:56:35.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:56:35.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:56:36.047Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T18:56:36.047Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:56:36.047Z] OK: 7 MiB in 16 packages [2023-04-17T18:56:36.616Z] Removing intermediate container 173ec55b7d46 [2023-04-17T18:56:36.616Z] ---> 739d65a172d0 [2023-04-17T18:56:36.616Z] Step 17/26 : WORKDIR / [2023-04-17T18:56:36.616Z] ---> Running in a3202a98d659 [2023-04-17T18:56:36.616Z] Removing intermediate container a3202a98d659 [2023-04-17T18:56:36.616Z] ---> a734c9028d8f [2023-04-17T18:56:36.616Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-17T18:56:37.184Z] ---> 96ccb7bcdfe8 [2023-04-17T18:56:37.184Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-17T18:56:37.184Z] ---> 26ba8aff5f52 [2023-04-17T18:56:37.184Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-17T18:56:37.444Z] ---> b8373bb2f459 [2023-04-17T18:56:37.444Z] Step 21/26 : EXPOSE 59984 [2023-04-17T18:56:37.444Z] ---> Running in 61ea35d8da50 [2023-04-17T18:56:37.444Z] Removing intermediate container 61ea35d8da50 [2023-04-17T18:56:37.444Z] ---> 2102bee2da31 [2023-04-17T18:56:37.444Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-17T18:56:37.703Z] ---> Running in e3878de8908d [2023-04-17T18:56:37.703Z] Removing intermediate container e3878de8908d [2023-04-17T18:56:37.703Z] ---> a1d2d5e42f9a [2023-04-17T18:56:37.703Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-17T18:56:37.703Z] ---> Running in 58754ea8940e [2023-04-17T18:56:37.703Z] Removing intermediate container 58754ea8940e [2023-04-17T18:56:37.703Z] ---> c69f20141057 [2023-04-17T18:56:37.703Z] Step 24/26 : LABEL arch=amd64 [2023-04-17T18:56:37.962Z] ---> Running in cb853c4c17ed [2023-04-17T18:56:37.962Z] Removing intermediate container cb853c4c17ed [2023-04-17T18:56:37.962Z] ---> 57ce90d8de3e [2023-04-17T18:56:37.962Z] Step 25/26 : LABEL git_sha=6bdb430b29f1c0710c4aaf0684041bf2d40a24ec [2023-04-17T18:56:37.962Z] ---> Running in 09df6c288664 [2023-04-17T18:56:37.962Z] Removing intermediate container 09df6c288664 [2023-04-17T18:56:37.962Z] ---> 8c888baa18a7 [2023-04-17T18:56:37.962Z] Step 26/26 : LABEL version=0.0.0 [2023-04-17T18:56:38.223Z] ---> Running in 89093e93afeb [2023-04-17T18:56:38.223Z] Removing intermediate container 89093e93afeb [2023-04-17T18:56:38.223Z] ---> 23188ba8e735 [2023-04-17T18:56:38.224Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T18:56:38.224Z] Successfully built 23188ba8e735 [2023-04-17T18:56:38.224Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:56:39.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:56:39.077Z] [2023-04-17T18:56:39.077Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:56:39.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:56:39.448Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T18:56:39.448Z] 5eb5b503b376: Pulling fs layer [2023-04-17T18:56:39.448Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T18:56:39.448Z] ec43610c2a17: Pulling fs layer [2023-04-17T18:56:39.448Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T18:56:39.448Z] 33b1e0a273af: Pulling fs layer [2023-04-17T18:56:39.448Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T18:56:39.448Z] 2f39f015ded8: Pulling fs layer [2023-04-17T18:56:39.448Z] 5d3b04190fa2: Waiting [2023-04-17T18:56:39.448Z] 2f39f015ded8: Waiting [2023-04-17T18:56:39.448Z] 3a2ae6a8a46f: Waiting [2023-04-17T18:56:39.448Z] 33b1e0a273af: Waiting [2023-04-17T18:56:39.448Z] 5c69ac0246d0: Download complete [2023-04-17T18:56:39.448Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T18:56:39.449Z] 3a2ae6a8a46f: Download complete [2023-04-17T18:56:39.449Z] 33b1e0a273af: Verifying Checksum [2023-04-17T18:56:39.449Z] 33b1e0a273af: Download complete [2023-04-17T18:56:39.449Z] ec43610c2a17: Verifying Checksum [2023-04-17T18:56:39.449Z] ec43610c2a17: Download complete [2023-04-17T18:56:39.449Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T18:56:39.449Z] 5d3b04190fa2: Download complete [2023-04-17T18:56:39.709Z] 5eb5b503b376: Verifying Checksum [2023-04-17T18:56:39.709Z] 5eb5b503b376: Download complete [2023-04-17T18:56:40.276Z] 2f39f015ded8: Download complete [2023-04-17T18:56:40.842Z] 5eb5b503b376: Pull complete [2023-04-17T18:56:40.842Z] 5c69ac0246d0: Pull complete [2023-04-17T18:56:41.410Z] ec43610c2a17: Pull complete [2023-04-17T18:56:41.410Z] 3a2ae6a8a46f: Pull complete [2023-04-17T18:56:41.669Z] 33b1e0a273af: Pull complete [2023-04-17T18:56:41.669Z] 5d3b04190fa2: Pull complete [2023-04-17T18:56:45.854Z] 2f39f015ded8: Pull complete [2023-04-17T18:56:45.854Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T18:56:45.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:56:45.854Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:56:46.060Z] prd-ubuntu20.04-docker-8c-8g-8765 does not seem to be running inside a container [2023-04-17T18:56:46.091Z] $ 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-309 -v /w/workspace/undry_device-onvif-camera_PR-309:/w/workspace/undry_device-onvif-camera_PR-309:rw,z -v /w/workspace/undry_device-onvif-camera_PR-309@tmp:/w/workspace/undry_device-onvif-camera_PR-309@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T18:56:47.806Z] $ docker top cc0cc0080996942a103065eb36f6abf1d15d15d584a8de646fb11d2810792d59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:56:48.238Z] ---> job-cost.sh [2023-04-17T18:56:48.238Z] lf-activate-venv: SKIPPING [2023-04-17T18:56:48.238Z] INFO: No Stack... [2023-04-17T18:56:48.807Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T18:56:49.068Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T18:56:49.386Z] + cat /w/workspace/undry_device-onvif-camera_PR-309/archives/cost.csv [2023-04-17T18:56:49.386Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T18:56:49.424Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-309-1-stack-cost] [2023-04-17T18:56:49.429Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-309-1-stack-cost] did not exist. Created. [2023-04-17T18:56:49.429Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-309-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T18:56:49.825Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T18:56:49.872Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T18:56:49.903Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-309-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T18:56:49.991Z] $ docker stop --time=1 cc0cc0080996942a103065eb36f6abf1d15d15d584a8de646fb11d2810792d59 [2023-04-17T18:56:51.169Z] $ docker rm -f --volumes cc0cc0080996942a103065eb36f6abf1d15d15d584a8de646fb11d2810792d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T18:58:40.582Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8766 in /w/workspace/undry_device-onvif-camera_PR-309 [Pipeline] { [Pipeline] ws [2023-04-17T18:58:40.647Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-17T18:58:40.726Z] The recommended git tool is: git [2023-04-17T18:58:45.882Z] using credential edgex-jenkins-ssh [2023-04-17T18:58:45.900Z] Cloning the remote Git repository [2023-04-17T18:58:45.943Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-17T18:58:46.033Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-04-17T18:58:46.169Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-17T18:58:46.170Z] > git --version # timeout=10 [2023-04-17T18:58:46.194Z] > git --version # 'git version 2.25.1' [2023-04-17T18:58:46.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:58:46.342Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T18:58:47.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-17T18:58:47.715Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T18:58:49.328Z] Merging remotes/origin/main commit 7c14cf897af34df275d4233d707e2506881d1776 into PR head commit 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec [2023-04-17T18:58:48.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-17T18:58:48.601Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-17T18:58:48.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:58:48.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/309/head:refs/remotes/origin/PR-309 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-17T18:58:49.350Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T18:58:49.430Z] > git checkout -f 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec # timeout=10 [2023-04-17T18:58:49.794Z] Merge succeeded, producing 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec [2023-04-17T18:58:49.795Z] Checking out Revision 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec (PR-309) [2023-04-17T18:58:49.689Z] > git remote # timeout=10 [2023-04-17T18:58:49.705Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T18:58:49.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:58:49.754Z] > git merge 7c14cf897af34df275d4233d707e2506881d1776 # timeout=10 [2023-04-17T18:58:49.780Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T18:58:49.802Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T18:58:49.815Z] > git checkout -f 6bdb430b29f1c0710c4aaf0684041bf2d40a24ec # timeout=10 [2023-04-17T18:58:53.611Z] Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config" [2023-04-17T18:58:53.665Z] > git --version # timeout=10 [2023-04-17T18:58:53.677Z] > git --version # 'git version 2.25.1' [2023-04-17T18:58:53.692Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:58:55.064Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T18:58:55.064Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T18:58:55.064Z] Dload Upload Total Spent Left Speed [2023-04-17T18:58:55.064Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-04-17T18:58:55.786Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T18:58:56.138Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T18:58:56.138Z] + sudo tee /etc/docker/daemon.new [2023-04-17T18:58:56.138Z] { [2023-04-17T18:58:56.138Z] "registry-mirrors": [ [2023-04-17T18:58:56.138Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T18:58:56.138Z] ], [2023-04-17T18:58:56.138Z] "bip": "10.250.0.254/24", [2023-04-17T18:58:56.138Z] "hosts": [ [2023-04-17T18:58:56.138Z] "tcp://0.0.0.0:5555", [2023-04-17T18:58:56.138Z] "unix:///var/run/docker.sock" [2023-04-17T18:58:56.138Z] ], [2023-04-17T18:58:56.138Z] "mtu": 1458, [2023-04-17T18:58:56.138Z] "selinux-enabled": true, [2023-04-17T18:58:56.138Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T18:58:56.138Z] } [Pipeline] sh [2023-04-17T18:58:56.482Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T18:58:56.827Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:59:15.162Z] provisioning config files... [2023-04-17T18:59:15.190Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config9002461936501063879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:59:15.584Z] ---> docker-login.sh [2023-04-17T18:59:15.584Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:59:15.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:59:16.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:59:16.125Z] Configure a credential helper to remove this warning. See [2023-04-17T18:59:16.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:59:16.125Z] [2023-04-17T18:59:16.125Z] Login Succeeded [2023-04-17T18:59:16.125Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:59:16.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:59:16.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:59:16.664Z] Configure a credential helper to remove this warning. See [2023-04-17T18:59:16.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:59:16.664Z] [2023-04-17T18:59:16.664Z] Login Succeeded [2023-04-17T18:59:16.664Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:59:16.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:59:16.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:59:16.935Z] Configure a credential helper to remove this warning. See [2023-04-17T18:59:16.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:59:16.935Z] [2023-04-17T18:59:16.935Z] Login Succeeded [2023-04-17T18:59:16.935Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:59:17.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:59:17.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:59:17.206Z] Configure a credential helper to remove this warning. See [2023-04-17T18:59:17.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:59:17.206Z] [2023-04-17T18:59:17.206Z] Login Succeeded [2023-04-17T18:59:17.206Z] docker.io [2023-04-17T18:59:17.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:59:17.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:59:17.743Z] Configure a credential helper to remove this warning. See [2023-04-17T18:59:17.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:59:17.743Z] [2023-04-17T18:59:17.743Z] Login Succeeded [2023-04-17T18:59:17.743Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:59:17.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T18:59:18.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:59:18.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:59:18.213Z] ========================================================= [2023-04-17T18:59:18.213Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T18:59:18.213Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:59:18.713Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T18:59:19.304Z] Sending build context to Docker daemon 19.66MB [2023-04-17T18:59:19.304Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:59:19.304Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-17T18:59:19.304Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T18:59:19.304Z] af6eaf76a39c: Pulling fs layer [2023-04-17T18:59:19.304Z] 55522c791124: Pulling fs layer [2023-04-17T18:59:19.304Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T18:59:19.304Z] 169dfbe0d373: Pulling fs layer [2023-04-17T18:59:19.304Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T18:59:19.304Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T18:59:19.304Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T18:59:19.304Z] 169dfbe0d373: Waiting [2023-04-17T18:59:19.304Z] 52ebb69f0ebf: Waiting [2023-04-17T18:59:19.304Z] e1ff8fa3b103: Waiting [2023-04-17T18:59:19.304Z] 5abe8eddf0d5: Waiting [2023-04-17T18:59:19.574Z] 55522c791124: Verifying Checksum [2023-04-17T18:59:19.574Z] 55522c791124: Download complete [2023-04-17T18:59:19.574Z] 169dfbe0d373: Verifying Checksum [2023-04-17T18:59:19.574Z] 169dfbe0d373: Download complete [2023-04-17T18:59:19.574Z] e1ff8fa3b103: Download complete [2023-04-17T18:59:19.574Z] af6eaf76a39c: Verifying Checksum [2023-04-17T18:59:19.574Z] af6eaf76a39c: Download complete [2023-04-17T18:59:20.546Z] af6eaf76a39c: Pull complete [2023-04-17T18:59:20.546Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T18:59:20.546Z] 5abe8eddf0d5: Download complete [2023-04-17T18:59:21.154Z] 55522c791124: Pull complete [2023-04-17T18:59:21.739Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T18:59:21.739Z] 52ebb69f0ebf: Download complete [2023-04-17T18:59:21.739Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T18:59:21.739Z] ce5c4a1c91eb: Download complete [2023-04-17T18:59:31.823Z] ce5c4a1c91eb: Pull complete [2023-04-17T18:59:31.823Z] 169dfbe0d373: Pull complete [2023-04-17T18:59:31.823Z] e1ff8fa3b103: Pull complete [2023-04-17T18:59:38.460Z] 52ebb69f0ebf: Pull complete [2023-04-17T18:59:39.871Z] 5abe8eddf0d5: Pull complete [2023-04-17T18:59:39.871Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T18:59:39.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T18:59:39.871Z] ---> 6cb57ee374ae [2023-04-17T18:59:39.871Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:59:41.825Z] ---> Running in c47c89b5f230 [2023-04-17T18:59:41.825Z] Removing intermediate container c47c89b5f230 [2023-04-17T18:59:41.825Z] ---> a9911c688c63 [2023-04-17T18:59:41.825Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:59:41.825Z] ---> Running in bdc8b00ed991 [2023-04-17T18:59:42.090Z] Removing intermediate container bdc8b00ed991 [2023-04-17T18:59:42.090Z] ---> 8fbcef99b5ff [2023-04-17T18:59:42.090Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-04-17T18:59:42.358Z] ---> Running in 70ebf93f27ce [2023-04-17T18:59:42.625Z] Removing intermediate container 70ebf93f27ce [2023-04-17T18:59:42.625Z] ---> fa3d79ddbbbf [2023-04-17T18:59:42.625Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:59:42.625Z] ---> Running in 545b11175655 [2023-04-17T18:59:42.901Z] Removing intermediate container 545b11175655 [2023-04-17T18:59:42.901Z] ---> 6b092eb7f64a [2023-04-17T18:59:42.901Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-17T18:59:42.901Z] ---> Running in aa962d5f2d73 [2023-04-17T18:59:43.171Z] Removing intermediate container aa962d5f2d73 [2023-04-17T18:59:43.171Z] ---> f0a785436570 [2023-04-17T18:59:43.171Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:59:43.438Z] ---> Running in d0de35ecfe49 [2023-04-17T18:59:44.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:59:44.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:59:45.938Z] OK: 263 MiB in 53 packages [2023-04-17T18:59:46.902Z] Removing intermediate container d0de35ecfe49 [2023-04-17T18:59:46.902Z] ---> f8c426eec1a6 [2023-04-17T18:59:46.902Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-17T18:59:46.902Z] ---> Running in 6c434df26cc4 [2023-04-17T18:59:47.168Z] Removing intermediate container 6c434df26cc4 [2023-04-17T18:59:47.168Z] ---> 7514e8f1a4cf [2023-04-17T18:59:47.168Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-17T18:59:47.444Z] ---> 4b7fbcbd7728 [2023-04-17T18:59:47.444Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:59:47.712Z] ---> Running in bf50cb9891a7 [2023-04-17T19:00:55.595Z] Removing intermediate container bf50cb9891a7 [2023-04-17T19:00:55.595Z] ---> dd8db9f14323 [2023-04-17T19:00:55.595Z] Step 12/13 : COPY . . [2023-04-17T19:00:55.595Z] ---> 296226ab3fd7 [2023-04-17T19:00:55.595Z] Step 13/13 : RUN ${MAKE} [2023-04-17T19:00:55.595Z] ---> Running in 70c3ff2ca458 [2023-04-17T19:00:55.595Z] noop [2023-04-17T19:00:55.595Z] Removing intermediate container 70c3ff2ca458 [2023-04-17T19:00:55.595Z] ---> 0f7457c05fed [2023-04-17T19:00:55.595Z] Successfully built 0f7457c05fed [2023-04-17T19:00:55.595Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T19:00:56.264Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T19:00:56.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T19:00:56.536Z] prd-ubuntu20.04-docker-arm64-4c-16g-8766 does not seem to be running inside a container [2023-04-17T19:00:56.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T19:00:57.893Z] $ docker top cdb492f214ecb3bac076ae3d0870f89c8b98f6f42c432402938dbb9894f634e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T19:00:58.781Z] + go version [2023-04-17T19:00:58.781Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T19:00:58.833Z] $ docker stop --time=1 cdb492f214ecb3bac076ae3d0870f89c8b98f6f42c432402938dbb9894f634e5 [2023-04-17T19:01:00.450Z] $ docker rm -f --volumes cdb492f214ecb3bac076ae3d0870f89c8b98f6f42c432402938dbb9894f634e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T19:01:01.448Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T19:01:01.448Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T19:01:01.693Z] prd-ubuntu20.04-docker-arm64-4c-16g-8766 does not seem to be running inside a container [2023-04-17T19:01:01.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T19:01:02.960Z] $ docker top 6dc00e8ff7e3e5da38325d8d87cd575fd925c2c64da65feb8eb7dfbc95504997 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T19:01:03.843Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-17T19:01:04.230Z] + make test [2023-04-17T19:01:04.498Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T19:01:36.724Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-17T19:03:43.390Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-17T19:03:43.390Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-17T19:03:44.800Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.195s coverage: 31.6% of statements [2023-04-17T19:04:06.920Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.551s coverage: 86.5% of statements [2023-04-17T19:04:06.920Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T19:04:06.920Z] go vet ./... [2023-04-17T19:04:45.847Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T19:04:45.847Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T19:04:45.847Z] ./bin/test-attribution-txt.sh [2023-04-17T19:04:45.847Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T19:04:45.891Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T19:04:45.927Z] $ docker stop --time=1 6dc00e8ff7e3e5da38325d8d87cd575fd925c2c64da65feb8eb7dfbc95504997 [2023-04-17T19:04:47.726Z] $ docker rm -f --volumes 6dc00e8ff7e3e5da38325d8d87cd575fd925c2c64da65feb8eb7dfbc95504997 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T19:04:48.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T19:04:48.996Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T19:04:49.776Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T19:04:50.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T19:04:50.772Z] + ls -al . [2023-04-17T19:04:50.772Z] total 232 [2023-04-17T19:04:50.772Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 19:01 . [2023-04-17T19:04:50.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:58 .. [2023-04-17T19:04:50.772Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:58 .git [2023-04-17T19:04:50.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:58 .github [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 17 18:58 .gitignore [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 18:58 .golangci.yml [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 9732 Apr 17 18:58 Attribution.txt [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 6312 Apr 17 18:58 CHANGELOG.md [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 1574 Apr 17 18:58 Dockerfile [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:58 GOVERNANCE.md [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 734 Apr 17 18:58 Jenkinsfile [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 17 18:58 LICENSE [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 2751 Apr 17 18:58 Makefile [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 17 18:58 OWNERS.md [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 6250 Apr 17 18:58 README.md [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 18:54 VERSION [2023-04-17T19:04:50.772Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:58 bin [2023-04-17T19:04:50.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:58 cmd [2023-04-17T19:04:50.772Z] -rw-r--r-- 1 jenkins jenkins 78835 Apr 17 19:04 coverage.out [2023-04-17T19:04:50.772Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 17 18:58 doc [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 3557 Apr 17 18:58 go.mod [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 33057 Apr 17 18:58 go.sum [2023-04-17T19:04:50.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:58 internal [2023-04-17T19:04:50.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:58 snap [2023-04-17T19:04:50.772Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 17 18:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T19:04:51.193Z] + 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=6bdb430b29f1c0710c4aaf0684041bf2d40a24ec --label arch=arm64 --label version=0.0.0 . [2023-04-17T19:04:51.782Z] Sending build context to Docker daemon 19.74MB [2023-04-17T19:04:51.782Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T19:04:51.782Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-17T19:04:51.782Z] ---> 0f7457c05fed [2023-04-17T19:04:51.782Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-17T19:04:52.054Z] ---> Running in 39fd49817ae3 [2023-04-17T19:04:52.324Z] Removing intermediate container 39fd49817ae3 [2023-04-17T19:04:52.324Z] ---> 1cb2441e0cd0 [2023-04-17T19:04:52.324Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T19:04:52.324Z] ---> Running in 97bc95b56b7b [2023-04-17T19:04:52.595Z] Removing intermediate container 97bc95b56b7b [2023-04-17T19:04:52.595Z] ---> 363e57871ae6 [2023-04-17T19:04:52.595Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-04-17T19:04:52.595Z] ---> Running in fe6b2214531c [2023-04-17T19:04:52.864Z] Removing intermediate container fe6b2214531c [2023-04-17T19:04:52.864Z] ---> 30fd62e53c2e [2023-04-17T19:04:52.864Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T19:04:52.864Z] ---> Running in 5c338d93fc92 [2023-04-17T19:04:53.454Z] Removing intermediate container 5c338d93fc92 [2023-04-17T19:04:53.454Z] ---> 456e128013c4 [2023-04-17T19:04:53.454Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-17T19:04:53.454Z] ---> Running in b89c9956ad81 [2023-04-17T19:04:53.726Z] Removing intermediate container b89c9956ad81 [2023-04-17T19:04:53.726Z] ---> be10a378aab4 [2023-04-17T19:04:53.726Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T19:04:53.726Z] ---> Running in 7f962e8e6159 [2023-04-17T19:04:54.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T19:04:55.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T19:04:56.227Z] OK: 263 MiB in 53 packages [2023-04-17T19:04:57.190Z] Removing intermediate container 7f962e8e6159 [2023-04-17T19:04:57.190Z] ---> 3cb5e476e81b [2023-04-17T19:04:57.190Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-17T19:04:57.190Z] ---> Running in 38b897f7138a [2023-04-17T19:04:57.457Z] Removing intermediate container 38b897f7138a [2023-04-17T19:04:57.457Z] ---> 236895d4968b [2023-04-17T19:04:57.457Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-17T19:04:58.039Z] ---> 48453aa53be9 [2023-04-17T19:04:58.039Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T19:04:58.039Z] ---> Running in 46a835a4875b [2023-04-17T19:05:00.618Z] Removing intermediate container 46a835a4875b [2023-04-17T19:05:00.618Z] ---> efc43beee808 [2023-04-17T19:05:00.618Z] Step 12/26 : COPY . . [2023-04-17T19:05:02.567Z] ---> c724f056ff62 [2023-04-17T19:05:02.567Z] Step 13/26 : RUN ${MAKE} [2023-04-17T19:05:02.567Z] ---> Running in 67810a7fffa0 [2023-04-17T19:05:03.151Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-04-17T19:07:24.824Z] Removing intermediate container 67810a7fffa0 [2023-04-17T19:07:24.824Z] ---> 9c70947a1b36 [2023-04-17T19:07:24.824Z] Step 14/26 : FROM alpine:3.17 [2023-04-17T19:07:24.824Z] 3.17: Pulling from library/alpine [2023-04-17T19:07:24.824Z] c41833b44d91: Pulling fs layer [2023-04-17T19:07:24.824Z] c41833b44d91: Verifying Checksum [2023-04-17T19:07:24.824Z] c41833b44d91: Download complete [2023-04-17T19:07:24.824Z] c41833b44d91: Pull complete [2023-04-17T19:07:24.824Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T19:07:24.824Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T19:07:24.824Z] ---> 51e60588ff2c [2023-04-17T19:07:24.824Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-17T19:07:24.824Z] ---> Running in 09bfa9b7cd6f [2023-04-17T19:07:24.824Z] Removing intermediate container 09bfa9b7cd6f [2023-04-17T19:07:24.824Z] ---> 9508c7ade691 [2023-04-17T19:07:24.824Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-04-17T19:07:24.824Z] ---> Running in 6c3d1bab2a6b [2023-04-17T19:07:24.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T19:07:24.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T19:07:24.824Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T19:07:24.824Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T19:07:24.824Z] OK: 8 MiB in 16 packages [2023-04-17T19:07:24.824Z] Removing intermediate container 6c3d1bab2a6b [2023-04-17T19:07:24.824Z] ---> 4905059e7089 [2023-04-17T19:07:24.824Z] Step 17/26 : WORKDIR / [2023-04-17T19:07:24.824Z] ---> Running in 8410237401e3 [2023-04-17T19:07:24.824Z] Removing intermediate container 8410237401e3 [2023-04-17T19:07:24.824Z] ---> d0f240e08249 [2023-04-17T19:07:24.824Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-17T19:07:24.824Z] ---> 1fb5aee4c062 [2023-04-17T19:07:24.824Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-17T19:07:25.410Z] ---> f89c09937e37 [2023-04-17T19:07:25.410Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-17T19:07:25.994Z] ---> 93846c5f3cef [2023-04-17T19:07:25.994Z] Step 21/26 : EXPOSE 59984 [2023-04-17T19:07:25.994Z] ---> Running in 414ab56d962c [2023-04-17T19:07:26.261Z] Removing intermediate container 414ab56d962c [2023-04-17T19:07:26.261Z] ---> 492ce330d6fc [2023-04-17T19:07:26.261Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-17T19:07:26.533Z] ---> Running in 5670e725234e [2023-04-17T19:07:26.800Z] Removing intermediate container 5670e725234e [2023-04-17T19:07:26.800Z] ---> 0331e042d4af [2023-04-17T19:07:26.800Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-17T19:07:26.800Z] ---> Running in 01241f2e86d0 [2023-04-17T19:07:27.068Z] Removing intermediate container 01241f2e86d0 [2023-04-17T19:07:27.068Z] ---> 38e8bc6eb959 [2023-04-17T19:07:27.068Z] Step 24/26 : LABEL arch=arm64 [2023-04-17T19:07:27.068Z] ---> Running in efd4138df1a7 [2023-04-17T19:07:27.336Z] Removing intermediate container efd4138df1a7 [2023-04-17T19:07:27.336Z] ---> 4715c4ce68fa [2023-04-17T19:07:27.336Z] Step 25/26 : LABEL git_sha=6bdb430b29f1c0710c4aaf0684041bf2d40a24ec [2023-04-17T19:07:27.604Z] ---> Running in 0e451b366c8d [2023-04-17T19:07:29.548Z] Removing intermediate container 0e451b366c8d [2023-04-17T19:07:29.548Z] ---> e071e2025c89 [2023-04-17T19:07:29.548Z] Step 26/26 : LABEL version=0.0.0 [2023-04-17T19:07:29.548Z] ---> Running in b56fcd5d9a71 [2023-04-17T19:07:29.815Z] Removing intermediate container b56fcd5d9a71 [2023-04-17T19:07:29.815Z] ---> f08e8d19e882 [2023-04-17T19:07:29.815Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T19:07:29.815Z] Successfully built f08e8d19e882 [2023-04-17T19:07:29.815Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T19:07:30.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T19:07:30.644Z] [2023-04-17T19:07:30.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T19:07:31.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T19:07:31.044Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T19:07:31.045Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T19:07:31.045Z] 04944245beec: Pulling fs layer [2023-04-17T19:07:31.045Z] 699f458cf7ca: Pulling fs layer [2023-04-17T19:07:31.045Z] 765212b225bb: Pulling fs layer [2023-04-17T19:07:31.045Z] f23df028b6ca: Pulling fs layer [2023-04-17T19:07:31.045Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T19:07:31.045Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T19:07:31.045Z] 765212b225bb: Waiting [2023-04-17T19:07:31.045Z] f23df028b6ca: Waiting [2023-04-17T19:07:31.045Z] d65c8cfc05b1: Waiting [2023-04-17T19:07:31.045Z] 2437ff75d9bd: Waiting [2023-04-17T19:07:31.312Z] 04944245beec: Verifying Checksum [2023-04-17T19:07:31.312Z] 04944245beec: Download complete [2023-04-17T19:07:31.312Z] 765212b225bb: Verifying Checksum [2023-04-17T19:07:31.312Z] 765212b225bb: Download complete [2023-04-17T19:07:31.312Z] f23df028b6ca: Verifying Checksum [2023-04-17T19:07:31.312Z] f23df028b6ca: Download complete [2023-04-17T19:07:31.312Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T19:07:31.312Z] d65c8cfc05b1: Download complete [2023-04-17T19:07:31.312Z] 699f458cf7ca: Verifying Checksum [2023-04-17T19:07:31.312Z] 699f458cf7ca: Download complete [2023-04-17T19:07:31.896Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T19:07:31.896Z] 8998bd30e6a1: Download complete [2023-04-17T19:07:33.842Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T19:07:33.842Z] 2437ff75d9bd: Download complete [2023-04-17T19:07:35.784Z] 8998bd30e6a1: Pull complete [2023-04-17T19:07:36.369Z] 04944245beec: Pull complete [2023-04-17T19:07:37.779Z] 699f458cf7ca: Pull complete [2023-04-17T19:07:37.779Z] 765212b225bb: Pull complete [2023-04-17T19:07:38.364Z] f23df028b6ca: Pull complete [2023-04-17T19:07:38.633Z] d65c8cfc05b1: Pull complete [2023-04-17T19:07:53.621Z] 2437ff75d9bd: Pull complete [2023-04-17T19:07:53.621Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T19:07:53.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T19:07:53.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T19:07:53.942Z] prd-ubuntu20.04-docker-arm64-4c-16g-8766 does not seem to be running inside a container [2023-04-17T19:07:54.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-17T19:07:56.456Z] $ docker top 5bcbab163dc4796d8015b2db1a0b134d863c9800e205a013df0a819fd79bf665 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T19:07:57.027Z] ---> job-cost.sh [2023-04-17T19:07:57.292Z] lf-activate-venv: SKIPPING [2023-04-17T19:07:57.292Z] INFO: No Stack... [2023-04-17T19:07:57.558Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T19:07:58.510Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T19:07:58.847Z] + cut -d, -f6 [2023-04-17T19:07:59.114Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-04-17T19:07:59.196Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-309-1-stack-cost] [2023-04-17T19:07:59.205Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-309-1-stack-cost] did not exist. Created. [2023-04-17T19:07:59.205Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-309-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T19:07:59.633Z] /w/workspace/device-onvif-camera/1@tmp/durable-4c555a52/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T19:08:00.246Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T19:08:00.284Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T19:08:00.347Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T19:08:00.366Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-309-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T19:08:00.451Z] $ docker stop --time=1 5bcbab163dc4796d8015b2db1a0b134d863c9800e205a013df0a819fd79bf665 [2023-04-17T19:08:01.913Z] $ docker rm -f --volumes 5bcbab163dc4796d8015b2db1a0b134d863c9800e205a013df0a819fd79bf665 [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 [2023-04-17T19:08:03.014Z] provisioning config files... [2023-04-17T19:08:03.020Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-309@tmp/config18378056255779865797tmp [Pipeline] { [Pipeline] sh [2023-04-17T19:08:03.455Z] + set +x [2023-04-17T19:08:03.455Z] + curl -s https://codecov.io/bash [2023-04-17T19:08:03.455Z] + bash -s -- [2023-04-17T19:08:03.455Z] [2023-04-17T19:08:03.455Z] _____ _ [2023-04-17T19:08:03.455Z] / ____| | | [2023-04-17T19:08:03.455Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T19:08:03.455Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T19:08:03.455Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T19:08:03.455Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T19:08:03.455Z] Bash-1.0.6 [2023-04-17T19:08:03.455Z] [2023-04-17T19:08:03.455Z] [2023-04-17T19:08:03.455Z] ==> git version 2.25.1 found [2023-04-17T19:08:03.455Z] ==> 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 [2023-04-17T19:08:03.455Z] Release-Date: 2020-01-08 [2023-04-17T19:08:03.455Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-17T19:08:03.455Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T19:08:03.455Z] ==> Jenkins CI detected. [2023-04-17T19:08:03.455Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-309 [2023-04-17T19:08:03.455Z] project root: . [2023-04-17T19:08:03.455Z] --> token set from env [2023-04-17T19:08:03.455Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T19:08:03.455Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T19:08:03.455Z] ==> Python coveragepy not found [2023-04-17T19:08:03.455Z] ==> Searching for coverage reports in: [2023-04-17T19:08:03.455Z] + . [2023-04-17T19:08:03.455Z] -> Found 1 reports [2023-04-17T19:08:03.455Z] ==> Detecting git/mercurial file structure [2023-04-17T19:08:03.715Z] ==> Reading reports [2023-04-17T19:08:03.715Z] + ./coverage.out bytes=78835 [2023-04-17T19:08:03.715Z] ==> Appending adjustments [2023-04-17T19:08:03.715Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T19:08:03.715Z] + Found adjustments [2023-04-17T19:08:03.715Z] ==> Gzipping contents [2023-04-17T19:08:03.715Z] 12K /tmp/codecov.BERUGS.gz [2023-04-17T19:08:03.715Z] ==> Uploading reports [2023-04-17T19:08:03.715Z] url: https://codecov.io [2023-04-17T19:08:03.715Z] query: branch=PR-309&commit=6bdb430b29f1c0710c4aaf0684041bf2d40a24ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-309%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=309&job=&cmd_args= [2023-04-17T19:08:03.715Z] -> Pinging Codecov [2023-04-17T19:08:03.715Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-309&commit=6bdb430b29f1c0710c4aaf0684041bf2d40a24ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-309%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=309&job=&cmd_args= [2023-04-17T19:08:03.973Z] -> Uploading to [2023-04-17T19:08:03.973Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/F29A59C45E3A92E06B3E522C9905F8EF/6bdb430b29f1c0710c4aaf0684041bf2d40a24ec/664b9148-b45e-45bf-bcab-6cdc59a2378f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T190803Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5637e135c090d2ce7415f8d223e2b9c5dc9e4bef51d7f3a3a66f3629a8de2ec4 [2023-04-17T19:08:03.973Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T19:08:03.973Z] Dload Upload Total Spent Left Speed [2023-04-17T19:08:04.232Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10491 0 0 100 10491 0 43172 --:--:-- --:--:-- --:--:-- 43172 [2023-04-17T19:08:04.232Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6bdb430b29f1c0710c4aaf0684041bf2d40a24ec [Pipeline] } [2023-04-17T19:08:04.259Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-17T19:08:06.455Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-309/archives ] [2023-04-17T19:08:06.455Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-309/archives [2023-04-17T19:08:06.455Z] total 16 [2023-04-17T19:08:06.455Z] drwxr-xr-x 3 root root 4096 Apr 17 18:56 . [2023-04-17T19:08:06.455Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 18:56 .. [2023-04-17T19:08:06.455Z] drwxr-xr-x 2 root root 4096 Apr 17 18:56 cost [2023-04-17T19:08:06.455Z] -rw-r--r-- 1 root root 91 Apr 17 18:56 cost.csv [2023-04-17T19:08:06.455Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-309/archives [2023-04-17T19:08:06.456Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-309/archives [2023-04-17T19:08:06.456Z] total 16 [2023-04-17T19:08:06.456Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:56 . [2023-04-17T19:08:06.456Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 18:56 .. [2023-04-17T19:08:06.456Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 18:56 cost [2023-04-17T19:08:06.456Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 17 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T19:08:06.785Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T19:08:07.669Z] ---> package-listing.sh [2023-04-17T19:08:07.669Z] ++ facter osfamily [2023-04-17T19:08:07.669Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T19:08:07.928Z] + OS_FAMILY=debian [2023-04-17T19:08:07.928Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-309 [2023-04-17T19:08:07.928Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T19:08:07.928Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T19:08:07.928Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T19:08:07.928Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T19:08:07.928Z] + '[' /w/workspace/undry_device-onvif-camera_PR-309 ']' [2023-04-17T19:08:07.928Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T19:08:07.928Z] + case "${OS_FAMILY}" in [2023-04-17T19:08:07.928Z] + dpkg -l [2023-04-17T19:08:07.928Z] + grep '^ii' [2023-04-17T19:08:07.928Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T19:08:07.928Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T19:08:07.928Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T19:08:07.928Z] + '[' /w/workspace/undry_device-onvif-camera_PR-309 ']' [2023-04-17T19:08:07.928Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-309/archives/ [2023-04-17T19:08:07.928Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-309/archives/ [Pipeline] echo [2023-04-17T19:08:07.965Z] 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-309/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-17T19:08:08.256Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T19:08:08.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T19:08:08.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T19:08:09.111Z] prd-ubuntu20.04-docker-8c-8g-8765 does not seem to be running inside a container [2023-04-17T19:08:09.135Z] $ 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-309/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-309 -v /w/workspace/undry_device-onvif-camera_PR-309:/w/workspace/undry_device-onvif-camera_PR-309:rw,z -v /w/workspace/undry_device-onvif-camera_PR-309@tmp:/w/workspace/undry_device-onvif-camera_PR-309@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T19:08:09.378Z] $ docker top a8e8569c5372e8885a713c342d8a682cc231792f0de7051e5499c70ba5a12202 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T19:08:09.774Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T19:08:10.089Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T19:08:10.399Z] + ls /var/log/sa-host [2023-04-17T19:08:10.399Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T19:08:10.541Z] provisioning config files... [2023-04-17T19:08:10.550Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-309@tmp/config7671335161655472839tmp [Pipeline] { [Pipeline] echo [2023-04-17T19:08:10.603Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T19:08:10.914Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T19:08:10.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T19:08:11.368Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T19:08:11.403Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T19:08:11.720Z] ---> sudo-logs.sh [2023-04-17T19:08:11.720Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T19:08:11.907Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T19:08:12.226Z] ---> job-cost.sh [2023-04-17T19:08:12.226Z] lf-activate-venv: SKIPPING [2023-04-17T19:08:12.226Z] DEBUG: total: 0.2199999988079071 [2023-04-17T19:08:12.226Z] INFO: Retrieving Stack Cost... [2023-04-17T19:08:12.797Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T19:08:13.056Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T19:08:13.090Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T19:08:13.404Z] ---> logs-deploy.sh [2023-04-17T19:08:13.404Z] lf-activate-venv: SKIPPING [2023-04-17T19:08:13.404Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-309/1 [2023-04-17T19:08:13.404Z] INFO: archiving workspace using pattern(s): [2023-04-17T19:08:14.340Z] Archives upload complete. [2023-04-17T19:08:14.340Z] INFO: archiving logs to Nexus