Pull request #221 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c+a96d24b1846f601a5cabef5dd86be8ade2ea54c6 (f52ce9a615cd98a225e99c309fe0c7c79192d547) 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-ssh9173932752775625768.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4647997950034112504.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-221/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-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10090804076764258801.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh11689586927212774241.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-221/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-221/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh324744686076289836.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 ‘prd-centos7-blackbox-4c-2g-9351’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9352’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-9292’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9416’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9417’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9426’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9427’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9428’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-9418’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-9419’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9429 in /w/workspace/foundry_device-usb-camera_PR-221 [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-221 # 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/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a96d24b1846f601a5cabef5dd86be8ade2ea54c6 into PR head commit 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c Merge succeeded, producing 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c Checking out Revision 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c (PR-221) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T01:33:11.370Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T01:33:11.441Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T01:33:11.461Z] ========================================================= [2023-04-24T01:33:11.461Z] EdgeX Global Pipelines Version Info [2023-04-24T01:33:11.461Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c # 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 a96d24b1846f601a5cabef5dd86be8ade2ea54c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c # timeout=10 > git rev-list --no-walk 03b1ea673bd3f60b5f9f41ecea7a2fc77e3a63dd # timeout=10 [2023-04-24T01:33:12.192Z] ------------------- [2023-04-24T01:33:12.193Z] stable info: [2023-04-24T01:33:12.193Z] ------------------- [2023-04-24T01:33:12.193Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T01:33:12.193Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T01:33:12.193Z] Message: update stable to v1.0.248 [2023-04-24T01:33:12.761Z] ------------------- [2023-04-24T01:33:12.761Z] experimental info: [2023-04-24T01:33:12.761Z] ------------------- [2023-04-24T01:33:12.761Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T01:33:12.761Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T01:33:12.761Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T01:33:12.941Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-04-24T01:33:12.952Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-04-24T01:33:12.972Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T01:33:12.992Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T01:33:13.007Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T01:33:13.022Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T01:33:13.034Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T01:33:13.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T01:33:13.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T01:33:13.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T01:33:13.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T01:33:13.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-04-24T01:33:13.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T01:33:13.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T01:33:13.148Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T01:33:13.166Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T01:33:13.184Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T01:33:13.196Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T01:33:13.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T01:33:13.225Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T01:33:13.239Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T01:33:13.257Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T01:33:13.277Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T01:33:13.295Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T01:33:13.306Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T01:33:13.317Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T01:33:13.336Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T01:33:13.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-221 [Pipeline] echo [2023-04-24T01:33:13.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-221 [Pipeline] echo [2023-04-24T01:33:13.395Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-221 [Pipeline] echo [2023-04-24T01:33:13.413Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [Pipeline] echo [2023-04-24T01:33:13.424Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1712ad8 [Pipeline] echo [2023-04-24T01:33:13.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T01:33:13.484Z] provisioning config files... [2023-04-24T01:33:13.499Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-221@tmp/config9010389698567727929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:33:13.803Z] ---> docker-login.sh [2023-04-24T01:33:13.803Z] nexus3.edgexfoundry.org:10001 [2023-04-24T01:33:13.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:33:14.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:33:14.069Z] Configure a credential helper to remove this warning. See [2023-04-24T01:33:14.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:33:14.069Z] [2023-04-24T01:33:14.069Z] Login Succeeded [2023-04-24T01:33:14.069Z] nexus3.edgexfoundry.org:10002 [2023-04-24T01:33:14.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:33:14.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:33:14.336Z] Configure a credential helper to remove this warning. See [2023-04-24T01:33:14.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:33:14.336Z] [2023-04-24T01:33:14.336Z] Login Succeeded [2023-04-24T01:33:14.336Z] nexus3.edgexfoundry.org:10003 [2023-04-24T01:33:14.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:33:14.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:33:14.336Z] Configure a credential helper to remove this warning. See [2023-04-24T01:33:14.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:33:14.336Z] [2023-04-24T01:33:14.336Z] Login Succeeded [2023-04-24T01:33:14.336Z] nexus3.edgexfoundry.org:10004 [2023-04-24T01:33:14.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:33:14.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:33:14.336Z] Configure a credential helper to remove this warning. See [2023-04-24T01:33:14.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:33:14.336Z] [2023-04-24T01:33:14.336Z] Login Succeeded [2023-04-24T01:33:14.336Z] docker.io [2023-04-24T01:33:14.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:33:14.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:33:14.597Z] Configure a credential helper to remove this warning. See [2023-04-24T01:33:14.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:33:14.597Z] [2023-04-24T01:33:14.597Z] Login Succeeded [2023-04-24T01:33:14.597Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T01:33:14.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T01:33:14.973Z] + git rev-list -1 --merges 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c~1..1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [Pipeline] echo [2023-04-24T01:33:15.043Z] -----------> git rev-list -1 --merges 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c~1..1712ad8aa23467b9ad8e76847b9cb93e6ae1509c 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [false] [Pipeline] sh [2023-04-24T01:33:15.336Z] + git log --format=format:%s -1 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [Pipeline] echo [2023-04-24T01:33:15.352Z] ========================================================= [2023-04-24T01:33:15.352Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T01:33:15.352Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T01:33:15.719Z] + git log --format=format:%s -1 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [Pipeline] echo [2023-04-24T01:33:15.732Z] [semverPrep] GIT_COMMIT: 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-04-24T01:33:15.745Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T01:33:16.105Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T01:33:16.105Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T01:33:16.105Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T01:33:16.105Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T01:33:16.105Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-04-24T01:33:16.105Z] -a /etc/ssh/ssh_known_hosts [2023-04-24T01:33:16.105Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:33:16.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T01:33:16.468Z] [2023-04-24T01:33:16.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:33:16.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T01:33:17.053Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T01:33:17.053Z] b85a868b505f: Pulling fs layer [2023-04-24T01:33:17.053Z] e2be974225ed: Pulling fs layer [2023-04-24T01:33:17.053Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T01:33:17.053Z] 988bab9f4d93: Pulling fs layer [2023-04-24T01:33:17.053Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T01:33:17.053Z] eaf3925da568: Pulling fs layer [2023-04-24T01:33:17.053Z] bab4dde63d76: Pulling fs layer [2023-04-24T01:33:17.053Z] bde34c3a00c8: Pulling fs layer [2023-04-24T01:33:17.053Z] b352a97aabf1: Pulling fs layer [2023-04-24T01:33:17.053Z] 4872d77fe225: Pulling fs layer [2023-04-24T01:33:17.053Z] 5851b861e8e6: Pulling fs layer [2023-04-24T01:33:17.053Z] bab4dde63d76: Waiting [2023-04-24T01:33:17.053Z] bde34c3a00c8: Waiting [2023-04-24T01:33:17.053Z] b352a97aabf1: Waiting [2023-04-24T01:33:17.053Z] 5851b861e8e6: Waiting [2023-04-24T01:33:17.053Z] 4872d77fe225: Waiting [2023-04-24T01:33:17.053Z] 988bab9f4d93: Waiting [2023-04-24T01:33:17.053Z] 1469e6f7b9e6: Waiting [2023-04-24T01:33:17.053Z] eaf3925da568: Waiting [2023-04-24T01:33:17.053Z] e2be974225ed: Verifying Checksum [2023-04-24T01:33:17.053Z] e2be974225ed: Download complete [2023-04-24T01:33:17.053Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T01:33:17.053Z] 1469e6f7b9e6: Download complete [2023-04-24T01:33:17.053Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T01:33:17.053Z] 339a4e72a1f5: Download complete [2023-04-24T01:33:17.053Z] eaf3925da568: Verifying Checksum [2023-04-24T01:33:17.053Z] eaf3925da568: Download complete [2023-04-24T01:33:17.053Z] bde34c3a00c8: Verifying Checksum [2023-04-24T01:33:17.053Z] bde34c3a00c8: Download complete [2023-04-24T01:33:17.311Z] b352a97aabf1: Verifying Checksum [2023-04-24T01:33:17.311Z] b352a97aabf1: Download complete [2023-04-24T01:33:17.311Z] 4872d77fe225: Download complete [2023-04-24T01:33:17.311Z] 5851b861e8e6: Download complete [2023-04-24T01:33:17.311Z] b85a868b505f: Verifying Checksum [2023-04-24T01:33:17.311Z] b85a868b505f: Download complete [2023-04-24T01:33:17.569Z] bab4dde63d76: Verifying Checksum [2023-04-24T01:33:17.569Z] bab4dde63d76: Download complete [2023-04-24T01:33:18.507Z] b85a868b505f: Pull complete [2023-04-24T01:33:18.766Z] e2be974225ed: Pull complete [2023-04-24T01:33:19.708Z] 339a4e72a1f5: Pull complete [2023-04-24T01:33:19.708Z] 988bab9f4d93: Pull complete [2023-04-24T01:33:20.277Z] 1469e6f7b9e6: Pull complete [2023-04-24T01:33:20.277Z] eaf3925da568: Pull complete [2023-04-24T01:33:22.189Z] bab4dde63d76: Pull complete [2023-04-24T01:33:22.454Z] bde34c3a00c8: Pull complete [2023-04-24T01:33:22.454Z] b352a97aabf1: Pull complete [2023-04-24T01:33:22.454Z] 4872d77fe225: Pull complete [2023-04-24T01:33:22.716Z] 5851b861e8e6: Pull complete [2023-04-24T01:33:22.716Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T01:33:22.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T01:33:22.716Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:33:22.830Z] prd-ubuntu20.04-docker-8c-8g-9429 does not seem to be running inside a container [2023-04-24T01:33:22.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-221 -v /w/workspace/foundry_device-usb-camera_PR-221:/w/workspace/foundry_device-usb-camera_PR-221:rw,z -v /w/workspace/foundry_device-usb-camera_PR-221@tmp:/w/workspace/foundry_device-usb-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T01:33:24.898Z] $ docker top 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 -eo pid,comm [2023-04-24T01:33:24.956Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-24T01:33:24.956Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T01:33:24.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T01:33:24.996Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T01:33:25.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T01:33:25.123Z] $ docker exec 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 ssh-agent [2023-04-24T01:33:25.239Z] SSH_AUTH_SOCK=/tmp/ssh-eooYyfek3X26/agent.31 [2023-04-24T01:33:25.239Z] SSH_AGENT_PID=37 [2023-04-24T01:33:25.248Z] Running ssh-add (command line suppressed) [2023-04-24T01:33:25.358Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-221@tmp/private_key_9896803084659426654.key (/w/workspace/foundry_device-usb-camera_PR-221@tmp/private_key_9896803084659426654.key) [2023-04-24T01:33:25.370Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T01:33:25.663Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T01:33:25.681Z] $ docker exec --env ******** --env ******** 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 ssh-agent -k [2023-04-24T01:33:25.794Z] unset SSH_AUTH_SOCK; [2023-04-24T01:33:25.794Z] unset SSH_AGENT_PID; [2023-04-24T01:33:25.794Z] echo Agent pid 37 killed; [2023-04-24T01:33:25.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T01:33:25.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T01:33:25.831Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T01:33:25.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T01:33:25.953Z] $ docker exec 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 ssh-agent [2023-04-24T01:33:26.068Z] SSH_AUTH_SOCK=/tmp/ssh-jpxbUoaV7xMm/agent.69 [2023-04-24T01:33:26.068Z] SSH_AGENT_PID=75 [2023-04-24T01:33:26.072Z] Running ssh-add (command line suppressed) [2023-04-24T01:33:26.191Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-221@tmp/private_key_12386594261977310196.key (/w/workspace/foundry_device-usb-camera_PR-221@tmp/private_key_12386594261977310196.key) [2023-04-24T01:33:26.203Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T01:33:26.492Z] + git semver init [2023-04-24T01:33:26.752Z] 2023-04-24 01:33:26,694 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T01:33:26.752Z] 2023-04-24 01:33:26,695 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-221/.semver [2023-04-24T01:33:26.752Z] 2023-04-24 01:33:26,695 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-221/.semver [2023-04-24T01:33:26.752Z] 2023-04-24 01:33:26,695 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-221/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-221, universal_newlines=False, shell=None, istream=None) [2023-04-24T01:33:27.692Z] 2023-04-24 01:33:27,373 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-221/.git/info/exclude [2023-04-24T01:33:27.692Z] 2023-04-24 01:33:27,374 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-221/.semver/PR-221 with force:False [2023-04-24T01:33:27.692Z] 2023-04-24 01:33:27,374 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-221/.semver/PR-221 [2023-04-24T01:33:27.692Z] 2023-04-24 01:33:27,379 [execute] INFO git cat-file --batch-check [2023-04-24T01:33:27.692Z] 2023-04-24 01:33:27,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-221/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T01:33:27.692Z] 2023-04-24 01:33:27,385 [execute] INFO git cat-file --batch [2023-04-24T01:33:27.692Z] 2023-04-24 01:33:27,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-221/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T01:33:27.692Z] 2023-04-24 01:33:27,388 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-221/.semver/PR-221 [2023-04-24T01:33:27.692Z] 0.0.0 [Pipeline] } [2023-04-24T01:33:27.707Z] $ docker exec --env ******** --env ******** 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 ssh-agent -k [2023-04-24T01:33:27.808Z] unset SSH_AUTH_SOCK; [2023-04-24T01:33:27.809Z] unset SSH_AGENT_PID; [2023-04-24T01:33:27.809Z] echo Agent pid 75 killed; [2023-04-24T01:33:27.815Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T01:33:28.128Z] + git semver [Pipeline] } [2023-04-24T01:33:28.410Z] $ docker stop --time=1 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 [2023-04-24T01:33:29.713Z] $ docker rm -f --volumes 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T01:33:30.052Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T01:33:30.279Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T01:33:30.283Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T01:33:30.431Z] provisioning config files... [2023-04-24T01:33:30.441Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-221@tmp/config13993252036765801287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:33:30.736Z] ---> docker-login.sh [2023-04-24T01:33:30.737Z] nexus3.edgexfoundry.org:10001 [2023-04-24T01:33:30.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:33:30.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:33:30.737Z] Configure a credential helper to remove this warning. See [2023-04-24T01:33:30.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:33:30.737Z] [2023-04-24T01:33:30.737Z] Login Succeeded [2023-04-24T01:33:30.737Z] nexus3.edgexfoundry.org:10002 [2023-04-24T01:33:30.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:33:30.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:33:30.737Z] Configure a credential helper to remove this warning. See [2023-04-24T01:33:30.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:33:30.737Z] [2023-04-24T01:33:30.737Z] Login Succeeded [2023-04-24T01:33:30.737Z] nexus3.edgexfoundry.org:10003 [2023-04-24T01:33:30.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:33:30.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:33:30.997Z] Configure a credential helper to remove this warning. See [2023-04-24T01:33:30.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:33:30.997Z] [2023-04-24T01:33:30.997Z] Login Succeeded [2023-04-24T01:33:30.997Z] nexus3.edgexfoundry.org:10004 [2023-04-24T01:33:30.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:33:30.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:33:30.997Z] Configure a credential helper to remove this warning. See [2023-04-24T01:33:30.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:33:30.997Z] [2023-04-24T01:33:30.997Z] Login Succeeded [2023-04-24T01:33:30.997Z] docker.io [2023-04-24T01:33:31.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:33:31.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:33:31.258Z] Configure a credential helper to remove this warning. See [2023-04-24T01:33:31.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:33:31.258Z] [2023-04-24T01:33:31.258Z] Login Succeeded [2023-04-24T01:33:31.258Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T01:33:31.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T01:33:31.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T01:33:31.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T01:33:31.349Z] ========================================================= [2023-04-24T01:33:31.349Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T01:33:31.349Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:33:31.654Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T01:33:31.654Z] Sending build context to Docker daemon 1.918MB [2023-04-24T01:33:31.654Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T01:33:31.654Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T01:33:31.654Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T01:33:31.654Z] 63b65145d645: Pulling fs layer [2023-04-24T01:33:31.654Z] a2d21d5440eb: Pulling fs layer [2023-04-24T01:33:31.654Z] 935e6c44a52c: Pulling fs layer [2023-04-24T01:33:31.654Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T01:33:31.654Z] 30dea6a524f1: Pulling fs layer [2023-04-24T01:33:31.654Z] a2aff8979fd8: Pulling fs layer [2023-04-24T01:33:31.654Z] 6808be2612f2: Pulling fs layer [2023-04-24T01:33:31.654Z] f25807f1079a: Pulling fs layer [2023-04-24T01:33:31.654Z] 30dea6a524f1: Waiting [2023-04-24T01:33:31.654Z] a2aff8979fd8: Waiting [2023-04-24T01:33:31.654Z] 6808be2612f2: Waiting [2023-04-24T01:33:31.654Z] f25807f1079a: Waiting [2023-04-24T01:33:31.654Z] 94cc34f8dd06: Waiting [2023-04-24T01:33:31.654Z] a2d21d5440eb: Verifying Checksum [2023-04-24T01:33:31.654Z] a2d21d5440eb: Download complete [2023-04-24T01:33:31.654Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T01:33:31.654Z] 94cc34f8dd06: Download complete [2023-04-24T01:33:31.654Z] 30dea6a524f1: Verifying Checksum [2023-04-24T01:33:31.654Z] 30dea6a524f1: Download complete [2023-04-24T01:33:31.916Z] 63b65145d645: Verifying Checksum [2023-04-24T01:33:31.916Z] 63b65145d645: Download complete [2023-04-24T01:33:31.916Z] a2aff8979fd8: Verifying Checksum [2023-04-24T01:33:31.916Z] a2aff8979fd8: Download complete [2023-04-24T01:33:31.916Z] 63b65145d645: Pull complete [2023-04-24T01:33:32.179Z] a2d21d5440eb: Pull complete [2023-04-24T01:33:32.439Z] f25807f1079a: Verifying Checksum [2023-04-24T01:33:32.439Z] f25807f1079a: Download complete [2023-04-24T01:33:32.439Z] 935e6c44a52c: Verifying Checksum [2023-04-24T01:33:32.439Z] 935e6c44a52c: Download complete [2023-04-24T01:33:32.698Z] 6808be2612f2: Verifying Checksum [2023-04-24T01:33:32.698Z] 6808be2612f2: Download complete [2023-04-24T01:33:35.980Z] 935e6c44a52c: Pull complete [2023-04-24T01:33:35.980Z] 94cc34f8dd06: Pull complete [2023-04-24T01:33:35.980Z] 30dea6a524f1: Pull complete [2023-04-24T01:33:36.240Z] a2aff8979fd8: Pull complete [2023-04-24T01:33:39.593Z] 6808be2612f2: Pull complete [2023-04-24T01:33:39.593Z] f25807f1079a: Pull complete [2023-04-24T01:33:39.593Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T01:33:39.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T01:33:39.594Z] ---> 3b553350e43f [2023-04-24T01:33:39.594Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T01:33:42.868Z] ---> Running in c9a986a8547d [2023-04-24T01:33:42.868Z] Removing intermediate container c9a986a8547d [2023-04-24T01:33:42.868Z] ---> 75a92db12341 [2023-04-24T01:33:42.868Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T01:33:42.868Z] ---> Running in a807b1b32c18 [2023-04-24T01:33:43.127Z] Removing intermediate container a807b1b32c18 [2023-04-24T01:33:43.127Z] ---> 09337089d4c8 [2023-04-24T01:33:43.127Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-24T01:33:43.127Z] ---> Running in ff114e2ff266 [2023-04-24T01:33:43.127Z] Removing intermediate container ff114e2ff266 [2023-04-24T01:33:43.127Z] ---> f2b95d3347f7 [2023-04-24T01:33:43.127Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-24T01:33:43.127Z] ---> Running in a5a75972fba2 [2023-04-24T01:33:43.387Z] Removing intermediate container a5a75972fba2 [2023-04-24T01:33:43.387Z] ---> 07345c098bfa [2023-04-24T01:33:43.387Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T01:33:43.387Z] ---> Running in da592b11f4cc [2023-04-24T01:33:43.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T01:33:43.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T01:33:43.907Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-24T01:33:43.907Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-24T01:33:43.907Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-24T01:33:43.907Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-24T01:33:43.907Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-24T01:33:43.907Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-24T01:33:43.907Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-24T01:33:43.907Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-24T01:33:44.167Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-24T01:33:44.167Z] (10/14) Installing kmod-libs (30-r1) [2023-04-24T01:33:44.167Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-24T01:33:44.167Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-24T01:33:44.167Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-24T01:33:44.167Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-24T01:33:44.167Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T01:33:44.167Z] Executing eudev-3.2.11-r4.trigger [2023-04-24T01:33:44.167Z] OK: 272 MiB in 67 packages [2023-04-24T01:33:44.747Z] Removing intermediate container da592b11f4cc [2023-04-24T01:33:44.747Z] ---> 8efd8b7eb50c [2023-04-24T01:33:44.747Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-24T01:33:44.747Z] ---> Running in 4142322b9b03 [2023-04-24T01:33:44.747Z] Removing intermediate container 4142322b9b03 [2023-04-24T01:33:44.747Z] ---> 1c13990ba1d9 [2023-04-24T01:33:44.747Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-24T01:33:45.006Z] ---> 4548a58a7ca6 [2023-04-24T01:33:45.006Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T01:33:45.006Z] ---> Running in ff5c3f8dbd2a [2023-04-24T01:33:45.391Z] Still waiting to schedule task [2023-04-24T01:33:45.391Z] ‘prd-centos7-blackbox-4c-2g-9351’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-24T01:33:45.391Z] ‘prd-centos7-blackbox-4c-2g-9352’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-24T01:33:45.391Z] ‘prd-ubuntu18.04-docker-8c-8g-9292’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-24T01:33:45.391Z] ‘prd-ubuntu20.04-docker-8c-8g-9416’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-24T01:33:45.391Z] ‘prd-ubuntu20.04-docker-8c-8g-9417’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-24T01:33:45.391Z] ‘prd-ubuntu20.04-docker-8c-8g-9422’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-24T01:33:45.391Z] ‘prd-ubuntu20.04-docker-8c-8g-9430’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-24T01:33:45.391Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9418’ is offline [2023-04-24T01:33:45.392Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9419’ is offline [2023-04-24T01:33:45.392Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9432’ is offline [2023-04-24T01:34:11.546Z] Removing intermediate container ff5c3f8dbd2a [2023-04-24T01:34:11.546Z] ---> 88ba9546f66d [2023-04-24T01:34:11.546Z] Step 11/13 : COPY . . [2023-04-24T01:34:11.546Z] ---> d711ca0eeb96 [2023-04-24T01:34:11.546Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-24T01:34:11.546Z] ---> Running in 356687222e2e [2023-04-24T01:34:11.546Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T01:34:11.546Z] Dload Upload Total Spent Left Speed [2023-04-24T01:34:11.546Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 17400 0 --:--:-- --:--:-- --:--:-- 17700 [2023-04-24T01:34:11.546Z] Removing intermediate container 356687222e2e [2023-04-24T01:34:11.546Z] ---> 44a534c10e4a [2023-04-24T01:34:11.546Z] Step 13/13 : RUN ${MAKE} [2023-04-24T01:34:11.546Z] ---> Running in c162fbcfe0af [2023-04-24T01:34:11.546Z] noop [2023-04-24T01:34:11.546Z] Removing intermediate container c162fbcfe0af [2023-04-24T01:34:11.546Z] ---> 094d47ad4e32 [2023-04-24T01:34:11.546Z] Successfully built 094d47ad4e32 [2023-04-24T01:34:11.546Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:34:11.871Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T01:34:11.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:34:11.948Z] prd-ubuntu20.04-docker-8c-8g-9429 does not seem to be running inside a container [2023-04-24T01:34:11.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-221 -v /w/workspace/foundry_device-usb-camera_PR-221:/w/workspace/foundry_device-usb-camera_PR-221:rw,z -v /w/workspace/foundry_device-usb-camera_PR-221@tmp:/w/workspace/foundry_device-usb-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T01:34:12.360Z] $ docker top dfb16446b752d692b90a40e0b207c1d898304c39c5f8355dde444bdb642f9953 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T01:34:12.709Z] + go version [2023-04-24T01:34:12.709Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T01:34:12.723Z] $ docker stop --time=1 dfb16446b752d692b90a40e0b207c1d898304c39c5f8355dde444bdb642f9953 [2023-04-24T01:34:13.987Z] $ docker rm -f --volumes dfb16446b752d692b90a40e0b207c1d898304c39c5f8355dde444bdb642f9953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:34:14.417Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T01:34:14.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:34:14.490Z] prd-ubuntu20.04-docker-8c-8g-9429 does not seem to be running inside a container [2023-04-24T01:34:14.526Z] $ 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-221 -v /w/workspace/foundry_device-usb-camera_PR-221:/w/workspace/foundry_device-usb-camera_PR-221:rw,z -v /w/workspace/foundry_device-usb-camera_PR-221@tmp:/w/workspace/foundry_device-usb-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T01:34:14.869Z] $ docker top 6301a381ff2ae9e312fcf0c22274acf8b7ec2568264980ed4784beffa15df59a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T01:34:15.211Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-221 [Pipeline] fileExists [Pipeline] sh [2023-04-24T01:34:15.513Z] + make test [2023-04-24T01:34:15.514Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T01:34:20.782Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-24T01:34:32.986Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-04-24T01:34:32.986Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 2.0% of statements [2023-04-24T01:34:38.258Z] go vet ./... [2023-04-24T01:34:42.447Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T01:34:42.447Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T01:34:42.447Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T01:34:42.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T01:34:42.480Z] $ docker stop --time=1 6301a381ff2ae9e312fcf0c22274acf8b7ec2568264980ed4784beffa15df59a [2023-04-24T01:34:45.378Z] $ docker rm -f --volumes 6301a381ff2ae9e312fcf0c22274acf8b7ec2568264980ed4784beffa15df59a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T01:34:45.855Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T01:34:45.899Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T01:34:46.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T01:34:46.662Z] + ls -al . [2023-04-24T01:34:46.662Z] total 192 [2023-04-24T01:34:46.662Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 01:34 . [2023-04-24T01:34:46.662Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:33 .. [2023-04-24T01:34:46.662Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 01:33 .git [2023-04-24T01:34:46.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:33 .github [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 414 Apr 24 01:33 .gitignore [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 01:33 .golangci.yml [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 77 Apr 24 01:33 .hadolint.yml [2023-04-24T01:34:46.662Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 01:33 .semver [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 9665 Apr 24 01:33 Attribution.txt [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 6219 Apr 24 01:33 CHANGELOG.md [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 2328 Apr 24 01:33 Dockerfile [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 01:33 GOVERNANCE.md [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 659 Apr 24 01:33 Jenkinsfile [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 01:33 LICENSE [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 2364 Apr 24 01:33 Makefile [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 01:33 OWNERS.md [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 5681 Apr 24 01:33 README.md [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 01:33 VERSION [2023-04-24T01:34:46.662Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:33 bin [2023-04-24T01:34:46.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:33 cmd [2023-04-24T01:34:46.662Z] -rw-r--r-- 1 jenkins jenkins 28693 Apr 24 01:34 coverage.out [2023-04-24T01:34:46.662Z] -rwxrwxr-x 1 jenkins jenkins 140 Apr 24 01:33 docker-entrypoint.sh [2023-04-24T01:34:46.662Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:33 docs [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 3443 Apr 24 01:33 go.mod [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 31603 Apr 24 01:33 go.sum [2023-04-24T01:34:46.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:33 internal [2023-04-24T01:34:46.662Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:33 snap [2023-04-24T01:34:46.662Z] -rw-rw-r-- 1 jenkins jenkins 231 Apr 24 01:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:34:46.970Z] + 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=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c --label arch=amd64 --label version=0.0.0 . [2023-04-24T01:34:46.970Z] Sending build context to Docker daemon 1.948MB [2023-04-24T01:34:46.970Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T01:34:46.970Z] Step 2/35 : FROM ${BASE} AS builder [2023-04-24T01:34:46.970Z] ---> 094d47ad4e32 [2023-04-24T01:34:46.970Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-04-24T01:34:46.970Z] ---> Running in 05531220f5a9 [2023-04-24T01:34:46.970Z] Removing intermediate container 05531220f5a9 [2023-04-24T01:34:46.970Z] ---> cf9b00365e93 [2023-04-24T01:34:46.970Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T01:34:47.228Z] ---> Running in 4174d20f536d [2023-04-24T01:34:47.228Z] Removing intermediate container 4174d20f536d [2023-04-24T01:34:47.228Z] ---> 7104174ad57f [2023-04-24T01:34:47.228Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-24T01:34:47.228Z] ---> Running in dce19dda8ae0 [2023-04-24T01:34:47.228Z] Removing intermediate container dce19dda8ae0 [2023-04-24T01:34:47.228Z] ---> 5870cb0e1fdf [2023-04-24T01:34:47.228Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-24T01:34:47.228Z] ---> Running in 0396ff7166cd [2023-04-24T01:34:47.487Z] Removing intermediate container 0396ff7166cd [2023-04-24T01:34:47.487Z] ---> ac139c918756 [2023-04-24T01:34:47.487Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T01:34:47.487Z] ---> Running in 4ff8d3e76b66 [2023-04-24T01:34:47.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T01:34:47.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T01:34:48.005Z] OK: 272 MiB in 67 packages [2023-04-24T01:34:48.572Z] Removing intermediate container 4ff8d3e76b66 [2023-04-24T01:34:48.572Z] ---> 92143d0dfc85 [2023-04-24T01:34:48.572Z] Step 8/35 : WORKDIR /device-usb-camera [2023-04-24T01:34:48.572Z] ---> Running in 0da83127129e [2023-04-24T01:34:48.572Z] Removing intermediate container 0da83127129e [2023-04-24T01:34:48.572Z] ---> 34f69ed224f3 [2023-04-24T01:34:48.572Z] Step 9/35 : COPY go.mod vendor* ./ [2023-04-24T01:34:48.572Z] ---> 9d41cb28d2a5 [2023-04-24T01:34:48.572Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T01:34:48.831Z] ---> Running in 450abebafc9d [2023-04-24T01:34:49.399Z] Removing intermediate container 450abebafc9d [2023-04-24T01:34:49.399Z] ---> d0f05e1d5d9c [2023-04-24T01:34:49.399Z] Step 11/35 : COPY . . [2023-04-24T01:34:49.660Z] ---> 1eab10a68b91 [2023-04-24T01:34:49.660Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-24T01:34:49.660Z] ---> Running in 836fc7565bca [2023-04-24T01:34:49.920Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T01:34:49.920Z] Dload Upload Total Spent Left Speed [2023-04-24T01:34:50.179Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21761 0 --:--:-- --:--:-- --:--:-- 22125 [2023-04-24T01:34:50.438Z] Removing intermediate container 836fc7565bca [2023-04-24T01:34:50.438Z] ---> c2744fb8a433 [2023-04-24T01:34:50.438Z] Step 13/35 : RUN ${MAKE} [2023-04-24T01:34:50.438Z] ---> Running in 43120d2ea68f [2023-04-24T01:34:50.710Z] 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-04-24T01:35:12.666Z] Removing intermediate container 43120d2ea68f [2023-04-24T01:35:12.666Z] ---> a392b142c719 [2023-04-24T01:35:12.666Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-04-24T01:35:12.666Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-04-24T01:35:12.666Z] 4acc49c71d14: Pulling fs layer [2023-04-24T01:35:12.666Z] 4acc49c71d14: Verifying Checksum [2023-04-24T01:35:12.666Z] 4acc49c71d14: Download complete [2023-04-24T01:35:12.666Z] 4acc49c71d14: Pull complete [2023-04-24T01:35:12.666Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-04-24T01:35:12.666Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-04-24T01:35:12.666Z] ---> 01a2bd3e5fff [2023-04-24T01:35:12.666Z] Step 15/35 : FROM alpine:3.17 [2023-04-24T01:35:12.666Z] 3.17: Pulling from library/alpine [2023-04-24T01:35:12.666Z] f56be85fc22e: Pulling fs layer [2023-04-24T01:35:12.666Z] f56be85fc22e: Verifying Checksum [2023-04-24T01:35:12.924Z] f56be85fc22e: Pull complete [2023-04-24T01:35:12.924Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T01:35:12.924Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T01:35:12.924Z] ---> 9ed4aefc74f6 [2023-04-24T01:35:12.924Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-24T01:35:13.184Z] ---> Running in 9e249ad6fc88 [2023-04-24T01:35:13.184Z] Removing intermediate container 9e249ad6fc88 [2023-04-24T01:35:13.184Z] ---> 95ec273c1d21 [2023-04-24T01:35:13.184Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-04-24T01:35:13.184Z] ---> Running in 7a78f1341011 [2023-04-24T01:35:13.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T01:35:13.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T01:35:13.708Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-04-24T01:35:13.708Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-04-24T01:35:13.708Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-04-24T01:35:13.969Z] (4/86) Installing libxau (1.0.10-r0) [2023-04-24T01:35:13.969Z] (5/86) Installing libmd (1.0.4-r0) [2023-04-24T01:35:13.969Z] (6/86) Installing libbsd (0.11.7-r0) [2023-04-24T01:35:13.969Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-04-24T01:35:13.969Z] (8/86) Installing libxcb (1.15-r0) [2023-04-24T01:35:13.969Z] (9/86) Installing libx11 (1.8.4-r0) [2023-04-24T01:35:13.969Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-04-24T01:35:13.969Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-04-24T01:35:13.969Z] (12/86) Installing libexpat (2.5.0-r0) [2023-04-24T01:35:14.230Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-04-24T01:35:14.230Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-04-24T01:35:14.230Z] (15/86) Installing libpng (1.6.38-r0) [2023-04-24T01:35:14.230Z] (16/86) Installing freetype (2.12.1-r0) [2023-04-24T01:35:14.230Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-04-24T01:35:14.230Z] (18/86) Installing fribidi (1.0.12-r0) [2023-04-24T01:35:14.230Z] (19/86) Installing libffi (3.4.4-r0) [2023-04-24T01:35:14.230Z] (20/86) Installing libintl (0.21.1-r1) [2023-04-24T01:35:14.230Z] (21/86) Installing libblkid (2.38.1-r1) [2023-04-24T01:35:14.230Z] (22/86) Installing libmount (2.38.1-r1) [2023-04-24T01:35:14.230Z] (23/86) Installing pcre2 (10.42-r0) [2023-04-24T01:35:14.230Z] (24/86) Installing glib (2.74.6-r0) [2023-04-24T01:35:14.494Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-04-24T01:35:14.494Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-04-24T01:35:14.494Z] (27/86) Installing libass (0.16.0-r1) [2023-04-24T01:35:14.494Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-04-24T01:35:14.494Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-04-24T01:35:14.494Z] (30/86) Installing libpciaccess (0.17-r0) [2023-04-24T01:35:14.494Z] (31/86) Installing libdrm (2.4.114-r0) [2023-04-24T01:35:14.494Z] (32/86) Installing gmp (6.2.1-r2) [2023-04-24T01:35:14.494Z] (33/86) Installing nettle (3.8.1-r0) [2023-04-24T01:35:14.494Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-04-24T01:35:14.494Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-04-24T01:35:14.494Z] (36/86) Installing libunistring (1.1-r0) [2023-04-24T01:35:14.494Z] (37/86) Installing gnutls (3.7.8-r3) [2023-04-24T01:35:14.494Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-04-24T01:35:14.494Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-04-24T01:35:14.494Z] (40/86) Installing lame (3.100-r2) [2023-04-24T01:35:14.754Z] (41/86) Installing opus (1.3.1-r1) [2023-04-24T01:35:14.754Z] (42/86) Installing libasyncns (0.8-r1) [2023-04-24T01:35:14.754Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-04-24T01:35:14.754Z] (44/86) Installing libltdl (2.4.7-r1) [2023-04-24T01:35:14.754Z] (45/86) Installing orc (0.4.33-r0) [2023-04-24T01:35:14.754Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-04-24T01:35:14.754Z] (47/86) Installing libogg (1.3.5-r2) [2023-04-24T01:35:14.754Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-04-24T01:35:14.754Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-04-24T01:35:14.754Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-04-24T01:35:14.754Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-04-24T01:35:14.754Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-04-24T01:35:14.754Z] (53/86) Installing soxr (0.1.3-r3) [2023-04-24T01:35:14.754Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-04-24T01:35:14.754Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-04-24T01:35:14.754Z] (56/86) Installing libpulse (16.1-r6) [2023-04-24T01:35:14.754Z] (57/86) Installing cjson (1.7.15-r3) [2023-04-24T01:35:15.025Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-04-24T01:35:15.025Z] (59/86) Installing librist (0.2.7-r0) [2023-04-24T01:35:15.025Z] (60/86) Installing libsrt (1.5.1-r0) [2023-04-24T01:35:15.025Z] (61/86) Installing libssh (0.10.4-r0) [2023-04-24T01:35:15.025Z] (62/86) Installing libtheora (1.1.1-r16) [2023-04-24T01:35:15.025Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-04-24T01:35:15.025Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-04-24T01:35:15.025Z] (65/86) Installing libxext (1.3.5-r0) [2023-04-24T01:35:15.025Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-04-24T01:35:15.025Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-04-24T01:35:15.026Z] (68/86) Installing libva (2.16.0-r0) [2023-04-24T01:35:15.026Z] (69/86) Installing libvdpau (1.5-r0) [2023-04-24T01:35:15.026Z] (70/86) Installing vidstab (1.1.0-r2) [2023-04-24T01:35:15.026Z] (71/86) Installing libvpx (1.12.0-r1) [2023-04-24T01:35:15.026Z] (72/86) Installing libwebp (1.2.4-r1) [2023-04-24T01:35:15.026Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-04-24T01:35:15.026Z] (74/86) Installing numactl (2.0.16-r1) [2023-04-24T01:35:15.026Z] (75/86) Installing x265-libs (3.5-r3) [2023-04-24T01:35:15.296Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-04-24T01:35:15.296Z] (77/86) Installing libsodium (1.0.18-r2) [2023-04-24T01:35:15.296Z] (78/86) Installing libzmq (4.3.4-r1) [2023-04-24T01:35:15.296Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-04-24T01:35:15.296Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-04-24T01:35:15.296Z] (81/86) Installing udev-init-scripts (35-r1) [2023-04-24T01:35:15.296Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-04-24T01:35:15.296Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-04-24T01:35:15.561Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-04-24T01:35:15.561Z] (85/86) Installing kmod-libs (30-r1) [2023-04-24T01:35:15.561Z] (86/86) Installing eudev (3.2.11-r4) [2023-04-24T01:35:15.561Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T01:35:15.561Z] Executing eudev-3.2.11-r4.trigger [2023-04-24T01:35:15.561Z] OK: 112 MiB in 101 packages [2023-04-24T01:35:18.171Z] Removing intermediate container 7a78f1341011 [2023-04-24T01:35:18.171Z] ---> 93bfb29d1a5a [2023-04-24T01:35:18.171Z] Step 18/35 : WORKDIR / [2023-04-24T01:35:18.171Z] ---> Running in 953995344fc3 [2023-04-24T01:35:18.171Z] Removing intermediate container 953995344fc3 [2023-04-24T01:35:18.171Z] ---> 9b1fa230d417 [2023-04-24T01:35:18.171Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-04-24T01:35:18.738Z] ---> 646d37b6d07e [2023-04-24T01:35:18.738Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-04-24T01:35:18.738Z] ---> fa32aa2f8be1 [2023-04-24T01:35:18.738Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-04-24T01:35:18.738Z] ---> 18b6bc6c44b8 [2023-04-24T01:35:18.738Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-04-24T01:35:18.999Z] ---> fbbac3d4a425 [2023-04-24T01:35:18.999Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-04-24T01:35:18.999Z] ---> 14f77a5dcb14 [2023-04-24T01:35:18.999Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-04-24T01:35:19.264Z] ---> 3a108927c297 [2023-04-24T01:35:19.264Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-04-24T01:35:19.842Z] ---> ea314610de45 [2023-04-24T01:35:19.842Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-04-24T01:35:19.842Z] ---> Running in 0c1e62b95d73 [2023-04-24T01:35:20.411Z] Removing intermediate container 0c1e62b95d73 [2023-04-24T01:35:20.411Z] ---> 6f9220ab0ec3 [2023-04-24T01:35:20.411Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-04-24T01:35:20.411Z] ---> Running in 369ad55ea755 [2023-04-24T01:35:20.977Z] Removing intermediate container 369ad55ea755 [2023-04-24T01:35:20.977Z] ---> ba7e875f6cbe [2023-04-24T01:35:20.977Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-04-24T01:35:20.977Z] ---> Running in 8f6eace1246e [2023-04-24T01:35:21.545Z] Removing intermediate container 8f6eace1246e [2023-04-24T01:35:21.545Z] ---> a09081ce683f [2023-04-24T01:35:21.545Z] Step 29/35 : EXPOSE 59983 [2023-04-24T01:35:21.545Z] ---> Running in fd24f92bf15e [2023-04-24T01:35:21.545Z] Removing intermediate container fd24f92bf15e [2023-04-24T01:35:21.545Z] ---> 7416d0ba55fa [2023-04-24T01:35:21.545Z] Step 30/35 : EXPOSE 8554 [2023-04-24T01:35:21.545Z] ---> Running in 2131ef548464 [2023-04-24T01:35:21.803Z] Removing intermediate container 2131ef548464 [2023-04-24T01:35:21.803Z] ---> 0716e405b77d [2023-04-24T01:35:21.803Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-04-24T01:35:21.803Z] ---> Running in 5bf10e388dbc [2023-04-24T01:35:21.803Z] Removing intermediate container 5bf10e388dbc [2023-04-24T01:35:21.803Z] ---> 35ecc710e91a [2023-04-24T01:35:21.803Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-04-24T01:35:21.803Z] ---> Running in 09d7e98e4a4b [2023-04-24T01:35:21.803Z] Removing intermediate container 09d7e98e4a4b [2023-04-24T01:35:21.803Z] ---> a30d36e7ffdd [2023-04-24T01:35:21.803Z] Step 33/35 : LABEL arch=amd64 [2023-04-24T01:35:21.803Z] ---> Running in b31b78332543 [2023-04-24T01:35:22.061Z] Removing intermediate container b31b78332543 [2023-04-24T01:35:22.061Z] ---> 2c4593c85abc [2023-04-24T01:35:22.061Z] Step 34/35 : LABEL git_sha=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [2023-04-24T01:35:22.061Z] ---> Running in 27e7405fcccf [2023-04-24T01:35:22.061Z] Removing intermediate container 27e7405fcccf [2023-04-24T01:35:22.061Z] ---> 6969ecc61887 [2023-04-24T01:35:22.061Z] Step 35/35 : LABEL version=0.0.0 [2023-04-24T01:35:22.061Z] ---> Running in bc6fd0c37cc1 [2023-04-24T01:35:22.061Z] Removing intermediate container bc6fd0c37cc1 [2023-04-24T01:35:22.061Z] ---> f9c71dfe5352 [2023-04-24T01:35:22.061Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T01:35:22.061Z] Successfully built f9c71dfe5352 [2023-04-24T01:35:22.061Z] 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-04-24T01:35:22.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T01:35:22.504Z] [2023-04-24T01:35:22.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:35:22.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T01:35:22.808Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T01:35:22.808Z] 5eb5b503b376: Pulling fs layer [2023-04-24T01:35:22.808Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T01:35:22.808Z] ec43610c2a17: Pulling fs layer [2023-04-24T01:35:22.808Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T01:35:22.808Z] 33b1e0a273af: Pulling fs layer [2023-04-24T01:35:22.808Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T01:35:22.808Z] 2f39f015ded8: Pulling fs layer [2023-04-24T01:35:22.808Z] 3a2ae6a8a46f: Waiting [2023-04-24T01:35:22.808Z] 33b1e0a273af: Waiting [2023-04-24T01:35:22.808Z] 5d3b04190fa2: Waiting [2023-04-24T01:35:22.808Z] 2f39f015ded8: Waiting [2023-04-24T01:35:22.808Z] 5c69ac0246d0: Verifying Checksum [2023-04-24T01:35:22.808Z] 5c69ac0246d0: Download complete [2023-04-24T01:35:22.808Z] 3a2ae6a8a46f: Download complete [2023-04-24T01:35:22.808Z] 33b1e0a273af: Verifying Checksum [2023-04-24T01:35:22.808Z] 33b1e0a273af: Download complete [2023-04-24T01:35:22.808Z] 5d3b04190fa2: Download complete [2023-04-24T01:35:22.808Z] ec43610c2a17: Verifying Checksum [2023-04-24T01:35:22.808Z] ec43610c2a17: Download complete [2023-04-24T01:35:23.067Z] 5eb5b503b376: Verifying Checksum [2023-04-24T01:35:23.067Z] 5eb5b503b376: Download complete [2023-04-24T01:35:23.633Z] 2f39f015ded8: Download complete [2023-04-24T01:35:24.199Z] 5eb5b503b376: Pull complete [2023-04-24T01:35:24.199Z] 5c69ac0246d0: Pull complete [2023-04-24T01:35:24.461Z] ec43610c2a17: Pull complete [2023-04-24T01:35:24.720Z] 3a2ae6a8a46f: Pull complete [2023-04-24T01:35:24.977Z] 33b1e0a273af: Pull complete [2023-04-24T01:35:24.977Z] 5d3b04190fa2: Pull complete [2023-04-24T01:35:29.161Z] 2f39f015ded8: Pull complete [2023-04-24T01:35:29.161Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T01:35:29.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T01:35:29.161Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:35:29.245Z] prd-ubuntu20.04-docker-8c-8g-9429 does not seem to be running inside a container [2023-04-24T01:35:29.295Z] $ 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-221 -v /w/workspace/foundry_device-usb-camera_PR-221:/w/workspace/foundry_device-usb-camera_PR-221:rw,z -v /w/workspace/foundry_device-usb-camera_PR-221@tmp:/w/workspace/foundry_device-usb-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T01:35:31.935Z] $ docker top 335ecc639be66bcdecd24d04d383e27015f18cca195e550dfc07f3f7a1ecbcb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:35:32.315Z] ---> job-cost.sh [2023-04-24T01:35:32.315Z] lf-activate-venv: SKIPPING [2023-04-24T01:35:32.315Z] INFO: No Stack... [2023-04-24T01:35:32.574Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T01:35:32.835Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T01:35:33.124Z] + cat /w/workspace/foundry_device-usb-camera_PR-221/archives/cost.csv [2023-04-24T01:35:33.124Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T01:35:33.136Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] [2023-04-24T01:35:33.144Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] did not exist. Created. [2023-04-24T01:35:33.144Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T01:35:33.451Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T01:35:33.482Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T01:35:33.489Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T01:35:33.515Z] $ docker stop --time=1 335ecc639be66bcdecd24d04d383e27015f18cca195e550dfc07f3f7a1ecbcb8 [2023-04-24T01:35:34.661Z] $ docker rm -f --volumes 335ecc639be66bcdecd24d04d383e27015f18cca195e550dfc07f3f7a1ecbcb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T01:37:37.680Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9449 in /w/workspace/foundry_device-usb-camera_PR-221 [Pipeline] { [Pipeline] ws [2023-04-24T01:37:37.693Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-04-24T01:37:37.732Z] Selected Git installation does not exist. Using Default [2023-04-24T01:37:37.732Z] The recommended git tool is: NONE [2023-04-24T01:37:46.879Z] using credential edgex-jenkins-ssh [2023-04-24T01:37:46.902Z] Cloning the remote Git repository [2023-04-24T01:37:46.985Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-04-24T01:37:47.139Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-04-24T01:37:47.358Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-24T01:37:47.360Z] > git --version # timeout=10 [2023-04-24T01:37:47.391Z] > git --version # 'git version 2.25.1' [2023-04-24T01:37:47.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T01:37:47.659Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T01:37:48.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-24T01:37:48.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T01:37:49.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-24T01:37:49.846Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-24T01:37:49.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T01:37:49.867Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T01:37:50.403Z] Merging remotes/origin/main commit a96d24b1846f601a5cabef5dd86be8ade2ea54c6 into PR head commit 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [2023-04-24T01:37:50.816Z] Merge succeeded, producing 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [2023-04-24T01:37:50.817Z] Checking out Revision 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c (PR-221) [2023-04-24T01:37:51.539Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-04-24T01:37:50.431Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T01:37:50.545Z] > git checkout -f 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c # timeout=10 [2023-04-24T01:37:50.667Z] > git remote # timeout=10 [2023-04-24T01:37:50.689Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T01:37:50.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T01:37:50.740Z] > git merge a96d24b1846f601a5cabef5dd86be8ade2ea54c6 # timeout=10 [2023-04-24T01:37:50.776Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T01:37:50.827Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T01:37:50.848Z] > git checkout -f 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T01:37:52.468Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T01:37:52.468Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T01:37:52.468Z] Dload Upload Total Spent Left Speed [2023-04-24T01:37:52.468Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh [2023-04-24T01:37:53.156Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T01:37:53.514Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T01:37:53.514Z] + sudo tee /etc/docker/daemon.new [2023-04-24T01:37:53.514Z] { [2023-04-24T01:37:53.514Z] "registry-mirrors": [ [2023-04-24T01:37:53.514Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T01:37:53.514Z] ], [2023-04-24T01:37:53.514Z] "bip": "10.250.0.254/24", [2023-04-24T01:37:53.514Z] "hosts": [ [2023-04-24T01:37:53.514Z] "tcp://0.0.0.0:5555", [2023-04-24T01:37:53.514Z] "unix:///var/run/docker.sock" [2023-04-24T01:37:53.514Z] ], [2023-04-24T01:37:53.514Z] "mtu": 1458, [2023-04-24T01:37:53.514Z] "selinux-enabled": true, [2023-04-24T01:37:53.514Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T01:37:53.514Z] } [Pipeline] sh [2023-04-24T01:37:53.872Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T01:37:54.231Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T01:38:12.826Z] provisioning config files... [2023-04-24T01:38:12.863Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config13812459487161450069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:38:13.259Z] ---> docker-login.sh [2023-04-24T01:38:13.259Z] nexus3.edgexfoundry.org:10001 [2023-04-24T01:38:13.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:38:14.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:38:14.136Z] Configure a credential helper to remove this warning. See [2023-04-24T01:38:14.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:38:14.136Z] [2023-04-24T01:38:14.136Z] Login Succeeded [2023-04-24T01:38:14.136Z] nexus3.edgexfoundry.org:10002 [2023-04-24T01:38:14.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:38:14.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:38:14.412Z] Configure a credential helper to remove this warning. See [2023-04-24T01:38:14.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:38:14.412Z] [2023-04-24T01:38:14.412Z] Login Succeeded [2023-04-24T01:38:14.412Z] nexus3.edgexfoundry.org:10003 [2023-04-24T01:38:14.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:38:14.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:38:14.961Z] Configure a credential helper to remove this warning. See [2023-04-24T01:38:14.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:38:14.961Z] [2023-04-24T01:38:14.961Z] Login Succeeded [2023-04-24T01:38:14.961Z] nexus3.edgexfoundry.org:10004 [2023-04-24T01:38:15.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:38:15.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:38:15.238Z] Configure a credential helper to remove this warning. See [2023-04-24T01:38:15.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:38:15.238Z] [2023-04-24T01:38:15.238Z] Login Succeeded [2023-04-24T01:38:15.238Z] docker.io [2023-04-24T01:38:15.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:38:15.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:38:15.788Z] Configure a credential helper to remove this warning. See [2023-04-24T01:38:15.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:38:15.788Z] [2023-04-24T01:38:15.788Z] Login Succeeded [2023-04-24T01:38:15.788Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T01:38:15.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T01:38:16.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T01:38:16.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T01:38:16.196Z] ========================================================= [2023-04-24T01:38:16.196Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T01:38:16.196Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:38:16.564Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-24T01:38:16.837Z] Sending build context to Docker daemon 1.224MB [2023-04-24T01:38:16.837Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T01:38:16.837Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-24T01:38:17.114Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T01:38:17.114Z] af6eaf76a39c: Pulling fs layer [2023-04-24T01:38:17.114Z] 55522c791124: Pulling fs layer [2023-04-24T01:38:17.114Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T01:38:17.114Z] 169dfbe0d373: Pulling fs layer [2023-04-24T01:38:17.114Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T01:38:17.114Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T01:38:17.114Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T01:38:17.114Z] 169dfbe0d373: Waiting [2023-04-24T01:38:17.114Z] e1ff8fa3b103: Waiting [2023-04-24T01:38:17.114Z] 52ebb69f0ebf: Waiting [2023-04-24T01:38:17.114Z] 5abe8eddf0d5: Waiting [2023-04-24T01:38:17.114Z] 55522c791124: Verifying Checksum [2023-04-24T01:38:17.114Z] 55522c791124: Download complete [2023-04-24T01:38:17.114Z] 169dfbe0d373: Verifying Checksum [2023-04-24T01:38:17.114Z] 169dfbe0d373: Download complete [2023-04-24T01:38:17.114Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T01:38:17.114Z] e1ff8fa3b103: Download complete [2023-04-24T01:38:17.114Z] af6eaf76a39c: Verifying Checksum [2023-04-24T01:38:17.114Z] af6eaf76a39c: Download complete [2023-04-24T01:38:18.261Z] af6eaf76a39c: Pull complete [2023-04-24T01:38:18.551Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T01:38:18.551Z] 5abe8eddf0d5: Download complete [2023-04-24T01:38:19.169Z] 55522c791124: Pull complete [2023-04-24T01:38:20.159Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T01:38:20.159Z] 52ebb69f0ebf: Download complete [2023-04-24T01:38:20.159Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T01:38:20.159Z] ce5c4a1c91eb: Download complete [2023-04-24T01:38:32.541Z] ce5c4a1c91eb: Pull complete [2023-04-24T01:38:32.541Z] 169dfbe0d373: Pull complete [2023-04-24T01:38:32.541Z] e1ff8fa3b103: Pull complete [2023-04-24T01:38:37.950Z] 52ebb69f0ebf: Pull complete [2023-04-24T01:38:39.384Z] 5abe8eddf0d5: Pull complete [2023-04-24T01:38:39.384Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T01:38:39.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T01:38:39.384Z] ---> 6cb57ee374ae [2023-04-24T01:38:39.384Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-24T01:38:42.003Z] ---> Running in 9927c1e13f8a [2023-04-24T01:38:42.003Z] Removing intermediate container 9927c1e13f8a [2023-04-24T01:38:42.003Z] ---> faadcf76c8bd [2023-04-24T01:38:42.003Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T01:38:42.003Z] ---> Running in 4b0a10049512 [2023-04-24T01:38:42.599Z] Removing intermediate container 4b0a10049512 [2023-04-24T01:38:42.599Z] ---> 7b39fc3e753b [2023-04-24T01:38:42.599Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-24T01:38:42.599Z] ---> Running in fb8b29c989b5 [2023-04-24T01:38:42.902Z] Removing intermediate container fb8b29c989b5 [2023-04-24T01:38:42.902Z] ---> 487be16dcd2c [2023-04-24T01:38:42.902Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-24T01:38:43.184Z] ---> Running in bb56db33568e [2023-04-24T01:38:43.460Z] Removing intermediate container bb56db33568e [2023-04-24T01:38:43.460Z] ---> d03c8691000d [2023-04-24T01:38:43.460Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T01:38:43.742Z] ---> Running in 83c15c2fa1f5 [2023-04-24T01:38:45.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T01:38:45.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T01:38:47.218Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-24T01:38:47.218Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-24T01:38:47.218Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-24T01:38:47.218Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-24T01:38:47.218Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-24T01:38:47.218Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-24T01:38:47.218Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-24T01:38:47.218Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-24T01:38:47.218Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-24T01:38:47.218Z] (10/14) Installing kmod-libs (30-r1) [2023-04-24T01:38:47.218Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-24T01:38:47.218Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-24T01:38:47.218Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-24T01:38:47.495Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-24T01:38:47.495Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T01:38:47.495Z] Executing eudev-3.2.11-r4.trigger [2023-04-24T01:38:47.495Z] OK: 271 MiB in 67 packages [2023-04-24T01:38:48.959Z] Removing intermediate container 83c15c2fa1f5 [2023-04-24T01:38:48.959Z] ---> 1417090ec591 [2023-04-24T01:38:48.959Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-24T01:38:48.959Z] ---> Running in 1499ce61fc31 [2023-04-24T01:38:49.234Z] Removing intermediate container 1499ce61fc31 [2023-04-24T01:38:49.234Z] ---> ed07e6c5ed7d [2023-04-24T01:38:49.234Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-24T01:38:49.832Z] ---> 76a7be35c6ce [2023-04-24T01:38:49.832Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T01:38:50.108Z] ---> Running in c29eac2c2f80 [2023-04-24T01:39:58.148Z] Removing intermediate container c29eac2c2f80 [2023-04-24T01:39:58.148Z] ---> 9181d0d6d784 [2023-04-24T01:39:58.148Z] Step 11/13 : COPY . . [2023-04-24T01:39:58.148Z] ---> 2551118dfa46 [2023-04-24T01:39:58.148Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-24T01:39:58.148Z] ---> Running in 99ca95212834 [2023-04-24T01:39:59.143Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T01:39:59.143Z] Dload Upload Total Spent  Left Speed [2023-04-24T01:39:59.751Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2352 0 --:--:-- --:--:-- --:--:-- 2354 100 1062 100 1062 0 0 2348 0 --:--:-- --:--:-- --:--:-- 2349 [2023-04-24T01:40:00.741Z] Removing intermediate container 99ca95212834 [2023-04-24T01:40:00.741Z] ---> a9d44f0e002e [2023-04-24T01:40:00.741Z] Step 13/13 : RUN ${MAKE} [2023-04-24T01:40:00.741Z] ---> Running in 1101ff7ab38d [2023-04-24T01:40:01.732Z] noop [2023-04-24T01:40:02.710Z] Removing intermediate container 1101ff7ab38d [2023-04-24T01:40:02.710Z] ---> 925b7d02f141 [2023-04-24T01:40:02.710Z] Successfully built 925b7d02f141 [2023-04-24T01:40:02.710Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:40:03.112Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T01:40:03.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:40:03.393Z] prd-ubuntu20.04-docker-arm64-4c-16g-9449 does not seem to be running inside a container [2023-04-24T01:40:03.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T01:40:05.053Z] $ docker top e35eb3b4443309de0632ecd26fa02b8ee0fccb91888d13ee45c47da512a08f5e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T01:40:05.997Z] + go version [2023-04-24T01:40:05.997Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T01:40:06.023Z] $ docker stop --time=1 e35eb3b4443309de0632ecd26fa02b8ee0fccb91888d13ee45c47da512a08f5e [2023-04-24T01:40:07.805Z] $ docker rm -f --volumes e35eb3b4443309de0632ecd26fa02b8ee0fccb91888d13ee45c47da512a08f5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:40:08.419Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T01:40:08.419Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:40:08.679Z] prd-ubuntu20.04-docker-arm64-4c-16g-9449 does not seem to be running inside a container [2023-04-24T01:40:08.789Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-24T01:40:10.404Z] $ docker top 39064c32c2c401e4519fd8247d423ff17f77bd5b874ae61434bdb026abe098f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T01:40:11.327Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-04-24T01:40:12.022Z] + make test [2023-04-24T01:40:12.022Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T01:40:59.020Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-24T01:43:35.903Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-04-24T01:43:35.903Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.072s coverage: 2.0% of statements [2023-04-24T01:43:35.903Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T01:43:35.903Z] go vet ./... [2023-04-24T01:44:03.087Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T01:44:03.087Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T01:44:03.087Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T01:44:03.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T01:44:03.128Z] $ docker stop --time=1 39064c32c2c401e4519fd8247d423ff17f77bd5b874ae61434bdb026abe098f8 [2023-04-24T01:44:05.116Z] $ docker rm -f --volumes 39064c32c2c401e4519fd8247d423ff17f77bd5b874ae61434bdb026abe098f8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T01:44:06.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T01:44:06.455Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T01:44:07.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T01:44:07.540Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T01:44:07.884Z] + ls -al . [2023-04-24T01:44:07.884Z] total 188 [2023-04-24T01:44:07.884Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 01:40 . [2023-04-24T01:44:07.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:37 .. [2023-04-24T01:44:07.884Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 01:37 .git [2023-04-24T01:44:07.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:37 .github [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 414 Apr 24 01:37 .gitignore [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 01:37 .golangci.yml [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 77 Apr 24 01:37 .hadolint.yml [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 9665 Apr 24 01:37 Attribution.txt [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 6219 Apr 24 01:37 CHANGELOG.md [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 2328 Apr 24 01:37 Dockerfile [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 01:37 GOVERNANCE.md [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 659 Apr 24 01:37 Jenkinsfile [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 01:37 LICENSE [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 2364 Apr 24 01:37 Makefile [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 01:37 OWNERS.md [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 5681 Apr 24 01:37 README.md [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 01:33 VERSION [2023-04-24T01:44:07.884Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:37 bin [2023-04-24T01:44:07.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:37 cmd [2023-04-24T01:44:07.884Z] -rw-r--r-- 1 jenkins jenkins 28693 Apr 24 01:43 coverage.out [2023-04-24T01:44:07.884Z] -rwxrwxr-x 1 jenkins jenkins 140 Apr 24 01:37 docker-entrypoint.sh [2023-04-24T01:44:07.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:37 docs [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 3443 Apr 24 01:37 go.mod [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 31603 Apr 24 01:37 go.sum [2023-04-24T01:44:07.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:37 internal [2023-04-24T01:44:07.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:37 snap [2023-04-24T01:44:07.884Z] -rw-rw-r-- 1 jenkins jenkins 231 Apr 24 01:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:44:08.240Z] + 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=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c --label arch=arm64 --label version=0.0.0 . [2023-04-24T01:44:08.527Z] Sending build context to Docker daemon 1.253MB [2023-04-24T01:44:08.527Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T01:44:08.527Z] Step 2/35 : FROM ${BASE} AS builder [2023-04-24T01:44:08.527Z] ---> 925b7d02f141 [2023-04-24T01:44:08.527Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-04-24T01:44:08.802Z] ---> Running in 69c3d97265e8 [2023-04-24T01:44:09.078Z] Removing intermediate container 69c3d97265e8 [2023-04-24T01:44:09.078Z] ---> ee888436e6cf [2023-04-24T01:44:09.078Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T01:44:09.353Z] ---> Running in 92c4efbd73d0 [2023-04-24T01:44:09.627Z] Removing intermediate container 92c4efbd73d0 [2023-04-24T01:44:09.627Z] ---> 7009a578c60e [2023-04-24T01:44:09.627Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-24T01:44:09.627Z] ---> Running in 9aa33b73947c [2023-04-24T01:44:09.902Z] Removing intermediate container 9aa33b73947c [2023-04-24T01:44:09.902Z] ---> 78370ef1dd3f [2023-04-24T01:44:09.902Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-24T01:44:10.184Z] ---> Running in 7917a792f602 [2023-04-24T01:44:10.458Z] Removing intermediate container 7917a792f602 [2023-04-24T01:44:10.458Z] ---> 7408f36ff542 [2023-04-24T01:44:10.458Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T01:44:10.458Z] ---> Running in d7fc1e99bd65 [2023-04-24T01:44:11.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T01:44:12.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T01:44:13.949Z] OK: 271 MiB in 67 packages [2023-04-24T01:44:14.942Z] Removing intermediate container d7fc1e99bd65 [2023-04-24T01:44:14.942Z] ---> ff8a895ad913 [2023-04-24T01:44:14.942Z] Step 8/35 : WORKDIR /device-usb-camera [2023-04-24T01:44:15.220Z] ---> Running in afac82541fa3 [2023-04-24T01:44:15.495Z] Removing intermediate container afac82541fa3 [2023-04-24T01:44:15.495Z] ---> 34debb89c3c9 [2023-04-24T01:44:15.495Z] Step 9/35 : COPY go.mod vendor* ./ [2023-04-24T01:44:16.099Z] ---> 1561287387e7 [2023-04-24T01:44:16.099Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T01:44:16.099Z] ---> Running in 79dbbd5aafbf [2023-04-24T01:44:19.494Z] Removing intermediate container 79dbbd5aafbf [2023-04-24T01:44:19.494Z] ---> 6503670e01e9 [2023-04-24T01:44:19.494Z] Step 11/35 : COPY . . [2023-04-24T01:44:20.470Z] ---> 19927a02e385 [2023-04-24T01:44:20.470Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-24T01:44:20.470Z] ---> Running in f795aefa07cf [2023-04-24T01:44:21.446Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T01:44:21.446Z] Dload Upload Total Spent Left Speed [2023-04-24T01:44:22.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2986 0 --:--:-- --:--:-- --:--:-- 2991 [2023-04-24T01:44:22.654Z] Removing intermediate container f795aefa07cf [2023-04-24T01:44:22.654Z] ---> 7a13411514fe [2023-04-24T01:44:22.654Z] Step 13/35 : RUN ${MAKE} [2023-04-24T01:44:22.926Z] ---> Running in ee970a3824e4 [2023-04-24T01:44:23.901Z] 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-04-24T01:47:31.893Z] Removing intermediate container ee970a3824e4 [2023-04-24T01:47:31.893Z] ---> d995d5bb05a7 [2023-04-24T01:47:31.893Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-04-24T01:47:31.893Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-04-24T01:47:31.893Z] 8766b47fe142: Pulling fs layer [2023-04-24T01:47:31.893Z] 8766b47fe142: Verifying Checksum [2023-04-24T01:47:31.893Z] 8766b47fe142: Download complete [2023-04-24T01:47:31.893Z] 8766b47fe142: Pull complete [2023-04-24T01:47:31.893Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-04-24T01:47:31.893Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-04-24T01:47:31.893Z] ---> 69d40e2cb93c [2023-04-24T01:47:31.893Z] Step 15/35 : FROM alpine:3.17 [2023-04-24T01:47:31.893Z] 3.17: Pulling from library/alpine [2023-04-24T01:47:31.893Z] c41833b44d91: Pulling fs layer [2023-04-24T01:47:31.893Z] c41833b44d91: Verifying Checksum [2023-04-24T01:47:31.893Z] c41833b44d91: Download complete [2023-04-24T01:47:31.893Z] c41833b44d91: Pull complete [2023-04-24T01:47:31.893Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T01:47:31.893Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T01:47:31.893Z] ---> 51e60588ff2c [2023-04-24T01:47:31.893Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-24T01:47:31.893Z] ---> Running in dc54a05e6d91 [2023-04-24T01:47:31.893Z] Removing intermediate container dc54a05e6d91 [2023-04-24T01:47:31.893Z] ---> 312e563997c4 [2023-04-24T01:47:31.893Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-04-24T01:47:31.893Z] ---> Running in e00775e19fc1 [2023-04-24T01:47:31.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T01:47:31.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T01:47:31.893Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-04-24T01:47:31.893Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-04-24T01:47:31.893Z] (3/83) Installing libxau (1.0.10-r0) [2023-04-24T01:47:31.893Z] (4/83) Installing libmd (1.0.4-r0) [2023-04-24T01:47:31.893Z] (5/83) Installing libbsd (0.11.7-r0) [2023-04-24T01:47:31.893Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-04-24T01:47:31.893Z] (7/83) Installing libxcb (1.15-r0) [2023-04-24T01:47:31.893Z] (8/83) Installing libx11 (1.8.4-r0) [2023-04-24T01:47:31.893Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-04-24T01:47:31.893Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-04-24T01:47:31.893Z] (11/83) Installing libexpat (2.5.0-r0) [2023-04-24T01:47:31.893Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-04-24T01:47:31.893Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-04-24T01:47:31.893Z] (14/83) Installing libpng (1.6.38-r0) [2023-04-24T01:47:31.893Z] (15/83) Installing freetype (2.12.1-r0) [2023-04-24T01:47:31.893Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-04-24T01:47:31.893Z] (17/83) Installing fribidi (1.0.12-r0) [2023-04-24T01:47:31.893Z] (18/83) Installing libffi (3.4.4-r0) [2023-04-24T01:47:31.893Z] (19/83) Installing libintl (0.21.1-r1) [2023-04-24T01:47:31.893Z] (20/83) Installing libblkid (2.38.1-r1) [2023-04-24T01:47:31.893Z] (21/83) Installing libmount (2.38.1-r1) [2023-04-24T01:47:31.893Z] (22/83) Installing pcre2 (10.42-r0) [2023-04-24T01:47:31.893Z] (23/83) Installing glib (2.74.6-r0) [2023-04-24T01:47:31.894Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-04-24T01:47:31.894Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-04-24T01:47:31.894Z] (26/83) Installing libass (0.16.0-r1) [2023-04-24T01:47:31.894Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-04-24T01:47:31.894Z] (28/83) Installing libdrm (2.4.114-r0) [2023-04-24T01:47:31.894Z] (29/83) Installing gmp (6.2.1-r2) [2023-04-24T01:47:31.894Z] (30/83) Installing nettle (3.8.1-r0) [2023-04-24T01:47:31.894Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-04-24T01:47:31.894Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-04-24T01:47:31.894Z] (33/83) Installing libunistring (1.1-r0) [2023-04-24T01:47:31.894Z] (34/83) Installing gnutls (3.7.8-r3) [2023-04-24T01:47:31.894Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-04-24T01:47:31.894Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-04-24T01:47:31.894Z] (37/83) Installing lame (3.100-r2) [2023-04-24T01:47:31.894Z] (38/83) Installing opus (1.3.1-r1) [2023-04-24T01:47:31.894Z] (39/83) Installing libasyncns (0.8-r1) [2023-04-24T01:47:31.894Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-04-24T01:47:31.894Z] (41/83) Installing libltdl (2.4.7-r1) [2023-04-24T01:47:31.894Z] (42/83) Installing orc (0.4.33-r0) [2023-04-24T01:47:31.894Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-04-24T01:47:31.894Z] (44/83) Installing libogg (1.3.5-r2) [2023-04-24T01:47:31.894Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-04-24T01:47:31.894Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-04-24T01:47:31.894Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-04-24T01:47:31.894Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-04-24T01:47:31.894Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-04-24T01:47:31.894Z] (50/83) Installing soxr (0.1.3-r3) [2023-04-24T01:47:31.894Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-04-24T01:47:31.894Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-04-24T01:47:31.894Z] (53/83) Installing libpulse (16.1-r6) [2023-04-24T01:47:31.894Z] (54/83) Installing cjson (1.7.15-r3) [2023-04-24T01:47:31.894Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-04-24T01:47:31.894Z] (56/83) Installing librist (0.2.7-r0) [2023-04-24T01:47:31.894Z] (57/83) Installing libsrt (1.5.1-r0) [2023-04-24T01:47:31.894Z] (58/83) Installing libssh (0.10.4-r0) [2023-04-24T01:47:31.894Z] (59/83) Installing libtheora (1.1.1-r16) [2023-04-24T01:47:31.894Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-04-24T01:47:31.894Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-04-24T01:47:31.894Z] (62/83) Installing libxext (1.3.5-r0) [2023-04-24T01:47:31.894Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-04-24T01:47:31.894Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-04-24T01:47:31.894Z] (65/83) Installing libva (2.16.0-r0) [2023-04-24T01:47:31.894Z] (66/83) Installing libvdpau (1.5-r0) [2023-04-24T01:47:31.894Z] (67/83) Installing vidstab (1.1.0-r2) [2023-04-24T01:47:31.894Z] (68/83) Installing libvpx (1.12.0-r1) [2023-04-24T01:47:31.894Z] (69/83) Installing libwebp (1.2.4-r1) [2023-04-24T01:47:31.894Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-04-24T01:47:31.894Z] (71/83) Installing numactl (2.0.16-r1) [2023-04-24T01:47:31.894Z] (72/83) Installing x265-libs (3.5-r3) [2023-04-24T01:47:31.894Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-04-24T01:47:31.894Z] (74/83) Installing libsodium (1.0.18-r2) [2023-04-24T01:47:31.894Z] (75/83) Installing libzmq (4.3.4-r1) [2023-04-24T01:47:31.894Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-04-24T01:47:31.894Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-04-24T01:47:31.894Z] (78/83) Installing udev-init-scripts (35-r1) [2023-04-24T01:47:31.894Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-04-24T01:47:31.894Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-04-24T01:47:31.894Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-04-24T01:47:31.894Z] (82/83) Installing kmod-libs (30-r1) [2023-04-24T01:47:31.894Z] (83/83) Installing eudev (3.2.11-r4) [2023-04-24T01:47:31.894Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T01:47:31.894Z] Executing eudev-3.2.11-r4.trigger [2023-04-24T01:47:31.894Z] OK: 86 MiB in 98 packages [2023-04-24T01:47:34.642Z] Removing intermediate container e00775e19fc1 [2023-04-24T01:47:34.642Z] ---> 21b546587865 [2023-04-24T01:47:34.642Z] Step 18/35 : WORKDIR / [2023-04-24T01:47:34.642Z] ---> Running in d00afc4a5f28 [2023-04-24T01:47:35.250Z] Removing intermediate container d00afc4a5f28 [2023-04-24T01:47:35.250Z] ---> 495ec1dc3b8d [2023-04-24T01:47:35.250Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-04-24T01:47:36.713Z] ---> 40e713e30247 [2023-04-24T01:47:36.713Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-04-24T01:47:37.329Z] ---> 546079a6948a [2023-04-24T01:47:37.329Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-04-24T01:47:37.927Z] ---> 2e95e1ef0110 [2023-04-24T01:47:37.927Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-04-24T01:47:38.520Z] ---> 8f99a5d0a730 [2023-04-24T01:47:38.520Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-04-24T01:47:39.116Z] ---> 3e223f0bea8a [2023-04-24T01:47:39.116Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-04-24T01:47:39.722Z] ---> 5d1b44aef424 [2023-04-24T01:47:39.722Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-04-24T01:47:41.170Z] ---> 882ae2e43c4d [2023-04-24T01:47:41.170Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-04-24T01:47:41.444Z] ---> Running in 7bcc89f7f9ac [2023-04-24T01:47:43.433Z] Removing intermediate container 7bcc89f7f9ac [2023-04-24T01:47:43.433Z] ---> 283da1aa8309 [2023-04-24T01:47:43.433Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-04-24T01:47:43.433Z] ---> Running in cc0370f9e612 [2023-04-24T01:47:45.403Z] Removing intermediate container cc0370f9e612 [2023-04-24T01:47:45.403Z] ---> f2197fc6a8c3 [2023-04-24T01:47:45.403Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-04-24T01:47:45.403Z] ---> Running in 81d0c6ae44b3 [2023-04-24T01:47:47.357Z] Removing intermediate container 81d0c6ae44b3 [2023-04-24T01:47:47.357Z] ---> 6a774f99ef08 [2023-04-24T01:47:47.357Z] Step 29/35 : EXPOSE 59983 [2023-04-24T01:47:47.357Z] ---> Running in ebd5031d826e [2023-04-24T01:47:47.357Z] Removing intermediate container ebd5031d826e [2023-04-24T01:47:47.357Z] ---> d69a13de5694 [2023-04-24T01:47:47.357Z] Step 30/35 : EXPOSE 8554 [2023-04-24T01:47:47.626Z] ---> Running in 86df2557ba0a [2023-04-24T01:47:47.896Z] Removing intermediate container 86df2557ba0a [2023-04-24T01:47:47.896Z] ---> 58ac05e0767f [2023-04-24T01:47:47.896Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-04-24T01:47:47.896Z] ---> Running in 442e406a055f [2023-04-24T01:47:48.167Z] Removing intermediate container 442e406a055f [2023-04-24T01:47:48.167Z] ---> c424d25c1296 [2023-04-24T01:47:48.167Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-04-24T01:47:48.437Z] ---> Running in f3066a17c386 [2023-04-24T01:47:48.709Z] Removing intermediate container f3066a17c386 [2023-04-24T01:47:48.709Z] ---> 118fa7400eeb [2023-04-24T01:47:48.709Z] Step 33/35 : LABEL arch=arm64 [2023-04-24T01:47:48.709Z] ---> Running in 8dcb76015c16 [2023-04-24T01:47:48.984Z] Removing intermediate container 8dcb76015c16 [2023-04-24T01:47:48.984Z] ---> 58b607a31271 [2023-04-24T01:47:48.984Z] Step 34/35 : LABEL git_sha=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [2023-04-24T01:47:49.253Z] ---> Running in 560fafb50fac [2023-04-24T01:47:49.524Z] Removing intermediate container 560fafb50fac [2023-04-24T01:47:49.524Z] ---> 7fccf8c666d7 [2023-04-24T01:47:49.524Z] Step 35/35 : LABEL version=0.0.0 [2023-04-24T01:47:49.524Z] ---> Running in 9d3505fdbfb3 [2023-04-24T01:47:49.794Z] Removing intermediate container 9d3505fdbfb3 [2023-04-24T01:47:49.794Z] ---> 80df8f59efe6 [2023-04-24T01:47:49.794Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T01:47:49.794Z] Successfully built 80df8f59efe6 [2023-04-24T01:47:50.064Z] 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-04-24T01:47:50.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T01:47:50.516Z] [2023-04-24T01:47:50.516Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:47:50.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T01:47:51.130Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T01:47:51.130Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T01:47:51.130Z] 04944245beec: Pulling fs layer [2023-04-24T01:47:51.130Z] 699f458cf7ca: Pulling fs layer [2023-04-24T01:47:51.130Z] 765212b225bb: Pulling fs layer [2023-04-24T01:47:51.130Z] f23df028b6ca: Pulling fs layer [2023-04-24T01:47:51.130Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T01:47:51.130Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T01:47:51.130Z] 765212b225bb: Waiting [2023-04-24T01:47:51.130Z] f23df028b6ca: Waiting [2023-04-24T01:47:51.130Z] d65c8cfc05b1: Waiting [2023-04-24T01:47:51.130Z] 2437ff75d9bd: Waiting [2023-04-24T01:47:51.130Z] 04944245beec: Verifying Checksum [2023-04-24T01:47:51.130Z] 04944245beec: Download complete [2023-04-24T01:47:51.130Z] 765212b225bb: Verifying Checksum [2023-04-24T01:47:51.130Z] 765212b225bb: Download complete [2023-04-24T01:47:51.130Z] f23df028b6ca: Download complete [2023-04-24T01:47:51.406Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T01:47:51.406Z] d65c8cfc05b1: Download complete [2023-04-24T01:47:51.406Z] 699f458cf7ca: Verifying Checksum [2023-04-24T01:47:51.406Z] 699f458cf7ca: Download complete [2023-04-24T01:47:51.677Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T01:47:51.677Z] 8998bd30e6a1: Download complete [2023-04-24T01:47:54.281Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T01:47:54.282Z] 2437ff75d9bd: Download complete [2023-04-24T01:47:56.250Z] 8998bd30e6a1: Pull complete [2023-04-24T01:47:56.840Z] 04944245beec: Pull complete [2023-04-24T01:47:58.256Z] 699f458cf7ca: Pull complete [2023-04-24T01:47:58.256Z] 765212b225bb: Pull complete [2023-04-24T01:47:59.227Z] f23df028b6ca: Pull complete [2023-04-24T01:47:59.499Z] d65c8cfc05b1: Pull complete [2023-04-24T01:48:14.524Z] 2437ff75d9bd: Pull complete [2023-04-24T01:48:14.524Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T01:48:14.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T01:48:14.524Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:48:14.754Z] prd-ubuntu20.04-docker-arm64-4c-16g-9449 does not seem to be running inside a container [2023-04-24T01:48:14.839Z] $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-24T01:48:18.871Z] $ docker top 07f086b7eeba1bb6663a253a793169cde67d0c368daccad098ac327ed9022642 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:48:19.762Z] ---> job-cost.sh [2023-04-24T01:48:19.762Z] lf-activate-venv: SKIPPING [2023-04-24T01:48:19.762Z] INFO: No Stack... [2023-04-24T01:48:20.355Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T01:48:20.948Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T01:48:21.594Z] + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2023-04-24T01:48:21.595Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T01:48:21.677Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] [2023-04-24T01:48:21.685Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] did not exist. Created. [2023-04-24T01:48:21.686Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T01:48:22.369Z] /w/workspace/device-usb-camera/2@tmp/durable-ed3546af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T01:48:23.044Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T01:48:23.062Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T01:48:23.129Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T01:48:23.232Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T01:48:23.260Z] $ docker stop --time=1 07f086b7eeba1bb6663a253a793169cde67d0c368daccad098ac327ed9022642 [2023-04-24T01:48:24.861Z] $ docker rm -f --volumes 07f086b7eeba1bb6663a253a793169cde67d0c368daccad098ac327ed9022642 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-24T01:48:25.289Z] provisioning config files... [2023-04-24T01:48:25.297Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-221@tmp/config3371428407473381112tmp [Pipeline] { [Pipeline] sh [2023-04-24T01:48:25.590Z] + set +x [2023-04-24T01:48:25.590Z] + curl -s https://codecov.io/bash [2023-04-24T01:48:25.590Z] + bash -s -- [2023-04-24T01:48:25.590Z] [2023-04-24T01:48:25.590Z] _____ _ [2023-04-24T01:48:25.590Z] / ____| | | [2023-04-24T01:48:25.590Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T01:48:25.590Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T01:48:25.590Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T01:48:25.590Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T01:48:25.590Z] Bash-1.0.6 [2023-04-24T01:48:25.590Z] [2023-04-24T01:48:25.590Z] [2023-04-24T01:48:25.590Z] ==> git version 2.25.1 found [2023-04-24T01:48:25.590Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-24T01:48:25.590Z] Release-Date: 2020-01-08 [2023-04-24T01:48:25.590Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-24T01:48:25.590Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T01:48:25.590Z] ==> Jenkins CI detected. [2023-04-24T01:48:25.590Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-221 [2023-04-24T01:48:25.590Z] project root: . [2023-04-24T01:48:25.590Z] --> token set from env [2023-04-24T01:48:25.590Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T01:48:25.590Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T01:48:25.590Z] ==> Python coveragepy not found [2023-04-24T01:48:25.590Z] ==> Searching for coverage reports in: [2023-04-24T01:48:25.590Z] + . [2023-04-24T01:48:25.590Z] -> Found 1 reports [2023-04-24T01:48:25.590Z] ==> Detecting git/mercurial file structure [2023-04-24T01:48:25.590Z] ==> Reading reports [2023-04-24T01:48:25.590Z] + ./coverage.out bytes=28693 [2023-04-24T01:48:25.590Z] ==> Appending adjustments [2023-04-24T01:48:25.590Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T01:48:25.850Z] + Found adjustments [2023-04-24T01:48:25.850Z] ==> Gzipping contents [2023-04-24T01:48:25.850Z] 4.0K /tmp/codecov.URVKUK.gz [2023-04-24T01:48:25.850Z] ==> Uploading reports [2023-04-24T01:48:25.850Z] url: https://codecov.io [2023-04-24T01:48:25.850Z] query: branch=PR-221&commit=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-221%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=221&job=&cmd_args= [2023-04-24T01:48:25.850Z] -> Pinging Codecov [2023-04-24T01:48:25.850Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-221&commit=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-221%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=221&job=&cmd_args= [2023-04-24T01:48:25.850Z] -> Uploading to [2023-04-24T01:48:25.850Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/73D8F5FF140700D3E01443B452E23636/1712ad8aa23467b9ad8e76847b9cb93e6ae1509c/72a4b3e1-6d33-4418-ab73-573abadd4a3b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T014825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5eb157c94879a5c72cb048c296147f77752193cba600ee203e5f3f3df4acad64 [2023-04-24T01:48:25.850Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T01:48:25.850Z] Dload Upload Total Spent Left Speed [2023-04-24T01:48:26.110Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 15228 --:--:-- --:--:-- --:--:-- 15287 [2023-04-24T01:48:26.110Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [Pipeline] } [2023-04-24T01:48:26.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-24T01:48:26.856Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-221/archives ] [2023-04-24T01:48:26.857Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-221/archives [2023-04-24T01:48:26.857Z] total 16 [2023-04-24T01:48:26.857Z] drwxr-xr-x 3 root root 4096 Apr 24 01:35 . [2023-04-24T01:48:26.857Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 01:35 .. [2023-04-24T01:48:26.857Z] drwxr-xr-x 2 root root 4096 Apr 24 01:35 cost [2023-04-24T01:48:26.857Z] -rw-r--r-- 1 root root 89 Apr 24 01:35 cost.csv [2023-04-24T01:48:26.857Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-221/archives [2023-04-24T01:48:26.857Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-221/archives [2023-04-24T01:48:26.857Z] total 16 [2023-04-24T01:48:26.857Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 01:35 . [2023-04-24T01:48:26.857Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 01:35 .. [2023-04-24T01:48:26.857Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 01:35 cost [2023-04-24T01:48:26.857Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 24 01:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:48:27.161Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:48:28.021Z] ---> package-listing.sh [2023-04-24T01:48:28.021Z] ++ facter osfamily [2023-04-24T01:48:28.021Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T01:48:28.280Z] + OS_FAMILY=debian [2023-04-24T01:48:28.280Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-221 [2023-04-24T01:48:28.280Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T01:48:28.280Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T01:48:28.280Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T01:48:28.280Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T01:48:28.280Z] + '[' /w/workspace/foundry_device-usb-camera_PR-221 ']' [2023-04-24T01:48:28.280Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T01:48:28.280Z] + case "${OS_FAMILY}" in [2023-04-24T01:48:28.280Z] + dpkg -l [2023-04-24T01:48:28.280Z] + grep '^ii' [2023-04-24T01:48:28.280Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T01:48:28.280Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T01:48:28.280Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T01:48:28.280Z] + '[' /w/workspace/foundry_device-usb-camera_PR-221 ']' [2023-04-24T01:48:28.280Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-221/archives/ [2023-04-24T01:48:28.280Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-221/archives/ [Pipeline] echo [2023-04-24T01:48:28.291Z] 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-221/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T01:48:28.571Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:48:29.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T01:48:29.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:48:29.204Z] prd-ubuntu20.04-docker-8c-8g-9429 does not seem to be running inside a container [2023-04-24T01:48:29.238Z] $ 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-221/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-221 -v /w/workspace/foundry_device-usb-camera_PR-221:/w/workspace/foundry_device-usb-camera_PR-221:rw,z -v /w/workspace/foundry_device-usb-camera_PR-221@tmp:/w/workspace/foundry_device-usb-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T01:48:29.439Z] $ docker top 3cf5a8c9fa61579bf55923814fb315017294b1294dc6eb9c5fee334491c5dd60 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T01:48:29.791Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T01:48:30.079Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T01:48:30.365Z] + ls /var/log/sa-host [2023-04-24T01:48:30.366Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T01:48:30.458Z] provisioning config files... [2023-04-24T01:48:30.466Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-221@tmp/config11913766327528465383tmp [Pipeline] { [Pipeline] echo [2023-04-24T01:48:30.484Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:48:30.773Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T01:48:30.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:48:31.113Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T01:48:31.122Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:48:31.407Z] ---> sudo-logs.sh [2023-04-24T01:48:31.407Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T01:48:31.440Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:48:31.722Z] ---> job-cost.sh [2023-04-24T01:48:31.722Z] lf-activate-venv: SKIPPING [2023-04-24T01:48:31.722Z] DEBUG: total: 0.2199999988079071 [2023-04-24T01:48:31.722Z] INFO: Retrieving Stack Cost... [2023-04-24T01:48:31.982Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T01:48:32.554Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T01:48:32.566Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:48:32.853Z] ---> logs-deploy.sh [2023-04-24T01:48:32.853Z] lf-activate-venv: SKIPPING [2023-04-24T01:48:32.853Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-221/2 [2023-04-24T01:48:32.853Z] INFO: archiving workspace using pattern(s): [2023-04-24T01:48:33.794Z] Archives upload complete. [2023-04-24T01:48:33.794Z] INFO: archiving logs to Nexus