Pull request #203 updated 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 marcpfuller for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 8746c938a55b5945dba82726ee73b77bfa0394d9 rather than faca447585858b1691ff618b7f9210dde90137c5 Obtained Jenkinsfile from 8746c938a55b5945dba82726ee73b77bfa0394d9 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-ssh13322010012859747400.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2540445407580131012.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16396832885043181056.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh12806661785334051824.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3417789259089054583.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5937’ Running on prd-ubuntu20.04-docker-8c-8g-5939 in /w/workspace/foundry_device-usb-camera_PR-203 [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-203 # 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/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit faca447585858b1691ff618b7f9210dde90137c5 Merge succeeded, producing faca447585858b1691ff618b7f9210dde90137c5 Checking out Revision faca447585858b1691ff618b7f9210dde90137c5 (PR-203) > git config core.sparsecheckout # timeout=10 > git checkout -f faca447585858b1691ff618b7f9210dde90137c5 # 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 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f faca447585858b1691ff618b7f9210dde90137c5 # timeout=10 Commit message: "fix: resolved formatting issues in driver.go" First time build. Skipping changelog. > git rev-list --no-walk e11d9c615cda4cc00dccebc720424e5b82666142 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-27T22:51:50.935Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-27T22:51:50.993Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-27T22:51:51.006Z] ========================================================= [2023-03-27T22:51:51.006Z] EdgeX Global Pipelines Version Info [2023-03-27T22:51:51.006Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-27T22:51:51.728Z] ------------------- [2023-03-27T22:51:51.728Z] stable info: [2023-03-27T22:51:51.728Z] ------------------- [2023-03-27T22:51:51.728Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-27T22:51:51.728Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-27T22:51:51.728Z] Message: update stable to v1.0.245 [2023-03-27T22:51:52.299Z] ------------------- [2023-03-27T22:51:52.299Z] experimental info: [2023-03-27T22:51:52.299Z] ------------------- [2023-03-27T22:51:52.299Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-27T22:51:52.299Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-27T22:51:52.299Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-27T22:51:52.490Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-27T22:51:52.503Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-27T22:51:52.518Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-27T22:51:52.528Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-27T22:51:52.541Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-27T22:51:52.557Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-27T22:51:52.568Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-27T22:51:52.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-27T22:51:52.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-27T22:51:52.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-27T22:51:52.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-27T22:51:52.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-27T22:51:52.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-27T22:51:52.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-27T22:51:52.692Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-27T22:51:52.709Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-27T22:51:52.718Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-27T22:51:52.730Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-27T22:51:52.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-27T22:51:52.754Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-27T22:51:52.766Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-27T22:51:52.780Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-27T22:51:52.791Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-27T22:51:52.803Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-27T22:51:52.818Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-27T22:51:52.828Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-27T22:51:52.840Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-27T22:51:52.853Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo [2023-03-27T22:51:52.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo [2023-03-27T22:51:52.878Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo [2023-03-27T22:51:52.889Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = faca447585858b1691ff618b7f9210dde90137c5 [Pipeline] echo [2023-03-27T22:51:52.900Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = faca447 [Pipeline] echo [2023-03-27T22:51:52.913Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-27T22:51:52.967Z] provisioning config files... [2023-03-27T22:51:52.984Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config10557485427633614007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-27T22:51:53.284Z] ---> docker-login.sh [2023-03-27T22:51:53.284Z] nexus3.edgexfoundry.org:10001 [2023-03-27T22:51:53.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:51:53.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:51:53.545Z] Configure a credential helper to remove this warning. See [2023-03-27T22:51:53.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:51:53.545Z] [2023-03-27T22:51:53.545Z] Login Succeeded [2023-03-27T22:51:53.545Z] nexus3.edgexfoundry.org:10002 [2023-03-27T22:51:53.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:51:53.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:51:53.806Z] Configure a credential helper to remove this warning. See [2023-03-27T22:51:53.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:51:53.806Z] [2023-03-27T22:51:53.806Z] Login Succeeded [2023-03-27T22:51:53.806Z] nexus3.edgexfoundry.org:10003 [2023-03-27T22:51:53.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:51:53.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:51:53.806Z] Configure a credential helper to remove this warning. See [2023-03-27T22:51:53.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:51:53.806Z] [2023-03-27T22:51:53.806Z] Login Succeeded [2023-03-27T22:51:53.806Z] nexus3.edgexfoundry.org:10004 [2023-03-27T22:51:53.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:51:54.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:51:54.067Z] Configure a credential helper to remove this warning. See [2023-03-27T22:51:54.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:51:54.067Z] [2023-03-27T22:51:54.067Z] Login Succeeded [2023-03-27T22:51:54.067Z] docker.io [2023-03-27T22:51:54.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:51:54.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:51:54.327Z] Configure a credential helper to remove this warning. See [2023-03-27T22:51:54.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:51:54.327Z] [2023-03-27T22:51:54.327Z] Login Succeeded [2023-03-27T22:51:54.327Z] ---> docker-login.sh ends [Pipeline] } [2023-03-27T22:51:54.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-27T22:51:54.694Z] + git rev-list -1 --merges faca447585858b1691ff618b7f9210dde90137c5~1..faca447585858b1691ff618b7f9210dde90137c5 [Pipeline] echo [2023-03-27T22:51:54.743Z] -----------> git rev-list -1 --merges faca447585858b1691ff618b7f9210dde90137c5~1..faca447585858b1691ff618b7f9210dde90137c5 faca447585858b1691ff618b7f9210dde90137c5 [false] [Pipeline] sh [2023-03-27T22:51:55.031Z] + git log --format=format:%s -1 faca447585858b1691ff618b7f9210dde90137c5 [Pipeline] echo [2023-03-27T22:51:55.046Z] ========================================================= [2023-03-27T22:51:55.046Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-27T22:51:55.046Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-27T22:51:55.365Z] + git log --format=format:%s -1 faca447585858b1691ff618b7f9210dde90137c5 [Pipeline] echo [2023-03-27T22:51:55.376Z] [semverPrep] GIT_COMMIT: faca447585858b1691ff618b7f9210dde90137c5, Commit Message: fix: resolved formatting issues in driver.go [Pipeline] echo [2023-03-27T22:51:55.386Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-27T22:51:55.742Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-27T22:51:55.742Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-27T22:51:55.742Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-27T22:51:55.742Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-27T22:51:55.742Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-27T22:51:55.742Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-27T22:51:55.742Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T22:51:56.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-27T22:51:56.149Z] [2023-03-27T22:51:56.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T22:51:56.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-27T22:51:56.456Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-27T22:51:56.456Z] b85a868b505f: Pulling fs layer [2023-03-27T22:51:56.456Z] e2be974225ed: Pulling fs layer [2023-03-27T22:51:56.456Z] 339a4e72a1f5: Pulling fs layer [2023-03-27T22:51:56.456Z] 988bab9f4d93: Pulling fs layer [2023-03-27T22:51:56.456Z] 1469e6f7b9e6: Pulling fs layer [2023-03-27T22:51:56.456Z] eaf3925da568: Pulling fs layer [2023-03-27T22:51:56.456Z] bab4dde63d76: Pulling fs layer [2023-03-27T22:51:56.456Z] bde34c3a00c8: Pulling fs layer [2023-03-27T22:51:56.456Z] b352a97aabf1: Pulling fs layer [2023-03-27T22:51:56.456Z] 4872d77fe225: Pulling fs layer [2023-03-27T22:51:56.456Z] 5851b861e8e6: Pulling fs layer [2023-03-27T22:51:56.456Z] bab4dde63d76: Waiting [2023-03-27T22:51:56.456Z] 4872d77fe225: Waiting [2023-03-27T22:51:56.456Z] b352a97aabf1: Waiting [2023-03-27T22:51:56.456Z] 988bab9f4d93: Waiting [2023-03-27T22:51:56.456Z] bde34c3a00c8: Waiting [2023-03-27T22:51:56.456Z] eaf3925da568: Waiting [2023-03-27T22:51:56.456Z] 1469e6f7b9e6: Waiting [2023-03-27T22:51:56.456Z] e2be974225ed: Download complete [2023-03-27T22:51:56.456Z] 988bab9f4d93: Verifying Checksum [2023-03-27T22:51:56.456Z] 988bab9f4d93: Download complete [2023-03-27T22:51:56.456Z] 339a4e72a1f5: Verifying Checksum [2023-03-27T22:51:56.456Z] 339a4e72a1f5: Download complete [2023-03-27T22:51:56.456Z] 1469e6f7b9e6: Verifying Checksum [2023-03-27T22:51:56.456Z] 1469e6f7b9e6: Download complete [2023-03-27T22:51:56.456Z] eaf3925da568: Download complete [2023-03-27T22:51:56.716Z] bde34c3a00c8: Download complete [2023-03-27T22:51:56.716Z] b352a97aabf1: Verifying Checksum [2023-03-27T22:51:56.716Z] b352a97aabf1: Download complete [2023-03-27T22:51:56.716Z] 4872d77fe225: Verifying Checksum [2023-03-27T22:51:56.716Z] 4872d77fe225: Download complete [2023-03-27T22:51:56.716Z] b85a868b505f: Verifying Checksum [2023-03-27T22:51:56.716Z] b85a868b505f: Download complete [2023-03-27T22:51:56.977Z] bab4dde63d76: Verifying Checksum [2023-03-27T22:51:56.977Z] bab4dde63d76: Download complete [2023-03-27T22:51:57.916Z] b85a868b505f: Pull complete [2023-03-27T22:51:58.175Z] e2be974225ed: Pull complete [2023-03-27T22:51:58.746Z] 339a4e72a1f5: Pull complete [2023-03-27T22:51:58.746Z] 988bab9f4d93: Pull complete [2023-03-27T22:51:59.008Z] 1469e6f7b9e6: Pull complete [2023-03-27T22:51:59.008Z] eaf3925da568: Pull complete [2023-03-27T22:52:00.919Z] bab4dde63d76: Pull complete [2023-03-27T22:52:01.179Z] bde34c3a00c8: Pull complete [2023-03-27T22:52:01.179Z] b352a97aabf1: Pull complete [2023-03-27T22:52:01.179Z] 4872d77fe225: Pull complete [2023-03-27T22:52:01.440Z] 5851b861e8e6: Pull complete [2023-03-27T22:52:01.440Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-27T22:52:01.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-27T22:52:01.440Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-27T22:52:01.609Z] prd-ubuntu20.04-docker-8c-8g-5939 does not seem to be running inside a container [2023-03-27T22:52:01.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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-devops/py-git-semver:0.1.4 cat [2023-03-27T22:52:03.078Z] $ docker top 7d63a37ce941e63c09a59837b338fbca640869578dd7d0a1408d8ab490d6e631 -eo pid,comm [2023-03-27T22:52:03.135Z] 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-03-27T22:52:03.135Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-27T22:52:03.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-27T22:52:03.175Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-27T22:52:03.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-27T22:52:03.301Z] $ docker exec 7d63a37ce941e63c09a59837b338fbca640869578dd7d0a1408d8ab490d6e631 ssh-agent [2023-03-27T22:52:03.429Z] SSH_AUTH_SOCK=/tmp/ssh-Ouw59u9lS4hF/agent.31 [2023-03-27T22:52:03.429Z] SSH_AGENT_PID=37 [2023-03-27T22:52:03.435Z] Running ssh-add (command line suppressed) [2023-03-27T22:52:03.558Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_1045537209435340074.key (/w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_1045537209435340074.key) [2023-03-27T22:52:03.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-27T22:52:03.855Z] + git tag --points-at HEAD [Pipeline] } [2023-03-27T22:52:03.870Z] $ docker exec --env ******** --env ******** 7d63a37ce941e63c09a59837b338fbca640869578dd7d0a1408d8ab490d6e631 ssh-agent -k [2023-03-27T22:52:03.971Z] unset SSH_AUTH_SOCK; [2023-03-27T22:52:03.971Z] unset SSH_AGENT_PID; [2023-03-27T22:52:03.971Z] echo Agent pid 37 killed; [2023-03-27T22:52:03.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-27T22:52:04.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-27T22:52:04.001Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-27T22:52:04.124Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-27T22:52:04.130Z] $ docker exec 7d63a37ce941e63c09a59837b338fbca640869578dd7d0a1408d8ab490d6e631 ssh-agent [2023-03-27T22:52:04.227Z] SSH_AUTH_SOCK=/tmp/ssh-Bj1AVTOuoEfJ/agent.70 [2023-03-27T22:52:04.227Z] SSH_AGENT_PID=76 [2023-03-27T22:52:04.231Z] Running ssh-add (command line suppressed) [2023-03-27T22:52:04.361Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_13720312412931705105.key (/w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_13720312412931705105.key) [2023-03-27T22:52:04.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-27T22:52:04.661Z] + git semver init [2023-03-27T22:52:04.920Z] 2023-03-27 22:52:04,872 [run_init] DEBUG init version:0.0.0 force:False [2023-03-27T22:52:04.920Z] 2023-03-27 22:52:04,873 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-203/.semver [2023-03-27T22:52:04.920Z] 2023-03-27 22:52:04,873 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-203/.semver [2023-03-27T22:52:04.920Z] 2023-03-27 22:52:04,874 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-203/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-203, universal_newlines=False, shell=None, istream=None) [2023-03-27T22:52:05.859Z] 2023-03-27 22:52:05,537 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-203/.git/info/exclude [2023-03-27T22:52:05.859Z] 2023-03-27 22:52:05,538 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 with force:False [2023-03-27T22:52:05.859Z] 2023-03-27 22:52:05,538 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 [2023-03-27T22:52:05.859Z] 2023-03-27 22:52:05,543 [execute] INFO git cat-file --batch-check [2023-03-27T22:52:05.859Z] 2023-03-27 22:52:05,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) [2023-03-27T22:52:05.859Z] 2023-03-27 22:52:05,550 [execute] INFO git cat-file --batch [2023-03-27T22:52:05.860Z] 2023-03-27 22:52:05,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) [2023-03-27T22:52:05.860Z] 2023-03-27 22:52:05,557 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 [2023-03-27T22:52:05.860Z] 0.0.0 [Pipeline] } [2023-03-27T22:52:05.871Z] $ docker exec --env ******** --env ******** 7d63a37ce941e63c09a59837b338fbca640869578dd7d0a1408d8ab490d6e631 ssh-agent -k [2023-03-27T22:52:05.980Z] unset SSH_AUTH_SOCK; [2023-03-27T22:52:05.981Z] unset SSH_AGENT_PID; [2023-03-27T22:52:05.981Z] echo Agent pid 76 killed; [2023-03-27T22:52:05.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-27T22:52:06.297Z] + git semver [Pipeline] } [2023-03-27T22:52:06.573Z] $ docker stop --time=1 7d63a37ce941e63c09a59837b338fbca640869578dd7d0a1408d8ab490d6e631 [2023-03-27T22:52:07.910Z] $ docker rm -f --volumes 7d63a37ce941e63c09a59837b338fbca640869578dd7d0a1408d8ab490d6e631 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-27T22:52:08.248Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-27T22:52:08.458Z] Stashed 1 file(s) [Pipeline] echo [2023-03-27T22:52:08.461Z] [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-03-27T22:52:08.564Z] provisioning config files... [2023-03-27T22:52:08.573Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config10917592485770687305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-27T22:52:08.875Z] ---> docker-login.sh [2023-03-27T22:52:08.876Z] nexus3.edgexfoundry.org:10001 [2023-03-27T22:52:08.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:52:08.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:52:08.876Z] Configure a credential helper to remove this warning. See [2023-03-27T22:52:08.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:52:08.876Z] [2023-03-27T22:52:08.876Z] Login Succeeded [2023-03-27T22:52:08.876Z] nexus3.edgexfoundry.org:10002 [2023-03-27T22:52:08.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:52:08.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:52:08.876Z] Configure a credential helper to remove this warning. See [2023-03-27T22:52:08.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:52:08.876Z] [2023-03-27T22:52:08.876Z] Login Succeeded [2023-03-27T22:52:08.876Z] nexus3.edgexfoundry.org:10003 [2023-03-27T22:52:09.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:52:09.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:52:09.135Z] Configure a credential helper to remove this warning. See [2023-03-27T22:52:09.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:52:09.135Z] [2023-03-27T22:52:09.135Z] Login Succeeded [2023-03-27T22:52:09.135Z] nexus3.edgexfoundry.org:10004 [2023-03-27T22:52:09.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:52:09.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:52:09.135Z] Configure a credential helper to remove this warning. See [2023-03-27T22:52:09.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:52:09.135Z] [2023-03-27T22:52:09.135Z] Login Succeeded [2023-03-27T22:52:09.135Z] docker.io [2023-03-27T22:52:09.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:52:09.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:52:09.396Z] Configure a credential helper to remove this warning. See [2023-03-27T22:52:09.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:52:09.396Z] [2023-03-27T22:52:09.396Z] Login Succeeded [2023-03-27T22:52:09.396Z] ---> docker-login.sh ends [Pipeline] } [2023-03-27T22:52:09.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-27T22:52:09.462Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-27T22:52:09.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-27T22:52:09.479Z] ========================================================= [2023-03-27T22:52:09.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-27T22:52:09.479Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T22:52:09.781Z] + 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-03-27T22:52:09.781Z] Sending build context to Docker daemon 1.968MB [2023-03-27T22:52:09.781Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-27T22:52:09.781Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-27T22:52:09.781Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-27T22:52:09.781Z] 63b65145d645: Pulling fs layer [2023-03-27T22:52:09.781Z] a2d21d5440eb: Pulling fs layer [2023-03-27T22:52:09.781Z] 935e6c44a52c: Pulling fs layer [2023-03-27T22:52:09.781Z] 94cc34f8dd06: Pulling fs layer [2023-03-27T22:52:09.781Z] 30dea6a524f1: Pulling fs layer [2023-03-27T22:52:09.781Z] a2aff8979fd8: Pulling fs layer [2023-03-27T22:52:09.781Z] 6808be2612f2: Pulling fs layer [2023-03-27T22:52:09.781Z] f25807f1079a: Pulling fs layer [2023-03-27T22:52:09.781Z] 94cc34f8dd06: Waiting [2023-03-27T22:52:09.781Z] 30dea6a524f1: Waiting [2023-03-27T22:52:09.781Z] a2aff8979fd8: Waiting [2023-03-27T22:52:09.781Z] f25807f1079a: Waiting [2023-03-27T22:52:09.781Z] a2d21d5440eb: Verifying Checksum [2023-03-27T22:52:09.781Z] a2d21d5440eb: Download complete [2023-03-27T22:52:09.781Z] 94cc34f8dd06: Verifying Checksum [2023-03-27T22:52:09.781Z] 94cc34f8dd06: Download complete [2023-03-27T22:52:09.781Z] 30dea6a524f1: Verifying Checksum [2023-03-27T22:52:09.781Z] 30dea6a524f1: Download complete [2023-03-27T22:52:09.781Z] 63b65145d645: Download complete [2023-03-27T22:52:10.041Z] a2aff8979fd8: Verifying Checksum [2023-03-27T22:52:10.041Z] a2aff8979fd8: Download complete [2023-03-27T22:52:10.041Z] 63b65145d645: Pull complete [2023-03-27T22:52:10.303Z] a2d21d5440eb: Pull complete [2023-03-27T22:52:10.303Z] f25807f1079a: Verifying Checksum [2023-03-27T22:52:10.303Z] f25807f1079a: Download complete [2023-03-27T22:52:10.561Z] 935e6c44a52c: Verifying Checksum [2023-03-27T22:52:10.561Z] 935e6c44a52c: Download complete [2023-03-27T22:52:10.819Z] 6808be2612f2: Verifying Checksum [2023-03-27T22:52:10.819Z] 6808be2612f2: Download complete [2023-03-27T22:52:14.109Z] 935e6c44a52c: Pull complete [2023-03-27T22:52:14.109Z] 94cc34f8dd06: Pull complete [2023-03-27T22:52:14.368Z] 30dea6a524f1: Pull complete [2023-03-27T22:52:14.368Z] a2aff8979fd8: Pull complete [2023-03-27T22:52:16.905Z] 6808be2612f2: Pull complete [2023-03-27T22:52:17.841Z] f25807f1079a: Pull complete [2023-03-27T22:52:17.841Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-27T22:52:17.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-27T22:52:17.841Z] ---> 3b553350e43f [2023-03-27T22:52:17.841Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-27T22:52:19.232Z] ---> Running in aba5f6081466 [2023-03-27T22:52:19.232Z] Removing intermediate container aba5f6081466 [2023-03-27T22:52:19.232Z] ---> 6c624325bd7e [2023-03-27T22:52:19.232Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-27T22:52:19.493Z] ---> Running in 9bc25f08af6d [2023-03-27T22:52:19.493Z] Removing intermediate container 9bc25f08af6d [2023-03-27T22:52:19.493Z] ---> 24e1391ade0a [2023-03-27T22:52:19.493Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-27T22:52:19.493Z] ---> Running in b28f93982622 [2023-03-27T22:52:19.752Z] Removing intermediate container b28f93982622 [2023-03-27T22:52:19.752Z] ---> e37bf1b617fa [2023-03-27T22:52:19.752Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-27T22:52:19.752Z] ---> Running in 14c2c4f37d88 [2023-03-27T22:52:19.752Z] Removing intermediate container 14c2c4f37d88 [2023-03-27T22:52:19.752Z] ---> 5a200e53c4e8 [2023-03-27T22:52:19.752Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-27T22:52:19.752Z] ---> Running in 35afbce23a82 [2023-03-27T22:52:20.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-27T22:52:20.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-27T22:52:20.530Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-27T22:52:20.530Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-27T22:52:20.530Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-27T22:52:20.530Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-27T22:52:20.530Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-27T22:52:20.530Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-27T22:52:20.530Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-27T22:52:20.530Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-27T22:52:20.530Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-27T22:52:20.789Z] (10/14) Installing kmod-libs (30-r1) [2023-03-27T22:52:20.789Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-27T22:52:20.789Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-27T22:52:20.789Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-27T22:52:20.789Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-27T22:52:20.789Z] Executing busybox-1.35.0-r29.trigger [2023-03-27T22:52:20.789Z] Executing eudev-3.2.11-r4.trigger [2023-03-27T22:52:20.789Z] OK: 272 MiB in 67 packages [2023-03-27T22:52:21.359Z] Removing intermediate container 35afbce23a82 [2023-03-27T22:52:21.359Z] ---> 861f12b2de25 [2023-03-27T22:52:21.359Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-27T22:52:21.359Z] ---> Running in 55e0882b1e67 [2023-03-27T22:52:21.617Z] Removing intermediate container 55e0882b1e67 [2023-03-27T22:52:21.617Z] ---> a3ba9ebfbb62 [2023-03-27T22:52:21.617Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-27T22:52:21.617Z] ---> df4d7acb9503 [2023-03-27T22:52:21.617Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-27T22:52:21.877Z] ---> Running in c044da022875 [2023-03-27T22:52:23.538Z] Still waiting to schedule task [2023-03-27T22:52:23.538Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5938’ [2023-03-27T22:52:48.436Z] Removing intermediate container c044da022875 [2023-03-27T22:52:48.437Z] ---> 421724d48a96 [2023-03-27T22:52:48.437Z] Step 11/13 : COPY . . [2023-03-27T22:52:48.695Z] ---> a1349bbf1301 [2023-03-27T22:52:48.695Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-27T22:52:48.695Z] ---> Running in 0197c0cc956a [2023-03-27T22:52:48.954Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-27T22:52:48.954Z] Dload Upload Total Spent Left Speed [2023-03-27T22:52:48.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7005 0 --:--:-- --:--:-- --:--:-- 6986 [2023-03-27T22:52:49.216Z] Removing intermediate container 0197c0cc956a [2023-03-27T22:52:49.216Z] ---> 29d4bfc1297e [2023-03-27T22:52:49.216Z] Step 13/13 : RUN ${MAKE} [2023-03-27T22:52:49.475Z] ---> Running in e4894bd1fc98 [2023-03-27T22:52:49.734Z] noop [2023-03-27T22:52:49.994Z] Removing intermediate container e4894bd1fc98 [2023-03-27T22:52:49.994Z] ---> 93aa042b2f4f [2023-03-27T22:52:49.994Z] Successfully built 93aa042b2f4f [2023-03-27T22:52:49.994Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T22:52:50.303Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-27T22:52:50.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-27T22:52:50.380Z] prd-ubuntu20.04-docker-8c-8g-5939 does not seem to be running inside a container [2023-03-27T22:52:50.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-27T22:52:50.795Z] $ docker top 2726868118b3c7e2013bc6a912b80ecc3d3d4a47608e8a5977e784b312d4a003 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-27T22:52:51.139Z] + go version [2023-03-27T22:52:51.139Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-27T22:52:51.152Z] $ docker stop --time=1 2726868118b3c7e2013bc6a912b80ecc3d3d4a47608e8a5977e784b312d4a003 [2023-03-27T22:52:52.483Z] $ docker rm -f --volumes 2726868118b3c7e2013bc6a912b80ecc3d3d4a47608e8a5977e784b312d4a003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T22:52:52.897Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-27T22:52:52.897Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-27T22:52:52.970Z] prd-ubuntu20.04-docker-8c-8g-5939 does not seem to be running inside a container [2023-03-27T22:52:53.000Z] $ 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-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-27T22:52:53.371Z] $ docker top 06892bfc816dceb03c17607d15f759cbc2f9dc66a77e359c035b982a419bb6f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-27T22:52:53.721Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] fileExists [Pipeline] sh [2023-03-27T22:52:54.013Z] + make test [2023-03-27T22:52:54.013Z] go test ./... -coverprofile=coverage.out ./... [2023-03-27T22:52:59.285Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-27T22:53:09.248Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-27T22:53:09.248Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.012s coverage: 2.0% of statements [2023-03-27T22:53:15.803Z] go vet ./... [2023-03-27T22:53:19.984Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-27T22:53:19.984Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-27T22:53:19.984Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-27T22:53:19.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-27T22:53:20.011Z] $ docker stop --time=1 06892bfc816dceb03c17607d15f759cbc2f9dc66a77e359c035b982a419bb6f7 [2023-03-27T22:53:22.194Z] $ docker rm -f --volumes 06892bfc816dceb03c17607d15f759cbc2f9dc66a77e359c035b982a419bb6f7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-27T22:53:22.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-27T22:53:22.726Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-27T22:53:23.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-27T22:53:23.564Z] + ls -al . [2023-03-27T22:53:23.564Z] total 188 [2023-03-27T22:53:23.564Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 27 22:52 . [2023-03-27T22:53:23.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 22:51 .. [2023-03-27T22:53:23.564Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 22:52 .git [2023-03-27T22:53:23.564Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 22:51 .github [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 27 22:51 .gitignore [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 27 22:51 .golangci.yml [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 27 22:51 .hadolint.yml [2023-03-27T22:53:23.564Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 22:52 .semver [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 9535 Mar 27 22:51 Attribution.txt [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 27 22:51 CHANGELOG.md [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 27 22:51 Dockerfile [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 27 22:51 GOVERNANCE.md [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 27 22:51 Jenkinsfile [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 27 22:51 LICENSE [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 2364 Mar 27 22:51 Makefile [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 27 22:51 OWNERS.md [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 5681 Mar 27 22:51 README.md [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 22:52 VERSION [2023-03-27T22:53:23.564Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 22:51 bin [2023-03-27T22:53:23.564Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 22:51 cmd [2023-03-27T22:53:23.564Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 27 22:53 coverage.out [2023-03-27T22:53:23.564Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 27 22:51 docker-entrypoint.sh [2023-03-27T22:53:23.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 22:51 docs [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 3440 Mar 27 22:51 go.mod [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 31313 Mar 27 22:51 go.sum [2023-03-27T22:53:23.564Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 22:51 internal [2023-03-27T22:53:23.564Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 22:51 snap [2023-03-27T22:53:23.564Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 27 22:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T22:53:23.873Z] + 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=faca447585858b1691ff618b7f9210dde90137c5 --label arch=amd64 --label version=0.0.0 . [2023-03-27T22:53:23.874Z] Sending build context to Docker daemon 1.997MB [2023-03-27T22:53:23.874Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-03-27T22:53:23.874Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-27T22:53:23.874Z] ---> 93aa042b2f4f [2023-03-27T22:53:23.874Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-27T22:53:23.874Z] ---> Running in 9451e0f42664 [2023-03-27T22:53:24.137Z] Removing intermediate container 9451e0f42664 [2023-03-27T22:53:24.137Z] ---> b0ef1ed598a9 [2023-03-27T22:53:24.137Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-27T22:53:24.137Z] ---> Running in 77311634da20 [2023-03-27T22:53:24.137Z] Removing intermediate container 77311634da20 [2023-03-27T22:53:24.137Z] ---> 4e165131bb75 [2023-03-27T22:53:24.137Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-27T22:53:24.137Z] ---> Running in 0963a6455a1c [2023-03-27T22:53:24.397Z] Removing intermediate container 0963a6455a1c [2023-03-27T22:53:24.397Z] ---> 9beeefc8d863 [2023-03-27T22:53:24.397Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-27T22:53:24.397Z] ---> Running in 61901c567f1a [2023-03-27T22:53:24.397Z] Removing intermediate container 61901c567f1a [2023-03-27T22:53:24.397Z] ---> b63c4bb0fe28 [2023-03-27T22:53:24.397Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-27T22:53:24.397Z] ---> Running in fe4755afb45e [2023-03-27T22:53:24.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-27T22:53:24.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-27T22:53:25.181Z] OK: 272 MiB in 67 packages [2023-03-27T22:53:25.450Z] Removing intermediate container fe4755afb45e [2023-03-27T22:53:25.450Z] ---> 8aa9f5693c5b [2023-03-27T22:53:25.450Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-27T22:53:25.712Z] ---> Running in 79a40755a9a8 [2023-03-27T22:53:25.712Z] Removing intermediate container 79a40755a9a8 [2023-03-27T22:53:25.712Z] ---> c3c5b73391df [2023-03-27T22:53:25.712Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-27T22:53:25.970Z] ---> c4037b61f610 [2023-03-27T22:53:25.970Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-27T22:53:25.970Z] ---> Running in d6e1204923b9 [2023-03-27T22:53:26.908Z] Removing intermediate container d6e1204923b9 [2023-03-27T22:53:26.908Z] ---> d8faf30afa46 [2023-03-27T22:53:26.908Z] Step 11/35 : COPY . . [2023-03-27T22:53:27.167Z] ---> bff65e9e491f [2023-03-27T22:53:27.167Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-27T22:53:27.167Z] ---> Running in 9229b3b97202 [2023-03-27T22:53:27.427Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-27T22:53:27.427Z]  Dload Upload Total Spent Left Speed [2023-03-27T22:53:27.686Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 18563 0 --:--:-- --:--:-- --:--:-- 18964 [2023-03-27T22:53:27.944Z] Removing intermediate container 9229b3b97202 [2023-03-27T22:53:27.944Z] ---> f4f289340f95 [2023-03-27T22:53:27.944Z] Step 13/35 : RUN ${MAKE} [2023-03-27T22:53:27.944Z] ---> Running in 3f3a769c14f3 [2023-03-27T22:53:28.203Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-03-27T22:53:50.133Z] Removing intermediate container 3f3a769c14f3 [2023-03-27T22:53:50.133Z] ---> 742b776f7bfd [2023-03-27T22:53:50.133Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-27T22:53:50.133Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-27T22:53:50.133Z] 4acc49c71d14: Pulling fs layer [2023-03-27T22:53:50.133Z] 4acc49c71d14: Verifying Checksum [2023-03-27T22:53:50.133Z] 4acc49c71d14: Download complete [2023-03-27T22:53:50.133Z] 4acc49c71d14: Pull complete [2023-03-27T22:53:50.133Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-27T22:53:50.133Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-27T22:53:50.133Z] ---> 01a2bd3e5fff [2023-03-27T22:53:50.133Z] Step 15/35 : FROM alpine:3.17 [2023-03-27T22:53:50.133Z] 3.17: Pulling from library/alpine [2023-03-27T22:53:50.133Z] 63b65145d645: Already exists [2023-03-27T22:53:50.133Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-27T22:53:50.133Z] Status: Downloaded newer image for alpine:3.17 [2023-03-27T22:53:50.133Z] ---> b2aa39c304c2 [2023-03-27T22:53:50.133Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-27T22:53:50.133Z] ---> Running in 6caa8dcd1dbf [2023-03-27T22:53:50.133Z] Removing intermediate container 6caa8dcd1dbf [2023-03-27T22:53:50.133Z] ---> e3e89a7da062 [2023-03-27T22:53:50.133Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-27T22:53:50.133Z] ---> Running in 2798cb89d684 [2023-03-27T22:53:50.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-27T22:53:50.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-27T22:53:50.133Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-03-27T22:53:50.133Z] (2/86) Installing sdl2 (2.26.3-r0) [2023-03-27T22:53:50.133Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-03-27T22:53:50.133Z] (4/86) Installing libxau (1.0.10-r0) [2023-03-27T22:53:50.133Z] (5/86) Installing libmd (1.0.4-r0) [2023-03-27T22:53:50.133Z] (6/86) Installing libbsd (0.11.7-r0) [2023-03-27T22:53:50.133Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-03-27T22:53:50.133Z] (8/86) Installing libxcb (1.15-r0) [2023-03-27T22:53:50.133Z] (9/86) Installing libx11 (1.8.4-r0) [2023-03-27T22:53:50.133Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-03-27T22:53:50.393Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-03-27T22:53:50.393Z] (12/86) Installing libexpat (2.5.0-r0) [2023-03-27T22:53:50.393Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-03-27T22:53:50.393Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-03-27T22:53:50.393Z] (15/86) Installing libpng (1.6.38-r0) [2023-03-27T22:53:50.393Z] (16/86) Installing freetype (2.12.1-r0) [2023-03-27T22:53:50.393Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-03-27T22:53:50.393Z] (18/86) Installing fribidi (1.0.12-r0) [2023-03-27T22:53:50.393Z] (19/86) Installing libffi (3.4.4-r0) [2023-03-27T22:53:50.393Z] (20/86) Installing libintl (0.21.1-r1) [2023-03-27T22:53:50.393Z] (21/86) Installing libblkid (2.38.1-r1) [2023-03-27T22:53:50.393Z] (22/86) Installing libmount (2.38.1-r1) [2023-03-27T22:53:50.393Z] (23/86) Installing pcre2 (10.42-r0) [2023-03-27T22:53:50.393Z] (24/86) Installing glib (2.74.6-r0) [2023-03-27T22:53:50.393Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-03-27T22:53:50.393Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-03-27T22:53:50.393Z] (27/86) Installing libass (0.16.0-r1) [2023-03-27T22:53:50.393Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-03-27T22:53:50.393Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-03-27T22:53:50.393Z] (30/86) Installing libpciaccess (0.17-r0) [2023-03-27T22:53:50.393Z] (31/86) Installing libdrm (2.4.114-r0) [2023-03-27T22:53:50.393Z] (32/86) Installing gmp (6.2.1-r2) [2023-03-27T22:53:50.653Z] (33/86) Installing nettle (3.8.1-r0) [2023-03-27T22:53:50.653Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-03-27T22:53:50.653Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-03-27T22:53:50.653Z] (36/86) Installing libunistring (1.1-r0) [2023-03-27T22:53:50.653Z] (37/86) Installing gnutls (3.7.8-r3) [2023-03-27T22:53:50.653Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-03-27T22:53:50.653Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-03-27T22:53:50.653Z] (40/86) Installing lame (3.100-r2) [2023-03-27T22:53:50.653Z] (41/86) Installing opus (1.3.1-r1) [2023-03-27T22:53:50.653Z] (42/86) Installing libasyncns (0.8-r1) [2023-03-27T22:53:50.653Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-03-27T22:53:50.653Z] (44/86) Installing libltdl (2.4.7-r1) [2023-03-27T22:53:50.653Z] (45/86) Installing orc (0.4.33-r0) [2023-03-27T22:53:50.653Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-03-27T22:53:50.653Z] (47/86) Installing libogg (1.3.5-r2) [2023-03-27T22:53:50.653Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-03-27T22:53:50.653Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-03-27T22:53:50.653Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-03-27T22:53:50.653Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-03-27T22:53:50.653Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-03-27T22:53:50.653Z] (53/86) Installing soxr (0.1.3-r3) [2023-03-27T22:53:50.653Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-03-27T22:53:50.653Z] (55/86) Installing tdb-libs (1.4.7-r0) [2023-03-27T22:53:50.653Z] (56/86) Installing libpulse (16.1-r6) [2023-03-27T22:53:50.653Z] (57/86) Installing cjson (1.7.15-r3) [2023-03-27T22:53:50.653Z] (58/86) Installing mbedtls (2.28.2-r0) [2023-03-27T22:53:50.917Z] (59/86) Installing librist (0.2.7-r0) [2023-03-27T22:53:50.917Z] (60/86) Installing libsrt (1.5.1-r0) [2023-03-27T22:53:50.917Z] (61/86) Installing libssh (0.10.4-r0) [2023-03-27T22:53:50.917Z] (62/86) Installing libtheora (1.1.1-r16) [2023-03-27T22:53:50.917Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-03-27T22:53:50.917Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-03-27T22:53:50.917Z] (65/86) Installing libxext (1.3.5-r0) [2023-03-27T22:53:50.917Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-03-27T22:53:50.917Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-03-27T22:53:50.917Z] (68/86) Installing libva (2.16.0-r0) [2023-03-27T22:53:50.917Z] (69/86) Installing libvdpau (1.5-r0) [2023-03-27T22:53:50.917Z] (70/86) Installing vidstab (1.1.0-r2) [2023-03-27T22:53:50.917Z] (71/86) Installing libvpx (1.12.0-r1) [2023-03-27T22:53:50.917Z] (72/86) Installing libwebp (1.2.4-r1) [2023-03-27T22:53:50.917Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-03-27T22:53:50.917Z] (74/86) Installing numactl (2.0.16-r1) [2023-03-27T22:53:50.917Z] (75/86) Installing x265-libs (3.5-r3) [2023-03-27T22:53:51.180Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-03-27T22:53:51.180Z] (77/86) Installing libsodium (1.0.18-r2) [2023-03-27T22:53:51.180Z] (78/86) Installing libzmq (4.3.4-r1) [2023-03-27T22:53:51.180Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-03-27T22:53:51.180Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-03-27T22:53:51.180Z] (81/86) Installing udev-init-scripts (35-r1) [2023-03-27T22:53:51.180Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-03-27T22:53:51.180Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-03-27T22:53:51.180Z] (84/86) Installing zstd-libs (1.5.2-r9) [2023-03-27T22:53:51.180Z] (85/86) Installing kmod-libs (30-r1) [2023-03-27T22:53:51.180Z] (86/86) Installing eudev (3.2.11-r4) [2023-03-27T22:53:51.439Z] Executing busybox-1.35.0-r29.trigger [2023-03-27T22:53:51.439Z] Executing eudev-3.2.11-r4.trigger [2023-03-27T22:53:51.439Z] OK: 111 MiB in 101 packages [2023-03-27T22:53:53.342Z] Removing intermediate container 2798cb89d684 [2023-03-27T22:53:53.342Z] ---> 845a7ca3313c [2023-03-27T22:53:53.342Z] Step 18/35 : WORKDIR / [2023-03-27T22:53:53.342Z] ---> Running in 465eba02c828 [2023-03-27T22:53:53.342Z] Removing intermediate container 465eba02c828 [2023-03-27T22:53:53.342Z] ---> 8b0daf8c18c4 [2023-03-27T22:53:53.342Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-27T22:53:53.909Z] ---> 1b4458a1e802 [2023-03-27T22:53:53.909Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-27T22:53:54.168Z] ---> d84cd34b88d3 [2023-03-27T22:53:54.168Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-27T22:53:54.168Z] ---> 253b1a3946d7 [2023-03-27T22:53:54.168Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-27T22:53:54.427Z] ---> b8c6054f1050 [2023-03-27T22:53:54.427Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-27T22:53:54.690Z] ---> 1a4e621901a7 [2023-03-27T22:53:54.690Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-27T22:53:54.690Z] ---> 433d89252a68 [2023-03-27T22:53:54.690Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-27T22:53:55.263Z] ---> 0ddc5e114bd9 [2023-03-27T22:53:55.263Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-27T22:53:55.263Z] ---> Running in ac63009235f7 [2023-03-27T22:53:55.832Z] Removing intermediate container ac63009235f7 [2023-03-27T22:53:55.832Z] ---> 2b8e9426be43 [2023-03-27T22:53:55.832Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-27T22:53:56.091Z] ---> Running in efd387c04c7b [2023-03-27T22:53:56.660Z] Removing intermediate container efd387c04c7b [2023-03-27T22:53:56.660Z] ---> 5970a71ca42d [2023-03-27T22:53:56.660Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-27T22:53:56.660Z] ---> Running in 5052135345bb [2023-03-27T22:53:57.228Z] Removing intermediate container 5052135345bb [2023-03-27T22:53:57.228Z] ---> 043bbd0e3a2a [2023-03-27T22:53:57.228Z] Step 29/35 : EXPOSE 59983 [2023-03-27T22:53:57.228Z] ---> Running in 3efced14fd78 [2023-03-27T22:53:57.498Z] Removing intermediate container 3efced14fd78 [2023-03-27T22:53:57.498Z] ---> 62c06dbb20d8 [2023-03-27T22:53:57.498Z] Step 30/35 : EXPOSE 8554 [2023-03-27T22:53:57.498Z] ---> Running in a262a98f2e7f [2023-03-27T22:53:57.498Z] Removing intermediate container a262a98f2e7f [2023-03-27T22:53:57.498Z] ---> 9e86fc56f975 [2023-03-27T22:53:57.498Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-27T22:53:57.498Z] ---> Running in 07abac00be26 [2023-03-27T22:53:57.760Z] Removing intermediate container 07abac00be26 [2023-03-27T22:53:57.760Z] ---> d8b7c6e68efb [2023-03-27T22:53:57.760Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-27T22:53:57.760Z] ---> Running in 64c5c052021d [2023-03-27T22:53:57.760Z] Removing intermediate container 64c5c052021d [2023-03-27T22:53:57.760Z] ---> cf9041db9cdf [2023-03-27T22:53:57.760Z] Step 33/35 : LABEL arch=amd64 [2023-03-27T22:53:57.760Z] ---> Running in fec2c4c6957b [2023-03-27T22:53:58.019Z] Removing intermediate container fec2c4c6957b [2023-03-27T22:53:58.019Z] ---> 12ed2a9efddd [2023-03-27T22:53:58.019Z] Step 34/35 : LABEL git_sha=faca447585858b1691ff618b7f9210dde90137c5 [2023-03-27T22:53:58.019Z] ---> Running in 3be9474afff9 [2023-03-27T22:53:58.019Z] Removing intermediate container 3be9474afff9 [2023-03-27T22:53:58.019Z] ---> 0bfe5c8299b3 [2023-03-27T22:53:58.019Z] Step 35/35 : LABEL version=0.0.0 [2023-03-27T22:53:58.019Z] ---> Running in 257854862f88 [2023-03-27T22:53:58.278Z] Removing intermediate container 257854862f88 [2023-03-27T22:53:58.278Z] ---> 41a7bda7f43c [2023-03-27T22:53:58.278Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-27T22:53:58.278Z] Successfully built 41a7bda7f43c [2023-03-27T22:53:58.278Z] 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-03-27T22:53:58.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-27T22:53:58.724Z] [2023-03-27T22:53:58.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T22:53:59.024Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-27T22:53:59.024Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-27T22:53:59.024Z] 5eb5b503b376: Pulling fs layer [2023-03-27T22:53:59.024Z] 5c69ac0246d0: Pulling fs layer [2023-03-27T22:53:59.024Z] ec43610c2a17: Pulling fs layer [2023-03-27T22:53:59.024Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-27T22:53:59.024Z] 33b1e0a273af: Pulling fs layer [2023-03-27T22:53:59.024Z] 5d3b04190fa2: Pulling fs layer [2023-03-27T22:53:59.024Z] 2f39f015ded8: Pulling fs layer [2023-03-27T22:53:59.024Z] 5d3b04190fa2: Waiting [2023-03-27T22:53:59.024Z] 33b1e0a273af: Waiting [2023-03-27T22:53:59.024Z] 3a2ae6a8a46f: Waiting [2023-03-27T22:53:59.024Z] 2f39f015ded8: Waiting [2023-03-27T22:53:59.024Z] 5c69ac0246d0: Download complete [2023-03-27T22:53:59.024Z] 3a2ae6a8a46f: Download complete [2023-03-27T22:53:59.024Z] 33b1e0a273af: Verifying Checksum [2023-03-27T22:53:59.024Z] 33b1e0a273af: Download complete [2023-03-27T22:53:59.024Z] ec43610c2a17: Verifying Checksum [2023-03-27T22:53:59.024Z] ec43610c2a17: Download complete [2023-03-27T22:53:59.024Z] 5d3b04190fa2: Download complete [2023-03-27T22:53:59.283Z] 5eb5b503b376: Verifying Checksum [2023-03-27T22:53:59.283Z] 5eb5b503b376: Download complete [2023-03-27T22:53:59.851Z] 2f39f015ded8: Download complete [2023-03-27T22:54:00.418Z] 5eb5b503b376: Pull complete [2023-03-27T22:54:00.679Z] 5c69ac0246d0: Pull complete [2023-03-27T22:54:00.938Z] ec43610c2a17: Pull complete [2023-03-27T22:54:01.195Z] 3a2ae6a8a46f: Pull complete [2023-03-27T22:54:01.454Z] 33b1e0a273af: Pull complete [2023-03-27T22:54:01.454Z] 5d3b04190fa2: Pull complete [2023-03-27T22:54:05.638Z] 2f39f015ded8: Pull complete [2023-03-27T22:54:05.638Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-27T22:54:05.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-27T22:54:05.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-27T22:54:05.720Z] prd-ubuntu20.04-docker-8c-8g-5939 does not seem to be running inside a container [2023-03-27T22:54:05.749Z] $ 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-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-27T22:54:07.679Z] $ docker top fe718562bbc4c4552de5118b8397bc5c482df059cd40755f5f472add186e986e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-27T22:54:08.079Z] ---> job-cost.sh [2023-03-27T22:54:08.079Z] lf-activate-venv: SKIPPING [2023-03-27T22:54:08.079Z] INFO: No Stack... [2023-03-27T22:54:08.339Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-27T22:54:08.599Z] INFO: Archiving Costs [Pipeline] sh [2023-03-27T22:54:08.887Z] + cat /w/workspace/foundry_device-usb-camera_PR-203/archives/cost.csv [2023-03-27T22:54:08.887Z] + cut -d, -f6 [Pipeline] lock [2023-03-27T22:54:08.900Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-203-5-stack-cost] [2023-03-27T22:54:08.910Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-203-5-stack-cost] did not exist. Created. [2023-03-27T22:54:08.910Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-203-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-27T22:54:09.208Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-27T22:54:09.235Z] Stashed 1 file(s) [Pipeline] } [2023-03-27T22:54:09.240Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-203-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-27T22:54:09.259Z] $ docker stop --time=1 fe718562bbc4c4552de5118b8397bc5c482df059cd40755f5f472add186e986e [2023-03-27T22:54:10.419Z] $ docker rm -f --volumes fe718562bbc4c4552de5118b8397bc5c482df059cd40755f5f472add186e986e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-27T22:55:55.104Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5940 in /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] { [Pipeline] ws [2023-03-27T22:55:55.117Z] Running in /w/workspace/device-usb-camera/5 [Pipeline] { [Pipeline] checkout [2023-03-27T22:55:55.155Z] Selected Git installation does not exist. Using Default [2023-03-27T22:55:55.155Z] The recommended git tool is: NONE [2023-03-27T22:56:01.037Z] using credential edgex-jenkins-ssh [2023-03-27T22:56:01.056Z] Cloning the remote Git repository [2023-03-27T22:56:01.106Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-27T22:56:01.225Z] > git init /w/workspace/device-usb-camera/5 # timeout=10 [2023-03-27T22:56:01.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-27T22:56:01.381Z] > git --version # timeout=10 [2023-03-27T22:56:01.403Z] > git --version # 'git version 2.25.1' [2023-03-27T22:56:01.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-27T22:56:01.564Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-27T22:56:02.334Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-27T22:56:02.359Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-27T22:56:04.001Z] Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit faca447585858b1691ff618b7f9210dde90137c5 [2023-03-27T22:56:03.286Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-27T22:56:03.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-27T22:56:03.355Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-27T22:56:03.375Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-27T22:56:04.022Z] > git config core.sparsecheckout # timeout=10 [2023-03-27T22:56:04.338Z] Merge succeeded, producing faca447585858b1691ff618b7f9210dde90137c5 [2023-03-27T22:56:04.339Z] Checking out Revision faca447585858b1691ff618b7f9210dde90137c5 (PR-203) [2023-03-27T22:56:04.117Z] > git checkout -f faca447585858b1691ff618b7f9210dde90137c5 # timeout=10 [2023-03-27T22:56:04.223Z] > git remote # timeout=10 [2023-03-27T22:56:04.247Z] > git config --get remote.origin.url # timeout=10 [2023-03-27T22:56:04.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-27T22:56:04.282Z] > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 [2023-03-27T22:56:04.316Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-27T22:56:04.346Z] > git config core.sparsecheckout # timeout=10 [2023-03-27T22:56:04.363Z] > git checkout -f faca447585858b1691ff618b7f9210dde90137c5 # timeout=10 [2023-03-27T22:56:07.901Z] Commit message: "fix: resolved formatting issues in driver.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-27T22:56:08.770Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-27T22:56:08.770Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-27T22:56:08.770Z] Dload Upload Total Spent Left Speed [2023-03-27T22:56:08.770Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-03-27T22:56:09.444Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-27T22:56:09.777Z] + sudo tee /etc/docker/daemon.new [2023-03-27T22:56:09.777Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-27T22:56:09.777Z] { [2023-03-27T22:56:09.777Z] "registry-mirrors": [ [2023-03-27T22:56:09.777Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-27T22:56:09.777Z] ], [2023-03-27T22:56:09.777Z] "bip": "10.250.0.254/24", [2023-03-27T22:56:09.777Z] "hosts": [ [2023-03-27T22:56:09.777Z] "tcp://0.0.0.0:5555", [2023-03-27T22:56:09.777Z] "unix:///var/run/docker.sock" [2023-03-27T22:56:09.777Z] ], [2023-03-27T22:56:09.777Z] "mtu": 1458, [2023-03-27T22:56:09.777Z] "selinux-enabled": true, [2023-03-27T22:56:09.777Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-27T22:56:09.777Z] } [Pipeline] sh [2023-03-27T22:56:10.115Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-27T22:56:10.442Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-27T22:56:28.713Z] provisioning config files... [2023-03-27T22:56:28.742Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/5@tmp/config10415960893674439266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-27T22:56:29.097Z] ---> docker-login.sh [2023-03-27T22:56:29.097Z] nexus3.edgexfoundry.org:10001 [2023-03-27T22:56:29.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:56:29.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:56:29.959Z] Configure a credential helper to remove this warning. See [2023-03-27T22:56:29.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:56:29.959Z] [2023-03-27T22:56:29.959Z] Login Succeeded [2023-03-27T22:56:29.959Z] nexus3.edgexfoundry.org:10002 [2023-03-27T22:56:30.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:56:30.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:56:30.229Z] Configure a credential helper to remove this warning. See [2023-03-27T22:56:30.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:56:30.229Z] [2023-03-27T22:56:30.229Z] Login Succeeded [2023-03-27T22:56:30.229Z] nexus3.edgexfoundry.org:10003 [2023-03-27T22:56:30.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:56:30.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:56:30.769Z] Configure a credential helper to remove this warning. See [2023-03-27T22:56:30.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:56:30.769Z] [2023-03-27T22:56:30.769Z] Login Succeeded [2023-03-27T22:56:30.769Z] nexus3.edgexfoundry.org:10004 [2023-03-27T22:56:31.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:56:31.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:56:31.038Z] Configure a credential helper to remove this warning. See [2023-03-27T22:56:31.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:56:31.038Z] [2023-03-27T22:56:31.038Z] Login Succeeded [2023-03-27T22:56:31.038Z] docker.io [2023-03-27T22:56:31.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-27T22:56:31.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-27T22:56:31.579Z] Configure a credential helper to remove this warning. See [2023-03-27T22:56:31.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-27T22:56:31.579Z] [2023-03-27T22:56:31.579Z] Login Succeeded [2023-03-27T22:56:31.579Z] ---> docker-login.sh ends [Pipeline] } [2023-03-27T22:56:31.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-27T22:56:31.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-27T22:56:31.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-27T22:56:31.880Z] ========================================================= [2023-03-27T22:56:31.880Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-27T22:56:31.880Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T22:56:32.237Z] + 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-03-27T22:56:33.211Z] Sending build context to Docker daemon 1.295MB [2023-03-27T22:56:33.211Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-27T22:56:33.211Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-27T22:56:33.211Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-27T22:56:33.211Z] af6eaf76a39c: Pulling fs layer [2023-03-27T22:56:33.211Z] 55522c791124: Pulling fs layer [2023-03-27T22:56:33.211Z] ce5c4a1c91eb: Pulling fs layer [2023-03-27T22:56:33.211Z] 169dfbe0d373: Pulling fs layer [2023-03-27T22:56:33.211Z] e1ff8fa3b103: Pulling fs layer [2023-03-27T22:56:33.211Z] 52ebb69f0ebf: Pulling fs layer [2023-03-27T22:56:33.211Z] 5abe8eddf0d5: Pulling fs layer [2023-03-27T22:56:33.211Z] e1ff8fa3b103: Waiting [2023-03-27T22:56:33.211Z] 52ebb69f0ebf: Waiting [2023-03-27T22:56:33.211Z] 5abe8eddf0d5: Waiting [2023-03-27T22:56:33.211Z] 55522c791124: Verifying Checksum [2023-03-27T22:56:33.211Z] 55522c791124: Download complete [2023-03-27T22:56:33.211Z] 169dfbe0d373: Verifying Checksum [2023-03-27T22:56:33.211Z] 169dfbe0d373: Download complete [2023-03-27T22:56:33.211Z] e1ff8fa3b103: Verifying Checksum [2023-03-27T22:56:33.211Z] e1ff8fa3b103: Download complete [2023-03-27T22:56:33.211Z] af6eaf76a39c: Verifying Checksum [2023-03-27T22:56:33.211Z] af6eaf76a39c: Download complete [2023-03-27T22:56:34.188Z] af6eaf76a39c: Pull complete [2023-03-27T22:56:34.780Z] 55522c791124: Pull complete [2023-03-27T22:56:35.055Z] 5abe8eddf0d5: Verifying Checksum [2023-03-27T22:56:35.055Z] 5abe8eddf0d5: Download complete [2023-03-27T22:56:35.643Z] ce5c4a1c91eb: Verifying Checksum [2023-03-27T22:56:35.643Z] ce5c4a1c91eb: Download complete [2023-03-27T22:56:35.643Z] 52ebb69f0ebf: Verifying Checksum [2023-03-27T22:56:35.643Z] 52ebb69f0ebf: Download complete [2023-03-27T22:56:47.980Z] ce5c4a1c91eb: Pull complete [2023-03-27T22:56:47.980Z] 169dfbe0d373: Pull complete [2023-03-27T22:56:47.980Z] e1ff8fa3b103: Pull complete [2023-03-27T22:56:53.342Z] 52ebb69f0ebf: Pull complete [2023-03-27T22:56:55.945Z] 5abe8eddf0d5: Pull complete [2023-03-27T22:56:55.945Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-27T22:56:55.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-27T22:56:55.945Z] ---> 6cb57ee374ae [2023-03-27T22:56:55.945Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-27T22:56:57.374Z] ---> Running in e1098ef92607 [2023-03-27T22:56:57.963Z] Removing intermediate container e1098ef92607 [2023-03-27T22:56:57.963Z] ---> cf66080620e8 [2023-03-27T22:56:57.963Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-27T22:56:57.963Z] ---> Running in 88719599dccd [2023-03-27T22:56:58.232Z] Removing intermediate container 88719599dccd [2023-03-27T22:56:58.233Z] ---> cf97a447a297 [2023-03-27T22:56:58.233Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-27T22:56:58.233Z] ---> Running in a6a2ad4f2def [2023-03-27T22:56:58.501Z] Removing intermediate container a6a2ad4f2def [2023-03-27T22:56:58.501Z] ---> c55922aa9d97 [2023-03-27T22:56:58.501Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-27T22:56:58.770Z] ---> Running in 06f31ab9b0c5 [2023-03-27T22:56:59.039Z] Removing intermediate container 06f31ab9b0c5 [2023-03-27T22:56:59.039Z] ---> a7ec5819ac18 [2023-03-27T22:56:59.039Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-27T22:56:59.039Z] ---> Running in 23f2c37ebab4 [2023-03-27T22:57:00.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-27T22:57:00.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-27T22:57:01.680Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-27T22:57:01.680Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-27T22:57:01.680Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-27T22:57:01.680Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-27T22:57:01.680Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-27T22:57:01.948Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-27T22:57:01.948Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-27T22:57:01.948Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-27T22:57:01.948Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-27T22:57:01.948Z] (10/14) Installing kmod-libs (30-r1) [2023-03-27T22:57:01.948Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-27T22:57:01.948Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-27T22:57:01.948Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-27T22:57:02.218Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-27T22:57:02.218Z] Executing busybox-1.35.0-r29.trigger [2023-03-27T22:57:02.218Z] Executing eudev-3.2.11-r4.trigger [2023-03-27T22:57:02.218Z] OK: 271 MiB in 67 packages [2023-03-27T22:57:03.631Z] Removing intermediate container 23f2c37ebab4 [2023-03-27T22:57:03.631Z] ---> f0aea7c2d157 [2023-03-27T22:57:03.631Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-27T22:57:03.631Z] ---> Running in 5c92cd13dc52 [2023-03-27T22:57:03.899Z] Removing intermediate container 5c92cd13dc52 [2023-03-27T22:57:03.899Z] ---> 7a3d02842b8e [2023-03-27T22:57:03.899Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-27T22:57:04.483Z] ---> ee19d6d633fd [2023-03-27T22:57:04.483Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-27T22:57:04.483Z] ---> Running in 9a81b3e8bf2e [2023-03-27T22:58:12.365Z] Removing intermediate container 9a81b3e8bf2e [2023-03-27T22:58:12.365Z] ---> f2bc7a483bf6 [2023-03-27T22:58:12.365Z] Step 11/13 : COPY . . [2023-03-27T22:58:12.365Z] ---> 18d7610bd941 [2023-03-27T22:58:12.365Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-27T22:58:12.365Z] ---> Running in 2034b4ac59ca [2023-03-27T22:58:12.365Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-27T22:58:12.365Z] Dload Upload Total Spent Left Speed [2023-03-27T22:58:12.365Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2730 0 --:--:-- --:--:-- --:--:-- 2737 [2023-03-27T22:58:12.365Z] Removing intermediate container 2034b4ac59ca [2023-03-27T22:58:12.365Z] ---> 2ff2c1cb8c99 [2023-03-27T22:58:12.365Z] Step 13/13 : RUN ${MAKE} [2023-03-27T22:58:12.365Z] ---> Running in bc2bf64c9935 [2023-03-27T22:58:12.365Z] noop [2023-03-27T22:58:12.952Z] Removing intermediate container bc2bf64c9935 [2023-03-27T22:58:12.952Z] ---> d46dc1ca1084 [2023-03-27T22:58:12.952Z] Successfully built d46dc1ca1084 [2023-03-27T22:58:12.952Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T22:58:13.303Z] + docker inspect -f . ci-base-image-arm64 [2023-03-27T22:58:13.303Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-27T22:58:13.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-5940 does not seem to be running inside a container [2023-03-27T22:58:13.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/5 -v /w/workspace/device-usb-camera/5:/w/workspace/device-usb-camera/5:rw,z -v /w/workspace/device-usb-camera/5@tmp:/w/workspace/device-usb-camera/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-27T22:58:15.721Z] $ docker top 088935b4c1fc1069ba58694ebbfd8b709f8264c6e8a3d6d5e011ce7ff6c3d1ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-27T22:58:16.538Z] + go version [2023-03-27T22:58:16.538Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-27T22:58:16.568Z] $ docker stop --time=1 088935b4c1fc1069ba58694ebbfd8b709f8264c6e8a3d6d5e011ce7ff6c3d1ad [2023-03-27T22:58:18.220Z] $ docker rm -f --volumes 088935b4c1fc1069ba58694ebbfd8b709f8264c6e8a3d6d5e011ce7ff6c3d1ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T22:58:18.770Z] + docker inspect -f . ci-base-image-arm64 [2023-03-27T22:58:18.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-27T22:58:18.933Z] prd-ubuntu20.04-docker-arm64-4c-16g-5940 does not seem to be running inside a container [2023-03-27T22:58:19.016Z] $ 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/5 -v /w/workspace/device-usb-camera/5:/w/workspace/device-usb-camera/5:rw,z -v /w/workspace/device-usb-camera/5@tmp:/w/workspace/device-usb-camera/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-27T22:58:20.188Z] $ docker top 1178e3fefea38d6554679fcd4dfcb172213624e3363226f3cba6503482610a90 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-27T22:58:20.994Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/5 [Pipeline] fileExists [Pipeline] sh [2023-03-27T22:58:21.637Z] + make test [2023-03-27T22:58:21.637Z] go test ./... -coverprofile=coverage.out ./... [2023-03-27T22:58:54.820Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-27T23:01:01.512Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-27T23:01:01.512Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.063s coverage: 2.0% of statements [2023-03-27T23:01:01.512Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-27T23:01:01.512Z] go vet ./... [2023-03-27T23:01:40.470Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-27T23:01:40.470Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-27T23:01:40.470Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-27T23:01:40.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-27T23:01:40.511Z] $ docker stop --time=1 1178e3fefea38d6554679fcd4dfcb172213624e3363226f3cba6503482610a90 [2023-03-27T23:01:42.251Z] $ docker rm -f --volumes 1178e3fefea38d6554679fcd4dfcb172213624e3363226f3cba6503482610a90 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-27T23:01:43.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-27T23:01:43.376Z] Warning: overwriting stash ‘coverage-report’ [2023-03-27T23:01:43.856Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-27T23:01:44.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-27T23:01:44.598Z] + ls -al . [2023-03-27T23:01:44.598Z] total 184 [2023-03-27T23:01:44.598Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 27 22:58 . [2023-03-27T23:01:44.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 22:56 .. [2023-03-27T23:01:44.598Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 22:56 .git [2023-03-27T23:01:44.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 22:56 .github [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 27 22:56 .gitignore [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 27 22:56 .golangci.yml [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 27 22:56 .hadolint.yml [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 9535 Mar 27 22:56 Attribution.txt [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 27 22:56 CHANGELOG.md [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 27 22:56 Dockerfile [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 27 22:56 GOVERNANCE.md [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 27 22:56 Jenkinsfile [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 27 22:56 LICENSE [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 2364 Mar 27 22:56 Makefile [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 27 22:56 OWNERS.md [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 5681 Mar 27 22:56 README.md [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 22:52 VERSION [2023-03-27T23:01:44.598Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 22:56 bin [2023-03-27T23:01:44.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 22:56 cmd [2023-03-27T23:01:44.598Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 27 23:01 coverage.out [2023-03-27T23:01:44.598Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 27 22:56 docker-entrypoint.sh [2023-03-27T23:01:44.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 22:56 docs [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 3440 Mar 27 22:56 go.mod [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 31313 Mar 27 22:56 go.sum [2023-03-27T23:01:44.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 22:56 internal [2023-03-27T23:01:44.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 22:56 snap [2023-03-27T23:01:44.598Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 27 22:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T23:01:44.958Z] + 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=faca447585858b1691ff618b7f9210dde90137c5 --label arch=arm64 --label version=0.0.0 . [2023-03-27T23:01:45.237Z] Sending build context to Docker daemon 1.324MB [2023-03-27T23:01:45.237Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-03-27T23:01:45.237Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-27T23:01:45.237Z] ---> d46dc1ca1084 [2023-03-27T23:01:45.237Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-27T23:01:46.225Z] ---> Running in 360c04b96c83 [2023-03-27T23:01:46.225Z] Removing intermediate container 360c04b96c83 [2023-03-27T23:01:46.225Z] ---> b0d706e23b64 [2023-03-27T23:01:46.225Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-27T23:01:46.519Z] ---> Running in 55d7ac86f6f6 [2023-03-27T23:01:46.791Z] Removing intermediate container 55d7ac86f6f6 [2023-03-27T23:01:46.791Z] ---> 3448ee82726c [2023-03-27T23:01:46.792Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-27T23:01:46.792Z] ---> Running in db871625f4b9 [2023-03-27T23:01:47.059Z] Removing intermediate container db871625f4b9 [2023-03-27T23:01:47.059Z] ---> 2bd8035f5088 [2023-03-27T23:01:47.059Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-27T23:01:47.059Z] ---> Running in 2208084e5ad5 [2023-03-27T23:01:47.327Z] Removing intermediate container 2208084e5ad5 [2023-03-27T23:01:47.327Z] ---> 560e3c52c53f [2023-03-27T23:01:47.327Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-27T23:01:47.602Z] ---> Running in 33291615e2dd [2023-03-27T23:01:48.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-27T23:01:49.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-27T23:01:50.122Z] OK: 271 MiB in 67 packages [2023-03-27T23:01:51.093Z] Removing intermediate container 33291615e2dd [2023-03-27T23:01:51.093Z] ---> de9a8aab9ec4 [2023-03-27T23:01:51.093Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-27T23:01:51.093Z] ---> Running in 185cb3ca9a6d [2023-03-27T23:01:51.683Z] Removing intermediate container 185cb3ca9a6d [2023-03-27T23:01:51.683Z] ---> fa5e07226a08 [2023-03-27T23:01:51.683Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-27T23:01:51.955Z] ---> 478f9d8bafcf [2023-03-27T23:01:51.955Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-27T23:01:52.226Z] ---> Running in 4ace4aadc2ed [2023-03-27T23:01:54.831Z] Removing intermediate container 4ace4aadc2ed [2023-03-27T23:01:54.831Z] ---> 3a3a0129a29d [2023-03-27T23:01:54.831Z] Step 11/35 : COPY . . [2023-03-27T23:01:55.802Z] ---> e0c54ea14b76 [2023-03-27T23:01:55.802Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-27T23:01:55.802Z] ---> Running in a25a167bb775 [2023-03-27T23:01:56.768Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-27T23:01:56.768Z]  Dload Upload Total Spent Left Speed [2023-03-27T23:01:57.037Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3929 0 --:--:-- --:--:-- --:--:-- 3933 [2023-03-27T23:01:58.020Z] Removing intermediate container a25a167bb775 [2023-03-27T23:01:58.020Z] ---> c252ba6f5dd9 [2023-03-27T23:01:58.020Z] Step 13/35 : RUN ${MAKE} [2023-03-27T23:01:58.020Z] ---> Running in f527740cb38c [2023-03-27T23:01:58.985Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-03-27T23:04:20.704Z] Removing intermediate container f527740cb38c [2023-03-27T23:04:20.704Z] ---> 9a7a1da385e0 [2023-03-27T23:04:20.704Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-27T23:04:20.704Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-27T23:04:20.704Z] 8766b47fe142: Pulling fs layer [2023-03-27T23:04:20.704Z] 8766b47fe142: Verifying Checksum [2023-03-27T23:04:20.704Z] 8766b47fe142: Download complete [2023-03-27T23:04:20.704Z] 8766b47fe142: Pull complete [2023-03-27T23:04:20.704Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-27T23:04:20.704Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-27T23:04:20.704Z] ---> 69d40e2cb93c [2023-03-27T23:04:20.704Z] Step 15/35 : FROM alpine:3.17 [2023-03-27T23:04:21.289Z] 3.17: Pulling from library/alpine [2023-03-27T23:04:21.289Z] af6eaf76a39c: Already exists [2023-03-27T23:04:21.558Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-27T23:04:21.559Z] Status: Downloaded newer image for alpine:3.17 [2023-03-27T23:04:21.559Z] ---> d74e625d9115 [2023-03-27T23:04:21.559Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-27T23:04:21.559Z] ---> Running in 689ade4b84d5 [2023-03-27T23:04:21.828Z] Removing intermediate container 689ade4b84d5 [2023-03-27T23:04:21.828Z] ---> 9a161de67c86 [2023-03-27T23:04:21.828Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-27T23:04:22.095Z] ---> Running in cf0af07950e7 [2023-03-27T23:04:23.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-27T23:04:23.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-27T23:04:24.592Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-03-27T23:04:24.592Z] (2/83) Installing sdl2 (2.26.3-r0) [2023-03-27T23:04:24.592Z] (3/83) Installing libxau (1.0.10-r0) [2023-03-27T23:04:24.592Z] (4/83) Installing libmd (1.0.4-r0) [2023-03-27T23:04:24.592Z] (5/83) Installing libbsd (0.11.7-r0) [2023-03-27T23:04:24.592Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-03-27T23:04:24.592Z] (7/83) Installing libxcb (1.15-r0) [2023-03-27T23:04:24.857Z] (8/83) Installing libx11 (1.8.4-r0) [2023-03-27T23:04:24.857Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-03-27T23:04:25.125Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-03-27T23:04:25.125Z] (11/83) Installing libexpat (2.5.0-r0) [2023-03-27T23:04:25.125Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-03-27T23:04:25.125Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-03-27T23:04:25.125Z] (14/83) Installing libpng (1.6.38-r0) [2023-03-27T23:04:25.125Z] (15/83) Installing freetype (2.12.1-r0) [2023-03-27T23:04:25.125Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-03-27T23:04:25.125Z] (17/83) Installing fribidi (1.0.12-r0) [2023-03-27T23:04:25.391Z] (18/83) Installing libffi (3.4.4-r0) [2023-03-27T23:04:25.391Z] (19/83) Installing libintl (0.21.1-r1) [2023-03-27T23:04:25.391Z] (20/83) Installing libblkid (2.38.1-r1) [2023-03-27T23:04:25.391Z] (21/83) Installing libmount (2.38.1-r1) [2023-03-27T23:04:25.391Z] (22/83) Installing pcre2 (10.42-r0) [2023-03-27T23:04:25.391Z] (23/83) Installing glib (2.74.6-r0) [2023-03-27T23:04:25.391Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-03-27T23:04:25.391Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-03-27T23:04:25.391Z] (26/83) Installing libass (0.16.0-r1) [2023-03-27T23:04:25.391Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-03-27T23:04:25.391Z] (28/83) Installing libdrm (2.4.114-r0) [2023-03-27T23:04:25.659Z] (29/83) Installing gmp (6.2.1-r2) [2023-03-27T23:04:25.659Z] (30/83) Installing nettle (3.8.1-r0) [2023-03-27T23:04:25.659Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-03-27T23:04:25.659Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-03-27T23:04:25.659Z] (33/83) Installing libunistring (1.1-r0) [2023-03-27T23:04:25.659Z] (34/83) Installing gnutls (3.7.8-r3) [2023-03-27T23:04:25.659Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-03-27T23:04:25.659Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-03-27T23:04:25.659Z] (37/83) Installing lame (3.100-r2) [2023-03-27T23:04:25.660Z] (38/83) Installing opus (1.3.1-r1) [2023-03-27T23:04:25.660Z] (39/83) Installing libasyncns (0.8-r1) [2023-03-27T23:04:25.927Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-03-27T23:04:25.927Z] (41/83) Installing libltdl (2.4.7-r1) [2023-03-27T23:04:25.927Z] (42/83) Installing orc (0.4.33-r0) [2023-03-27T23:04:25.927Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-03-27T23:04:25.927Z] (44/83) Installing libogg (1.3.5-r2) [2023-03-27T23:04:25.927Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-03-27T23:04:25.927Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-03-27T23:04:25.927Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-03-27T23:04:25.927Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-03-27T23:04:25.927Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-03-27T23:04:25.927Z] (50/83) Installing soxr (0.1.3-r3) [2023-03-27T23:04:25.927Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-03-27T23:04:25.927Z] (52/83) Installing tdb-libs (1.4.7-r0) [2023-03-27T23:04:25.927Z] (53/83) Installing libpulse (16.1-r6) [2023-03-27T23:04:26.193Z] (54/83) Installing cjson (1.7.15-r3) [2023-03-27T23:04:26.193Z] (55/83) Installing mbedtls (2.28.2-r0) [2023-03-27T23:04:26.193Z] (56/83) Installing librist (0.2.7-r0) [2023-03-27T23:04:26.193Z] (57/83) Installing libsrt (1.5.1-r0) [2023-03-27T23:04:26.193Z] (58/83) Installing libssh (0.10.4-r0) [2023-03-27T23:04:26.193Z] (59/83) Installing libtheora (1.1.1-r16) [2023-03-27T23:04:26.193Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-03-27T23:04:26.193Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-03-27T23:04:26.193Z] (62/83) Installing libxext (1.3.5-r0) [2023-03-27T23:04:26.193Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-03-27T23:04:26.193Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-03-27T23:04:26.193Z] (65/83) Installing libva (2.16.0-r0) [2023-03-27T23:04:26.193Z] (66/83) Installing libvdpau (1.5-r0) [2023-03-27T23:04:26.193Z] (67/83) Installing vidstab (1.1.0-r2) [2023-03-27T23:04:26.193Z] (68/83) Installing libvpx (1.12.0-r1) [2023-03-27T23:04:26.460Z] (69/83) Installing libwebp (1.2.4-r1) [2023-03-27T23:04:26.460Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-03-27T23:04:26.460Z] (71/83) Installing numactl (2.0.16-r1) [2023-03-27T23:04:26.460Z] (72/83) Installing x265-libs (3.5-r3) [2023-03-27T23:04:26.727Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-03-27T23:04:26.727Z] (74/83) Installing libsodium (1.0.18-r2) [2023-03-27T23:04:26.727Z] (75/83) Installing libzmq (4.3.4-r1) [2023-03-27T23:04:26.727Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-03-27T23:04:27.313Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-03-27T23:04:27.313Z] (78/83) Installing udev-init-scripts (35-r1) [2023-03-27T23:04:27.313Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-03-27T23:04:27.313Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-03-27T23:04:27.313Z] (81/83) Installing zstd-libs (1.5.2-r9) [2023-03-27T23:04:27.313Z] (82/83) Installing kmod-libs (30-r1) [2023-03-27T23:04:27.313Z] (83/83) Installing eudev (3.2.11-r4) [2023-03-27T23:04:27.313Z] Executing busybox-1.35.0-r29.trigger [2023-03-27T23:04:27.313Z] Executing eudev-3.2.11-r4.trigger [2023-03-27T23:04:27.313Z] OK: 86 MiB in 98 packages [2023-03-27T23:04:30.661Z] Removing intermediate container cf0af07950e7 [2023-03-27T23:04:30.661Z] ---> 393b78dbce4f [2023-03-27T23:04:30.661Z] Step 18/35 : WORKDIR / [2023-03-27T23:04:30.661Z] ---> Running in df70d8726f9c [2023-03-27T23:04:30.929Z] Removing intermediate container df70d8726f9c [2023-03-27T23:04:30.929Z] ---> 061f82f3436e [2023-03-27T23:04:30.929Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-27T23:04:32.345Z] ---> 0c74d5a83aa6 [2023-03-27T23:04:32.345Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-27T23:04:32.617Z] ---> 1058aed8df47 [2023-03-27T23:04:32.617Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-27T23:04:33.202Z] ---> 8a25ae0411f5 [2023-03-27T23:04:33.202Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-27T23:04:33.784Z] ---> 87c6bc3f96f2 [2023-03-27T23:04:33.784Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-27T23:04:34.051Z] ---> f2227107b9a7 [2023-03-27T23:04:34.051Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-27T23:04:34.639Z] ---> be1b0216fc7f [2023-03-27T23:04:34.639Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-27T23:04:37.983Z] ---> f6dcd1510bef [2023-03-27T23:04:37.983Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-27T23:04:37.983Z] ---> Running in b03c1cc8d235 [2023-03-27T23:04:39.391Z] Removing intermediate container b03c1cc8d235 [2023-03-27T23:04:39.391Z] ---> c24cc8a98657 [2023-03-27T23:04:39.391Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-27T23:04:39.391Z] ---> Running in baad23462eb9 [2023-03-27T23:04:40.803Z] Removing intermediate container baad23462eb9 [2023-03-27T23:04:40.803Z] ---> 0de099813ff7 [2023-03-27T23:04:40.803Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-27T23:04:41.075Z] ---> Running in 77b32a6f4901 [2023-03-27T23:04:43.026Z] Removing intermediate container 77b32a6f4901 [2023-03-27T23:04:43.026Z] ---> dbe51a78c80b [2023-03-27T23:04:43.026Z] Step 29/35 : EXPOSE 59983 [2023-03-27T23:04:43.026Z] ---> Running in 0ea32e443810 [2023-03-27T23:04:43.026Z] Removing intermediate container 0ea32e443810 [2023-03-27T23:04:43.026Z] ---> 3dd56ac13428 [2023-03-27T23:04:43.026Z] Step 30/35 : EXPOSE 8554 [2023-03-27T23:04:43.026Z] ---> Running in 3ab0f7aec73e [2023-03-27T23:04:43.293Z] Removing intermediate container 3ab0f7aec73e [2023-03-27T23:04:43.293Z] ---> 6ed2889acfcc [2023-03-27T23:04:43.293Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-27T23:04:43.559Z] ---> Running in 3f8d358368ed [2023-03-27T23:04:43.828Z] Removing intermediate container 3f8d358368ed [2023-03-27T23:04:43.828Z] ---> e99461635e83 [2023-03-27T23:04:43.828Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-27T23:04:43.828Z] ---> Running in 5abd71a752b2 [2023-03-27T23:04:44.097Z] Removing intermediate container 5abd71a752b2 [2023-03-27T23:04:44.097Z] ---> d52d748d188f [2023-03-27T23:04:44.097Z] Step 33/35 : LABEL arch=arm64 [2023-03-27T23:04:44.097Z] ---> Running in 8d535bc9d65f [2023-03-27T23:04:44.687Z] Removing intermediate container 8d535bc9d65f [2023-03-27T23:04:44.687Z] ---> 3e16e17d3a9e [2023-03-27T23:04:44.687Z] Step 34/35 : LABEL git_sha=faca447585858b1691ff618b7f9210dde90137c5 [2023-03-27T23:04:44.687Z] ---> Running in fb5f460ef806 [2023-03-27T23:04:44.955Z] Removing intermediate container fb5f460ef806 [2023-03-27T23:04:44.955Z] ---> 8499ca8a69ce [2023-03-27T23:04:44.955Z] Step 35/35 : LABEL version=0.0.0 [2023-03-27T23:04:44.955Z] ---> Running in 1ea80f884a47 [2023-03-27T23:04:45.223Z] Removing intermediate container 1ea80f884a47 [2023-03-27T23:04:45.223Z] ---> b2fe00b01f46 [2023-03-27T23:04:45.223Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-27T23:04:45.223Z] Successfully built b2fe00b01f46 [2023-03-27T23:04:45.223Z] 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-03-27T23:04:45.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-27T23:04:45.646Z] [2023-03-27T23:04:45.646Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T23:04:45.991Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-27T23:04:45.991Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-27T23:04:45.991Z] 8998bd30e6a1: Pulling fs layer [2023-03-27T23:04:45.991Z] 04944245beec: Pulling fs layer [2023-03-27T23:04:45.991Z] 699f458cf7ca: Pulling fs layer [2023-03-27T23:04:45.991Z] 765212b225bb: Pulling fs layer [2023-03-27T23:04:45.991Z] f23df028b6ca: Pulling fs layer [2023-03-27T23:04:45.991Z] d65c8cfc05b1: Pulling fs layer [2023-03-27T23:04:45.991Z] 2437ff75d9bd: Pulling fs layer [2023-03-27T23:04:45.991Z] 765212b225bb: Waiting [2023-03-27T23:04:45.991Z] f23df028b6ca: Waiting [2023-03-27T23:04:45.991Z] d65c8cfc05b1: Waiting [2023-03-27T23:04:45.991Z] 2437ff75d9bd: Waiting [2023-03-27T23:04:46.264Z] 04944245beec: Verifying Checksum [2023-03-27T23:04:46.264Z] 04944245beec: Download complete [2023-03-27T23:04:46.264Z] 765212b225bb: Verifying Checksum [2023-03-27T23:04:46.264Z] 765212b225bb: Download complete [2023-03-27T23:04:46.264Z] f23df028b6ca: Download complete [2023-03-27T23:04:46.264Z] d65c8cfc05b1: Verifying Checksum [2023-03-27T23:04:46.264Z] d65c8cfc05b1: Download complete [2023-03-27T23:04:46.532Z] 699f458cf7ca: Download complete [2023-03-27T23:04:46.798Z] 8998bd30e6a1: Verifying Checksum [2023-03-27T23:04:46.798Z] 8998bd30e6a1: Download complete [2023-03-27T23:04:49.381Z] 2437ff75d9bd: Verifying Checksum [2023-03-27T23:04:49.381Z] 2437ff75d9bd: Download complete [2023-03-27T23:04:50.797Z] 8998bd30e6a1: Pull complete [2023-03-27T23:04:51.380Z] 04944245beec: Pull complete [2023-03-27T23:04:52.787Z] 699f458cf7ca: Pull complete [2023-03-27T23:04:52.787Z] 765212b225bb: Pull complete [2023-03-27T23:04:53.746Z] f23df028b6ca: Pull complete [2023-03-27T23:04:53.746Z] d65c8cfc05b1: Pull complete [2023-03-27T23:05:08.746Z] 2437ff75d9bd: Pull complete [2023-03-27T23:05:08.746Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-27T23:05:08.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-27T23:05:08.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-27T23:05:08.922Z] prd-ubuntu20.04-docker-arm64-4c-16g-5940 does not seem to be running inside a container [2023-03-27T23:05:08.996Z] $ 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/5 -v /w/workspace/device-usb-camera/5:/w/workspace/device-usb-camera/5:rw,z -v /w/workspace/device-usb-camera/5@tmp:/w/workspace/device-usb-camera/5@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-27T23:05:11.501Z] $ docker top 62b1a409b5f15f341044aa9dc9e4b3e9ae9f1def4004945b6f1cad8605e98af7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-27T23:05:12.314Z] ---> job-cost.sh [2023-03-27T23:05:12.314Z] lf-activate-venv: SKIPPING [2023-03-27T23:05:12.314Z] INFO: No Stack... [2023-03-27T23:05:12.580Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-27T23:05:13.536Z] INFO: Archiving Costs [Pipeline] sh [2023-03-27T23:05:13.858Z] + cat /w/workspace/device-usb-camera/5/archives/cost.csv [2023-03-27T23:05:13.858Z] + cut -d, -f6 [Pipeline] lock [2023-03-27T23:05:14.190Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-203-5-stack-cost] [2023-03-27T23:05:14.199Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-203-5-stack-cost] did not exist. Created. [2023-03-27T23:05:14.200Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-203-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-27T23:05:14.851Z] /w/workspace/device-usb-camera/5@tmp/durable-63f60816/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-27T23:05:15.503Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-27T23:05:15.526Z] Warning: overwriting stash ‘stack-cost’ [2023-03-27T23:05:15.572Z] Stashed 1 file(s) [Pipeline] } [2023-03-27T23:05:15.581Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-203-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-27T23:05:15.611Z] $ docker stop --time=1 62b1a409b5f15f341044aa9dc9e4b3e9ae9f1def4004945b6f1cad8605e98af7 [2023-03-27T23:05:17.096Z] $ docker rm -f --volumes 62b1a409b5f15f341044aa9dc9e4b3e9ae9f1def4004945b6f1cad8605e98af7 [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-03-27T23:05:17.452Z] provisioning config files... [2023-03-27T23:05:17.459Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config6844207305814563589tmp [Pipeline] { [Pipeline] sh [2023-03-27T23:05:17.747Z] + set +x [2023-03-27T23:05:17.747Z] + curl -s https://codecov.io/bash+ [2023-03-27T23:05:17.747Z] bash -s -- [2023-03-27T23:05:17.747Z] [2023-03-27T23:05:17.747Z] _____ _ [2023-03-27T23:05:17.747Z] / ____| | | [2023-03-27T23:05:17.747Z] | | ___ __| | ___ ___ _____ __ [2023-03-27T23:05:17.747Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-27T23:05:17.747Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-27T23:05:17.747Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-27T23:05:17.747Z] Bash-1.0.6 [2023-03-27T23:05:17.747Z] [2023-03-27T23:05:17.747Z] [2023-03-27T23:05:17.747Z] ==> git version 2.25.1 found [2023-03-27T23:05:17.747Z] ==> 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-03-27T23:05:17.747Z] Release-Date: 2020-01-08 [2023-03-27T23:05:17.747Z] 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-03-27T23:05:17.747Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-27T23:05:17.747Z] ==> Jenkins CI detected. [2023-03-27T23:05:17.747Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-203 [2023-03-27T23:05:17.747Z] project root: . [2023-03-27T23:05:17.747Z] --> token set from env [2023-03-27T23:05:17.747Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-27T23:05:17.747Z] ==> Running gcov in . (disable via -X gcov) [2023-03-27T23:05:17.747Z] ==> Python coveragepy not found [2023-03-27T23:05:17.747Z] ==> Searching for coverage reports in: [2023-03-27T23:05:17.747Z] + . [2023-03-27T23:05:17.747Z] -> Found 1 reports [2023-03-27T23:05:17.747Z] ==> Detecting git/mercurial file structure [2023-03-27T23:05:18.007Z] ==> Reading reports [2023-03-27T23:05:18.007Z] + ./coverage.out bytes=28352 [2023-03-27T23:05:18.007Z] ==> Appending adjustments [2023-03-27T23:05:18.007Z] https://docs.codecov.io/docs/fixing-reports [2023-03-27T23:05:18.007Z] + Found adjustments [2023-03-27T23:05:18.007Z] ==> Gzipping contents [2023-03-27T23:05:18.007Z] 4.0K /tmp/codecov.HPblWY.gz [2023-03-27T23:05:18.007Z] ==> Uploading reports [2023-03-27T23:05:18.007Z] url: https://codecov.io [2023-03-27T23:05:18.007Z] query: branch=PR-203&commit=faca447585858b1691ff618b7f9210dde90137c5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-203%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=203&job=&cmd_args= [2023-03-27T23:05:18.007Z] -> Pinging Codecov [2023-03-27T23:05:18.007Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-203&commit=faca447585858b1691ff618b7f9210dde90137c5&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-203%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=203&job=&cmd_args= [2023-03-27T23:05:18.266Z] -> Uploading to [2023-03-27T23:05:18.266Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-27/73D8F5FF140700D3E01443B452E23636/faca447585858b1691ff618b7f9210dde90137c5/8ddfea3d-bbf8-4894-afe3-b0bc71e17308.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230327%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230327T230517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5110974fff47b1b65c799371b6d18ce578d33bf042d47f116e25d8c2415da02e [2023-03-27T23:05:18.266Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-27T23:05:18.266Z] Dload Upload Total Spent Left Speed [2023-03-27T23:05:18.266Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3897 0 0 100 3897 0 16237 --:--:-- --:--:-- --:--:-- 16237 [2023-03-27T23:05:18.525Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/faca447585858b1691ff618b7f9210dde90137c5 [Pipeline] } [2023-03-27T23:05:18.533Z] 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-03-27T23:05:19.239Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-203/archives ] [2023-03-27T23:05:19.239Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-203/archives [2023-03-27T23:05:19.239Z] total 16 [2023-03-27T23:05:19.239Z] drwxr-xr-x 3 root root 4096 Mar 27 22:54 . [2023-03-27T23:05:19.239Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 27 22:54 .. [2023-03-27T23:05:19.239Z] drwxr-xr-x 2 root root 4096 Mar 27 22:54 cost [2023-03-27T23:05:19.239Z] -rw-r--r-- 1 root root 89 Mar 27 22:54 cost.csv [2023-03-27T23:05:19.239Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-203/archives [2023-03-27T23:05:19.239Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-203/archives [2023-03-27T23:05:19.239Z] total 16 [2023-03-27T23:05:19.239Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 22:54 . [2023-03-27T23:05:19.239Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 27 22:54 .. [2023-03-27T23:05:19.239Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 27 22:54 cost [2023-03-27T23:05:19.239Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 27 22:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-27T23:05:19.526Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-27T23:05:20.381Z] ---> package-listing.sh [2023-03-27T23:05:20.381Z] ++ facter osfamily [2023-03-27T23:05:20.381Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-27T23:05:20.640Z] + OS_FAMILY=debian [2023-03-27T23:05:20.640Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-203 [2023-03-27T23:05:20.640Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-27T23:05:20.640Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-27T23:05:20.640Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-27T23:05:20.640Z] + PACKAGES=/tmp/packages_start.txt [2023-03-27T23:05:20.640Z] + '[' /w/workspace/foundry_device-usb-camera_PR-203 ']' [2023-03-27T23:05:20.640Z] + PACKAGES=/tmp/packages_end.txt [2023-03-27T23:05:20.640Z] + case "${OS_FAMILY}" in [2023-03-27T23:05:20.640Z] + dpkg -l [2023-03-27T23:05:20.640Z] + grep '^ii' [2023-03-27T23:05:20.640Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-27T23:05:20.640Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-27T23:05:20.640Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-27T23:05:20.640Z] + '[' /w/workspace/foundry_device-usb-camera_PR-203 ']' [2023-03-27T23:05:20.640Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-203/archives/ [2023-03-27T23:05:20.640Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-203/archives/ [Pipeline] echo [2023-03-27T23:05:20.651Z] 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-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-27T23:05:20.925Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-27T23:05:21.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-27T23:05:21.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-27T23:05:21.553Z] prd-ubuntu20.04-docker-8c-8g-5939 does not seem to be running inside a container [2023-03-27T23:05:21.584Z] $ 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-203/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-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-27T23:05:21.805Z] $ docker top 2e4892c32aa3e7d0bf6b25cf0012a66449f61d4f447150d2b6e2ae6b4316dc17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-27T23:05:22.146Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-27T23:05:22.432Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-27T23:05:22.717Z] + ls /var/log/sa-host [2023-03-27T23:05:22.717Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-27T23:05:22.856Z] provisioning config files... [2023-03-27T23:05:22.864Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config666318044913378934tmp [Pipeline] { [Pipeline] echo [2023-03-27T23:05:22.879Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-27T23:05:23.159Z] ---> create-netrc.sh [Pipeline] } [2023-03-27T23:05:23.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-27T23:05:23.494Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-27T23:05:23.503Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-27T23:05:23.783Z] ---> sudo-logs.sh [2023-03-27T23:05:23.783Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-27T23:05:23.813Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-27T23:05:24.097Z] ---> job-cost.sh [2023-03-27T23:05:24.097Z] lf-activate-venv: SKIPPING [2023-03-27T23:05:24.097Z] DEBUG: total: 0.2199999988079071 [2023-03-27T23:05:24.097Z] INFO: Retrieving Stack Cost... [2023-03-27T23:05:24.355Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-27T23:05:24.920Z] INFO: Archiving Costs [Pipeline] echo [2023-03-27T23:05:24.931Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-27T23:05:25.213Z] ---> logs-deploy.sh [2023-03-27T23:05:25.214Z] lf-activate-venv: SKIPPING [2023-03-27T23:05:25.214Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-203/5 [2023-03-27T23:05:25.214Z] INFO: archiving workspace using pattern(s): [2023-03-27T23:05:26.149Z] Archives upload complete. [2023-03-27T23:05:26.149Z] INFO: archiving logs to Nexus