Pull request #279 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 EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff rather than b4f076200ad522f26ded58b02d7fbcdf9e9be4eb Obtained Jenkinsfile from 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff 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-ssh1279842637876130448.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11468731107024850741.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-usb-camera/branches/PR-279/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-usb-camera/branches/PR-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17645072008615129997.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-usb-camera/branches/PR-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14444282133625956113.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh7526162217019200518.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-usb-camera/branches/PR-279/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-usb-camera/branches/PR-279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6094112062917124414.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 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-5074 in /w/workspace/foundry_device-usb-camera_PR-279 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-279 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff into PR head commit b4f076200ad522f26ded58b02d7fbcdf9e9be4eb Merge succeeded, producing b4f076200ad522f26ded58b02d7fbcdf9e9be4eb Checking out Revision b4f076200ad522f26ded58b02d7fbcdf9e9be4eb (PR-279) > git config core.sparsecheckout # timeout=10 > git checkout -f b4f076200ad522f26ded58b02d7fbcdf9e9be4eb # 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 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4f076200ad522f26ded58b02d7fbcdf9e9be4eb # timeout=10 Commit message: "fix: rtsp auth server router not initialized properly" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-01T01:03:33.198Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-01T01:03:33.389Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-01T01:03:33.500Z] ========================================================= [2023-09-01T01:03:33.500Z] EdgeX Global Pipelines Version Info [2023-09-01T01:03:33.500Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:03:34.271Z] ------------------- [2023-09-01T01:03:34.271Z] stable info: [2023-09-01T01:03:34.271Z] ------------------- [2023-09-01T01:03:34.271Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-01T01:03:34.271Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-01T01:03:34.271Z] Message: update stable to v1.0.253 [2023-09-01T01:03:34.844Z] ------------------- [2023-09-01T01:03:34.844Z] experimental info: [2023-09-01T01:03:34.844Z] ------------------- [2023-09-01T01:03:34.844Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-01T01:03:34.844Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-01T01:03:34.844Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-01T01:03:35.123Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-09-01T01:03:35.163Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-09-01T01:03:35.204Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-01T01:03:35.246Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-01T01:03:35.286Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-01T01:03:35.322Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-01T01:03:35.364Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-01T01:03:35.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-01T01:03:35.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-01T01:03:35.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-01T01:03:35.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-01T01:03:35.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-09-01T01:03:35.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-01T01:03:35.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-01T01:03:35.697Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-01T01:03:35.739Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-01T01:03:35.787Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-01T01:03:35.830Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-01T01:03:35.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-01T01:03:35.915Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-01T01:03:35.954Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-01T01:03:36.005Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-01T01:03:36.049Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-01T01:03:36.095Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-01T01:03:36.138Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-01T01:03:36.182Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-01T01:03:36.223Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-01T01:03:36.266Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-279 [Pipeline] echo [2023-09-01T01:03:36.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-279 [Pipeline] echo [2023-09-01T01:03:36.363Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-279 [Pipeline] echo [2023-09-01T01:03:36.412Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [Pipeline] echo [2023-09-01T01:03:36.467Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4f0762 [Pipeline] echo [2023-09-01T01:03:36.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-01T01:03:36.622Z] provisioning config files... [2023-09-01T01:03:36.636Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-279@tmp/config17224679491900521329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:03:36.980Z] ---> docker-login.sh [2023-09-01T01:03:36.980Z] nexus3.edgexfoundry.org:10001 [2023-09-01T01:03:37.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:03:37.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:03:37.241Z] Configure a credential helper to remove this warning. See [2023-09-01T01:03:37.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:03:37.241Z] [2023-09-01T01:03:37.241Z] Login Succeeded [2023-09-01T01:03:37.241Z] nexus3.edgexfoundry.org:10002 [2023-09-01T01:03:37.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:03:37.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:03:37.502Z] Configure a credential helper to remove this warning. See [2023-09-01T01:03:37.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:03:37.502Z] [2023-09-01T01:03:37.502Z] Login Succeeded [2023-09-01T01:03:37.502Z] nexus3.edgexfoundry.org:10003 [2023-09-01T01:03:37.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:03:37.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:03:37.502Z] Configure a credential helper to remove this warning. See [2023-09-01T01:03:37.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:03:37.502Z] [2023-09-01T01:03:37.502Z] Login Succeeded [2023-09-01T01:03:37.502Z] nexus3.edgexfoundry.org:10004 [2023-09-01T01:03:37.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:03:37.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:03:37.502Z] Configure a credential helper to remove this warning. See [2023-09-01T01:03:37.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:03:37.502Z] [2023-09-01T01:03:37.502Z] Login Succeeded [2023-09-01T01:03:37.502Z] docker.io [2023-09-01T01:03:37.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:03:38.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:03:38.027Z] Configure a credential helper to remove this warning. See [2023-09-01T01:03:38.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:03:38.027Z] [2023-09-01T01:03:38.027Z] Login Succeeded [2023-09-01T01:03:38.027Z] ---> docker-login.sh ends [Pipeline] } [2023-09-01T01:03:38.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-01T01:03:38.677Z] + git rev-list -1 --merges b4f076200ad522f26ded58b02d7fbcdf9e9be4eb~1..b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [Pipeline] echo [2023-09-01T01:03:38.739Z] -----------> git rev-list -1 --merges b4f076200ad522f26ded58b02d7fbcdf9e9be4eb~1..b4f076200ad522f26ded58b02d7fbcdf9e9be4eb b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [false] [Pipeline] sh [2023-09-01T01:03:39.045Z] + git log --format=format:%s -1 b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [Pipeline] echo [2023-09-01T01:03:39.082Z] ========================================================= [2023-09-01T01:03:39.082Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-01T01:03:39.082Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-01T01:03:39.542Z] + git log --format=format:%s -1 b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [Pipeline] echo [2023-09-01T01:03:39.581Z] [semverPrep] GIT_COMMIT: b4f076200ad522f26ded58b02d7fbcdf9e9be4eb, Commit Message: fix: rtsp auth server router not initialized properly [Pipeline] echo [2023-09-01T01:03:39.619Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-01T01:03:39.996Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-01T01:03:39.996Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-01T01:03:39.996Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-01T01:03:39.996Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-01T01:03:39.996Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-01T01:03:39.996Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-01T01:03:39.996Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:03:40.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-01T01:03:40.426Z] [2023-09-01T01:03:40.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:03:40.810Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-01T01:03:40.811Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-01T01:03:40.811Z] b85a868b505f: Pulling fs layer [2023-09-01T01:03:40.811Z] e2be974225ed: Pulling fs layer [2023-09-01T01:03:40.811Z] 339a4e72a1f5: Pulling fs layer [2023-09-01T01:03:40.811Z] 988bab9f4d93: Pulling fs layer [2023-09-01T01:03:40.811Z] 1469e6f7b9e6: Pulling fs layer [2023-09-01T01:03:40.811Z] eaf3925da568: Pulling fs layer [2023-09-01T01:03:40.811Z] bab4dde63d76: Pulling fs layer [2023-09-01T01:03:40.811Z] bde34c3a00c8: Pulling fs layer [2023-09-01T01:03:40.811Z] b352a97aabf1: Pulling fs layer [2023-09-01T01:03:40.811Z] 4872d77fe225: Pulling fs layer [2023-09-01T01:03:40.811Z] 5851b861e8e6: Pulling fs layer [2023-09-01T01:03:40.811Z] eaf3925da568: Waiting [2023-09-01T01:03:40.811Z] 988bab9f4d93: Waiting [2023-09-01T01:03:40.811Z] bab4dde63d76: Waiting [2023-09-01T01:03:40.811Z] 1469e6f7b9e6: Waiting [2023-09-01T01:03:40.811Z] 4872d77fe225: Waiting [2023-09-01T01:03:40.811Z] 5851b861e8e6: Waiting [2023-09-01T01:03:40.811Z] b352a97aabf1: Waiting [2023-09-01T01:03:40.811Z] bde34c3a00c8: Waiting [2023-09-01T01:03:40.811Z] e2be974225ed: Download complete [2023-09-01T01:03:40.811Z] 988bab9f4d93: Verifying Checksum [2023-09-01T01:03:40.811Z] 988bab9f4d93: Download complete [2023-09-01T01:03:40.811Z] 1469e6f7b9e6: Verifying Checksum [2023-09-01T01:03:40.811Z] 1469e6f7b9e6: Download complete [2023-09-01T01:03:40.811Z] eaf3925da568: Verifying Checksum [2023-09-01T01:03:40.811Z] eaf3925da568: Download complete [2023-09-01T01:03:41.070Z] 339a4e72a1f5: Verifying Checksum [2023-09-01T01:03:41.070Z] 339a4e72a1f5: Download complete [2023-09-01T01:03:41.070Z] bde34c3a00c8: Download complete [2023-09-01T01:03:41.070Z] b352a97aabf1: Download complete [2023-09-01T01:03:41.070Z] 4872d77fe225: Download complete [2023-09-01T01:03:41.070Z] 5851b861e8e6: Verifying Checksum [2023-09-01T01:03:41.070Z] 5851b861e8e6: Download complete [2023-09-01T01:03:41.070Z] b85a868b505f: Verifying Checksum [2023-09-01T01:03:41.070Z] b85a868b505f: Download complete [2023-09-01T01:03:41.330Z] bab4dde63d76: Verifying Checksum [2023-09-01T01:03:41.330Z] bab4dde63d76: Download complete [2023-09-01T01:03:42.268Z] b85a868b505f: Pull complete [2023-09-01T01:03:42.526Z] e2be974225ed: Pull complete [2023-09-01T01:03:43.097Z] 339a4e72a1f5: Pull complete [2023-09-01T01:03:43.097Z] 988bab9f4d93: Pull complete [2023-09-01T01:03:43.395Z] 1469e6f7b9e6: Pull complete [2023-09-01T01:03:43.395Z] eaf3925da568: Pull complete [2023-09-01T01:03:45.321Z] bab4dde63d76: Pull complete [2023-09-01T01:03:45.321Z] bde34c3a00c8: Pull complete [2023-09-01T01:03:45.582Z] b352a97aabf1: Pull complete [2023-09-01T01:03:45.582Z] 4872d77fe225: Pull complete [2023-09-01T01:03:45.582Z] 5851b861e8e6: Pull complete [2023-09-01T01:03:45.582Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-01T01:03:45.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-01T01:03:45.582Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-01T01:03:45.826Z] prd-ubuntu20.04-docker-8c-8g-5074 does not seem to be running inside a container [2023-09-01T01:03:45.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-279 -v /w/workspace/foundry_device-usb-camera_PR-279:/w/workspace/foundry_device-usb-camera_PR-279:rw,z -v /w/workspace/foundry_device-usb-camera_PR-279@tmp:/w/workspace/foundry_device-usb-camera_PR-279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-01T01:03:49.099Z] $ docker top ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 -eo pid,comm [2023-09-01T01:03:49.153Z] 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-09-01T01:03:49.153Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-01T01:03:49.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-01T01:03:49.289Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-01T01:03:49.398Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-01T01:03:49.400Z] $ docker exec ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 ssh-agent [2023-09-01T01:03:49.516Z] SSH_AUTH_SOCK=/tmp/ssh-xDMe5lfC6F2n/agent.33 [2023-09-01T01:03:49.516Z] SSH_AGENT_PID=40 [2023-09-01T01:03:49.523Z] Running ssh-add (command line suppressed) [2023-09-01T01:03:49.617Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-279@tmp/private_key_17228351436310673877.key (/w/workspace/foundry_device-usb-camera_PR-279@tmp/private_key_17228351436310673877.key) [2023-09-01T01:03:49.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-01T01:03:49.989Z] + git tag --points-at HEAD [Pipeline] } [2023-09-01T01:03:50.016Z] $ docker exec --env ******** --env ******** ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 ssh-agent -k [2023-09-01T01:03:50.118Z] unset SSH_AUTH_SOCK; [2023-09-01T01:03:50.118Z] unset SSH_AGENT_PID; [2023-09-01T01:03:50.118Z] echo Agent pid 40 killed; [2023-09-01T01:03:50.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-01T01:03:50.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-01T01:03:50.220Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-01T01:03:50.330Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-01T01:03:50.332Z] $ docker exec ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 ssh-agent [2023-09-01T01:03:50.450Z] SSH_AUTH_SOCK=/tmp/ssh-LuojYenQGE7N/agent.72 [2023-09-01T01:03:50.450Z] SSH_AGENT_PID=78 [2023-09-01T01:03:50.455Z] Running ssh-add (command line suppressed) [2023-09-01T01:03:50.564Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-279@tmp/private_key_11508412040572007714.key (/w/workspace/foundry_device-usb-camera_PR-279@tmp/private_key_11508412040572007714.key) [2023-09-01T01:03:50.581Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-01T01:03:50.924Z] + git semver init [2023-09-01T01:03:51.191Z] 2023-09-01 01:03:51,132 [run_init] DEBUG init version:0.0.0 force:False [2023-09-01T01:03:51.192Z] 2023-09-01 01:03:51,133 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-279/.semver [2023-09-01T01:03:51.192Z] 2023-09-01 01:03:51,133 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-279/.semver [2023-09-01T01:03:51.192Z] 2023-09-01 01:03:51,134 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-279/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-279, universal_newlines=False, shell=None, istream=None) [2023-09-01T01:03:52.128Z] 2023-09-01 01:03:51,816 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-279/.git/info/exclude [2023-09-01T01:03:52.128Z] 2023-09-01 01:03:51,817 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-279/.semver/PR-279 with force:False [2023-09-01T01:03:52.128Z] 2023-09-01 01:03:51,817 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-279/.semver/PR-279 [2023-09-01T01:03:52.128Z] 2023-09-01 01:03:51,822 [execute] INFO git cat-file --batch-check [2023-09-01T01:03:52.128Z] 2023-09-01 01:03:51,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-279/.semver, universal_newlines=False, shell=None, istream=) [2023-09-01T01:03:52.128Z] 2023-09-01 01:03:51,828 [execute] INFO git cat-file --batch [2023-09-01T01:03:52.128Z] 2023-09-01 01:03:51,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-279/.semver, universal_newlines=False, shell=None, istream=) [2023-09-01T01:03:52.128Z] 2023-09-01 01:03:51,834 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-279/.semver/PR-279 [2023-09-01T01:03:52.128Z] 0.0.0 [Pipeline] } [2023-09-01T01:03:52.151Z] $ docker exec --env ******** --env ******** ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 ssh-agent -k [2023-09-01T01:03:52.256Z] unset SSH_AUTH_SOCK; [2023-09-01T01:03:52.257Z] unset SSH_AGENT_PID; [2023-09-01T01:03:52.257Z] echo Agent pid 78 killed; [2023-09-01T01:03:52.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-01T01:03:52.699Z] + git semver [Pipeline] } [2023-09-01T01:03:52.981Z] $ docker stop --time=1 ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 [2023-09-01T01:03:54.381Z] $ docker rm -f --volumes ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-01T01:03:54.806Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-01T01:03:55.087Z] Stashed 1 file(s) [Pipeline] echo [2023-09-01T01:03:55.106Z] [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-09-01T01:03:55.743Z] provisioning config files... [2023-09-01T01:03:55.759Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-279@tmp/config10621695125550060845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:03:56.121Z] ---> docker-login.sh [2023-09-01T01:03:56.121Z] nexus3.edgexfoundry.org:10001 [2023-09-01T01:03:56.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:03:56.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:03:56.121Z] Configure a credential helper to remove this warning. See [2023-09-01T01:03:56.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:03:56.121Z] [2023-09-01T01:03:56.121Z] Login Succeeded [2023-09-01T01:03:56.121Z] nexus3.edgexfoundry.org:10002 [2023-09-01T01:03:56.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:03:56.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:03:56.380Z] Configure a credential helper to remove this warning. See [2023-09-01T01:03:56.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:03:56.380Z] [2023-09-01T01:03:56.380Z] Login Succeeded [2023-09-01T01:03:56.380Z] nexus3.edgexfoundry.org:10003 [2023-09-01T01:03:56.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:03:56.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:03:56.380Z] Configure a credential helper to remove this warning. See [2023-09-01T01:03:56.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:03:56.380Z] [2023-09-01T01:03:56.380Z] Login Succeeded [2023-09-01T01:03:56.380Z] nexus3.edgexfoundry.org:10004 [2023-09-01T01:03:56.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:03:56.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:03:56.380Z] Configure a credential helper to remove this warning. See [2023-09-01T01:03:56.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:03:56.380Z] [2023-09-01T01:03:56.380Z] Login Succeeded [2023-09-01T01:03:56.380Z] docker.io [2023-09-01T01:03:56.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:03:56.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:03:56.900Z] Configure a credential helper to remove this warning. See [2023-09-01T01:03:56.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:03:56.900Z] [2023-09-01T01:03:56.900Z] Login Succeeded [2023-09-01T01:03:56.900Z] ---> docker-login.sh ends [Pipeline] } [2023-09-01T01:03:56.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-01T01:03:57.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-01T01:03:57.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-01T01:03:57.287Z] ========================================================= [2023-09-01T01:03:57.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-01T01:03:57.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:03:57.783Z] + 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-09-01T01:03:57.783Z] Sending build context to Docker daemon 2.17MB [2023-09-01T01:03:57.783Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-09-01T01:03:57.783Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-01T01:03:57.783Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-01T01:03:57.783Z] 4db1b89c0bd1: Pulling fs layer [2023-09-01T01:03:57.783Z] 6911f1a30b25: Pulling fs layer [2023-09-01T01:03:57.783Z] e194b8c5c2a9: Pulling fs layer [2023-09-01T01:03:57.783Z] 6863d3e3a2b1: Pulling fs layer [2023-09-01T01:03:57.784Z] ec0bb842ea78: Pulling fs layer [2023-09-01T01:03:57.784Z] 40a00589a448: Pulling fs layer [2023-09-01T01:03:57.784Z] 6c08303d61cc: Pulling fs layer [2023-09-01T01:03:57.784Z] 798269fcf238: Pulling fs layer [2023-09-01T01:03:57.784Z] ec0bb842ea78: Waiting [2023-09-01T01:03:57.784Z] 40a00589a448: Waiting [2023-09-01T01:03:57.784Z] 6c08303d61cc: Waiting [2023-09-01T01:03:57.784Z] 798269fcf238: Waiting [2023-09-01T01:03:57.784Z] 6863d3e3a2b1: Waiting [2023-09-01T01:03:57.784Z] 6911f1a30b25: Download complete [2023-09-01T01:03:57.784Z] 6863d3e3a2b1: Verifying Checksum [2023-09-01T01:03:57.784Z] 6863d3e3a2b1: Download complete [2023-09-01T01:03:57.784Z] ec0bb842ea78: Verifying Checksum [2023-09-01T01:03:57.784Z] ec0bb842ea78: Download complete [2023-09-01T01:03:57.784Z] 4db1b89c0bd1: Verifying Checksum [2023-09-01T01:03:57.784Z] 4db1b89c0bd1: Download complete [2023-09-01T01:03:58.045Z] 40a00589a448: Verifying Checksum [2023-09-01T01:03:58.045Z] 40a00589a448: Download complete [2023-09-01T01:03:58.045Z] 4db1b89c0bd1: Pull complete [2023-09-01T01:03:58.304Z] 6911f1a30b25: Pull complete [2023-09-01T01:03:58.304Z] 798269fcf238: Verifying Checksum [2023-09-01T01:03:58.304Z] 798269fcf238: Download complete [2023-09-01T01:03:58.564Z] e194b8c5c2a9: Verifying Checksum [2023-09-01T01:03:58.564Z] e194b8c5c2a9: Download complete [2023-09-01T01:03:58.821Z] 6c08303d61cc: Verifying Checksum [2023-09-01T01:03:58.821Z] 6c08303d61cc: Download complete [2023-09-01T01:04:02.104Z] e194b8c5c2a9: Pull complete [2023-09-01T01:04:02.104Z] 6863d3e3a2b1: Pull complete [2023-09-01T01:04:02.363Z] ec0bb842ea78: Pull complete [2023-09-01T01:04:02.363Z] 40a00589a448: Pull complete [2023-09-01T01:04:04.899Z] 6c08303d61cc: Pull complete [2023-09-01T01:04:05.834Z] 798269fcf238: Pull complete [2023-09-01T01:04:05.835Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-01T01:04:05.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-01T01:04:05.835Z] ---> ec979cd7f677 [2023-09-01T01:04:05.835Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-01T01:04:10.556Z] Still waiting to schedule task [2023-09-01T01:04:10.557Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-01T01:04:14.048Z] ---> Running in 504fd40c3415 [2023-09-01T01:04:14.048Z] Removing intermediate container 504fd40c3415 [2023-09-01T01:04:14.048Z] ---> 62b7d36aeef1 [2023-09-01T01:04:14.048Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-01T01:04:14.048Z] ---> Running in f4ebb7b907a2 [2023-09-01T01:04:14.048Z] Removing intermediate container f4ebb7b907a2 [2023-09-01T01:04:14.048Z] ---> 46b36cd34917 [2023-09-01T01:04:14.048Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-01T01:04:14.048Z] ---> Running in d8f7a6a1fa86 [2023-09-01T01:04:14.048Z] Removing intermediate container d8f7a6a1fa86 [2023-09-01T01:04:14.048Z] ---> 6159dc407cff [2023-09-01T01:04:14.048Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-01T01:04:14.048Z] ---> Running in 8be365db0564 [2023-09-01T01:04:14.048Z] Removing intermediate container 8be365db0564 [2023-09-01T01:04:14.048Z] ---> 8b0dc0e4e86a [2023-09-01T01:04:14.048Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-01T01:04:14.048Z] ---> Running in 8cd77cd32a5d [2023-09-01T01:04:14.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-01T01:04:14.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-01T01:04:14.048Z] (1/14) Installing libintl (0.21.1-r1) [2023-09-01T01:04:14.048Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-09-01T01:04:14.048Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-09-01T01:04:14.048Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-09-01T01:04:14.048Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-09-01T01:04:14.048Z] (6/14) Installing udev-init-scripts (35-r1) [2023-09-01T01:04:14.048Z] (7/14) Installing libblkid (2.38.1-r1) [2023-09-01T01:04:14.048Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-09-01T01:04:14.048Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-09-01T01:04:14.048Z] (10/14) Installing kmod-libs (30-r1) [2023-09-01T01:04:14.048Z] (11/14) Installing eudev (3.2.11-r4) [2023-09-01T01:04:14.048Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-09-01T01:04:14.048Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-09-01T01:04:14.048Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-09-01T01:04:14.048Z] Executing busybox-1.35.0-r29.trigger [2023-09-01T01:04:14.048Z] Executing eudev-3.2.11-r4.trigger [2023-09-01T01:04:14.048Z] OK: 272 MiB in 67 packages [2023-09-01T01:04:14.988Z] Removing intermediate container 8cd77cd32a5d [2023-09-01T01:04:14.988Z] ---> d2a9548b96b3 [2023-09-01T01:04:14.988Z] Step 8/13 : WORKDIR /device-usb-camera [2023-09-01T01:04:14.988Z] ---> Running in e97dcb0d891b [2023-09-01T01:04:14.988Z] Removing intermediate container e97dcb0d891b [2023-09-01T01:04:14.988Z] ---> c42166e051d7 [2023-09-01T01:04:14.988Z] Step 9/13 : COPY go.mod vendor* ./ [2023-09-01T01:04:14.988Z] ---> ea5b2d1d15b4 [2023-09-01T01:04:14.988Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-01T01:04:14.988Z] ---> Running in 3794ff39ed5d [2023-09-01T01:05:01.756Z] Removing intermediate container 3794ff39ed5d [2023-09-01T01:05:01.756Z] ---> 58d48c9b96bc [2023-09-01T01:05:01.756Z] Step 11/13 : COPY . . [2023-09-01T01:05:01.756Z] ---> 7932112e0e8c [2023-09-01T01:05:01.756Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-01T01:05:01.756Z] ---> Running in 91d2713af9f5 [2023-09-01T01:05:01.756Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-01T01:05:01.756Z] Dload Upload Total Spent Left Speed [2023-09-01T01:05:01.757Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 3645 0 --:--:-- --:--:-- --:--:-- 3653 [2023-09-01T01:05:01.757Z] Removing intermediate container 91d2713af9f5 [2023-09-01T01:05:01.757Z] ---> 83f8aa19e899 [2023-09-01T01:05:01.757Z] Step 13/13 : RUN ${MAKE} [2023-09-01T01:05:01.757Z] ---> Running in 08d3e4ce7359 [2023-09-01T01:05:01.757Z] noop [2023-09-01T01:05:01.757Z] Removing intermediate container 08d3e4ce7359 [2023-09-01T01:05:01.757Z] ---> 2acbf191f06c [2023-09-01T01:05:01.757Z] Successfully built 2acbf191f06c [2023-09-01T01:05:01.757Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:05:02.254Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-01T01:05:02.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-01T01:05:02.408Z] prd-ubuntu20.04-docker-8c-8g-5074 does not seem to be running inside a container [2023-09-01T01:05:02.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-279 -v /w/workspace/foundry_device-usb-camera_PR-279:/w/workspace/foundry_device-usb-camera_PR-279:rw,z -v /w/workspace/foundry_device-usb-camera_PR-279@tmp:/w/workspace/foundry_device-usb-camera_PR-279@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 ******** ci-base-image-x86_64 cat [2023-09-01T01:05:02.818Z] $ docker top 32db8a767eed1bd83c4146b37a6094e1d6d36c74817ac5c6102871c82dcd5806 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-01T01:05:03.223Z] + go version [2023-09-01T01:05:03.224Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-01T01:05:03.253Z] $ docker stop --time=1 32db8a767eed1bd83c4146b37a6094e1d6d36c74817ac5c6102871c82dcd5806 [2023-09-01T01:05:04.506Z] $ docker rm -f --volumes 32db8a767eed1bd83c4146b37a6094e1d6d36c74817ac5c6102871c82dcd5806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:05:05.227Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-01T01:05:05.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-01T01:05:05.385Z] prd-ubuntu20.04-docker-8c-8g-5074 does not seem to be running inside a container [2023-09-01T01:05:05.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-279 -v /w/workspace/foundry_device-usb-camera_PR-279:/w/workspace/foundry_device-usb-camera_PR-279:rw,z -v /w/workspace/foundry_device-usb-camera_PR-279@tmp:/w/workspace/foundry_device-usb-camera_PR-279@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 ******** ci-base-image-x86_64 cat [2023-09-01T01:05:05.764Z] $ docker top 978dbea866c60d4fc7ad6d09131e668ede2ec73df8894ae097e4413637cb74d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-01T01:05:06.158Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-279 [Pipeline] fileExists [Pipeline] sh [2023-09-01T01:05:06.527Z] + make test [2023-09-01T01:05:06.528Z] go test ./... -coverprofile=coverage.out ./... [2023-09-01T01:05:11.802Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-09-01T01:05:24.011Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-09-01T01:05:24.011Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 4.4% of statements [2023-09-01T01:05:32.121Z] go vet ./... [2023-09-01T01:05:35.402Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-01T01:05:35.402Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-01T01:05:35.402Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-01T01:05:35.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-01T01:05:35.470Z] $ docker stop --time=1 978dbea866c60d4fc7ad6d09131e668ede2ec73df8894ae097e4413637cb74d4 [2023-09-01T01:05:39.092Z] $ docker rm -f --volumes 978dbea866c60d4fc7ad6d09131e668ede2ec73df8894ae097e4413637cb74d4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-01T01:05:39.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-01T01:05:39.754Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-01T01:05:40.370Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-01T01:05:40.681Z] + ls -al . [2023-09-01T01:05:40.681Z] total 220 [2023-09-01T01:05:40.681Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 01:05 . [2023-09-01T01:05:40.681Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:03 .. [2023-09-01T01:05:40.681Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 01:03 .git [2023-09-01T01:05:40.681Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:03 .github [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 468 Sep 1 01:03 .gitignore [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 45 Sep 1 01:03 .golangci.yml [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 1 01:03 .hadolint.yml [2023-09-01T01:05:40.681Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 01:03 .semver [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 10851 Sep 1 01:03 Attribution.txt [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 11903 Sep 1 01:03 CHANGELOG.md [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 2453 Sep 1 01:03 Dockerfile [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 1 01:03 GOVERNANCE.md [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 1 01:03 Jenkinsfile [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 01:03 LICENSE [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 2611 Sep 1 01:03 Makefile [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 1 01:03 OWNERS.md [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 2575 Sep 1 01:03 README.md [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 01:03 VERSION [2023-09-01T01:05:40.681Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:03 bin [2023-09-01T01:05:40.681Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:03 cmd [2023-09-01T01:05:40.681Z] -rw-r--r-- 1 jenkins jenkins 53856 Sep 1 01:05 coverage.out [2023-09-01T01:05:40.681Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 1 01:03 docker-entrypoint.sh [2023-09-01T01:05:40.681Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:03 docs [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 3951 Sep 1 01:03 go.mod [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 34252 Sep 1 01:03 go.sum [2023-09-01T01:05:40.681Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:03 internal [2023-09-01T01:05:40.681Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:03 snap [2023-09-01T01:05:40.681Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 1 01:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:05:41.075Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb --label arch=amd64 --label version=0.0.0 . [2023-09-01T01:05:41.076Z] Sending build context to Docker daemon 2.225MB [2023-09-01T01:05:41.076Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-09-01T01:05:41.076Z] Step 2/36 : FROM ${BASE} AS builder [2023-09-01T01:05:41.076Z] ---> 2acbf191f06c [2023-09-01T01:05:41.076Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-09-01T01:05:41.334Z] ---> Running in f9a403d13979 [2023-09-01T01:05:41.334Z] Removing intermediate container f9a403d13979 [2023-09-01T01:05:41.334Z] ---> f491934cd123 [2023-09-01T01:05:41.334Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-01T01:05:41.334Z] ---> Running in c73259eeb3a0 [2023-09-01T01:05:41.334Z] Removing intermediate container c73259eeb3a0 [2023-09-01T01:05:41.334Z] ---> 2da013dadea2 [2023-09-01T01:05:41.334Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-01T01:05:41.334Z] ---> Running in 08883ee7c467 [2023-09-01T01:05:41.594Z] Removing intermediate container 08883ee7c467 [2023-09-01T01:05:41.594Z] ---> 82b720f7ccea [2023-09-01T01:05:41.594Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-01T01:05:41.594Z] ---> Running in 29b2515d0317 [2023-09-01T01:05:41.594Z] Removing intermediate container 29b2515d0317 [2023-09-01T01:05:41.594Z] ---> 2a69414522df [2023-09-01T01:05:41.594Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-01T01:05:41.594Z] ---> Running in aa9028feac43 [2023-09-01T01:05:41.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-01T01:05:42.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-01T01:05:42.683Z] OK: 272 MiB in 67 packages [2023-09-01T01:05:42.941Z] Removing intermediate container aa9028feac43 [2023-09-01T01:05:42.941Z] ---> 250a954d3d06 [2023-09-01T01:05:42.941Z] Step 8/36 : WORKDIR /device-usb-camera [2023-09-01T01:05:42.941Z] ---> Running in 2424e3bdf636 [2023-09-01T01:05:42.941Z] Removing intermediate container 2424e3bdf636 [2023-09-01T01:05:42.941Z] ---> 091a11ac3db4 [2023-09-01T01:05:42.941Z] Step 9/36 : COPY go.mod vendor* ./ [2023-09-01T01:05:43.201Z] ---> e44a5254687e [2023-09-01T01:05:43.201Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-01T01:05:43.201Z] ---> Running in e7fe5e12cabf [2023-09-01T01:05:44.140Z] Removing intermediate container e7fe5e12cabf [2023-09-01T01:05:44.140Z] ---> 02e8efa04b48 [2023-09-01T01:05:44.140Z] Step 11/36 : COPY . . [2023-09-01T01:05:44.399Z] ---> 37dd1c86e4e2 [2023-09-01T01:05:44.399Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-01T01:05:44.399Z] ---> Running in 4b7f69748562 [2023-09-01T01:05:44.657Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-01T01:05:44.657Z] Dload Upload Total Spent Left Speed [2023-09-01T01:05:44.657Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 23372 0 --:--:-- --:--:-- --:--:-- 23641 [2023-09-01T01:05:44.918Z] Removing intermediate container 4b7f69748562 [2023-09-01T01:05:44.918Z] ---> 1fee4078fb8f [2023-09-01T01:05:44.918Z] Step 13/36 : RUN ${MAKE} [2023-09-01T01:05:44.918Z] ---> Running in e3ab72ef8f91 [2023-09-01T01:05:45.176Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-09-01T01:06:12.026Z] Removing intermediate container e3ab72ef8f91 [2023-09-01T01:06:12.026Z] ---> 1834d099e47a [2023-09-01T01:06:12.026Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-09-01T01:06:12.026Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-09-01T01:06:12.026Z] 4acc49c71d14: Pulling fs layer [2023-09-01T01:06:12.026Z] 4acc49c71d14: Verifying Checksum [2023-09-01T01:06:12.026Z] 4acc49c71d14: Download complete [2023-09-01T01:06:12.026Z] 4acc49c71d14: Pull complete [2023-09-01T01:06:12.026Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-09-01T01:06:12.026Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-09-01T01:06:12.026Z] ---> 01a2bd3e5fff [2023-09-01T01:06:12.026Z] Step 15/36 : FROM alpine:3.17 [2023-09-01T01:06:12.026Z] 3.17: Pulling from library/alpine [2023-09-01T01:06:12.026Z] 9398808236ff: Pulling fs layer [2023-09-01T01:06:12.026Z] 9398808236ff: Verifying Checksum [2023-09-01T01:06:12.026Z] 9398808236ff: Download complete [2023-09-01T01:06:12.026Z] 9398808236ff: Pull complete [2023-09-01T01:06:12.026Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-01T01:06:12.026Z] Status: Downloaded newer image for alpine:3.17 [2023-09-01T01:06:12.026Z] ---> 1e0b8b5322fc [2023-09-01T01:06:12.026Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-09-01T01:06:12.026Z] ---> Running in e04500b489b4 [2023-09-01T01:06:12.026Z] Removing intermediate container e04500b489b4 [2023-09-01T01:06:12.026Z] ---> 2e5e40090001 [2023-09-01T01:06:12.026Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-09-01T01:06:12.026Z] ---> Running in 18da43ad38be [2023-09-01T01:06:12.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-01T01:06:12.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-01T01:06:12.286Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-09-01T01:06:12.286Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-09-01T01:06:12.286Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-09-01T01:06:12.545Z] (4/86) Installing libxau (1.0.10-r0) [2023-09-01T01:06:12.545Z] (5/86) Installing libmd (1.0.4-r0) [2023-09-01T01:06:12.545Z] (6/86) Installing libbsd (0.11.7-r0) [2023-09-01T01:06:12.545Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-09-01T01:06:12.545Z] (8/86) Installing libxcb (1.15-r0) [2023-09-01T01:06:12.545Z] (9/86) Installing libx11 (1.8.4-r1) [2023-09-01T01:06:12.545Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-09-01T01:06:12.545Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-09-01T01:06:12.545Z] (12/86) Installing libexpat (2.5.0-r0) [2023-09-01T01:06:12.545Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-09-01T01:06:12.545Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-09-01T01:06:12.545Z] (15/86) Installing libpng (1.6.39-r0) [2023-09-01T01:06:12.545Z] (16/86) Installing freetype (2.12.1-r0) [2023-09-01T01:06:12.545Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-09-01T01:06:12.545Z] (18/86) Installing fribidi (1.0.12-r0) [2023-09-01T01:06:12.545Z] (19/86) Installing libffi (3.4.4-r0) [2023-09-01T01:06:12.545Z] (20/86) Installing libintl (0.21.1-r1) [2023-09-01T01:06:12.545Z] (21/86) Installing libblkid (2.38.1-r1) [2023-09-01T01:06:12.545Z] (22/86) Installing libmount (2.38.1-r1) [2023-09-01T01:06:12.545Z] (23/86) Installing pcre2 (10.42-r0) [2023-09-01T01:06:12.805Z] (24/86) Installing glib (2.74.7-r0) [2023-09-01T01:06:13.742Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-09-01T01:06:13.742Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-09-01T01:06:13.742Z] (27/86) Installing libass (0.16.0-r1) [2023-09-01T01:06:13.742Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-09-01T01:06:13.742Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-09-01T01:06:13.742Z] (30/86) Installing libpciaccess (0.17-r0) [2023-09-01T01:06:13.742Z] (31/86) Installing libdrm (2.4.114-r0) [2023-09-01T01:06:13.742Z] (32/86) Installing gmp (6.2.1-r2) [2023-09-01T01:06:13.742Z] (33/86) Installing nettle (3.8.1-r0) [2023-09-01T01:06:13.742Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-09-01T01:06:13.742Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-09-01T01:06:13.742Z] (36/86) Installing libunistring (1.1-r0) [2023-09-01T01:06:14.000Z] (37/86) Installing gnutls (3.7.8-r3) [2023-09-01T01:06:14.000Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-09-01T01:06:14.000Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-09-01T01:06:14.000Z] (40/86) Installing lame (3.100-r2) [2023-09-01T01:06:14.000Z] (41/86) Installing opus (1.3.1-r1) [2023-09-01T01:06:14.000Z] (42/86) Installing libasyncns (0.8-r1) [2023-09-01T01:06:14.000Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-09-01T01:06:14.000Z] (44/86) Installing libltdl (2.4.7-r1) [2023-09-01T01:06:14.000Z] (45/86) Installing orc (0.4.33-r0) [2023-09-01T01:06:14.000Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-09-01T01:06:14.000Z] (47/86) Installing libogg (1.3.5-r2) [2023-09-01T01:06:14.000Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-09-01T01:06:14.000Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-09-01T01:06:14.000Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-09-01T01:06:14.000Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-09-01T01:06:14.000Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-09-01T01:06:14.000Z] (53/86) Installing soxr (0.1.3-r3) [2023-09-01T01:06:14.000Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-09-01T01:06:14.000Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-09-01T01:06:14.000Z] (56/86) Installing libpulse (16.1-r6) [2023-09-01T01:06:14.000Z] (57/86) Installing cjson (1.7.15-r3) [2023-09-01T01:06:14.260Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-09-01T01:06:14.260Z] (59/86) Installing librist (0.2.7-r0) [2023-09-01T01:06:14.260Z] (60/86) Installing libsrt (1.5.1-r0) [2023-09-01T01:06:14.260Z] (61/86) Installing libssh (0.10.5-r0) [2023-09-01T01:06:14.260Z] (62/86) Installing libtheora (1.1.1-r16) [2023-09-01T01:06:14.260Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-09-01T01:06:14.260Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-09-01T01:06:14.260Z] (65/86) Installing libxext (1.3.5-r0) [2023-09-01T01:06:14.260Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-09-01T01:06:14.260Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-09-01T01:06:14.260Z] (68/86) Installing libva (2.16.0-r0) [2023-09-01T01:06:14.260Z] (69/86) Installing libvdpau (1.5-r0) [2023-09-01T01:06:14.260Z] (70/86) Installing vidstab (1.1.0-r2) [2023-09-01T01:06:14.260Z] (71/86) Installing libvpx (1.12.0-r1) [2023-09-01T01:06:14.260Z] (72/86) Installing libwebp (1.2.4-r2) [2023-09-01T01:06:14.260Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-09-01T01:06:14.260Z] (74/86) Installing numactl (2.0.16-r1) [2023-09-01T01:06:14.260Z] (75/86) Installing x265-libs (3.5-r3) [2023-09-01T01:06:15.195Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-09-01T01:06:15.195Z] (77/86) Installing libsodium (1.0.18-r2) [2023-09-01T01:06:15.195Z] (78/86) Installing libzmq (4.3.4-r1) [2023-09-01T01:06:15.195Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-09-01T01:06:15.195Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-09-01T01:06:15.195Z] (81/86) Installing udev-init-scripts (35-r1) [2023-09-01T01:06:15.195Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-09-01T01:06:15.195Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-09-01T01:06:15.195Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-09-01T01:06:15.195Z] (85/86) Installing kmod-libs (30-r1) [2023-09-01T01:06:15.195Z] (86/86) Installing eudev (3.2.11-r4) [2023-09-01T01:06:15.195Z] Executing busybox-1.35.0-r29.trigger [2023-09-01T01:06:15.195Z] Executing eudev-3.2.11-r4.trigger [2023-09-01T01:06:15.195Z] OK: 112 MiB in 101 packages [2023-09-01T01:06:18.526Z] Removing intermediate container 18da43ad38be [2023-09-01T01:06:18.526Z] ---> 3ac5f8e683a2 [2023-09-01T01:06:18.526Z] Step 18/36 : WORKDIR / [2023-09-01T01:06:18.526Z] ---> Running in e6837b8067a8 [2023-09-01T01:06:18.526Z] Removing intermediate container e6837b8067a8 [2023-09-01T01:06:18.526Z] ---> 912337f6e72a [2023-09-01T01:06:18.526Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-09-01T01:06:19.094Z] ---> f8348cb94d28 [2023-09-01T01:06:19.094Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-09-01T01:06:19.354Z] ---> f8598fdc345e [2023-09-01T01:06:19.354Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-09-01T01:06:19.354Z] ---> f52db54755b9 [2023-09-01T01:06:19.354Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-09-01T01:06:19.614Z] ---> 1600cfc03d85 [2023-09-01T01:06:19.614Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-09-01T01:06:19.614Z] ---> b4f3773b426c [2023-09-01T01:06:19.614Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-09-01T01:06:19.873Z] ---> a27b1cf45ab8 [2023-09-01T01:06:19.873Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-09-01T01:06:20.810Z] ---> 8e439af9c5dd [2023-09-01T01:06:20.810Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-09-01T01:06:20.810Z] ---> Running in b35d24015407 [2023-09-01T01:06:21.069Z] Removing intermediate container b35d24015407 [2023-09-01T01:06:21.069Z] ---> 15280963cc54 [2023-09-01T01:06:21.069Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-09-01T01:06:21.069Z] ---> Running in 51a03b1306b1 [2023-09-01T01:06:21.638Z] Removing intermediate container 51a03b1306b1 [2023-09-01T01:06:21.638Z] ---> b38a08948936 [2023-09-01T01:06:21.638Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-09-01T01:06:21.638Z] ---> Running in cb6e806a44c4 [2023-09-01T01:06:22.208Z] Removing intermediate container cb6e806a44c4 [2023-09-01T01:06:22.208Z] ---> ec91410dd89b [2023-09-01T01:06:22.208Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-09-01T01:06:22.208Z] ---> Running in a547bdf2027b [2023-09-01T01:06:22.777Z] Removing intermediate container a547bdf2027b [2023-09-01T01:06:22.777Z] ---> cdd2c921255c [2023-09-01T01:06:22.777Z] Step 30/36 : EXPOSE 59983 [2023-09-01T01:06:22.777Z] ---> Running in e43a599ac04d [2023-09-01T01:06:23.036Z] Removing intermediate container e43a599ac04d [2023-09-01T01:06:23.036Z] ---> 358c992d38ed [2023-09-01T01:06:23.036Z] Step 31/36 : EXPOSE 8554 [2023-09-01T01:06:23.036Z] ---> Running in c6d752ff19ea [2023-09-01T01:06:23.036Z] Removing intermediate container c6d752ff19ea [2023-09-01T01:06:23.036Z] ---> a7e00d81b73e [2023-09-01T01:06:23.036Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-09-01T01:06:23.036Z] ---> Running in 85cac16fcb56 [2023-09-01T01:06:23.036Z] Removing intermediate container 85cac16fcb56 [2023-09-01T01:06:23.036Z] ---> 2d57b3e06a92 [2023-09-01T01:06:23.036Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-09-01T01:06:23.036Z] ---> Running in 14331b3daeab [2023-09-01T01:06:23.296Z] Removing intermediate container 14331b3daeab [2023-09-01T01:06:23.296Z] ---> d069608f6db0 [2023-09-01T01:06:23.296Z] Step 34/36 : LABEL arch=amd64 [2023-09-01T01:06:23.296Z] ---> Running in 924788917ab7 [2023-09-01T01:06:23.296Z] Removing intermediate container 924788917ab7 [2023-09-01T01:06:23.296Z] ---> 41e5771c6813 [2023-09-01T01:06:23.296Z] Step 35/36 : LABEL git_sha=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [2023-09-01T01:06:23.296Z] ---> Running in 83a23c0c8ed8 [2023-09-01T01:06:23.296Z] Removing intermediate container 83a23c0c8ed8 [2023-09-01T01:06:23.296Z] ---> 594127f23d41 [2023-09-01T01:06:23.296Z] Step 36/36 : LABEL version=0.0.0 [2023-09-01T01:06:23.296Z] ---> Running in ed15e624ebed [2023-09-01T01:06:23.555Z] Removing intermediate container ed15e624ebed [2023-09-01T01:06:23.555Z] ---> de4c2cd038ea [2023-09-01T01:06:23.555Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-01T01:06:23.555Z] Successfully built de4c2cd038ea [2023-09-01T01:06:23.555Z] Successfully tagged device-usb-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-09-01T01:06:24.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-01T01:06:24.461Z] [2023-09-01T01:06:24.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:06:24.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-01T01:06:24.838Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-01T01:06:24.838Z] 5eb5b503b376: Pulling fs layer [2023-09-01T01:06:24.838Z] 5c69ac0246d0: Pulling fs layer [2023-09-01T01:06:24.838Z] ec43610c2a17: Pulling fs layer [2023-09-01T01:06:24.838Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-01T01:06:24.838Z] 33b1e0a273af: Pulling fs layer [2023-09-01T01:06:24.838Z] 5d3b04190fa2: Pulling fs layer [2023-09-01T01:06:24.838Z] 2f39f015ded8: Pulling fs layer [2023-09-01T01:06:24.838Z] 3a2ae6a8a46f: Waiting [2023-09-01T01:06:24.838Z] 33b1e0a273af: Waiting [2023-09-01T01:06:24.838Z] 5d3b04190fa2: Waiting [2023-09-01T01:06:24.838Z] 2f39f015ded8: Waiting [2023-09-01T01:06:24.838Z] 5c69ac0246d0: Verifying Checksum [2023-09-01T01:06:24.838Z] 5c69ac0246d0: Download complete [2023-09-01T01:06:24.838Z] 3a2ae6a8a46f: Download complete [2023-09-01T01:06:25.098Z] 33b1e0a273af: Verifying Checksum [2023-09-01T01:06:25.098Z] 33b1e0a273af: Download complete [2023-09-01T01:06:25.098Z] ec43610c2a17: Verifying Checksum [2023-09-01T01:06:25.098Z] ec43610c2a17: Download complete [2023-09-01T01:06:25.098Z] 5d3b04190fa2: Verifying Checksum [2023-09-01T01:06:25.098Z] 5d3b04190fa2: Download complete [2023-09-01T01:06:25.098Z] 5eb5b503b376: Verifying Checksum [2023-09-01T01:06:25.098Z] 5eb5b503b376: Download complete [2023-09-01T01:06:25.671Z] 2f39f015ded8: Download complete [2023-09-01T01:06:26.608Z] 5eb5b503b376: Pull complete [2023-09-01T01:06:26.608Z] 5c69ac0246d0: Pull complete [2023-09-01T01:06:26.867Z] ec43610c2a17: Pull complete [2023-09-01T01:06:27.126Z] 3a2ae6a8a46f: Pull complete [2023-09-01T01:06:27.385Z] 33b1e0a273af: Pull complete [2023-09-01T01:06:27.385Z] 5d3b04190fa2: Pull complete [2023-09-01T01:06:31.574Z] 2f39f015ded8: Pull complete [2023-09-01T01:06:31.574Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-01T01:06:31.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-01T01:06:31.574Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-01T01:06:31.784Z] prd-ubuntu20.04-docker-8c-8g-5074 does not seem to be running inside a container [2023-09-01T01:06:31.807Z] $ 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/foundry_device-usb-camera_PR-279 -v /w/workspace/foundry_device-usb-camera_PR-279:/w/workspace/foundry_device-usb-camera_PR-279:rw,z -v /w/workspace/foundry_device-usb-camera_PR-279@tmp:/w/workspace/foundry_device-usb-camera_PR-279@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-09-01T01:06:36.743Z] $ docker top 3605cfe45e135167741a6e54b602e21c8d1833a470a53ad165ea681bd772e4b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:06:37.187Z] ---> job-cost.sh [2023-09-01T01:06:37.188Z] lf-activate-venv: SKIPPING [2023-09-01T01:06:37.188Z] INFO: No Stack... [2023-09-01T01:06:37.448Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-01T01:06:38.016Z] INFO: Archiving Costs [Pipeline] sh [2023-09-01T01:06:38.329Z] + cat /w/workspace/foundry_device-usb-camera_PR-279/archives/cost.csv [2023-09-01T01:06:38.329Z] + cut -d, -f6 [Pipeline] lock [2023-09-01T01:06:38.377Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] [2023-09-01T01:06:38.382Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] did not exist. Created. [2023-09-01T01:06:38.382Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-01T01:06:38.778Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-01T01:06:38.833Z] Stashed 1 file(s) [Pipeline] } [2023-09-01T01:06:38.862Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-01T01:06:38.941Z] $ docker stop --time=1 3605cfe45e135167741a6e54b602e21c8d1833a470a53ad165ea681bd772e4b4 [2023-09-01T01:06:40.098Z] $ docker rm -f --volumes 3605cfe45e135167741a6e54b602e21c8d1833a470a53ad165ea681bd772e4b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-01T01:06:52.287Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5076 in /w/workspace/foundry_device-usb-camera_PR-279 [Pipeline] { [Pipeline] ws [2023-09-01T01:06:52.347Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-09-01T01:06:52.441Z] Selected Git installation does not exist. Using Default [2023-09-01T01:06:52.441Z] The recommended git tool is: NONE [2023-09-01T01:07:01.496Z] using credential edgex-jenkins-ssh [2023-09-01T01:07:01.514Z] Cloning the remote Git repository [2023-09-01T01:07:01.583Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-09-01T01:07:01.691Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-09-01T01:07:01.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-09-01T01:07:01.862Z] > git --version # timeout=10 [2023-09-01T01:07:01.891Z] > git --version # 'git version 2.25.1' [2023-09-01T01:07:01.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-01T01:07:02.086Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-01T01:07:02.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-09-01T01:07:02.937Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-01T01:07:03.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-09-01T01:07:03.919Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-09-01T01:07:03.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-01T01:07:03.937Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-01T01:07:04.528Z] Merging remotes/origin/main commit 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff into PR head commit b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [2023-09-01T01:07:04.823Z] Merge succeeded, producing b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [2023-09-01T01:07:04.824Z] Checking out Revision b4f076200ad522f26ded58b02d7fbcdf9e9be4eb (PR-279) [2023-09-01T01:07:04.556Z] > git config core.sparsecheckout # timeout=10 [2023-09-01T01:07:04.632Z] > git checkout -f b4f076200ad522f26ded58b02d7fbcdf9e9be4eb # timeout=10 [2023-09-01T01:07:04.732Z] > git remote # timeout=10 [2023-09-01T01:07:04.752Z] > git config --get remote.origin.url # timeout=10 [2023-09-01T01:07:04.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-01T01:07:04.782Z] > git merge 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff # timeout=10 [2023-09-01T01:07:04.809Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-01T01:07:04.837Z] > git config core.sparsecheckout # timeout=10 [2023-09-01T01:07:04.855Z] > git checkout -f b4f076200ad522f26ded58b02d7fbcdf9e9be4eb # timeout=10 [2023-09-01T01:07:08.369Z] Commit message: "fix: rtsp auth server router not initialized properly" [2023-09-01T01:07:08.430Z] > git --version # timeout=10 [2023-09-01T01:07:08.445Z] > git --version # 'git version 2.25.1' [2023-09-01T01:07:08.468Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-01T01:07:09.686Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-01T01:07:09.686Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-01T01:07:09.686Z] Dload Upload Total Spent Left Speed [2023-09-01T01:07:09.686Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh [2023-09-01T01:07:10.391Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-01T01:07:10.739Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-01T01:07:10.740Z] + sudo tee /etc/docker/daemon.new [2023-09-01T01:07:10.740Z] { [2023-09-01T01:07:10.740Z] "registry-mirrors": [ [2023-09-01T01:07:10.740Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-01T01:07:10.740Z] ], [2023-09-01T01:07:10.740Z] "bip": "10.250.0.254/24", [2023-09-01T01:07:10.740Z] "hosts": [ [2023-09-01T01:07:10.740Z] "tcp://0.0.0.0:5555", [2023-09-01T01:07:10.740Z] "unix:///var/run/docker.sock" [2023-09-01T01:07:10.740Z] ], [2023-09-01T01:07:10.740Z] "mtu": 1458, [2023-09-01T01:07:10.740Z] "selinux-enabled": true, [2023-09-01T01:07:10.740Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-01T01:07:10.740Z] } [Pipeline] sh [2023-09-01T01:07:11.084Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-01T01:07:11.431Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-01T01:07:33.631Z] provisioning config files... [2023-09-01T01:07:33.662Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config15019258208331120489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:07:34.066Z] ---> docker-login.sh [2023-09-01T01:07:34.066Z] nexus3.edgexfoundry.org:10001 [2023-09-01T01:07:34.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:07:34.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:07:34.610Z] Configure a credential helper to remove this warning. See [2023-09-01T01:07:34.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:07:34.610Z] [2023-09-01T01:07:34.610Z] Login Succeeded [2023-09-01T01:07:34.610Z] nexus3.edgexfoundry.org:10002 [2023-09-01T01:07:34.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:07:35.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:07:35.156Z] Configure a credential helper to remove this warning. See [2023-09-01T01:07:35.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:07:35.156Z] [2023-09-01T01:07:35.156Z] Login Succeeded [2023-09-01T01:07:35.156Z] nexus3.edgexfoundry.org:10003 [2023-09-01T01:07:35.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:07:35.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:07:35.429Z] Configure a credential helper to remove this warning. See [2023-09-01T01:07:35.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:07:35.429Z] [2023-09-01T01:07:35.429Z] Login Succeeded [2023-09-01T01:07:35.429Z] nexus3.edgexfoundry.org:10004 [2023-09-01T01:07:35.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:07:35.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:07:35.705Z] Configure a credential helper to remove this warning. See [2023-09-01T01:07:35.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:07:35.705Z] [2023-09-01T01:07:35.705Z] Login Succeeded [2023-09-01T01:07:35.705Z] docker.io [2023-09-01T01:07:35.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-01T01:07:36.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-01T01:07:36.246Z] Configure a credential helper to remove this warning. See [2023-09-01T01:07:36.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-01T01:07:36.246Z] [2023-09-01T01:07:36.246Z] Login Succeeded [2023-09-01T01:07:36.246Z] ---> docker-login.sh ends [Pipeline] } [2023-09-01T01:07:36.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-01T01:07:36.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-01T01:07:36.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-01T01:07:36.769Z] ========================================================= [2023-09-01T01:07:36.769Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-01T01:07:36.769Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:07:37.291Z] + 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-09-01T01:07:37.560Z] Sending build context to Docker daemon 1.302MB [2023-09-01T01:07:37.560Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-09-01T01:07:37.560Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-01T01:07:37.835Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-01T01:07:37.835Z] edb6bdbacee9: Pulling fs layer [2023-09-01T01:07:37.835Z] 5f9638ab2659: Pulling fs layer [2023-09-01T01:07:37.835Z] 8d51d6327a98: Pulling fs layer [2023-09-01T01:07:37.835Z] 8b374f2dd631: Pulling fs layer [2023-09-01T01:07:37.835Z] ec14aa9079de: Pulling fs layer [2023-09-01T01:07:37.835Z] 2f466654f4bb: Pulling fs layer [2023-09-01T01:07:37.835Z] 554e91adad29: Pulling fs layer [2023-09-01T01:07:37.835Z] ec14aa9079de: Waiting [2023-09-01T01:07:37.835Z] 8b374f2dd631: Waiting [2023-09-01T01:07:37.835Z] 2f466654f4bb: Waiting [2023-09-01T01:07:37.835Z] 554e91adad29: Waiting [2023-09-01T01:07:37.835Z] 5f9638ab2659: Download complete [2023-09-01T01:07:37.835Z] 8b374f2dd631: Verifying Checksum [2023-09-01T01:07:37.835Z] 8b374f2dd631: Download complete [2023-09-01T01:07:37.835Z] ec14aa9079de: Verifying Checksum [2023-09-01T01:07:37.835Z] ec14aa9079de: Download complete [2023-09-01T01:07:37.835Z] edb6bdbacee9: Download complete [2023-09-01T01:07:39.283Z] edb6bdbacee9: Pull complete [2023-09-01T01:07:39.553Z] 554e91adad29: Verifying Checksum [2023-09-01T01:07:39.553Z] 554e91adad29: Download complete [2023-09-01T01:07:39.822Z] 5f9638ab2659: Pull complete [2023-09-01T01:07:40.794Z] 8d51d6327a98: Verifying Checksum [2023-09-01T01:07:40.794Z] 8d51d6327a98: Download complete [2023-09-01T01:07:40.794Z] 2f466654f4bb: Verifying Checksum [2023-09-01T01:07:40.794Z] 2f466654f4bb: Download complete [2023-09-01T01:07:51.078Z] 8d51d6327a98: Pull complete [2023-09-01T01:07:51.078Z] 8b374f2dd631: Pull complete [2023-09-01T01:07:51.078Z] ec14aa9079de: Pull complete [2023-09-01T01:07:57.753Z] 2f466654f4bb: Pull complete [2023-09-01T01:07:59.186Z] 554e91adad29: Pull complete [2023-09-01T01:07:59.458Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-01T01:07:59.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-01T01:07:59.458Z] ---> 1e15ea492957 [2023-09-01T01:07:59.458Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-01T01:08:01.408Z] ---> Running in 732311ee8e75 [2023-09-01T01:08:01.408Z] Removing intermediate container 732311ee8e75 [2023-09-01T01:08:01.408Z] ---> a52d8c1955c0 [2023-09-01T01:08:01.408Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-01T01:08:01.408Z] ---> Running in 944f8c688906 [2023-09-01T01:08:01.680Z] Removing intermediate container 944f8c688906 [2023-09-01T01:08:01.680Z] ---> 77e3301b29d8 [2023-09-01T01:08:01.680Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-01T01:08:01.948Z] ---> Running in dc868935c3c6 [2023-09-01T01:08:02.215Z] Removing intermediate container dc868935c3c6 [2023-09-01T01:08:02.215Z] ---> 7f10ed457c26 [2023-09-01T01:08:02.215Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-01T01:08:02.215Z] ---> Running in d336e5d16b6d [2023-09-01T01:08:02.486Z] Removing intermediate container d336e5d16b6d [2023-09-01T01:08:02.486Z] ---> 708d81047f40 [2023-09-01T01:08:02.486Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-01T01:08:02.486Z] ---> Running in 6716877857c5 [2023-09-01T01:08:03.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-01T01:08:04.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-01T01:08:05.586Z] (1/14) Installing libintl (0.21.1-r1) [2023-09-01T01:08:05.586Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-09-01T01:08:05.586Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-09-01T01:08:05.586Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-09-01T01:08:05.586Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-09-01T01:08:05.586Z] (6/14) Installing udev-init-scripts (35-r1) [2023-09-01T01:08:05.586Z] (7/14) Installing libblkid (2.38.1-r1) [2023-09-01T01:08:05.586Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-09-01T01:08:05.586Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-09-01T01:08:05.586Z] (10/14) Installing kmod-libs (30-r1) [2023-09-01T01:08:05.586Z] (11/14) Installing eudev (3.2.11-r4) [2023-09-01T01:08:05.586Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-09-01T01:08:05.586Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-09-01T01:08:05.586Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-09-01T01:08:05.586Z] Executing busybox-1.35.0-r29.trigger [2023-09-01T01:08:05.586Z] Executing eudev-3.2.11-r4.trigger [2023-09-01T01:08:05.586Z] OK: 271 MiB in 67 packages [2023-09-01T01:08:07.014Z] Removing intermediate container 6716877857c5 [2023-09-01T01:08:07.014Z] ---> f1e7d47e900d [2023-09-01T01:08:07.014Z] Step 8/13 : WORKDIR /device-usb-camera [2023-09-01T01:08:07.014Z] ---> Running in 09004dbdb2f6 [2023-09-01T01:08:07.283Z] Removing intermediate container 09004dbdb2f6 [2023-09-01T01:08:07.283Z] ---> aa9ac11eab90 [2023-09-01T01:08:07.283Z] Step 9/13 : COPY go.mod vendor* ./ [2023-09-01T01:08:07.555Z] ---> da923de1f42a [2023-09-01T01:08:07.555Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-01T01:08:07.823Z] ---> Running in 5c5dfe586ecb [2023-09-01T01:09:15.728Z] Removing intermediate container 5c5dfe586ecb [2023-09-01T01:09:15.728Z] ---> a98a9e8cf066 [2023-09-01T01:09:15.728Z] Step 11/13 : COPY . . [2023-09-01T01:09:15.728Z] ---> 61f9ccadb610 [2023-09-01T01:09:15.728Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-01T01:09:15.728Z] ---> Running in 2a7ff86b83f8 [2023-09-01T01:09:15.997Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-01T01:09:15.997Z] Dload Upload Total Spent Left Speed [2023-09-01T01:09:16.584Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1253  100  1253    0     0   3949      0 --:--:-- --:--:-- --:--:-- 3965 [2023-09-01T01:09:18.538Z] Removing intermediate container 2a7ff86b83f8 [2023-09-01T01:09:18.538Z] ---> c9f89b8322ab [2023-09-01T01:09:18.538Z] Step 13/13 : RUN ${MAKE} [2023-09-01T01:09:18.538Z] ---> Running in 904c68fa576e [2023-09-01T01:09:19.957Z] noop [2023-09-01T01:09:20.549Z] Removing intermediate container 904c68fa576e [2023-09-01T01:09:20.549Z] ---> db114b4bacc3 [2023-09-01T01:09:20.549Z] Successfully built db114b4bacc3 [2023-09-01T01:09:20.549Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:09:21.035Z] + docker inspect -f . ci-base-image-arm64 [2023-09-01T01:09:21.035Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-01T01:09:21.356Z] prd-ubuntu20.04-docker-arm64-4c-16g-5076 does not seem to be running inside a container [2023-09-01T01:09:21.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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-09-01T01:09:22.718Z] $ docker top c3ebe427e70a3fc40a0ba240cb640145cb122324620f6a6bbc658842183768f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-01T01:09:23.604Z] + go version [2023-09-01T01:09:23.604Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-01T01:09:23.647Z] $ docker stop --time=1 c3ebe427e70a3fc40a0ba240cb640145cb122324620f6a6bbc658842183768f4 [2023-09-01T01:09:25.274Z] $ docker rm -f --volumes c3ebe427e70a3fc40a0ba240cb640145cb122324620f6a6bbc658842183768f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:09:26.124Z] + docker inspect -f . ci-base-image-arm64 [2023-09-01T01:09:26.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-01T01:09:26.381Z] prd-ubuntu20.04-docker-arm64-4c-16g-5076 does not seem to be running inside a container [2023-09-01T01:09:26.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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-09-01T01:09:27.640Z] $ docker top 6bae50cff824515fe2e0db9d6a3e6911bfd16664dddb8bfd9bf0c76a04117b70 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-01T01:09:28.204Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-09-01T01:09:28.870Z] + make test [2023-09-01T01:09:28.870Z] go test ./... -coverprofile=coverage.out ./... [2023-09-01T01:10:07.759Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-09-01T01:12:14.482Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-09-01T01:12:17.839Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.095s coverage: 4.4% of statements [2023-09-01T01:12:18.427Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-01T01:12:18.427Z] go vet ./... [2023-09-01T01:12:50.683Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-01T01:12:50.683Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-01T01:12:50.683Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-01T01:12:50.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-01T01:12:50.768Z] $ docker stop --time=1 6bae50cff824515fe2e0db9d6a3e6911bfd16664dddb8bfd9bf0c76a04117b70 [2023-09-01T01:12:52.565Z] $ docker rm -f --volumes 6bae50cff824515fe2e0db9d6a3e6911bfd16664dddb8bfd9bf0c76a04117b70 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-01T01:12:53.935Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-01T01:12:53.974Z] Warning: overwriting stash ‘coverage-report’ [2023-09-01T01:12:54.624Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-01T01:12:55.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-01T01:12:55.569Z] + ls -al . [2023-09-01T01:12:55.569Z] total 216 [2023-09-01T01:12:55.569Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 01:09 . [2023-09-01T01:12:55.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:07 .. [2023-09-01T01:12:55.569Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 01:07 .git [2023-09-01T01:12:55.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:07 .github [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 468 Sep 1 01:07 .gitignore [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 45 Sep 1 01:07 .golangci.yml [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 1 01:07 .hadolint.yml [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 10851 Sep 1 01:07 Attribution.txt [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 11903 Sep 1 01:07 CHANGELOG.md [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 2453 Sep 1 01:07 Dockerfile [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 1 01:07 GOVERNANCE.md [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 1 01:07 Jenkinsfile [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 01:07 LICENSE [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 2611 Sep 1 01:07 Makefile [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 1 01:07 OWNERS.md [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 2575 Sep 1 01:07 README.md [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 01:03 VERSION [2023-09-01T01:12:55.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:07 bin [2023-09-01T01:12:55.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:07 cmd [2023-09-01T01:12:55.569Z] -rw-r--r-- 1 jenkins jenkins 53856 Sep 1 01:12 coverage.out [2023-09-01T01:12:55.569Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 1 01:07 docker-entrypoint.sh [2023-09-01T01:12:55.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:07 docs [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 3951 Sep 1 01:07 go.mod [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 34252 Sep 1 01:07 go.sum [2023-09-01T01:12:55.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:07 internal [2023-09-01T01:12:55.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:07 snap [2023-09-01T01:12:55.569Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 1 01:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:12:55.987Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb --label arch=arm64 --label version=0.0.0 . [2023-09-01T01:12:56.257Z] Sending build context to Docker daemon 1.356MB [2023-09-01T01:12:56.257Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-09-01T01:12:56.257Z] Step 2/36 : FROM ${BASE} AS builder [2023-09-01T01:12:56.257Z] ---> db114b4bacc3 [2023-09-01T01:12:56.257Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-09-01T01:12:59.606Z] ---> Running in 28f0a07a41b6 [2023-09-01T01:12:59.606Z] Removing intermediate container 28f0a07a41b6 [2023-09-01T01:12:59.606Z] ---> 651c319fb0dc [2023-09-01T01:12:59.606Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-01T01:12:59.606Z] ---> Running in 09cab237f8dd [2023-09-01T01:13:00.200Z] Removing intermediate container 09cab237f8dd [2023-09-01T01:13:00.200Z] ---> 93f818005257 [2023-09-01T01:13:00.200Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-01T01:13:00.200Z] ---> Running in a7c2fc7a28af [2023-09-01T01:13:00.468Z] Removing intermediate container a7c2fc7a28af [2023-09-01T01:13:00.468Z] ---> cc10a6971f2f [2023-09-01T01:13:00.468Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-01T01:13:00.468Z] ---> Running in 5fe1d77cf691 [2023-09-01T01:13:00.740Z] Removing intermediate container 5fe1d77cf691 [2023-09-01T01:13:00.740Z] ---> 70e06eb1a174 [2023-09-01T01:13:00.740Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-01T01:13:00.740Z] ---> Running in 7b00e9ba3277 [2023-09-01T01:13:01.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-01T01:13:02.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-01T01:13:03.254Z] OK: 271 MiB in 67 packages [2023-09-01T01:13:04.216Z] Removing intermediate container 7b00e9ba3277 [2023-09-01T01:13:04.216Z] ---> a3586f9184b0 [2023-09-01T01:13:04.216Z] Step 8/36 : WORKDIR /device-usb-camera [2023-09-01T01:13:04.216Z] ---> Running in be4f480d99b0 [2023-09-01T01:13:04.485Z] Removing intermediate container be4f480d99b0 [2023-09-01T01:13:04.485Z] ---> 6a093619e192 [2023-09-01T01:13:04.485Z] Step 9/36 : COPY go.mod vendor* ./ [2023-09-01T01:13:05.075Z] ---> 63ca8e69a5ad [2023-09-01T01:13:05.075Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-01T01:13:05.075Z] ---> Running in 09085c5f7255 [2023-09-01T01:13:07.684Z] Removing intermediate container 09085c5f7255 [2023-09-01T01:13:07.684Z] ---> ba7f7d088420 [2023-09-01T01:13:07.684Z] Step 11/36 : COPY . . [2023-09-01T01:13:08.654Z] ---> 4a316cff608e [2023-09-01T01:13:08.654Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-01T01:13:08.654Z] ---> Running in 355ba2876fe0 [2023-09-01T01:13:09.618Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-01T01:13:09.618Z]  Dload Upload Total Spent Left Speed [2023-09-01T01:13:09.890Z] 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 3588 0 --:--:-- --:--:-- --:--:-- 3590 100 1253 100 1253 0 0 3579  0 --:--:-- --:--:-- --:--:-- 3580 [2023-09-01T01:13:14.154Z] Removing intermediate container 355ba2876fe0 [2023-09-01T01:13:14.154Z] ---> 3a7733182409 [2023-09-01T01:13:14.154Z] Step 13/36 : RUN ${MAKE} [2023-09-01T01:13:14.154Z] ---> Running in 4579855287cb [2023-09-01T01:13:14.739Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-09-01T01:15:51.474Z] Removing intermediate container 4579855287cb [2023-09-01T01:15:51.474Z] ---> de96d1d8534e [2023-09-01T01:15:51.474Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-09-01T01:15:51.474Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-09-01T01:15:51.474Z] 8766b47fe142: Pulling fs layer [2023-09-01T01:15:51.474Z] 8766b47fe142: Verifying Checksum [2023-09-01T01:15:51.474Z] 8766b47fe142: Download complete [2023-09-01T01:15:51.474Z] 8766b47fe142: Pull complete [2023-09-01T01:15:51.474Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-09-01T01:15:51.474Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-09-01T01:15:51.474Z] ---> 69d40e2cb93c [2023-09-01T01:15:51.474Z] Step 15/36 : FROM alpine:3.17 [2023-09-01T01:15:51.474Z] 3.17: Pulling from library/alpine [2023-09-01T01:15:51.474Z] 4060ece20d7a: Pulling fs layer [2023-09-01T01:15:51.474Z] 4060ece20d7a: Verifying Checksum [2023-09-01T01:15:51.474Z] 4060ece20d7a: Download complete [2023-09-01T01:15:51.474Z] 4060ece20d7a: Pull complete [2023-09-01T01:15:51.474Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-01T01:15:51.474Z] Status: Downloaded newer image for alpine:3.17 [2023-09-01T01:15:51.474Z] ---> 8650cd65339b [2023-09-01T01:15:51.474Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-09-01T01:15:51.474Z] ---> Running in 146b7d0d8998 [2023-09-01T01:15:51.474Z] Removing intermediate container 146b7d0d8998 [2023-09-01T01:15:51.474Z] ---> 0a60120d7e26 [2023-09-01T01:15:51.474Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-09-01T01:15:51.474Z] ---> Running in d96a41d76c65 [2023-09-01T01:15:51.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-01T01:15:51.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-01T01:15:52.433Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-09-01T01:15:52.433Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-09-01T01:15:52.433Z] (3/83) Installing libxau (1.0.10-r0) [2023-09-01T01:15:52.433Z] (4/83) Installing libmd (1.0.4-r0) [2023-09-01T01:15:52.433Z] (5/83) Installing libbsd (0.11.7-r0) [2023-09-01T01:15:52.433Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-09-01T01:15:52.433Z] (7/83) Installing libxcb (1.15-r0) [2023-09-01T01:15:52.433Z] (8/83) Installing libx11 (1.8.4-r1) [2023-09-01T01:15:52.433Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-09-01T01:15:52.701Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-09-01T01:15:52.701Z] (11/83) Installing libexpat (2.5.0-r0) [2023-09-01T01:15:52.701Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-09-01T01:15:52.701Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-09-01T01:15:52.701Z] (14/83) Installing libpng (1.6.39-r0) [2023-09-01T01:15:52.701Z] (15/83) Installing freetype (2.12.1-r0) [2023-09-01T01:15:52.701Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-09-01T01:15:52.701Z] (17/83) Installing fribidi (1.0.12-r0) [2023-09-01T01:15:52.701Z] (18/83) Installing libffi (3.4.4-r0) [2023-09-01T01:15:52.970Z] (19/83) Installing libintl (0.21.1-r1) [2023-09-01T01:15:52.970Z] (20/83) Installing libblkid (2.38.1-r1) [2023-09-01T01:15:52.970Z] (21/83) Installing libmount (2.38.1-r1) [2023-09-01T01:15:52.970Z] (22/83) Installing pcre2 (10.42-r0) [2023-09-01T01:15:52.970Z] (23/83) Installing glib (2.74.7-r0) [2023-09-01T01:15:52.970Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-09-01T01:15:52.970Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-09-01T01:15:52.970Z] (26/83) Installing libass (0.16.0-r1) [2023-09-01T01:15:52.970Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-09-01T01:15:53.238Z] (28/83) Installing libdrm (2.4.114-r0) [2023-09-01T01:15:53.238Z] (29/83) Installing gmp (6.2.1-r2) [2023-09-01T01:15:53.238Z] (30/83) Installing nettle (3.8.1-r0) [2023-09-01T01:15:53.238Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-09-01T01:15:53.238Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-09-01T01:15:53.238Z] (33/83) Installing libunistring (1.1-r0) [2023-09-01T01:15:53.238Z] (34/83) Installing gnutls (3.7.8-r3) [2023-09-01T01:15:53.238Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-09-01T01:15:53.238Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-09-01T01:15:53.238Z] (37/83) Installing lame (3.100-r2) [2023-09-01T01:15:53.527Z] (38/83) Installing opus (1.3.1-r1) [2023-09-01T01:15:53.527Z] (39/83) Installing libasyncns (0.8-r1) [2023-09-01T01:15:53.527Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-09-01T01:15:53.527Z] (41/83) Installing libltdl (2.4.7-r1) [2023-09-01T01:15:53.527Z] (42/83) Installing orc (0.4.33-r0) [2023-09-01T01:15:53.527Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-09-01T01:15:53.527Z] (44/83) Installing libogg (1.3.5-r2) [2023-09-01T01:15:53.527Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-09-01T01:15:53.527Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-09-01T01:15:53.527Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-09-01T01:15:53.527Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-09-01T01:15:53.527Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-09-01T01:15:53.527Z] (50/83) Installing soxr (0.1.3-r3) [2023-09-01T01:15:53.527Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-09-01T01:15:53.527Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-09-01T01:15:53.527Z] (53/83) Installing libpulse (16.1-r6) [2023-09-01T01:15:53.797Z] (54/83) Installing cjson (1.7.15-r3) [2023-09-01T01:15:53.797Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-09-01T01:15:53.797Z] (56/83) Installing librist (0.2.7-r0) [2023-09-01T01:15:53.797Z] (57/83) Installing libsrt (1.5.1-r0) [2023-09-01T01:15:53.797Z] (58/83) Installing libssh (0.10.5-r0) [2023-09-01T01:15:53.797Z] (59/83) Installing libtheora (1.1.1-r16) [2023-09-01T01:15:53.797Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-09-01T01:15:53.797Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-09-01T01:15:53.797Z] (62/83) Installing libxext (1.3.5-r0) [2023-09-01T01:15:53.797Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-09-01T01:15:53.797Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-09-01T01:15:53.797Z] (65/83) Installing libva (2.16.0-r0) [2023-09-01T01:15:53.797Z] (66/83) Installing libvdpau (1.5-r0) [2023-09-01T01:15:53.797Z] (67/83) Installing vidstab (1.1.0-r2) [2023-09-01T01:15:53.797Z] (68/83) Installing libvpx (1.12.0-r1) [2023-09-01T01:15:54.067Z] (69/83) Installing libwebp (1.2.4-r2) [2023-09-01T01:15:54.067Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-09-01T01:15:54.067Z] (71/83) Installing numactl (2.0.16-r1) [2023-09-01T01:15:54.067Z] (72/83) Installing x265-libs (3.5-r3) [2023-09-01T01:15:54.337Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-09-01T01:15:54.337Z] (74/83) Installing libsodium (1.0.18-r2) [2023-09-01T01:15:54.337Z] (75/83) Installing libzmq (4.3.4-r1) [2023-09-01T01:15:54.337Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-09-01T01:15:54.920Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-09-01T01:15:54.920Z] (78/83) Installing udev-init-scripts (35-r1) [2023-09-01T01:15:54.920Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-09-01T01:15:54.920Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-09-01T01:15:54.920Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-09-01T01:15:54.920Z] (82/83) Installing kmod-libs (30-r1) [2023-09-01T01:15:54.920Z] (83/83) Installing eudev (3.2.11-r4) [2023-09-01T01:15:54.920Z] Executing busybox-1.35.0-r29.trigger [2023-09-01T01:15:55.189Z] Executing eudev-3.2.11-r4.trigger [2023-09-01T01:15:55.189Z] OK: 86 MiB in 98 packages [2023-09-01T01:15:59.461Z] Removing intermediate container d96a41d76c65 [2023-09-01T01:15:59.461Z] ---> 1fd24027ffb3 [2023-09-01T01:15:59.461Z] Step 18/36 : WORKDIR / [2023-09-01T01:15:59.461Z] ---> Running in 98f4a17cfd2c [2023-09-01T01:15:59.461Z] Removing intermediate container 98f4a17cfd2c [2023-09-01T01:15:59.461Z] ---> 6ba6b43bfc0a [2023-09-01T01:15:59.461Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-09-01T01:16:00.424Z] ---> ac01d6f2bd23 [2023-09-01T01:16:00.425Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-09-01T01:16:01.009Z] ---> 8b7686702107 [2023-09-01T01:16:01.009Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-09-01T01:16:01.277Z] ---> 63ef2f73fab3 [2023-09-01T01:16:01.277Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-09-01T01:16:01.883Z] ---> 99aaa7a73d3d [2023-09-01T01:16:01.883Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-09-01T01:16:02.473Z] ---> 09fc6f041232 [2023-09-01T01:16:02.473Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-09-01T01:16:03.061Z] ---> 9fc231dc45a2 [2023-09-01T01:16:03.061Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-09-01T01:16:04.474Z] ---> e8407f6c7296 [2023-09-01T01:16:04.474Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-09-01T01:16:04.474Z] ---> Running in dbc453946a00 [2023-09-01T01:16:05.891Z] Removing intermediate container dbc453946a00 [2023-09-01T01:16:05.891Z] ---> 64de22db48d7 [2023-09-01T01:16:05.891Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-09-01T01:16:05.891Z] ---> Running in 3048093b9409 [2023-09-01T01:16:07.842Z] Removing intermediate container 3048093b9409 [2023-09-01T01:16:07.842Z] ---> a21b43834cf8 [2023-09-01T01:16:07.842Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-09-01T01:16:07.842Z] ---> Running in f0bcf48cf947 [2023-09-01T01:16:09.795Z] Removing intermediate container f0bcf48cf947 [2023-09-01T01:16:09.795Z] ---> 149c6c8172d8 [2023-09-01T01:16:09.795Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-09-01T01:16:09.795Z] ---> Running in 51f3b242749b [2023-09-01T01:16:11.206Z] Removing intermediate container 51f3b242749b [2023-09-01T01:16:11.206Z] ---> 6510b2ebe6dc [2023-09-01T01:16:11.206Z] Step 30/36 : EXPOSE 59983 [2023-09-01T01:16:11.206Z] ---> Running in f8173fccb6d2 [2023-09-01T01:16:11.475Z] Removing intermediate container f8173fccb6d2 [2023-09-01T01:16:11.475Z] ---> 9569bf078c46 [2023-09-01T01:16:11.475Z] Step 31/36 : EXPOSE 8554 [2023-09-01T01:16:11.475Z] ---> Running in 54008818afda [2023-09-01T01:16:11.743Z] Removing intermediate container 54008818afda [2023-09-01T01:16:11.743Z] ---> 2874384f3662 [2023-09-01T01:16:11.743Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-09-01T01:16:11.743Z] ---> Running in 4601b8488040 [2023-09-01T01:16:12.011Z] Removing intermediate container 4601b8488040 [2023-09-01T01:16:12.011Z] ---> c617e57ea3e9 [2023-09-01T01:16:12.012Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-09-01T01:16:12.280Z] ---> Running in eb44a94d2732 [2023-09-01T01:16:12.549Z] Removing intermediate container eb44a94d2732 [2023-09-01T01:16:12.549Z] ---> 1640d40bfcc0 [2023-09-01T01:16:12.549Z] Step 34/36 : LABEL arch=arm64 [2023-09-01T01:16:12.549Z] ---> Running in 65782a482aeb [2023-09-01T01:16:12.817Z] Removing intermediate container 65782a482aeb [2023-09-01T01:16:12.817Z] ---> 55d40b5ba11c [2023-09-01T01:16:12.817Z] Step 35/36 : LABEL git_sha=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [2023-09-01T01:16:12.817Z] ---> Running in d775789b0562 [2023-09-01T01:16:13.089Z] Removing intermediate container d775789b0562 [2023-09-01T01:16:13.089Z] ---> 62d840a68191 [2023-09-01T01:16:13.089Z] Step 36/36 : LABEL version=0.0.0 [2023-09-01T01:16:13.089Z] ---> Running in e237d9d30054 [2023-09-01T01:16:13.357Z] Removing intermediate container e237d9d30054 [2023-09-01T01:16:13.357Z] ---> 16c47e535cb6 [2023-09-01T01:16:13.357Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-01T01:16:13.357Z] Successfully built 16c47e535cb6 [2023-09-01T01:16:13.357Z] Successfully tagged device-usb-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-09-01T01:16:14.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-01T01:16:14.200Z] [2023-09-01T01:16:14.200Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:16:14.601Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-01T01:16:14.602Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-01T01:16:14.602Z] 8998bd30e6a1: Pulling fs layer [2023-09-01T01:16:14.602Z] 04944245beec: Pulling fs layer [2023-09-01T01:16:14.602Z] 699f458cf7ca: Pulling fs layer [2023-09-01T01:16:14.602Z] 765212b225bb: Pulling fs layer [2023-09-01T01:16:14.602Z] f23df028b6ca: Pulling fs layer [2023-09-01T01:16:14.602Z] d65c8cfc05b1: Pulling fs layer [2023-09-01T01:16:14.602Z] 2437ff75d9bd: Pulling fs layer [2023-09-01T01:16:14.602Z] 765212b225bb: Waiting [2023-09-01T01:16:14.602Z] f23df028b6ca: Waiting [2023-09-01T01:16:14.602Z] d65c8cfc05b1: Waiting [2023-09-01T01:16:14.602Z] 2437ff75d9bd: Waiting [2023-09-01T01:16:14.869Z] 04944245beec: Verifying Checksum [2023-09-01T01:16:14.869Z] 04944245beec: Download complete [2023-09-01T01:16:14.869Z] 765212b225bb: Download complete [2023-09-01T01:16:14.869Z] f23df028b6ca: Verifying Checksum [2023-09-01T01:16:14.869Z] f23df028b6ca: Download complete [2023-09-01T01:16:14.869Z] d65c8cfc05b1: Verifying Checksum [2023-09-01T01:16:14.869Z] d65c8cfc05b1: Download complete [2023-09-01T01:16:15.293Z] 699f458cf7ca: Verifying Checksum [2023-09-01T01:16:15.293Z] 699f458cf7ca: Download complete [2023-09-01T01:16:15.565Z] 8998bd30e6a1: Verifying Checksum [2023-09-01T01:16:15.565Z] 8998bd30e6a1: Download complete [2023-09-01T01:16:17.510Z] 2437ff75d9bd: Download complete [2023-09-01T01:16:19.456Z] 8998bd30e6a1: Pull complete [2023-09-01T01:16:19.724Z] 04944245beec: Pull complete [2023-09-01T01:16:22.306Z] 699f458cf7ca: Pull complete [2023-09-01T01:16:22.574Z] 765212b225bb: Pull complete [2023-09-01T01:16:23.535Z] f23df028b6ca: Pull complete [2023-09-01T01:16:23.535Z] d65c8cfc05b1: Pull complete [2023-09-01T01:16:38.520Z] 2437ff75d9bd: Pull complete [2023-09-01T01:16:38.520Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-01T01:16:38.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-01T01:16:38.520Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-01T01:16:38.873Z] prd-ubuntu20.04-docker-arm64-4c-16g-5076 does not seem to be running inside a container [2023-09-01T01:16:38.977Z] $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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-09-01T01:16:41.543Z] $ docker top 5a262cb85abdd5443b5f8ebf22a9699af651092fe994e4b393b121748b86d882 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:16:42.135Z] ---> job-cost.sh [2023-09-01T01:16:42.406Z] lf-activate-venv: SKIPPING [2023-09-01T01:16:42.406Z] INFO: No Stack... [2023-09-01T01:16:42.678Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-01T01:16:43.655Z] INFO: Archiving Costs [Pipeline] sh [2023-09-01T01:16:43.997Z] + + cutcat -d, /w/workspace/device-usb-camera/1/archives/cost.csv -f6 [2023-09-01T01:16:43.997Z] [Pipeline] lock [2023-09-01T01:16:44.051Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] [2023-09-01T01:16:44.056Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] did not exist. Created. [2023-09-01T01:16:44.056Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-01T01:16:44.780Z] /w/workspace/device-usb-camera/1@tmp/durable-f26de728/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-01T01:16:45.133Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-01T01:16:45.170Z] Warning: overwriting stash ‘stack-cost’ [2023-09-01T01:16:45.220Z] Stashed 1 file(s) [Pipeline] } [2023-09-01T01:16:45.235Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-01T01:16:45.329Z] $ docker stop --time=1 5a262cb85abdd5443b5f8ebf22a9699af651092fe994e4b393b121748b86d882 [2023-09-01T01:16:46.774Z] $ docker rm -f --volumes 5a262cb85abdd5443b5f8ebf22a9699af651092fe994e4b393b121748b86d882 [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-09-01T01:16:47.805Z] provisioning config files... [2023-09-01T01:16:47.814Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-279@tmp/config7926357958351209826tmp [Pipeline] { [Pipeline] sh [2023-09-01T01:16:48.165Z] + set +x [2023-09-01T01:16:48.165Z] + curl -s https://codecov.io/bash [2023-09-01T01:16:48.165Z] + bash -s -- [2023-09-01T01:16:48.165Z] [2023-09-01T01:16:48.165Z] _____ _ [2023-09-01T01:16:48.165Z] / ____| | | [2023-09-01T01:16:48.165Z] | | ___ __| | ___ ___ _____ __ [2023-09-01T01:16:48.165Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-01T01:16:48.165Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-01T01:16:48.165Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-01T01:16:48.165Z] Bash-1.0.6 [2023-09-01T01:16:48.165Z] [2023-09-01T01:16:48.165Z] [2023-09-01T01:16:48.165Z] ==> git version 2.25.1 found [2023-09-01T01:16:48.165Z] ==> 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-09-01T01:16:48.165Z] Release-Date: 2020-01-08 [2023-09-01T01:16:48.165Z] 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-09-01T01:16:48.165Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-01T01:16:48.165Z] ==> Jenkins CI detected. [2023-09-01T01:16:48.165Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-279 [2023-09-01T01:16:48.165Z] project root: . [2023-09-01T01:16:48.165Z] --> token set from env [2023-09-01T01:16:48.165Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-01T01:16:48.165Z] ==> Running gcov in . (disable via -X gcov) [2023-09-01T01:16:48.165Z] ==> Python coveragepy not found [2023-09-01T01:16:48.165Z] ==> Searching for coverage reports in: [2023-09-01T01:16:48.165Z] + . [2023-09-01T01:16:48.165Z] -> Found 1 reports [2023-09-01T01:16:48.165Z] ==> Detecting git/mercurial file structure [2023-09-01T01:16:48.165Z] ==> Reading reports [2023-09-01T01:16:48.165Z] + ./coverage.out bytes=53856 [2023-09-01T01:16:48.165Z] ==> Appending adjustments [2023-09-01T01:16:48.165Z] https://docs.codecov.io/docs/fixing-reports [2023-09-01T01:16:48.426Z] + Found adjustments [2023-09-01T01:16:48.426Z] ==> Gzipping contents [2023-09-01T01:16:48.426Z] 8.0K /tmp/codecov.c7ucPY.gz [2023-09-01T01:16:48.426Z] ==> Uploading reports [2023-09-01T01:16:48.426Z] url: https://codecov.io [2023-09-01T01:16:48.426Z] query: branch=PR-279&commit=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-279%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=279&job=&cmd_args= [2023-09-01T01:16:48.426Z] -> Pinging Codecov [2023-09-01T01:16:48.426Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-279&commit=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-279%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=279&job=&cmd_args= [2023-09-01T01:16:48.426Z] -> Uploading to [2023-09-01T01:16:48.426Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-01/73D8F5FF140700D3E01443B452E23636/b4f076200ad522f26ded58b02d7fbcdf9e9be4eb/2d72d435-31d9-457f-b9b5-ee62d5d12640.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230901%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230901T011648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c95753e4e5d1a190f0b598a6ecf9e003f57cf5694a990e4236c910b74ab3c60 [2023-09-01T01:16:48.426Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-01T01:16:48.426Z] Dload Upload Total Spent Left Speed [2023-09-01T01:16:48.686Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6883 0 0 100 6883 0 35663 --:--:-- --:--:-- --:--:-- 35663 [2023-09-01T01:16:48.686Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [Pipeline] } [2023-09-01T01:16:48.716Z] 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-09-01T01:16:50.492Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-279/archives ] [2023-09-01T01:16:50.492Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-279/archives [2023-09-01T01:16:50.492Z] total 16 [2023-09-01T01:16:50.492Z] drwxr-xr-x 3 root root 4096 Sep 1 01:06 . [2023-09-01T01:16:50.492Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 01:06 .. [2023-09-01T01:16:50.492Z] drwxr-xr-x 2 root root 4096 Sep 1 01:06 cost [2023-09-01T01:16:50.492Z] -rw-r--r-- 1 root root 89 Sep 1 01:06 cost.csv [2023-09-01T01:16:50.492Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-279/archives [2023-09-01T01:16:50.492Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-279/archives [2023-09-01T01:16:50.492Z] total 16 [2023-09-01T01:16:50.492Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 01:06 . [2023-09-01T01:16:50.492Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 01:06 .. [2023-09-01T01:16:50.492Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 1 01:06 cost [2023-09-01T01:16:50.492Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 1 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:16:50.821Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:16:51.715Z] ---> package-listing.sh [2023-09-01T01:16:51.715Z] ++ facter osfamily [2023-09-01T01:16:51.715Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-01T01:16:51.974Z] + OS_FAMILY=debian [2023-09-01T01:16:51.974Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-279 [2023-09-01T01:16:51.974Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-01T01:16:51.974Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-01T01:16:51.974Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-01T01:16:51.974Z] + PACKAGES=/tmp/packages_start.txt [2023-09-01T01:16:51.974Z] + '[' /w/workspace/foundry_device-usb-camera_PR-279 ']' [2023-09-01T01:16:51.974Z] + PACKAGES=/tmp/packages_end.txt [2023-09-01T01:16:51.974Z] + case "${OS_FAMILY}" in [2023-09-01T01:16:51.974Z] + dpkg -l [2023-09-01T01:16:51.974Z] + grep '^ii' [2023-09-01T01:16:51.974Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-01T01:16:51.975Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-01T01:16:51.975Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-01T01:16:51.975Z] + '[' /w/workspace/foundry_device-usb-camera_PR-279 ']' [2023-09-01T01:16:51.975Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-279/archives/ [2023-09-01T01:16:51.975Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-279/archives/ [Pipeline] echo [2023-09-01T01:16:52.017Z] 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/foundry_device-usb-camera_PR-279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-01T01:16:52.313Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-01T01:16:52.935Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-01T01:16:52.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-01T01:16:53.084Z] prd-ubuntu20.04-docker-8c-8g-5074 does not seem to be running inside a container [2023-09-01T01:16:53.115Z] $ 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/foundry_device-usb-camera_PR-279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-279 -v /w/workspace/foundry_device-usb-camera_PR-279:/w/workspace/foundry_device-usb-camera_PR-279:rw,z -v /w/workspace/foundry_device-usb-camera_PR-279@tmp:/w/workspace/foundry_device-usb-camera_PR-279@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-01T01:16:53.282Z] $ docker top 1cbd82f05e4c77d9019c096e857f7ed9c8acde9d4a39b631f678e8dc641019f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-01T01:16:53.680Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-01T01:16:53.986Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-01T01:16:54.298Z] + ls /var/log/sa-host [2023-09-01T01:16:54.298Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-01T01:16:54.437Z] provisioning config files... [2023-09-01T01:16:54.445Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-279@tmp/config4202206752358056576tmp [Pipeline] { [Pipeline] echo [2023-09-01T01:16:54.491Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:16:54.801Z] ---> create-netrc.sh [Pipeline] } [2023-09-01T01:16:54.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:16:55.229Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-01T01:16:55.260Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:16:55.588Z] ---> sudo-logs.sh [2023-09-01T01:16:55.588Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-01T01:16:55.673Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:16:55.984Z] ---> job-cost.sh [2023-09-01T01:16:55.984Z] lf-activate-venv: SKIPPING [2023-09-01T01:16:55.984Z] DEBUG: total: 0.2199999988079071 [2023-09-01T01:16:55.984Z] INFO: Retrieving Stack Cost... [2023-09-01T01:16:56.553Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-01T01:16:56.813Z] INFO: Archiving Costs [Pipeline] echo [2023-09-01T01:16:56.847Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-01T01:16:57.156Z] ---> logs-deploy.sh [2023-09-01T01:16:57.156Z] lf-activate-venv: SKIPPING [2023-09-01T01:16:57.156Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-279/1 [2023-09-01T01:16:57.156Z] INFO: archiving workspace using pattern(s): [2023-09-01T01:16:58.094Z] Archives upload complete. [2023-09-01T01:16:58.094Z] INFO: archiving logs to Nexus