Pull request #281 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 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 rather than 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 Obtained Jenkinsfile from 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 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-ssh12811337160227430324.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-ssh63522226973845207.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-281/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-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12768480033027511792.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-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4512072156705722148.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-ssh16744299548011382307.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-281/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-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17692981403796724813.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5467 in /w/workspace/foundry_device-usb-camera_PR-281 [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-281 # 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/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 into PR head commit 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 Merge succeeded, producing 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 Checking out Revision 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 (PR-281) > git config core.sparsecheckout # timeout=10 > git checkout -f 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 # 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 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 # timeout=10 Commit message: "fix: added missing core-data client required for remote deployment" 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-06T16:32:35.139Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-06T16:32:35.310Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-06T16:32:35.403Z] ========================================================= [2023-09-06T16:32:35.403Z] EdgeX Global Pipelines Version Info [2023-09-06T16:32:35.403Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:32:36.149Z] ------------------- [2023-09-06T16:32:36.149Z] stable info: [2023-09-06T16:32:36.149Z] ------------------- [2023-09-06T16:32:36.149Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-06T16:32:36.149Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T16:32:36.149Z] Message: update stable to v1.0.253 [2023-09-06T16:32:36.721Z] ------------------- [2023-09-06T16:32:36.721Z] experimental info: [2023-09-06T16:32:36.721Z] ------------------- [2023-09-06T16:32:36.721Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-06T16:32:36.721Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T16:32:36.721Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-06T16:32:36.996Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-09-06T16:32:37.036Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-09-06T16:32:37.074Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-06T16:32:37.120Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-06T16:32:37.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-06T16:32:37.200Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-06T16:32:37.246Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-06T16:32:37.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-06T16:32:37.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-06T16:32:37.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-06T16:32:37.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-06T16:32:37.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-09-06T16:32:37.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-06T16:32:37.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-06T16:32:37.611Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T16:32:37.652Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T16:32:37.691Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T16:32:37.735Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T16:32:37.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-06T16:32:37.817Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-06T16:32:37.861Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-06T16:32:37.903Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-06T16:32:37.950Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-06T16:32:37.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-06T16:32:38.041Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-06T16:32:38.096Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-06T16:32:38.139Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-06T16:32:38.181Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo [2023-09-06T16:32:38.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo [2023-09-06T16:32:38.273Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo [2023-09-06T16:32:38.314Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 [Pipeline] echo [2023-09-06T16:32:38.355Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32daf37 [Pipeline] echo [2023-09-06T16:32:38.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T16:32:38.525Z] provisioning config files... [2023-09-06T16:32:38.537Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-281@tmp/config12856815188379885353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:32:38.894Z] ---> docker-login.sh [2023-09-06T16:32:38.894Z] nexus3.edgexfoundry.org:10001 [2023-09-06T16:32:38.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:32:39.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:32:39.154Z] Configure a credential helper to remove this warning. See [2023-09-06T16:32:39.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:32:39.154Z] [2023-09-06T16:32:39.154Z] Login Succeeded [2023-09-06T16:32:39.154Z] nexus3.edgexfoundry.org:10002 [2023-09-06T16:32:39.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:32:39.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:32:39.414Z] Configure a credential helper to remove this warning. See [2023-09-06T16:32:39.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:32:39.414Z] [2023-09-06T16:32:39.414Z] Login Succeeded [2023-09-06T16:32:39.414Z] nexus3.edgexfoundry.org:10003 [2023-09-06T16:32:39.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:32:39.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:32:39.414Z] Configure a credential helper to remove this warning. See [2023-09-06T16:32:39.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:32:39.414Z] [2023-09-06T16:32:39.414Z] Login Succeeded [2023-09-06T16:32:39.414Z] nexus3.edgexfoundry.org:10004 [2023-09-06T16:32:39.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:32:39.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:32:39.414Z] Configure a credential helper to remove this warning. See [2023-09-06T16:32:39.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:32:39.414Z] [2023-09-06T16:32:39.414Z] Login Succeeded [2023-09-06T16:32:39.414Z] docker.io [2023-09-06T16:32:39.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:32:39.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:32:39.933Z] Configure a credential helper to remove this warning. See [2023-09-06T16:32:39.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:32:39.933Z] [2023-09-06T16:32:39.933Z] Login Succeeded [2023-09-06T16:32:39.933Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T16:32:39.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-06T16:32:40.622Z] + git rev-list -1 --merges 32daf375cba5b8410afc8aebdcd6bf1958fef1d6~1..32daf375cba5b8410afc8aebdcd6bf1958fef1d6 [Pipeline] echo [2023-09-06T16:32:40.687Z] -----------> git rev-list -1 --merges 32daf375cba5b8410afc8aebdcd6bf1958fef1d6~1..32daf375cba5b8410afc8aebdcd6bf1958fef1d6 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 [false] [Pipeline] sh [2023-09-06T16:32:41.000Z] + git log --format=format:%s -1 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 [Pipeline] echo [2023-09-06T16:32:41.037Z] ========================================================= [2023-09-06T16:32:41.037Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-06T16:32:41.037Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T16:32:41.481Z] + git log --format=format:%s -1 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 [Pipeline] echo [2023-09-06T16:32:41.513Z] [semverPrep] GIT_COMMIT: 32daf375cba5b8410afc8aebdcd6bf1958fef1d6, Commit Message: fix: added missing core-data client required for remote deployment [Pipeline] echo [2023-09-06T16:32:41.546Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-06T16:32:41.948Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T16:32:41.948Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-06T16:32:41.948Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-06T16:32:41.948Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-06T16:32:41.948Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-06T16:32:41.948Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-06T16:32:41.948Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:32:42.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T16:32:42.464Z] [2023-09-06T16:32:42.464Z] 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-06T16:32:42.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T16:32:42.839Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-06T16:32:42.839Z] b85a868b505f: Pulling fs layer [2023-09-06T16:32:42.839Z] e2be974225ed: Pulling fs layer [2023-09-06T16:32:42.839Z] 339a4e72a1f5: Pulling fs layer [2023-09-06T16:32:42.839Z] 988bab9f4d93: Pulling fs layer [2023-09-06T16:32:42.839Z] 1469e6f7b9e6: Pulling fs layer [2023-09-06T16:32:42.839Z] eaf3925da568: Pulling fs layer [2023-09-06T16:32:42.839Z] bab4dde63d76: Pulling fs layer [2023-09-06T16:32:42.839Z] bde34c3a00c8: Pulling fs layer [2023-09-06T16:32:42.839Z] b352a97aabf1: Pulling fs layer [2023-09-06T16:32:42.839Z] 4872d77fe225: Pulling fs layer [2023-09-06T16:32:42.839Z] 5851b861e8e6: Pulling fs layer [2023-09-06T16:32:42.839Z] bab4dde63d76: Waiting [2023-09-06T16:32:42.839Z] b352a97aabf1: Waiting [2023-09-06T16:32:42.839Z] 988bab9f4d93: Waiting [2023-09-06T16:32:42.839Z] 4872d77fe225: Waiting [2023-09-06T16:32:42.839Z] 1469e6f7b9e6: Waiting [2023-09-06T16:32:42.839Z] eaf3925da568: Waiting [2023-09-06T16:32:42.839Z] 5851b861e8e6: Waiting [2023-09-06T16:32:42.839Z] e2be974225ed: Download complete [2023-09-06T16:32:42.839Z] 988bab9f4d93: Download complete [2023-09-06T16:32:42.839Z] 1469e6f7b9e6: Verifying Checksum [2023-09-06T16:32:42.839Z] 1469e6f7b9e6: Download complete [2023-09-06T16:32:43.099Z] eaf3925da568: Verifying Checksum [2023-09-06T16:32:43.100Z] eaf3925da568: Download complete [2023-09-06T16:32:43.100Z] 339a4e72a1f5: Verifying Checksum [2023-09-06T16:32:43.100Z] 339a4e72a1f5: Download complete [2023-09-06T16:32:43.100Z] bde34c3a00c8: Verifying Checksum [2023-09-06T16:32:43.100Z] bde34c3a00c8: Download complete [2023-09-06T16:32:43.100Z] b352a97aabf1: Download complete [2023-09-06T16:32:43.100Z] 4872d77fe225: Verifying Checksum [2023-09-06T16:32:43.100Z] 5851b861e8e6: Verifying Checksum [2023-09-06T16:32:43.100Z] 5851b861e8e6: Download complete [2023-09-06T16:32:43.100Z] b85a868b505f: Verifying Checksum [2023-09-06T16:32:43.100Z] b85a868b505f: Download complete [2023-09-06T16:32:43.359Z] bab4dde63d76: Verifying Checksum [2023-09-06T16:32:43.359Z] bab4dde63d76: Download complete [2023-09-06T16:32:44.309Z] b85a868b505f: Pull complete [2023-09-06T16:32:44.309Z] e2be974225ed: Pull complete [2023-09-06T16:32:44.879Z] 339a4e72a1f5: Pull complete [2023-09-06T16:32:44.879Z] 988bab9f4d93: Pull complete [2023-09-06T16:32:45.139Z] 1469e6f7b9e6: Pull complete [2023-09-06T16:32:45.139Z] eaf3925da568: Pull complete [2023-09-06T16:32:47.044Z] bab4dde63d76: Pull complete [2023-09-06T16:32:47.044Z] bde34c3a00c8: Pull complete [2023-09-06T16:32:47.044Z] b352a97aabf1: Pull complete [2023-09-06T16:32:47.044Z] 4872d77fe225: Pull complete [2023-09-06T16:32:47.044Z] 5851b861e8e6: Pull complete [2023-09-06T16:32:47.044Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-06T16:32:47.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T16:32:47.044Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T16:32:47.353Z] prd-ubuntu20.04-docker-8c-8g-5467 does not seem to be running inside a container [2023-09-06T16:32:47.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-281 -v /w/workspace/foundry_device-usb-camera_PR-281:/w/workspace/foundry_device-usb-camera_PR-281:rw,z -v /w/workspace/foundry_device-usb-camera_PR-281@tmp:/w/workspace/foundry_device-usb-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-06T16:32:49.738Z] $ docker top 7ea13ce066bf6a086f77e09d905106d3ef9417be740d77264512356b840a7b27 -eo pid,comm [2023-09-06T16:32:49.813Z] 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-06T16:32:49.813Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T16:32:49.929Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T16:32:49.929Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T16:32:50.026Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T16:32:50.028Z] $ docker exec 7ea13ce066bf6a086f77e09d905106d3ef9417be740d77264512356b840a7b27 ssh-agent [2023-09-06T16:32:50.121Z] SSH_AUTH_SOCK=/tmp/ssh-MUJQH8qyC4WZ/agent.32 [2023-09-06T16:32:50.121Z] SSH_AGENT_PID=38 [2023-09-06T16:32:50.126Z] Running ssh-add (command line suppressed) [2023-09-06T16:32:50.218Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-281@tmp/private_key_17014796948411119213.key (/w/workspace/foundry_device-usb-camera_PR-281@tmp/private_key_17014796948411119213.key) [2023-09-06T16:32:50.245Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T16:32:50.575Z] + git tag --points-at HEAD [Pipeline] } [2023-09-06T16:32:50.601Z] $ docker exec --env ******** --env ******** 7ea13ce066bf6a086f77e09d905106d3ef9417be740d77264512356b840a7b27 ssh-agent -k [2023-09-06T16:32:50.698Z] unset SSH_AUTH_SOCK; [2023-09-06T16:32:50.699Z] unset SSH_AGENT_PID; [2023-09-06T16:32:50.699Z] echo Agent pid 38 killed; [2023-09-06T16:32:50.709Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-06T16:32:50.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T16:32:50.797Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T16:32:50.891Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T16:32:50.892Z] $ docker exec 7ea13ce066bf6a086f77e09d905106d3ef9417be740d77264512356b840a7b27 ssh-agent [2023-09-06T16:32:51.014Z] SSH_AUTH_SOCK=/tmp/ssh-8h2WBKlikzqV/agent.71 [2023-09-06T16:32:51.014Z] SSH_AGENT_PID=77 [2023-09-06T16:32:51.018Z] Running ssh-add (command line suppressed) [2023-09-06T16:32:51.122Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-281@tmp/private_key_11423400547049314264.key (/w/workspace/foundry_device-usb-camera_PR-281@tmp/private_key_11423400547049314264.key) [2023-09-06T16:32:51.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T16:32:51.466Z] + git semver init [2023-09-06T16:32:51.726Z] 2023-09-06 16:32:51,631 [run_init] DEBUG init version:0.0.0 force:False [2023-09-06T16:32:51.726Z] 2023-09-06 16:32:51,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-281/.semver [2023-09-06T16:32:51.726Z] 2023-09-06 16:32:51,632 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-281/.semver [2023-09-06T16:32:51.726Z] 2023-09-06 16:32:51,633 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-281/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-281, universal_newlines=False, shell=None, istream=None) [2023-09-06T16:32:52.665Z] 2023-09-06 16:32:52,308 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-281/.git/info/exclude [2023-09-06T16:32:52.665Z] 2023-09-06 16:32:52,308 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-281/.semver/PR-281 with force:False [2023-09-06T16:32:52.665Z] 2023-09-06 16:32:52,308 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-281/.semver/PR-281 [2023-09-06T16:32:52.665Z] 2023-09-06 16:32:52,312 [execute] INFO git cat-file --batch-check [2023-09-06T16:32:52.666Z] 2023-09-06 16:32:52,313 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T16:32:52.666Z] 2023-09-06 16:32:52,319 [execute] INFO git cat-file --batch [2023-09-06T16:32:52.666Z] 2023-09-06 16:32:52,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-281/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T16:32:52.666Z] 2023-09-06 16:32:52,323 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-281/.semver/PR-281 [2023-09-06T16:32:52.666Z] 0.0.0 [Pipeline] } [2023-09-06T16:32:52.691Z] $ docker exec --env ******** --env ******** 7ea13ce066bf6a086f77e09d905106d3ef9417be740d77264512356b840a7b27 ssh-agent -k [2023-09-06T16:32:52.787Z] unset SSH_AUTH_SOCK; [2023-09-06T16:32:52.787Z] unset SSH_AGENT_PID; [2023-09-06T16:32:52.787Z] echo Agent pid 77 killed; [2023-09-06T16:32:52.797Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T16:32:53.229Z] + git semver [Pipeline] } [2023-09-06T16:32:53.518Z] $ docker stop --time=1 7ea13ce066bf6a086f77e09d905106d3ef9417be740d77264512356b840a7b27 [2023-09-06T16:32:54.813Z] $ docker rm -f --volumes 7ea13ce066bf6a086f77e09d905106d3ef9417be740d77264512356b840a7b27 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T16:32:55.203Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-06T16:32:55.486Z] Stashed 1 file(s) [Pipeline] echo [2023-09-06T16:32:55.503Z] [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-06T16:32:56.118Z] provisioning config files... [2023-09-06T16:32:56.130Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-281@tmp/config14094349374219462594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:32:56.475Z] ---> docker-login.sh [2023-09-06T16:32:56.475Z] nexus3.edgexfoundry.org:10001 [2023-09-06T16:32:56.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:32:56.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:32:56.475Z] Configure a credential helper to remove this warning. See [2023-09-06T16:32:56.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:32:56.475Z] [2023-09-06T16:32:56.475Z] Login Succeeded [2023-09-06T16:32:56.475Z] nexus3.edgexfoundry.org:10002 [2023-09-06T16:32:56.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:32:56.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:32:56.475Z] Configure a credential helper to remove this warning. See [2023-09-06T16:32:56.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:32:56.475Z] [2023-09-06T16:32:56.475Z] Login Succeeded [2023-09-06T16:32:56.475Z] nexus3.edgexfoundry.org:10003 [2023-09-06T16:32:56.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:32:56.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:32:56.734Z] Configure a credential helper to remove this warning. See [2023-09-06T16:32:56.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:32:56.734Z] [2023-09-06T16:32:56.734Z] Login Succeeded [2023-09-06T16:32:56.734Z] nexus3.edgexfoundry.org:10004 [2023-09-06T16:32:56.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:32:56.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:32:56.734Z] Configure a credential helper to remove this warning. See [2023-09-06T16:32:56.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:32:56.734Z] [2023-09-06T16:32:56.734Z] Login Succeeded [2023-09-06T16:32:56.734Z] docker.io [2023-09-06T16:32:56.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:32:56.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:32:56.992Z] Configure a credential helper to remove this warning. See [2023-09-06T16:32:56.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:32:56.992Z] [2023-09-06T16:32:56.992Z] Login Succeeded [2023-09-06T16:32:56.992Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T16:32:57.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-06T16:32:57.234Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T16:32:57.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T16:32:57.304Z] ========================================================= [2023-09-06T16:32:57.304Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-06T16:32:57.304Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:32:57.774Z] + 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-06T16:32:57.774Z] Sending build context to Docker daemon 2.136MB [2023-09-06T16:32:57.774Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T16:32:57.774Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-06T16:32:57.774Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-06T16:32:57.774Z] 4db1b89c0bd1: Pulling fs layer [2023-09-06T16:32:57.774Z] 6911f1a30b25: Pulling fs layer [2023-09-06T16:32:57.774Z] e194b8c5c2a9: Pulling fs layer [2023-09-06T16:32:57.774Z] 6863d3e3a2b1: Pulling fs layer [2023-09-06T16:32:57.774Z] ec0bb842ea78: Pulling fs layer [2023-09-06T16:32:57.774Z] 40a00589a448: Pulling fs layer [2023-09-06T16:32:57.774Z] 6c08303d61cc: Pulling fs layer [2023-09-06T16:32:57.774Z] 798269fcf238: Pulling fs layer [2023-09-06T16:32:57.774Z] 6863d3e3a2b1: Waiting [2023-09-06T16:32:57.774Z] 6c08303d61cc: Waiting [2023-09-06T16:32:57.774Z] 40a00589a448: Waiting [2023-09-06T16:32:57.774Z] 798269fcf238: Waiting [2023-09-06T16:32:57.774Z] ec0bb842ea78: Waiting [2023-09-06T16:32:57.774Z] 6911f1a30b25: Download complete [2023-09-06T16:32:57.774Z] 6863d3e3a2b1: Verifying Checksum [2023-09-06T16:32:57.774Z] 6863d3e3a2b1: Download complete [2023-09-06T16:32:57.774Z] ec0bb842ea78: Verifying Checksum [2023-09-06T16:32:57.774Z] ec0bb842ea78: Download complete [2023-09-06T16:32:58.035Z] 4db1b89c0bd1: Verifying Checksum [2023-09-06T16:32:58.035Z] 4db1b89c0bd1: Download complete [2023-09-06T16:32:58.035Z] 40a00589a448: Verifying Checksum [2023-09-06T16:32:58.035Z] 40a00589a448: Download complete [2023-09-06T16:32:58.035Z] 4db1b89c0bd1: Pull complete [2023-09-06T16:32:58.303Z] 6911f1a30b25: Pull complete [2023-09-06T16:32:58.568Z] 798269fcf238: Verifying Checksum [2023-09-06T16:32:58.568Z] 798269fcf238: Download complete [2023-09-06T16:32:58.830Z] e194b8c5c2a9: Verifying Checksum [2023-09-06T16:32:58.830Z] e194b8c5c2a9: Download complete [2023-09-06T16:32:59.088Z] 6c08303d61cc: Verifying Checksum [2023-09-06T16:32:59.088Z] 6c08303d61cc: Download complete [2023-09-06T16:33:01.615Z] e194b8c5c2a9: Pull complete [2023-09-06T16:33:01.615Z] 6863d3e3a2b1: Pull complete [2023-09-06T16:33:01.872Z] ec0bb842ea78: Pull complete [2023-09-06T16:33:01.873Z] 40a00589a448: Pull complete [2023-09-06T16:33:04.416Z] 6c08303d61cc: Pull complete [2023-09-06T16:33:04.981Z] 798269fcf238: Pull complete [2023-09-06T16:33:04.981Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-06T16:33:04.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-06T16:33:04.981Z] ---> ec979cd7f677 [2023-09-06T16:33:04.981Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-06T16:33:10.259Z] ---> Running in 81eca0b934e4 [2023-09-06T16:33:10.259Z] Removing intermediate container 81eca0b934e4 [2023-09-06T16:33:10.259Z] ---> fdaed7d8a114 [2023-09-06T16:33:10.259Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T16:33:10.259Z] ---> Running in 9d1513224977 [2023-09-06T16:33:10.259Z] Removing intermediate container 9d1513224977 [2023-09-06T16:33:10.259Z] ---> 5dd8af82a623 [2023-09-06T16:33:10.259Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-06T16:33:10.259Z] ---> Running in c6e1a5f922ac [2023-09-06T16:33:10.259Z] Removing intermediate container c6e1a5f922ac [2023-09-06T16:33:10.259Z] ---> 86c25d1d1cc8 [2023-09-06T16:33:10.259Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-06T16:33:10.259Z] ---> Running in 4f79b75047cd [2023-09-06T16:33:10.259Z] Removing intermediate container 4f79b75047cd [2023-09-06T16:33:10.259Z] ---> 6774982e4195 [2023-09-06T16:33:10.259Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T16:33:10.259Z] ---> Running in d86851f329c1 [2023-09-06T16:33:10.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T16:33:10.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T16:33:10.523Z] (1/14) Installing libintl (0.21.1-r1) [2023-09-06T16:33:10.523Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-09-06T16:33:10.523Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-09-06T16:33:10.523Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-09-06T16:33:10.523Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-09-06T16:33:10.523Z] (6/14) Installing udev-init-scripts (35-r1) [2023-09-06T16:33:10.523Z] (7/14) Installing libblkid (2.38.1-r1) [2023-09-06T16:33:10.523Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-09-06T16:33:10.523Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-09-06T16:33:10.524Z] (10/14) Installing kmod-libs (30-r1) [2023-09-06T16:33:10.524Z] (11/14) Installing eudev (3.2.11-r4) [2023-09-06T16:33:10.524Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-09-06T16:33:10.524Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-09-06T16:33:10.524Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-09-06T16:33:10.524Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T16:33:10.524Z] Executing eudev-3.2.11-r4.trigger [2023-09-06T16:33:10.524Z] OK: 272 MiB in 67 packages [2023-09-06T16:33:10.926Z] Still waiting to schedule task [2023-09-06T16:33:10.926Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-06T16:33:11.092Z] Removing intermediate container d86851f329c1 [2023-09-06T16:33:11.092Z] ---> e6b0b83ea3e9 [2023-09-06T16:33:11.092Z] Step 8/13 : WORKDIR /device-usb-camera [2023-09-06T16:33:11.092Z] ---> Running in 01012a0f013e [2023-09-06T16:33:11.353Z] Removing intermediate container 01012a0f013e [2023-09-06T16:33:11.353Z] ---> f4de98d865a4 [2023-09-06T16:33:11.353Z] Step 9/13 : COPY go.mod vendor* ./ [2023-09-06T16:33:11.353Z] ---> 92777468c8ff [2023-09-06T16:33:11.353Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T16:33:11.353Z] ---> Running in b989cc00c5a3 [2023-09-06T16:33:58.031Z] Removing intermediate container b989cc00c5a3 [2023-09-06T16:33:58.031Z] ---> 4adc59691142 [2023-09-06T16:33:58.031Z] Step 11/13 : COPY . . [2023-09-06T16:33:58.031Z] ---> 54c5e430e200 [2023-09-06T16:33:58.031Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-06T16:33:58.031Z] ---> Running in edde4a436912 [2023-09-06T16:33:58.031Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T16:33:58.031Z] Dload Upload Total Spent Left Speed [2023-09-06T16:33:58.031Z] 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 8782 0 --:--:-- --:--:-- --:--:-- 8762 100 1253 100 1253 0 0 8777 0 --:--:-- --:--:-- --:--:-- 8762 [2023-09-06T16:33:58.031Z] Removing intermediate container edde4a436912 [2023-09-06T16:33:58.031Z] ---> 085ac542ea2e [2023-09-06T16:33:58.031Z] Step 13/13 : RUN ${MAKE} [2023-09-06T16:33:58.031Z] ---> Running in be96d75ffb3a [2023-09-06T16:33:58.031Z] noop [2023-09-06T16:33:58.031Z] Removing intermediate container be96d75ffb3a [2023-09-06T16:33:58.031Z] ---> ba412603b06c [2023-09-06T16:33:58.031Z] Successfully built ba412603b06c [2023-09-06T16:33:58.031Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:33:58.473Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T16:33:58.473Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T16:33:58.657Z] prd-ubuntu20.04-docker-8c-8g-5467 does not seem to be running inside a container [2023-09-06T16:33:58.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-281 -v /w/workspace/foundry_device-usb-camera_PR-281:/w/workspace/foundry_device-usb-camera_PR-281:rw,z -v /w/workspace/foundry_device-usb-camera_PR-281@tmp:/w/workspace/foundry_device-usb-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-06T16:33:59.880Z] $ docker top a0dc2ff129cbcfb889127921fa60312393f3b1bd840f613c6abc4546461bb3c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T16:34:00.279Z] + go version [2023-09-06T16:34:00.279Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-06T16:34:00.308Z] $ docker stop --time=1 a0dc2ff129cbcfb889127921fa60312393f3b1bd840f613c6abc4546461bb3c1 [2023-09-06T16:34:01.571Z] $ docker rm -f --volumes a0dc2ff129cbcfb889127921fa60312393f3b1bd840f613c6abc4546461bb3c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:34:02.288Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T16:34:02.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T16:34:02.436Z] prd-ubuntu20.04-docker-8c-8g-5467 does not seem to be running inside a container [2023-09-06T16:34:02.465Z] $ 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-281 -v /w/workspace/foundry_device-usb-camera_PR-281:/w/workspace/foundry_device-usb-camera_PR-281:rw,z -v /w/workspace/foundry_device-usb-camera_PR-281@tmp:/w/workspace/foundry_device-usb-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-06T16:34:02.771Z] $ docker top ac58d3e76fba647270a4bfdcbd1e47bc90c9c7b47ab0b72039a92d234905728e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T16:34:03.165Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-281 [Pipeline] fileExists [Pipeline] sh [2023-09-06T16:34:03.530Z] + make test [2023-09-06T16:34:03.530Z] go test ./... -coverprofile=coverage.out ./... [2023-09-06T16:34:08.796Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-09-06T16:34:20.987Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-09-06T16:34:20.987Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 4.4% of statements [2023-09-06T16:34:26.241Z] go vet ./... [2023-09-06T16:34:30.424Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T16:34:30.424Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T16:34:30.424Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-06T16:34:30.464Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T16:34:30.490Z] $ docker stop --time=1 ac58d3e76fba647270a4bfdcbd1e47bc90c9c7b47ab0b72039a92d234905728e [2023-09-06T16:34:33.421Z] $ docker rm -f --volumes ac58d3e76fba647270a4bfdcbd1e47bc90c9c7b47ab0b72039a92d234905728e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T16:34:33.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T16:34:34.007Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-06T16:34:34.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T16:34:34.987Z] + ls -al . [2023-09-06T16:34:34.987Z] total 220 [2023-09-06T16:34:34.987Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 16:34 . [2023-09-06T16:34:34.987Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 16:32 .. [2023-09-06T16:34:34.987Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 16:32 .git [2023-09-06T16:34:34.987Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 16:32 .github [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 468 Sep 6 16:32 .gitignore [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 45 Sep 6 16:32 .golangci.yml [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 6 16:32 .hadolint.yml [2023-09-06T16:34:34.987Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 16:32 .semver [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 10851 Sep 6 16:32 Attribution.txt [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 11903 Sep 6 16:32 CHANGELOG.md [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 2453 Sep 6 16:32 Dockerfile [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 6 16:32 GOVERNANCE.md [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 6 16:32 Jenkinsfile [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 6 16:32 LICENSE [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 2611 Sep 6 16:32 Makefile [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 6 16:32 OWNERS.md [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 2575 Sep 6 16:32 README.md [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 16:32 VERSION [2023-09-06T16:34:34.987Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 16:32 bin [2023-09-06T16:34:34.987Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 16:32 cmd [2023-09-06T16:34:34.987Z] -rw-r--r-- 1 jenkins jenkins 53856 Sep 6 16:34 coverage.out [2023-09-06T16:34:34.987Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 6 16:32 docker-entrypoint.sh [2023-09-06T16:34:34.987Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 16:32 docs [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 3951 Sep 6 16:32 go.mod [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 34252 Sep 6 16:32 go.sum [2023-09-06T16:34:34.987Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 16:32 internal [2023-09-06T16:34:34.987Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 16:32 snap [2023-09-06T16:34:34.987Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 6 16:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:34:35.386Z] + 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=32daf375cba5b8410afc8aebdcd6bf1958fef1d6 --label arch=amd64 --label version=0.0.0 . [2023-09-06T16:34:35.386Z] Sending build context to Docker daemon 2.19MB [2023-09-06T16:34:35.386Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T16:34:35.386Z] Step 2/36 : FROM ${BASE} AS builder [2023-09-06T16:34:35.386Z] ---> ba412603b06c [2023-09-06T16:34:35.386Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-09-06T16:34:35.386Z] ---> Running in 46042a9dc1ae [2023-09-06T16:34:35.645Z] Removing intermediate container 46042a9dc1ae [2023-09-06T16:34:35.645Z] ---> 887000a944cb [2023-09-06T16:34:35.645Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T16:34:35.645Z] ---> Running in 2a3776796f62 [2023-09-06T16:34:35.645Z] Removing intermediate container 2a3776796f62 [2023-09-06T16:34:35.645Z] ---> a5189e438476 [2023-09-06T16:34:35.645Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-06T16:34:35.645Z] ---> Running in e13b26b2e747 [2023-09-06T16:34:35.645Z] Removing intermediate container e13b26b2e747 [2023-09-06T16:34:35.645Z] ---> 548912795dd2 [2023-09-06T16:34:35.645Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-06T16:34:35.645Z] ---> Running in 649711ac0ea0 [2023-09-06T16:34:35.904Z] Removing intermediate container 649711ac0ea0 [2023-09-06T16:34:35.904Z] ---> 3bdf80bbbc88 [2023-09-06T16:34:35.904Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T16:34:35.904Z] ---> Running in e66c575767ae [2023-09-06T16:34:36.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T16:34:36.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T16:34:36.423Z] OK: 272 MiB in 67 packages [2023-09-06T16:34:36.990Z] Removing intermediate container e66c575767ae [2023-09-06T16:34:36.990Z] ---> e1ae53b014ae [2023-09-06T16:34:36.990Z] Step 8/36 : WORKDIR /device-usb-camera [2023-09-06T16:34:36.990Z] ---> Running in aa815a619a47 [2023-09-06T16:34:36.990Z] Removing intermediate container aa815a619a47 [2023-09-06T16:34:36.990Z] ---> 2c7e23f4190b [2023-09-06T16:34:36.990Z] Step 9/36 : COPY go.mod vendor* ./ [2023-09-06T16:34:36.990Z] ---> 4230e2dbeaa6 [2023-09-06T16:34:36.990Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T16:34:36.990Z] ---> Running in eb35d92ef3e2 [2023-09-06T16:34:37.945Z] Removing intermediate container eb35d92ef3e2 [2023-09-06T16:34:37.945Z] ---> 085a72e08851 [2023-09-06T16:34:37.945Z] Step 11/36 : COPY . . [2023-09-06T16:34:38.512Z] ---> 89f6662abc3f [2023-09-06T16:34:38.512Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-06T16:34:38.512Z] ---> Running in c50019547b5b [2023-09-06T16:34:38.512Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T16:34:38.512Z] Dload Upload Total Spent Left Speed [2023-09-06T16:34:38.770Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 23416 0 --:--:-- --:--:-- --:--:-- 23641 [2023-09-06T16:34:39.029Z] Removing intermediate container c50019547b5b [2023-09-06T16:34:39.029Z] ---> f13f1be37cd3 [2023-09-06T16:34:39.029Z] Step 13/36 : RUN ${MAKE} [2023-09-06T16:34:39.029Z] ---> Running in bfa50d7a44b4 [2023-09-06T16:34:39.287Z] 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.18" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-09-06T16:34:50.363Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5468 in /w/workspace/foundry_device-usb-camera_PR-281 [Pipeline] { [Pipeline] ws [2023-09-06T16:34:50.431Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-09-06T16:34:50.511Z] Selected Git installation does not exist. Using Default [2023-09-06T16:34:50.511Z] The recommended git tool is: NONE [2023-09-06T16:34:55.391Z] using credential edgex-jenkins-ssh [2023-09-06T16:34:55.408Z] Cloning the remote Git repository [2023-09-06T16:34:55.447Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-09-06T16:34:55.535Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-09-06T16:34:55.689Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-09-06T16:34:55.690Z] > git --version # timeout=10 [2023-09-06T16:34:55.709Z] > git --version # 'git version 2.25.1' [2023-09-06T16:34:55.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T16:34:55.852Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T16:34:56.705Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-09-06T16:34:56.726Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T16:34:57.520Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-09-06T16:34:57.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-09-06T16:34:57.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T16:34:57.586Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-06T16:34:58.192Z] Merging remotes/origin/main commit 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 into PR head commit 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 [2023-09-06T16:34:58.444Z] Merge succeeded, producing 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 [2023-09-06T16:34:58.445Z] Checking out Revision 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 (PR-281) [2023-09-06T16:34:58.204Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T16:34:58.265Z] > git checkout -f 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 # timeout=10 [2023-09-06T16:34:58.350Z] > git remote # timeout=10 [2023-09-06T16:34:58.370Z] > git config --get remote.origin.url # timeout=10 [2023-09-06T16:34:58.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T16:34:58.400Z] > git merge 626ade48b33ca0d08a1b2eb54067a9ad3a9f73a7 # timeout=10 [2023-09-06T16:34:58.423Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-06T16:34:58.446Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T16:34:58.462Z] > git checkout -f 32daf375cba5b8410afc8aebdcd6bf1958fef1d6 # timeout=10 [2023-09-06T16:35:01.222Z] Removing intermediate container bfa50d7a44b4 [2023-09-06T16:35:01.223Z] ---> 1127c93a18c6 [2023-09-06T16:35:01.223Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-09-06T16:35:01.223Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-09-06T16:35:01.223Z] 4acc49c71d14: Pulling fs layer [2023-09-06T16:35:01.223Z] 4acc49c71d14: Verifying Checksum [2023-09-06T16:35:01.223Z] 4acc49c71d14: Download complete [2023-09-06T16:35:01.223Z] 4acc49c71d14: Pull complete [2023-09-06T16:35:01.223Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-09-06T16:35:01.223Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-09-06T16:35:01.223Z] ---> 01a2bd3e5fff [2023-09-06T16:35:01.223Z] Step 15/36 : FROM alpine:3.17 [2023-09-06T16:35:01.483Z] 3.17: Pulling from library/alpine [2023-09-06T16:35:01.483Z] 9398808236ff: Pulling fs layer [2023-09-06T16:35:01.745Z] 9398808236ff: Verifying Checksum [2023-09-06T16:35:01.745Z] 9398808236ff: Download complete [2023-09-06T16:35:01.901Z] Commit message: "fix: added missing core-data client required for remote deployment" [2023-09-06T16:35:01.945Z] > git --version # timeout=10 [2023-09-06T16:35:01.955Z] > git --version # 'git version 2.25.1' [2023-09-06T16:35:01.970Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T16:35:02.010Z] 9398808236ff: Pull complete [2023-09-06T16:35:02.010Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T16:35:02.010Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T16:35:02.010Z] ---> 1e0b8b5322fc [2023-09-06T16:35:02.010Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-09-06T16:35:02.582Z] ---> Running in 724e5cd850a9 [2023-09-06T16:35:02.582Z] Removing intermediate container 724e5cd850a9 [2023-09-06T16:35:02.582Z] ---> ef4a05771fa8 [2023-09-06T16:35:02.582Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-09-06T16:35:02.582Z] ---> Running in e48bc26dd3a6 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-09-06T16:35:02.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [Pipeline] sh [2023-09-06T16:35:03.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T16:35:03.400Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-06T16:35:03.400Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T16:35:03.400Z] Dload Upload Total Spent Left Speed [2023-09-06T16:35:03.400Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [2023-09-06T16:35:03.425Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-09-06T16:35:03.425Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-09-06T16:35:03.425Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-09-06T16:35:03.425Z] (4/86) Installing libxau (1.0.10-r0) [2023-09-06T16:35:03.425Z] (5/86) Installing libmd (1.0.4-r0) [2023-09-06T16:35:03.425Z] (6/86) Installing libbsd (0.11.7-r0) [2023-09-06T16:35:03.425Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-09-06T16:35:03.425Z] (8/86) Installing libxcb (1.15-r0) [2023-09-06T16:35:03.425Z] (9/86) Installing libx11 (1.8.4-r1) [2023-09-06T16:35:03.425Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-09-06T16:35:03.683Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-09-06T16:35:03.683Z] (12/86) Installing libexpat (2.5.0-r0) [2023-09-06T16:35:03.683Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-09-06T16:35:03.683Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-09-06T16:35:03.683Z] (15/86) Installing libpng (1.6.39-r0) [2023-09-06T16:35:03.683Z] (16/86) Installing freetype (2.12.1-r0) [2023-09-06T16:35:03.683Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-09-06T16:35:03.683Z] (18/86) Installing fribidi (1.0.12-r0) [2023-09-06T16:35:03.683Z] (19/86) Installing libffi (3.4.4-r0) [2023-09-06T16:35:03.683Z] (20/86) Installing libintl (0.21.1-r1) [2023-09-06T16:35:03.683Z] (21/86) Installing libblkid (2.38.1-r1) [2023-09-06T16:35:03.683Z] (22/86) Installing libmount (2.38.1-r1) [2023-09-06T16:35:03.683Z] (23/86) Installing pcre2 (10.42-r0) [2023-09-06T16:35:03.683Z] (24/86) Installing glib (2.74.7-r0) [2023-09-06T16:35:03.683Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-09-06T16:35:03.683Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-09-06T16:35:03.683Z] (27/86) Installing libass (0.16.0-r1) [2023-09-06T16:35:03.683Z] (28/86) Installing libdav1d (1.0.0-r2) [Pipeline] sh [2023-09-06T16:35:03.942Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-09-06T16:35:03.942Z] (30/86) Installing libpciaccess (0.17-r0) [2023-09-06T16:35:03.942Z] (31/86) Installing libdrm (2.4.114-r0) [2023-09-06T16:35:03.942Z] (32/86) Installing gmp (6.2.1-r2) [2023-09-06T16:35:03.942Z] (33/86) Installing nettle (3.8.1-r0) [2023-09-06T16:35:03.942Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-09-06T16:35:03.942Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-09-06T16:35:03.942Z] (36/86) Installing libunistring (1.1-r0) [2023-09-06T16:35:03.942Z] (37/86) Installing gnutls (3.7.8-r3) [2023-09-06T16:35:03.942Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-09-06T16:35:03.942Z] (39/86) Installing ncurses-libs (6.3_p20221119-r1) [2023-09-06T16:35:03.942Z] (40/86) Installing lame (3.100-r2) [2023-09-06T16:35:03.942Z] (41/86) Installing opus (1.3.1-r1) [2023-09-06T16:35:03.942Z] (42/86) Installing libasyncns (0.8-r1) [2023-09-06T16:35:03.942Z] (43/86) Installing dbus-libs (1.14.8-r0) [2023-09-06T16:35:03.942Z] (44/86) Installing libltdl (2.4.7-r1) [2023-09-06T16:35:03.942Z] (45/86) Installing orc (0.4.33-r0) [2023-09-06T16:35:03.942Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-09-06T16:35:03.942Z] (47/86) Installing libogg (1.3.5-r2) [2023-09-06T16:35:03.942Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-09-06T16:35:03.942Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-09-06T16:35:03.942Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-09-06T16:35:03.942Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-09-06T16:35:03.942Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-09-06T16:35:04.095Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-06T16:35:04.199Z] (53/86) Installing soxr (0.1.3-r3) [2023-09-06T16:35:04.199Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-09-06T16:35:04.199Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-09-06T16:35:04.199Z] (56/86) Installing libpulse (16.1-r6) [2023-09-06T16:35:04.199Z] (57/86) Installing cjson (1.7.15-r3) [2023-09-06T16:35:04.199Z] (58/86) Installing mbedtls (2.28.4-r0) [2023-09-06T16:35:04.199Z] (59/86) Installing librist (0.2.7-r0) [2023-09-06T16:35:04.199Z] (60/86) Installing libsrt (1.5.1-r0) [2023-09-06T16:35:04.199Z] (61/86) Installing libssh (0.10.5-r0) [2023-09-06T16:35:04.199Z] (62/86) Installing libtheora (1.1.1-r16) [2023-09-06T16:35:04.199Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-09-06T16:35:04.199Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-09-06T16:35:04.199Z] (65/86) Installing libxext (1.3.5-r0) [2023-09-06T16:35:04.199Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-09-06T16:35:04.199Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-09-06T16:35:04.199Z] (68/86) Installing libva (2.16.0-r0) [2023-09-06T16:35:04.199Z] (69/86) Installing libvdpau (1.5-r0) [2023-09-06T16:35:04.199Z] (70/86) Installing vidstab (1.1.0-r2) [2023-09-06T16:35:04.199Z] (71/86) Installing libvpx (1.12.0-r1) [2023-09-06T16:35:04.199Z] (72/86) Installing libwebp (1.2.4-r2) [2023-09-06T16:35:04.199Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-09-06T16:35:04.199Z] (74/86) Installing numactl (2.0.16-r1) [2023-09-06T16:35:04.199Z] (75/86) Installing x265-libs (3.5-r3) [2023-09-06T16:35:04.455Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-06T16:35:04.455Z] + sudo tee /etc/docker/daemon.new [2023-09-06T16:35:04.455Z] { [2023-09-06T16:35:04.455Z] "registry-mirrors": [ [2023-09-06T16:35:04.455Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-06T16:35:04.455Z] ], [2023-09-06T16:35:04.455Z] "bip": "10.250.0.254/24", [2023-09-06T16:35:04.455Z] "hosts": [ [2023-09-06T16:35:04.455Z] "tcp://0.0.0.0:5555", [2023-09-06T16:35:04.455Z] "unix:///var/run/docker.sock" [2023-09-06T16:35:04.455Z] ], [2023-09-06T16:35:04.455Z] "mtu": 1458, [2023-09-06T16:35:04.455Z] "selinux-enabled": true, [2023-09-06T16:35:04.455Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-06T16:35:04.455Z] } [2023-09-06T16:35:04.457Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-09-06T16:35:04.457Z] (77/86) Installing libsodium (1.0.18-r2) [2023-09-06T16:35:04.457Z] (78/86) Installing libzmq (4.3.4-r1) [2023-09-06T16:35:04.457Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-09-06T16:35:04.457Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-09-06T16:35:04.457Z] (81/86) Installing udev-init-scripts (35-r1) [2023-09-06T16:35:04.457Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-09-06T16:35:04.457Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-09-06T16:35:04.457Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-09-06T16:35:04.457Z] (85/86) Installing kmod-libs (30-r1) [2023-09-06T16:35:04.457Z] (86/86) Installing eudev (3.2.11-r4) [2023-09-06T16:35:04.457Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T16:35:04.457Z] Executing eudev-3.2.11-r4.trigger [2023-09-06T16:35:04.457Z] OK: 112 MiB in 101 packages [Pipeline] sh [2023-09-06T16:35:04.820Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-06T16:35:05.161Z] + sudo service docker restart [2023-09-06T16:35:07.005Z] Removing intermediate container e48bc26dd3a6 [2023-09-06T16:35:07.005Z] ---> 2e0bd86fd789 [2023-09-06T16:35:07.005Z] Step 18/36 : WORKDIR / [2023-09-06T16:35:07.005Z] ---> Running in 966052272fa3 [2023-09-06T16:35:07.005Z] Removing intermediate container 966052272fa3 [2023-09-06T16:35:07.005Z] ---> 087b654bfa0d [2023-09-06T16:35:07.005Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-09-06T16:35:07.571Z] ---> d4f2c6daaacb [2023-09-06T16:35:07.571Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-09-06T16:35:07.571Z] ---> 931578ab3133 [2023-09-06T16:35:07.571Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-09-06T16:35:07.831Z] ---> 86ced38da437 [2023-09-06T16:35:07.831Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-09-06T16:35:07.831Z] ---> e8c94c0daba5 [2023-09-06T16:35:07.831Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-09-06T16:35:08.091Z] ---> a5f06257886f [2023-09-06T16:35:08.091Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-09-06T16:35:08.091Z] ---> e7e6e4613cd6 [2023-09-06T16:35:08.091Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-09-06T16:35:08.659Z] ---> 4c94292c4aba [2023-09-06T16:35:08.659Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-09-06T16:35:08.919Z] ---> Running in a126a47fc586 [2023-09-06T16:35:09.486Z] Removing intermediate container a126a47fc586 [2023-09-06T16:35:09.486Z] ---> 7d744665e3b3 [2023-09-06T16:35:09.486Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-09-06T16:35:09.486Z] ---> Running in b4fcaf89e34d [2023-09-06T16:35:09.747Z] Removing intermediate container b4fcaf89e34d [2023-09-06T16:35:09.747Z] ---> abf0c68d6b76 [2023-09-06T16:35:09.747Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-09-06T16:35:09.747Z] ---> Running in ad8033e2e091 [2023-09-06T16:35:10.314Z] Removing intermediate container ad8033e2e091 [2023-09-06T16:35:10.314Z] ---> d57ac0dcf33c [2023-09-06T16:35:10.314Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-09-06T16:35:10.314Z] ---> Running in ef486b6130d6 [2023-09-06T16:35:10.881Z] Removing intermediate container ef486b6130d6 [2023-09-06T16:35:10.881Z] ---> 91640743dae1 [2023-09-06T16:35:10.881Z] Step 30/36 : EXPOSE 59983 [2023-09-06T16:35:11.141Z] ---> Running in f69dfc4835e6 [2023-09-06T16:35:11.141Z] Removing intermediate container f69dfc4835e6 [2023-09-06T16:35:11.141Z] ---> 9dc15c95b720 [2023-09-06T16:35:11.141Z] Step 31/36 : EXPOSE 8554 [2023-09-06T16:35:11.141Z] ---> Running in c57a371d169a [2023-09-06T16:35:11.141Z] Removing intermediate container c57a371d169a [2023-09-06T16:35:11.141Z] ---> cf542d28bdf9 [2023-09-06T16:35:11.141Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-09-06T16:35:11.141Z] ---> Running in cac3bef9f13b [2023-09-06T16:35:11.141Z] Removing intermediate container cac3bef9f13b [2023-09-06T16:35:11.141Z] ---> dba0b49efbb5 [2023-09-06T16:35:11.141Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-09-06T16:35:11.400Z] ---> Running in e33cf1464a67 [2023-09-06T16:35:11.400Z] Removing intermediate container e33cf1464a67 [2023-09-06T16:35:11.400Z] ---> 8699ffc8418b [2023-09-06T16:35:11.400Z] Step 34/36 : LABEL arch=amd64 [2023-09-06T16:35:11.400Z] ---> Running in 127d673483ca [2023-09-06T16:35:11.400Z] Removing intermediate container 127d673483ca [2023-09-06T16:35:11.400Z] ---> dce9653c8521 [2023-09-06T16:35:11.400Z] Step 35/36 : LABEL git_sha=32daf375cba5b8410afc8aebdcd6bf1958fef1d6 [2023-09-06T16:35:11.400Z] ---> Running in 7f176198e9c5 [2023-09-06T16:35:11.400Z] Removing intermediate container 7f176198e9c5 [2023-09-06T16:35:11.400Z] ---> 6a215bc65164 [2023-09-06T16:35:11.400Z] Step 36/36 : LABEL version=0.0.0 [2023-09-06T16:35:11.400Z] ---> Running in 0b5c73204a48 [2023-09-06T16:35:11.659Z] Removing intermediate container 0b5c73204a48 [2023-09-06T16:35:11.659Z] ---> 2c3983cf0763 [2023-09-06T16:35:11.659Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T16:35:11.659Z] Successfully built 2c3983cf0763 [2023-09-06T16:35:11.659Z] 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-06T16:35:12.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T16:35:12.549Z] [2023-09-06T16:35:12.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:35:12.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T16:35:12.918Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-06T16:35:12.918Z] 5eb5b503b376: Pulling fs layer [2023-09-06T16:35:12.918Z] 5c69ac0246d0: Pulling fs layer [2023-09-06T16:35:12.918Z] ec43610c2a17: Pulling fs layer [2023-09-06T16:35:12.918Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-06T16:35:12.918Z] 33b1e0a273af: Pulling fs layer [2023-09-06T16:35:12.918Z] 5d3b04190fa2: Pulling fs layer [2023-09-06T16:35:12.918Z] 2f39f015ded8: Pulling fs layer [2023-09-06T16:35:12.918Z] 2f39f015ded8: Waiting [2023-09-06T16:35:12.918Z] 3a2ae6a8a46f: Waiting [2023-09-06T16:35:12.918Z] 33b1e0a273af: Waiting [2023-09-06T16:35:12.918Z] 5d3b04190fa2: Waiting [2023-09-06T16:35:12.918Z] 5c69ac0246d0: Download complete [2023-09-06T16:35:12.918Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-06T16:35:12.918Z] 3a2ae6a8a46f: Download complete [2023-09-06T16:35:12.918Z] 33b1e0a273af: Verifying Checksum [2023-09-06T16:35:12.918Z] 33b1e0a273af: Download complete [2023-09-06T16:35:12.918Z] 5d3b04190fa2: Verifying Checksum [2023-09-06T16:35:12.918Z] 5d3b04190fa2: Download complete [2023-09-06T16:35:12.918Z] ec43610c2a17: Verifying Checksum [2023-09-06T16:35:12.918Z] ec43610c2a17: Download complete [2023-09-06T16:35:13.175Z] 5eb5b503b376: Verifying Checksum [2023-09-06T16:35:13.175Z] 5eb5b503b376: Download complete [2023-09-06T16:35:13.741Z] 2f39f015ded8: Verifying Checksum [2023-09-06T16:35:13.741Z] 2f39f015ded8: Download complete [2023-09-06T16:35:14.305Z] 5eb5b503b376: Pull complete [2023-09-06T16:35:14.305Z] 5c69ac0246d0: Pull complete [2023-09-06T16:35:14.881Z] ec43610c2a17: Pull complete [2023-09-06T16:35:14.881Z] 3a2ae6a8a46f: Pull complete [2023-09-06T16:35:15.144Z] 33b1e0a273af: Pull complete [2023-09-06T16:35:15.144Z] 5d3b04190fa2: Pull complete [2023-09-06T16:35:19.374Z] 2f39f015ded8: Pull complete [2023-09-06T16:35:19.374Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-06T16:35:19.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T16:35:19.374Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T16:35:19.599Z] prd-ubuntu20.04-docker-8c-8g-5467 does not seem to be running inside a container [2023-09-06T16:35:19.632Z] $ 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-281 -v /w/workspace/foundry_device-usb-camera_PR-281:/w/workspace/foundry_device-usb-camera_PR-281:rw,z -v /w/workspace/foundry_device-usb-camera_PR-281@tmp:/w/workspace/foundry_device-usb-camera_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-06T16:35:22.567Z] $ docker top 6a72415040283e8546f5ba213f870719a6b2eeedc409d8467fd7e2529222ca90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:35:23.044Z] ---> job-cost.sh [2023-09-06T16:35:23.045Z] lf-activate-venv: SKIPPING [2023-09-06T16:35:23.045Z] INFO: No Stack... [2023-09-06T16:35:23.304Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T16:35:23.486Z] provisioning config files... [2023-09-06T16:35:23.511Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config14393405114094964004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:35:23.871Z] INFO: Archiving Costs [2023-09-06T16:35:23.892Z] ---> docker-login.sh [2023-09-06T16:35:23.892Z] nexus3.edgexfoundry.org:10001 [Pipeline] sh [2023-09-06T16:35:24.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:35:24.186Z] + cat /w/workspace/foundry_device-usb-camera_PR-281/archives/cost.csv [2023-09-06T16:35:24.186Z] + cut -d, -f6 [Pipeline] lock [2023-09-06T16:35:24.233Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-281-1-stack-cost] [2023-09-06T16:35:24.238Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-281-1-stack-cost] did not exist. Created. [2023-09-06T16:35:24.238Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-281-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T16:35:24.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:35:24.429Z] Configure a credential helper to remove this warning. See [2023-09-06T16:35:24.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:35:24.429Z] [2023-09-06T16:35:24.429Z] Login Succeeded [2023-09-06T16:35:24.429Z] nexus3.edgexfoundry.org:10002 [2023-09-06T16:35:24.638Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-06T16:35:24.686Z] Stashed 1 file(s) [2023-09-06T16:35:24.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:35:24.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:35:24.699Z] Configure a credential helper to remove this warning. See [2023-09-06T16:35:24.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:35:24.699Z] [2023-09-06T16:35:24.699Z] Login Succeeded [2023-09-06T16:35:24.699Z] nexus3.edgexfoundry.org:10003 [Pipeline] } [2023-09-06T16:35:24.735Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-281-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T16:35:24.821Z] $ docker stop --time=1 6a72415040283e8546f5ba213f870719a6b2eeedc409d8467fd7e2529222ca90 [2023-09-06T16:35:24.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:35:25.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:35:25.237Z] Configure a credential helper to remove this warning. See [2023-09-06T16:35:25.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:35:25.237Z] [2023-09-06T16:35:25.237Z] Login Succeeded [2023-09-06T16:35:25.237Z] nexus3.edgexfoundry.org:10004 [2023-09-06T16:35:25.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:35:25.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:35:25.510Z] Configure a credential helper to remove this warning. See [2023-09-06T16:35:25.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:35:25.510Z] [2023-09-06T16:35:25.510Z] Login Succeeded [2023-09-06T16:35:25.510Z] docker.io [2023-09-06T16:35:25.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T16:35:25.963Z] $ docker rm -f --volumes 6a72415040283e8546f5ba213f870719a6b2eeedc409d8467fd7e2529222ca90 [2023-09-06T16:35:26.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T16:35:26.046Z] Configure a credential helper to remove this warning. See [2023-09-06T16:35:26.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T16:35:26.046Z] [2023-09-06T16:35:26.046Z] Login Succeeded [2023-09-06T16:35:26.046Z] ---> docker-login.sh ends [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-09-06T16:35:26.193Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-09-06T16:35:26.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T16:35:26.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T16:35:26.660Z] ========================================================= [2023-09-06T16:35:26.661Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-06T16:35:26.661Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:35:27.149Z] + 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-06T16:35:27.418Z] Sending build context to Docker daemon 1.284MB [2023-09-06T16:35:27.418Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T16:35:27.418Z] Step 2/13 : FROM ${BASE} AS builder [2023-09-06T16:35:27.697Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-06T16:35:27.697Z] edb6bdbacee9: Pulling fs layer [2023-09-06T16:35:27.697Z] 5f9638ab2659: Pulling fs layer [2023-09-06T16:35:27.697Z] 8d51d6327a98: Pulling fs layer [2023-09-06T16:35:27.697Z] 8b374f2dd631: Pulling fs layer [2023-09-06T16:35:27.697Z] ec14aa9079de: Pulling fs layer [2023-09-06T16:35:27.697Z] 2f466654f4bb: Pulling fs layer [2023-09-06T16:35:27.697Z] 554e91adad29: Pulling fs layer [2023-09-06T16:35:27.697Z] 2f466654f4bb: Waiting [2023-09-06T16:35:27.697Z] 554e91adad29: Waiting [2023-09-06T16:35:27.697Z] 8b374f2dd631: Waiting [2023-09-06T16:35:27.697Z] 5f9638ab2659: Download complete [2023-09-06T16:35:27.697Z] 8b374f2dd631: Verifying Checksum [2023-09-06T16:35:27.697Z] 8b374f2dd631: Download complete [2023-09-06T16:35:27.697Z] ec14aa9079de: Verifying Checksum [2023-09-06T16:35:27.697Z] ec14aa9079de: Download complete [2023-09-06T16:35:27.697Z] edb6bdbacee9: Verifying Checksum [2023-09-06T16:35:27.697Z] edb6bdbacee9: Download complete [2023-09-06T16:35:28.674Z] edb6bdbacee9: Pull complete [2023-09-06T16:35:28.945Z] 554e91adad29: Verifying Checksum [2023-09-06T16:35:28.945Z] 554e91adad29: Download complete [2023-09-06T16:35:30.366Z] 8d51d6327a98: Verifying Checksum [2023-09-06T16:35:30.366Z] 8d51d6327a98: Download complete [2023-09-06T16:35:30.366Z] 2f466654f4bb: Download complete [2023-09-06T16:35:30.952Z] 5f9638ab2659: Pull complete [2023-09-06T16:35:45.958Z] 8d51d6327a98: Pull complete [2023-09-06T16:35:45.958Z] 8b374f2dd631: Pull complete [2023-09-06T16:35:45.958Z] ec14aa9079de: Pull complete [2023-09-06T16:35:51.309Z] 2f466654f4bb: Pull complete [2023-09-06T16:35:53.265Z] 554e91adad29: Pull complete [2023-09-06T16:35:53.265Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-06T16:35:53.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-06T16:35:53.265Z] ---> 1e15ea492957 [2023-09-06T16:35:53.265Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-09-06T16:35:55.209Z] ---> Running in 146fdb8b827e [2023-09-06T16:35:55.209Z] Removing intermediate container 146fdb8b827e [2023-09-06T16:35:55.209Z] ---> c4e8a976188e [2023-09-06T16:35:55.209Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T16:35:55.209Z] ---> Running in 4a9c5d2dcceb [2023-09-06T16:35:55.486Z] Removing intermediate container 4a9c5d2dcceb [2023-09-06T16:35:55.486Z] ---> 3bfab8ce3781 [2023-09-06T16:35:55.486Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-06T16:35:55.486Z] ---> Running in 15bfdbd69ce6 [2023-09-06T16:35:56.075Z] Removing intermediate container 15bfdbd69ce6 [2023-09-06T16:35:56.075Z] ---> 09990359570d [2023-09-06T16:35:56.075Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-06T16:35:56.075Z] ---> Running in 16b974a1846b [2023-09-06T16:35:56.343Z] Removing intermediate container 16b974a1846b [2023-09-06T16:35:56.343Z] ---> a1550628cb16 [2023-09-06T16:35:56.343Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T16:35:56.343Z] ---> Running in 7c3f7c2a81d0 [2023-09-06T16:35:57.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T16:35:57.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T16:35:58.856Z] (1/14) Installing libintl (0.21.1-r1) [2023-09-06T16:35:58.856Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-09-06T16:35:58.856Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-09-06T16:35:58.856Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-09-06T16:35:58.856Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-09-06T16:35:58.856Z] (6/14) Installing udev-init-scripts (35-r1) [2023-09-06T16:35:58.856Z] (7/14) Installing libblkid (2.38.1-r1) [2023-09-06T16:35:58.856Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-09-06T16:35:58.856Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-09-06T16:35:58.856Z] (10/14) Installing kmod-libs (30-r1) [2023-09-06T16:35:58.856Z] (11/14) Installing eudev (3.2.11-r4) [2023-09-06T16:35:59.122Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-09-06T16:35:59.122Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-09-06T16:35:59.122Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-09-06T16:35:59.122Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T16:35:59.122Z] Executing eudev-3.2.11-r4.trigger [2023-09-06T16:35:59.122Z] OK: 271 MiB in 67 packages [2023-09-06T16:36:00.534Z] Removing intermediate container 7c3f7c2a81d0 [2023-09-06T16:36:00.534Z] ---> 7deed198db2e [2023-09-06T16:36:00.534Z] Step 8/13 : WORKDIR /device-usb-camera [2023-09-06T16:36:00.534Z] ---> Running in d7e380c7618d [2023-09-06T16:36:00.534Z] Removing intermediate container d7e380c7618d [2023-09-06T16:36:00.534Z] ---> b000e3a08619 [2023-09-06T16:36:00.534Z] Step 9/13 : COPY go.mod vendor* ./ [2023-09-06T16:36:01.117Z] ---> 5316cab49e5d [2023-09-06T16:36:01.117Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T16:36:01.117Z] ---> Running in 5494e0dc24f3 [2023-09-06T16:37:08.974Z] Removing intermediate container 5494e0dc24f3 [2023-09-06T16:37:08.974Z] ---> 227b5a09445d [2023-09-06T16:37:08.974Z] Step 11/13 : COPY . . [2023-09-06T16:37:08.974Z] ---> 2954282c3b6d [2023-09-06T16:37:08.974Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-06T16:37:08.974Z] ---> Running in bcb36ae5ede7 [2023-09-06T16:37:08.974Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T16:37:08.974Z] Dload Upload Total Spent Left Speed [2023-09-06T16:37:08.974Z]  0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5377 0 --:--:-- --:--:-- --:--:-- 5400 [2023-09-06T16:37:08.974Z] Removing intermediate container bcb36ae5ede7 [2023-09-06T16:37:08.974Z] ---> d26975b2c780 [2023-09-06T16:37:08.974Z] Step 13/13 : RUN ${MAKE} [2023-09-06T16:37:08.974Z] ---> Running in 604fbaa4ede5 [2023-09-06T16:37:08.974Z] noop [2023-09-06T16:37:08.974Z] Removing intermediate container 604fbaa4ede5 [2023-09-06T16:37:08.974Z] ---> 58c7c8d78876 [2023-09-06T16:37:08.974Z] Successfully built 58c7c8d78876 [2023-09-06T16:37:08.974Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:37:09.450Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T16:37:09.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T16:37:09.717Z] prd-ubuntu20.04-docker-arm64-4c-16g-5468 does not seem to be running inside a container [2023-09-06T16:37:09.774Z] $ 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-06T16:37:10.888Z] $ docker top 269ca9e01537dc716a80cb191a4e4a800d8f7e324336bf188d9fdaa67f5e0d7f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T16:37:11.744Z] + go version [2023-09-06T16:37:11.745Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-06T16:37:11.780Z] $ docker stop --time=1 269ca9e01537dc716a80cb191a4e4a800d8f7e324336bf188d9fdaa67f5e0d7f [2023-09-06T16:37:13.353Z] $ docker rm -f --volumes 269ca9e01537dc716a80cb191a4e4a800d8f7e324336bf188d9fdaa67f5e0d7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:37:14.225Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T16:37:14.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T16:37:14.494Z] prd-ubuntu20.04-docker-arm64-4c-16g-5468 does not seem to be running inside a container [2023-09-06T16:37:14.552Z] $ 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-06T16:37:15.663Z] $ docker top f7bae743dda6bbf56a008a2896b36547b9762cc653251ac4ccbf5e69969d9eb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T16:37:16.212Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-09-06T16:37:16.606Z] + make test [2023-09-06T16:37:16.606Z] go test ./... -coverprofile=coverage.out ./... [2023-09-06T16:37:48.833Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-09-06T16:39:55.499Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-09-06T16:39:57.443Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.092s coverage: 4.4% of statements [2023-09-06T16:39:57.710Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-06T16:39:57.710Z] go vet ./... [2023-09-06T16:40:24.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-06T16:40:24.394Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-06T16:40:24.394Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-06T16:40:24.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-06T16:40:24.461Z] $ docker stop --time=1 f7bae743dda6bbf56a008a2896b36547b9762cc653251ac4ccbf5e69969d9eb6 [2023-09-06T16:40:26.254Z] $ docker rm -f --volumes f7bae743dda6bbf56a008a2896b36547b9762cc653251ac4ccbf5e69969d9eb6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T16:40:27.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-06T16:40:27.454Z] Warning: overwriting stash ‘coverage-report’ [2023-09-06T16:40:27.907Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T16:40:28.476Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-06T16:40:28.809Z] + ls -al . [2023-09-06T16:40:28.809Z] total 216 [2023-09-06T16:40:28.809Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 6 16:37 . [2023-09-06T16:40:28.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 16:34 .. [2023-09-06T16:40:28.809Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 16:34 .git [2023-09-06T16:40:28.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 16:34 .github [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 468 Sep 6 16:34 .gitignore [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 45 Sep 6 16:34 .golangci.yml [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 77 Sep 6 16:34 .hadolint.yml [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 10851 Sep 6 16:34 Attribution.txt [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 11903 Sep 6 16:34 CHANGELOG.md [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 2453 Sep 6 16:34 Dockerfile [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 6 16:34 GOVERNANCE.md [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 659 Sep 6 16:34 Jenkinsfile [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 6 16:34 LICENSE [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 2611 Sep 6 16:34 Makefile [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 6 16:34 OWNERS.md [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 2575 Sep 6 16:34 README.md [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 6 16:32 VERSION [2023-09-06T16:40:28.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 16:34 bin [2023-09-06T16:40:28.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 16:34 cmd [2023-09-06T16:40:28.809Z] -rw-r--r-- 1 jenkins jenkins 53856 Sep 6 16:39 coverage.out [2023-09-06T16:40:28.809Z] -rwxrwxr-x 1 jenkins jenkins 140 Sep 6 16:34 docker-entrypoint.sh [2023-09-06T16:40:28.809Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 16:34 docs [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 3951 Sep 6 16:34 go.mod [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 34252 Sep 6 16:34 go.sum [2023-09-06T16:40:28.809Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 16:34 internal [2023-09-06T16:40:28.809Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 16:34 snap [2023-09-06T16:40:28.809Z] -rw-rw-r-- 1 jenkins jenkins 231 Sep 6 16:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:40:29.231Z] + 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=32daf375cba5b8410afc8aebdcd6bf1958fef1d6 --label arch=arm64 --label version=0.0.0 . [2023-09-06T16:40:29.497Z] Sending build context to Docker daemon 1.338MB [2023-09-06T16:40:29.497Z] Step 1/36 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T16:40:29.497Z] Step 2/36 : FROM ${BASE} AS builder [2023-09-06T16:40:29.497Z] ---> 58c7c8d78876 [2023-09-06T16:40:29.497Z] Step 3/36 : ARG ADD_BUILD_TAGS="" [2023-09-06T16:40:30.556Z] ---> Running in fd737fc8835a [2023-09-06T16:40:30.848Z] Removing intermediate container fd737fc8835a [2023-09-06T16:40:30.848Z] ---> 676b0c4e4400 [2023-09-06T16:40:30.848Z] Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-06T16:40:30.848Z] ---> Running in 70df962fbc29 [2023-09-06T16:40:31.126Z] Removing intermediate container 70df962fbc29 [2023-09-06T16:40:31.126Z] ---> 7486296ffee6 [2023-09-06T16:40:31.126Z] Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-09-06T16:40:31.418Z] ---> Running in b00f9e016fd3 [2023-09-06T16:40:31.418Z] Removing intermediate container b00f9e016fd3 [2023-09-06T16:40:31.691Z] ---> 3c89426d9f9d [2023-09-06T16:40:31.691Z] Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-09-06T16:40:31.691Z] ---> Running in 1b9a08729b28 [2023-09-06T16:40:31.969Z] Removing intermediate container 1b9a08729b28 [2023-09-06T16:40:31.969Z] ---> 847959d3881c [2023-09-06T16:40:31.969Z] Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-06T16:40:31.969Z] ---> Running in 483d85e0bec2 [2023-09-06T16:40:32.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T16:40:33.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T16:40:34.513Z] OK: 271 MiB in 67 packages [2023-09-06T16:40:35.479Z] Removing intermediate container 483d85e0bec2 [2023-09-06T16:40:35.479Z] ---> b04bd047cfd1 [2023-09-06T16:40:35.479Z] Step 8/36 : WORKDIR /device-usb-camera [2023-09-06T16:40:35.479Z] ---> Running in 97c2c5aebb61 [2023-09-06T16:40:35.748Z] Removing intermediate container 97c2c5aebb61 [2023-09-06T16:40:35.748Z] ---> ad4162d7a60e [2023-09-06T16:40:35.748Z] Step 9/36 : COPY go.mod vendor* ./ [2023-09-06T16:40:36.018Z] ---> 535dd6468229 [2023-09-06T16:40:36.018Z] Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T16:40:36.289Z] ---> Running in 683166686cac [2023-09-06T16:40:38.894Z] Removing intermediate container 683166686cac [2023-09-06T16:40:38.894Z] ---> 5f56b744f637 [2023-09-06T16:40:38.894Z] Step 11/36 : COPY . . [2023-09-06T16:40:39.499Z] ---> b744c6d250e5 [2023-09-06T16:40:39.499Z] Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-09-06T16:40:39.499Z] ---> Running in ab84bdd114df [2023-09-06T16:40:40.464Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-09-06T16:40:40.464Z] Dload Upload Total Spent Left Speed [2023-09-06T16:40:40.733Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 4026 0 --:--:-- --:--:-- --:--:-- 4041 [2023-09-06T16:40:41.328Z] Removing intermediate container ab84bdd114df [2023-09-06T16:40:41.328Z] ---> 6641f2572ddd [2023-09-06T16:40:41.328Z] Step 13/36 : RUN ${MAKE} [2023-09-06T16:40:41.597Z] ---> Running in bb4727cc3341 [2023-09-06T16:40:42.563Z] 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.18" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-09-06T16:43:04.264Z] Removing intermediate container bb4727cc3341 [2023-09-06T16:43:04.264Z] ---> 5a6b965d552d [2023-09-06T16:43:04.264Z] Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-09-06T16:43:04.842Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-09-06T16:43:04.842Z] 8766b47fe142: Pulling fs layer [2023-09-06T16:43:05.424Z] 8766b47fe142: Download complete [2023-09-06T16:43:06.005Z] 8766b47fe142: Pull complete [2023-09-06T16:43:06.005Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-09-06T16:43:06.005Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-09-06T16:43:06.005Z] ---> 69d40e2cb93c [2023-09-06T16:43:06.005Z] Step 15/36 : FROM alpine:3.17 [2023-09-06T16:43:06.585Z] 3.17: Pulling from library/alpine [2023-09-06T16:43:06.585Z] 4060ece20d7a: Pulling fs layer [2023-09-06T16:43:06.852Z] 4060ece20d7a: Verifying Checksum [2023-09-06T16:43:06.852Z] 4060ece20d7a: Download complete [2023-09-06T16:43:07.435Z] 4060ece20d7a: Pull complete [2023-09-06T16:43:07.435Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-06T16:43:07.435Z] Status: Downloaded newer image for alpine:3.17 [2023-09-06T16:43:07.435Z] ---> 8650cd65339b [2023-09-06T16:43:07.435Z] Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-09-06T16:43:07.435Z] ---> Running in 162d46aa8080 [2023-09-06T16:43:07.706Z] Removing intermediate container 162d46aa8080 [2023-09-06T16:43:07.706Z] ---> 100dab5fcf12 [2023-09-06T16:43:07.706Z] Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-09-06T16:43:07.989Z] ---> Running in 9e90a1d0d99c [2023-09-06T16:43:08.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T16:43:09.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T16:43:10.174Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-09-06T16:43:10.174Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-09-06T16:43:10.441Z] (3/83) Installing libxau (1.0.10-r0) [2023-09-06T16:43:10.441Z] (4/83) Installing libmd (1.0.4-r0) [2023-09-06T16:43:10.441Z] (5/83) Installing libbsd (0.11.7-r0) [2023-09-06T16:43:10.441Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-09-06T16:43:10.441Z] (7/83) Installing libxcb (1.15-r0) [2023-09-06T16:43:10.441Z] (8/83) Installing libx11 (1.8.4-r1) [2023-09-06T16:43:10.708Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-09-06T16:43:10.708Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-09-06T16:43:10.708Z] (11/83) Installing libexpat (2.5.0-r0) [2023-09-06T16:43:10.708Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-09-06T16:43:10.708Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-09-06T16:43:10.708Z] (14/83) Installing libpng (1.6.39-r0) [2023-09-06T16:43:10.708Z] (15/83) Installing freetype (2.12.1-r0) [2023-09-06T16:43:10.974Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-09-06T16:43:10.974Z] (17/83) Installing fribidi (1.0.12-r0) [2023-09-06T16:43:10.974Z] (18/83) Installing libffi (3.4.4-r0) [2023-09-06T16:43:10.974Z] (19/83) Installing libintl (0.21.1-r1) [2023-09-06T16:43:10.974Z] (20/83) Installing libblkid (2.38.1-r1) [2023-09-06T16:43:10.974Z] (21/83) Installing libmount (2.38.1-r1) [2023-09-06T16:43:10.974Z] (22/83) Installing pcre2 (10.42-r0) [2023-09-06T16:43:10.974Z] (23/83) Installing glib (2.74.7-r0) [2023-09-06T16:43:11.242Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-09-06T16:43:11.242Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-09-06T16:43:11.242Z] (26/83) Installing libass (0.16.0-r1) [2023-09-06T16:43:11.242Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-09-06T16:43:11.242Z] (28/83) Installing libdrm (2.4.114-r0) [2023-09-06T16:43:11.242Z] (29/83) Installing gmp (6.2.1-r2) [2023-09-06T16:43:11.242Z] (30/83) Installing nettle (3.8.1-r0) [2023-09-06T16:43:11.242Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-09-06T16:43:11.242Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-09-06T16:43:11.242Z] (33/83) Installing libunistring (1.1-r0) [2023-09-06T16:43:11.509Z] (34/83) Installing gnutls (3.7.8-r3) [2023-09-06T16:43:11.509Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) [2023-09-06T16:43:11.509Z] (36/83) Installing ncurses-libs (6.3_p20221119-r1) [2023-09-06T16:43:11.509Z] (37/83) Installing lame (3.100-r2) [2023-09-06T16:43:11.509Z] (38/83) Installing opus (1.3.1-r1) [2023-09-06T16:43:11.509Z] (39/83) Installing libasyncns (0.8-r1) [2023-09-06T16:43:11.509Z] (40/83) Installing dbus-libs (1.14.8-r0) [2023-09-06T16:43:11.509Z] (41/83) Installing libltdl (2.4.7-r1) [2023-09-06T16:43:11.509Z] (42/83) Installing orc (0.4.33-r0) [2023-09-06T16:43:11.509Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-09-06T16:43:11.509Z] (44/83) Installing libogg (1.3.5-r2) [2023-09-06T16:43:11.509Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-09-06T16:43:11.775Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-09-06T16:43:11.776Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-09-06T16:43:11.776Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-09-06T16:43:11.776Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-09-06T16:43:11.776Z] (50/83) Installing soxr (0.1.3-r3) [2023-09-06T16:43:11.776Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-09-06T16:43:11.776Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-09-06T16:43:11.776Z] (53/83) Installing libpulse (16.1-r6) [2023-09-06T16:43:11.776Z] (54/83) Installing cjson (1.7.15-r3) [2023-09-06T16:43:11.776Z] (55/83) Installing mbedtls (2.28.4-r0) [2023-09-06T16:43:11.776Z] (56/83) Installing librist (0.2.7-r0) [2023-09-06T16:43:11.776Z] (57/83) Installing libsrt (1.5.1-r0) [2023-09-06T16:43:11.776Z] (58/83) Installing libssh (0.10.5-r0) [2023-09-06T16:43:11.776Z] (59/83) Installing libtheora (1.1.1-r16) [2023-09-06T16:43:12.043Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-09-06T16:43:12.043Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-09-06T16:43:12.043Z] (62/83) Installing libxext (1.3.5-r0) [2023-09-06T16:43:12.043Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-09-06T16:43:12.043Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-09-06T16:43:12.043Z] (65/83) Installing libva (2.16.0-r0) [2023-09-06T16:43:12.043Z] (66/83) Installing libvdpau (1.5-r0) [2023-09-06T16:43:12.043Z] (67/83) Installing vidstab (1.1.0-r2) [2023-09-06T16:43:12.043Z] (68/83) Installing libvpx (1.12.0-r1) [2023-09-06T16:43:12.043Z] (69/83) Installing libwebp (1.2.4-r2) [2023-09-06T16:43:12.043Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-09-06T16:43:12.310Z] (71/83) Installing numactl (2.0.16-r1) [2023-09-06T16:43:12.310Z] (72/83) Installing x265-libs (3.5-r3) [2023-09-06T16:43:12.310Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-09-06T16:43:12.310Z] (74/83) Installing libsodium (1.0.18-r2) [2023-09-06T16:43:12.310Z] (75/83) Installing libzmq (4.3.4-r1) [2023-09-06T16:43:12.310Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-09-06T16:43:12.894Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-09-06T16:43:12.894Z] (78/83) Installing udev-init-scripts (35-r1) [2023-09-06T16:43:12.894Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-09-06T16:43:12.894Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-09-06T16:43:12.894Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-09-06T16:43:12.894Z] (82/83) Installing kmod-libs (30-r1) [2023-09-06T16:43:13.161Z] (83/83) Installing eudev (3.2.11-r4) [2023-09-06T16:43:13.161Z] Executing busybox-1.35.0-r29.trigger [2023-09-06T16:43:13.161Z] Executing eudev-3.2.11-r4.trigger [2023-09-06T16:43:13.161Z] OK: 86 MiB in 98 packages [2023-09-06T16:43:16.496Z] Removing intermediate container 9e90a1d0d99c [2023-09-06T16:43:16.496Z] ---> e819745935a7 [2023-09-06T16:43:16.496Z] Step 18/36 : WORKDIR / [2023-09-06T16:43:16.496Z] ---> Running in f6a23c9a252c [2023-09-06T16:43:16.496Z] Removing intermediate container f6a23c9a252c [2023-09-06T16:43:16.496Z] ---> 583d5e91b145 [2023-09-06T16:43:16.496Z] Step 19/36 : COPY --from=builder /device-usb-camera/cmd / [2023-09-06T16:43:17.913Z] ---> ef60012ffc0d [2023-09-06T16:43:17.913Z] Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [2023-09-06T16:43:18.179Z] ---> 18a4948246a0 [2023-09-06T16:43:18.179Z] Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-09-06T16:43:18.762Z] ---> f21a94037d71 [2023-09-06T16:43:18.762Z] Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-09-06T16:43:19.028Z] ---> b2564f650bd4 [2023-09-06T16:43:19.028Z] Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-09-06T16:43:19.609Z] ---> 5ed7548ed9ac [2023-09-06T16:43:19.609Z] Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-09-06T16:43:20.194Z] ---> 4f612a759f7d [2023-09-06T16:43:20.194Z] Step 25/36 : COPY --from=rtsp /rtsp-simple-server / [2023-09-06T16:43:21.151Z] ---> 9e5348df7df9 [2023-09-06T16:43:21.151Z] Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-09-06T16:43:21.151Z] ---> Running in 15af118fc740 [2023-09-06T16:43:24.492Z] Removing intermediate container 15af118fc740 [2023-09-06T16:43:24.492Z] ---> 37fda212a72e [2023-09-06T16:43:24.492Z] Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-09-06T16:43:24.492Z] ---> Running in 84a56c2e9c1f [2023-09-06T16:43:26.435Z] Removing intermediate container 84a56c2e9c1f [2023-09-06T16:43:26.435Z] ---> a07816a206e0 [2023-09-06T16:43:26.435Z] Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-09-06T16:43:26.435Z] ---> Running in c632af0bb704 [2023-09-06T16:43:27.842Z] Removing intermediate container c632af0bb704 [2023-09-06T16:43:27.842Z] ---> 95c557da3a4e [2023-09-06T16:43:27.842Z] Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml [2023-09-06T16:43:27.842Z] ---> Running in 34b0be636b52 [2023-09-06T16:43:29.253Z] Removing intermediate container 34b0be636b52 [2023-09-06T16:43:29.253Z] ---> fd31a22717a0 [2023-09-06T16:43:29.253Z] Step 30/36 : EXPOSE 59983 [2023-09-06T16:43:29.253Z] ---> Running in b3284e8d0dcb [2023-09-06T16:43:29.519Z] Removing intermediate container b3284e8d0dcb [2023-09-06T16:43:29.519Z] ---> f1dc82771bca [2023-09-06T16:43:29.519Z] Step 31/36 : EXPOSE 8554 [2023-09-06T16:43:29.519Z] ---> Running in c809c60d79d9 [2023-09-06T16:43:29.785Z] Removing intermediate container c809c60d79d9 [2023-09-06T16:43:29.785Z] ---> 09718c2e2fbe [2023-09-06T16:43:29.785Z] Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-09-06T16:43:30.050Z] ---> Running in 239ace11b28b [2023-09-06T16:43:30.317Z] Removing intermediate container 239ace11b28b [2023-09-06T16:43:30.317Z] ---> 0a4af95f146d [2023-09-06T16:43:30.317Z] Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-09-06T16:43:30.317Z] ---> Running in 6f0139b313df [2023-09-06T16:43:30.585Z] Removing intermediate container 6f0139b313df [2023-09-06T16:43:30.585Z] ---> cae08e4015b6 [2023-09-06T16:43:30.585Z] Step 34/36 : LABEL arch=arm64 [2023-09-06T16:43:30.585Z] ---> Running in 58564e2c5680 [2023-09-06T16:43:30.852Z] Removing intermediate container 58564e2c5680 [2023-09-06T16:43:30.852Z] ---> c9020e332c57 [2023-09-06T16:43:30.852Z] Step 35/36 : LABEL git_sha=32daf375cba5b8410afc8aebdcd6bf1958fef1d6 [2023-09-06T16:43:30.852Z] ---> Running in af8b4ddec6f5 [2023-09-06T16:43:31.119Z] Removing intermediate container af8b4ddec6f5 [2023-09-06T16:43:31.119Z] ---> 6965d2159ed9 [2023-09-06T16:43:31.119Z] Step 36/36 : LABEL version=0.0.0 [2023-09-06T16:43:31.386Z] ---> Running in 2c4636b3fa0e [2023-09-06T16:43:31.651Z] Removing intermediate container 2c4636b3fa0e [2023-09-06T16:43:31.651Z] ---> e11cf6c24386 [2023-09-06T16:43:31.651Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-06T16:43:31.651Z] Successfully built e11cf6c24386 [2023-09-06T16:43:31.651Z] 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-06T16:43:32.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T16:43:32.518Z] [2023-09-06T16:43:32.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:43:32.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T16:43:32.920Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-06T16:43:32.920Z] 8998bd30e6a1: Pulling fs layer [2023-09-06T16:43:32.920Z] 04944245beec: Pulling fs layer [2023-09-06T16:43:32.920Z] 699f458cf7ca: Pulling fs layer [2023-09-06T16:43:32.920Z] 765212b225bb: Pulling fs layer [2023-09-06T16:43:32.920Z] f23df028b6ca: Pulling fs layer [2023-09-06T16:43:32.920Z] d65c8cfc05b1: Pulling fs layer [2023-09-06T16:43:32.920Z] 2437ff75d9bd: Pulling fs layer [2023-09-06T16:43:32.920Z] d65c8cfc05b1: Waiting [2023-09-06T16:43:32.920Z] 765212b225bb: Waiting [2023-09-06T16:43:32.920Z] f23df028b6ca: Waiting [2023-09-06T16:43:32.920Z] 2437ff75d9bd: Waiting [2023-09-06T16:43:33.188Z] 04944245beec: Verifying Checksum [2023-09-06T16:43:33.188Z] 04944245beec: Download complete [2023-09-06T16:43:33.188Z] 765212b225bb: Verifying Checksum [2023-09-06T16:43:33.188Z] 765212b225bb: Download complete [2023-09-06T16:43:33.188Z] f23df028b6ca: Verifying Checksum [2023-09-06T16:43:33.188Z] f23df028b6ca: Download complete [2023-09-06T16:43:33.188Z] d65c8cfc05b1: Download complete [2023-09-06T16:43:33.188Z] 699f458cf7ca: Verifying Checksum [2023-09-06T16:43:33.188Z] 699f458cf7ca: Download complete [2023-09-06T16:43:33.773Z] 8998bd30e6a1: Verifying Checksum [2023-09-06T16:43:33.773Z] 8998bd30e6a1: Download complete [2023-09-06T16:43:35.719Z] 2437ff75d9bd: Verifying Checksum [2023-09-06T16:43:35.719Z] 2437ff75d9bd: Download complete [2023-09-06T16:43:37.661Z] 8998bd30e6a1: Pull complete [2023-09-06T16:43:38.616Z] 04944245beec: Pull complete [2023-09-06T16:43:40.021Z] 699f458cf7ca: Pull complete [2023-09-06T16:43:40.021Z] 765212b225bb: Pull complete [2023-09-06T16:43:40.602Z] f23df028b6ca: Pull complete [2023-09-06T16:43:40.868Z] d65c8cfc05b1: Pull complete [2023-09-06T16:43:55.841Z] 2437ff75d9bd: Pull complete [2023-09-06T16:43:55.841Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-06T16:43:55.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T16:43:55.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T16:43:56.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-5468 does not seem to be running inside a container [2023-09-06T16:43:56.239Z] $ 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-06T16:43:58.598Z] $ docker top 7d015260a59cf8cda6de45acf19a44f41064e5b46e3d4ac19b50476f839a281d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:43:59.484Z] ---> job-cost.sh [2023-09-06T16:43:59.484Z] lf-activate-venv: SKIPPING [2023-09-06T16:43:59.484Z] INFO: No Stack... [2023-09-06T16:44:00.061Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-06T16:44:01.011Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T16:44:01.352Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-09-06T16:44:01.352Z] + cut -d, -f6 [Pipeline] lock [2023-09-06T16:44:01.434Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-281-1-stack-cost] [2023-09-06T16:44:01.439Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-281-1-stack-cost] did not exist. Created. [2023-09-06T16:44:01.439Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-281-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T16:44:01.856Z] /w/workspace/device-usb-camera/1@tmp/durable-df9ccd13/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-06T16:44:02.209Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-06T16:44:02.247Z] Warning: overwriting stash ‘stack-cost’ [2023-09-06T16:44:02.295Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T16:44:02.313Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-281-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T16:44:02.386Z] $ docker stop --time=1 7d015260a59cf8cda6de45acf19a44f41064e5b46e3d4ac19b50476f839a281d [2023-09-06T16:44:03.874Z] $ docker rm -f --volumes 7d015260a59cf8cda6de45acf19a44f41064e5b46e3d4ac19b50476f839a281d [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-06T16:44:04.915Z] provisioning config files... [2023-09-06T16:44:04.923Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-281@tmp/config6270823184266333056tmp [Pipeline] { [Pipeline] sh [2023-09-06T16:44:05.255Z] + set +x [2023-09-06T16:44:05.255Z] + + bash -s -- [2023-09-06T16:44:05.255Z] curl -s https://codecov.io/bash [2023-09-06T16:44:05.255Z] [2023-09-06T16:44:05.255Z] _____ _ [2023-09-06T16:44:05.255Z] / ____| | | [2023-09-06T16:44:05.255Z] | | ___ __| | ___ ___ _____ __ [2023-09-06T16:44:05.255Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-06T16:44:05.255Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-06T16:44:05.255Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-06T16:44:05.255Z] Bash-1.0.6 [2023-09-06T16:44:05.255Z] [2023-09-06T16:44:05.255Z] [2023-09-06T16:44:05.255Z] ==> git version 2.25.1 found [2023-09-06T16:44:05.255Z] ==> 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-06T16:44:05.255Z] Release-Date: 2020-01-08 [2023-09-06T16:44:05.255Z] 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-06T16:44:05.255Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-06T16:44:05.255Z] ==> Jenkins CI detected. [2023-09-06T16:44:05.255Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-281 [2023-09-06T16:44:05.255Z] project root: . [2023-09-06T16:44:05.255Z] --> token set from env [2023-09-06T16:44:05.255Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-06T16:44:05.255Z] ==> Running gcov in . (disable via -X gcov) [2023-09-06T16:44:05.255Z] ==> Python coveragepy not found [2023-09-06T16:44:05.255Z] ==> Searching for coverage reports in: [2023-09-06T16:44:05.255Z] + . [2023-09-06T16:44:05.255Z] -> Found 1 reports [2023-09-06T16:44:05.255Z] ==> Detecting git/mercurial file structure [2023-09-06T16:44:05.513Z] ==> Reading reports [2023-09-06T16:44:05.513Z] + ./coverage.out bytes=53856 [2023-09-06T16:44:05.513Z] ==> Appending adjustments [2023-09-06T16:44:05.513Z] https://docs.codecov.io/docs/fixing-reports [2023-09-06T16:44:05.513Z] + Found adjustments [2023-09-06T16:44:05.513Z] ==> Gzipping contents [2023-09-06T16:44:05.513Z] 8.0K /tmp/codecov.LrmMmn.gz [2023-09-06T16:44:05.513Z] ==> Uploading reports [2023-09-06T16:44:05.513Z] url: https://codecov.io [2023-09-06T16:44:05.513Z] query: branch=PR-281&commit=32daf375cba5b8410afc8aebdcd6bf1958fef1d6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-281%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=281&job=&cmd_args= [2023-09-06T16:44:05.513Z] -> Pinging Codecov [2023-09-06T16:44:05.513Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-281&commit=32daf375cba5b8410afc8aebdcd6bf1958fef1d6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-281%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=281&job=&cmd_args= [2023-09-06T16:44:05.513Z] -> Uploading to [2023-09-06T16:44:05.513Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-06/73D8F5FF140700D3E01443B452E23636/32daf375cba5b8410afc8aebdcd6bf1958fef1d6/0de29855-6613-4058-b006-ea3ecef06b3a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230906T164405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17bf98a879965dee1a21f13eb60e26b0f0569fff5cd3d2fc7a44f15f7066967d [2023-09-06T16:44:05.772Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T16:44:05.772Z] Dload Upload Total Spent Left Speed [2023-09-06T16:44:05.772Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6883 0 0 100 6883 0 33575 --:--:-- --:--:-- --:--:-- 33575 [2023-09-06T16:44:05.772Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/32daf375cba5b8410afc8aebdcd6bf1958fef1d6 [Pipeline] } [2023-09-06T16:44:05.801Z] 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-06T16:44:07.625Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-281/archives ] [2023-09-06T16:44:07.625Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-281/archives [2023-09-06T16:44:07.626Z] total 16 [2023-09-06T16:44:07.626Z] drwxr-xr-x 3 root root 4096 Sep 6 16:35 . [2023-09-06T16:44:07.626Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 16:35 .. [2023-09-06T16:44:07.626Z] drwxr-xr-x 2 root root 4096 Sep 6 16:35 cost [2023-09-06T16:44:07.626Z] -rw-r--r-- 1 root root 89 Sep 6 16:35 cost.csv [2023-09-06T16:44:07.626Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-281/archives [2023-09-06T16:44:07.626Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-281/archives [2023-09-06T16:44:07.626Z] total 16 [2023-09-06T16:44:07.626Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 16:35 . [2023-09-06T16:44:07.626Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 16:35 .. [2023-09-06T16:44:07.626Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 16:35 cost [2023-09-06T16:44:07.626Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 6 16:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:44:07.961Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:44:08.847Z] ---> package-listing.sh [2023-09-06T16:44:08.847Z] ++ facter osfamily [2023-09-06T16:44:08.847Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-06T16:44:09.105Z] + OS_FAMILY=debian [2023-09-06T16:44:09.105Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-281 [2023-09-06T16:44:09.105Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-06T16:44:09.105Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-06T16:44:09.105Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-06T16:44:09.105Z] + PACKAGES=/tmp/packages_start.txt [2023-09-06T16:44:09.105Z] + '[' /w/workspace/foundry_device-usb-camera_PR-281 ']' [2023-09-06T16:44:09.105Z] + PACKAGES=/tmp/packages_end.txt [2023-09-06T16:44:09.105Z] + case "${OS_FAMILY}" in [2023-09-06T16:44:09.105Z] + dpkg -l [2023-09-06T16:44:09.105Z] + grep '^ii' [2023-09-06T16:44:09.105Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-06T16:44:09.105Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-06T16:44:09.105Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-06T16:44:09.105Z] + '[' /w/workspace/foundry_device-usb-camera_PR-281 ']' [2023-09-06T16:44:09.105Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-281/archives/ [2023-09-06T16:44:09.105Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-281/archives/ [Pipeline] echo [2023-09-06T16:44:09.137Z] 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-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-06T16:44:09.424Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T16:44:10.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T16:44:10.040Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T16:44:10.180Z] prd-ubuntu20.04-docker-8c-8g-5467 does not seem to be running inside a container [2023-09-06T16:44:10.203Z] $ 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-281/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-281 -v /w/workspace/foundry_device-usb-camera_PR-281:/w/workspace/foundry_device-usb-camera_PR-281:rw,z -v /w/workspace/foundry_device-usb-camera_PR-281@tmp:/w/workspace/foundry_device-usb-camera_PR-281@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-06T16:44:10.379Z] $ docker top 5b17cd81f22182ef06466cc72266d4c28db3efc4c649ac7012f5e6906040843c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T16:44:10.772Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-06T16:44:11.078Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-06T16:44:11.386Z] + ls /var/log/sa-host [2023-09-06T16:44:11.386Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T16:44:11.601Z] provisioning config files... [2023-09-06T16:44:11.611Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-281@tmp/config303441791597319089tmp [Pipeline] { [Pipeline] echo [2023-09-06T16:44:11.655Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:44:11.962Z] ---> create-netrc.sh [Pipeline] } [2023-09-06T16:44:11.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:44:12.391Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-06T16:44:12.423Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:44:12.733Z] ---> sudo-logs.sh [2023-09-06T16:44:12.733Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-06T16:44:12.822Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:44:13.132Z] ---> job-cost.sh [2023-09-06T16:44:13.132Z] lf-activate-venv: SKIPPING [2023-09-06T16:44:13.132Z] DEBUG: total: 0.2199999988079071 [2023-09-06T16:44:13.132Z] INFO: Retrieving Stack Cost... [2023-09-06T16:44:13.700Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T16:44:13.959Z] INFO: Archiving Costs [Pipeline] echo [2023-09-06T16:44:13.990Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T16:44:14.299Z] ---> logs-deploy.sh [2023-09-06T16:44:14.299Z] lf-activate-venv: SKIPPING [2023-09-06T16:44:14.299Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-281/1 [2023-09-06T16:44:14.299Z] INFO: archiving workspace using pattern(s): [2023-09-06T16:44:15.234Z] Archives upload complete. [2023-09-06T16:44:15.234Z] INFO: archiving logs to Nexus