Pull request #232 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c02fd2de79c928798e59539ff8ba42372fe46896+c99ddce2530f0bca898d9428dd15bfa81bd19b45 (554925afa0a9aa7c04df8ec54064be0bef2b2adc) 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-ssh3199964008929504221.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-ssh16972022388333915019.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4041069738187823087.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11136482218409869485.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10401230519036024387.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14786698373279128929.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12610 in /w/workspace/foundry_device-usb-camera_PR-232 [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-232 # 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 Merging remotes/origin/main commit c99ddce2530f0bca898d9428dd15bfa81bd19b45 into PR head commit c02fd2de79c928798e59539ff8ba42372fe46896 Merge succeeded, producing c02fd2de79c928798e59539ff8ba42372fe46896 Checking out Revision c02fd2de79c928798e59539ff8ba42372fe46896 (PR-232) > 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/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c02fd2de79c928798e59539ff8ba42372fe46896 # 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 c99ddce2530f0bca898d9428dd15bfa81bd19b45 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c02fd2de79c928798e59539ff8ba42372fe46896 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-03T18:01:37.967Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-03T18:01:38.149Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-03T18:01:38.252Z] ========================================================= [2023-05-03T18:01:38.252Z] EdgeX Global Pipelines Version Info [2023-05-03T18:01:38.252Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:01:39.019Z] ------------------- [2023-05-03T18:01:39.019Z] stable info: [2023-05-03T18:01:39.019Z] ------------------- [2023-05-03T18:01:39.019Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-03T18:01:39.019Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-03T18:01:39.019Z] Message: update stable to v1.0.248 [2023-05-03T18:01:39.589Z] ------------------- [2023-05-03T18:01:39.589Z] experimental info: [2023-05-03T18:01:39.589Z] ------------------- [2023-05-03T18:01:39.589Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-03T18:01:39.589Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-03T18:01:39.589Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-03T18:01:39.898Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-03T18:01:39.941Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-03T18:01:39.985Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-03T18:01:40.030Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-03T18:01:40.080Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-03T18:01:40.122Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-03T18:01:40.163Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-03T18:01:40.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-03T18:01:40.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-03T18:01:40.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-03T18:01:40.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-03T18:01:40.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-03T18:01:40.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-03T18:01:40.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-03T18:01:40.544Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-03T18:01:40.586Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-03T18:01:40.622Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T18:01:40.658Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-03T18:01:40.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-03T18:01:40.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-03T18:01:40.765Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-03T18:01:40.802Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-03T18:01:40.841Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-03T18:01:40.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-03T18:01:40.918Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-03T18:01:40.954Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-03T18:01:40.996Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-03T18:01:41.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-232 [Pipeline] echo [2023-05-03T18:01:41.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-232 [Pipeline] echo [2023-05-03T18:01:41.115Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-232 [Pipeline] echo [2023-05-03T18:01:41.156Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c02fd2de79c928798e59539ff8ba42372fe46896 [Pipeline] echo [2023-05-03T18:01:41.195Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c02fd2d [Pipeline] echo [2023-05-03T18:01:41.242Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T18:01:41.363Z] provisioning config files... [2023-05-03T18:01:41.402Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-232@tmp/config3864489335966840392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:01:41.780Z] ---> docker-login.sh [2023-05-03T18:01:41.780Z] nexus3.edgexfoundry.org:10001 [2023-05-03T18:01:42.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:01:42.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:01:42.040Z] Configure a credential helper to remove this warning. See [2023-05-03T18:01:42.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:01:42.040Z] [2023-05-03T18:01:42.040Z] Login Succeeded [2023-05-03T18:01:42.040Z] nexus3.edgexfoundry.org:10002 [2023-05-03T18:01:42.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:01:42.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:01:42.300Z] Configure a credential helper to remove this warning. See [2023-05-03T18:01:42.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:01:42.300Z] [2023-05-03T18:01:42.300Z] Login Succeeded [2023-05-03T18:01:42.300Z] nexus3.edgexfoundry.org:10003 [2023-05-03T18:01:42.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:01:42.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:01:42.300Z] Configure a credential helper to remove this warning. See [2023-05-03T18:01:42.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:01:42.300Z] [2023-05-03T18:01:42.300Z] Login Succeeded [2023-05-03T18:01:42.300Z] nexus3.edgexfoundry.org:10004 [2023-05-03T18:01:42.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:01:42.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:01:42.560Z] Configure a credential helper to remove this warning. See [2023-05-03T18:01:42.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:01:42.560Z] [2023-05-03T18:01:42.560Z] Login Succeeded [2023-05-03T18:01:42.560Z] docker.io [2023-05-03T18:01:42.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:01:42.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:01:42.821Z] Configure a credential helper to remove this warning. See [2023-05-03T18:01:42.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:01:42.821Z] [2023-05-03T18:01:42.821Z] Login Succeeded [2023-05-03T18:01:42.821Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T18:01:42.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-03T18:01:43.466Z] + git rev-list -1 --merges c02fd2de79c928798e59539ff8ba42372fe46896~1..c02fd2de79c928798e59539ff8ba42372fe46896 [Pipeline] echo [2023-05-03T18:01:43.529Z] -----------> git rev-list -1 --merges c02fd2de79c928798e59539ff8ba42372fe46896~1..c02fd2de79c928798e59539ff8ba42372fe46896 c02fd2de79c928798e59539ff8ba42372fe46896 [false] [Pipeline] sh [2023-05-03T18:01:43.852Z] + git log --format=format:%s -1 c02fd2de79c928798e59539ff8ba42372fe46896 [Pipeline] echo [2023-05-03T18:01:43.891Z] ========================================================= [2023-05-03T18:01:43.891Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-03T18:01:43.891Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T18:01:44.330Z] + git log --format=format:%s -1 c02fd2de79c928798e59539ff8ba42372fe46896 [Pipeline] echo [2023-05-03T18:01:44.364Z] [semverPrep] GIT_COMMIT: c02fd2de79c928798e59539ff8ba42372fe46896, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-03T18:01:44.394Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-03T18:01:44.795Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-03T18:01:44.795Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-03T18:01:44.795Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-03T18:01:44.795Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-03T18:01:44.795Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-03T18:01:44.795Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-03T18:01:44.795Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:01:45.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T18:01:45.279Z] [2023-05-03T18:01:45.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:01:45.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T18:01:45.668Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-03T18:01:45.668Z] b85a868b505f: Pulling fs layer [2023-05-03T18:01:45.668Z] e2be974225ed: Pulling fs layer [2023-05-03T18:01:45.668Z] 339a4e72a1f5: Pulling fs layer [2023-05-03T18:01:45.668Z] 988bab9f4d93: Pulling fs layer [2023-05-03T18:01:45.668Z] 1469e6f7b9e6: Pulling fs layer [2023-05-03T18:01:45.668Z] 988bab9f4d93: Waiting [2023-05-03T18:01:45.668Z] eaf3925da568: Pulling fs layer [2023-05-03T18:01:45.668Z] bab4dde63d76: Pulling fs layer [2023-05-03T18:01:45.668Z] bde34c3a00c8: Pulling fs layer [2023-05-03T18:01:45.668Z] b352a97aabf1: Pulling fs layer [2023-05-03T18:01:45.668Z] 1469e6f7b9e6: Waiting [2023-05-03T18:01:45.668Z] 4872d77fe225: Pulling fs layer [2023-05-03T18:01:45.668Z] 5851b861e8e6: Pulling fs layer [2023-05-03T18:01:45.668Z] bab4dde63d76: Waiting [2023-05-03T18:01:45.668Z] bde34c3a00c8: Waiting [2023-05-03T18:01:45.668Z] b352a97aabf1: Waiting [2023-05-03T18:01:45.668Z] 4872d77fe225: Waiting [2023-05-03T18:01:45.668Z] 5851b861e8e6: Waiting [2023-05-03T18:01:45.668Z] eaf3925da568: Waiting [2023-05-03T18:01:45.668Z] e2be974225ed: Download complete [2023-05-03T18:01:45.668Z] 988bab9f4d93: Verifying Checksum [2023-05-03T18:01:45.668Z] 988bab9f4d93: Download complete [2023-05-03T18:01:45.668Z] 1469e6f7b9e6: Verifying Checksum [2023-05-03T18:01:45.668Z] 1469e6f7b9e6: Download complete [2023-05-03T18:01:45.668Z] eaf3925da568: Verifying Checksum [2023-05-03T18:01:45.668Z] eaf3925da568: Download complete [2023-05-03T18:01:45.928Z] 339a4e72a1f5: Verifying Checksum [2023-05-03T18:01:45.928Z] 339a4e72a1f5: Download complete [2023-05-03T18:01:45.928Z] bde34c3a00c8: Verifying Checksum [2023-05-03T18:01:45.928Z] bde34c3a00c8: Download complete [2023-05-03T18:01:45.928Z] b352a97aabf1: Verifying Checksum [2023-05-03T18:01:45.928Z] b352a97aabf1: Download complete [2023-05-03T18:01:45.928Z] 4872d77fe225: Verifying Checksum [2023-05-03T18:01:45.928Z] 4872d77fe225: Download complete [2023-05-03T18:01:45.928Z] 5851b861e8e6: Verifying Checksum [2023-05-03T18:01:45.928Z] 5851b861e8e6: Download complete [2023-05-03T18:01:45.928Z] b85a868b505f: Verifying Checksum [2023-05-03T18:01:45.928Z] b85a868b505f: Download complete [2023-05-03T18:01:46.188Z] bab4dde63d76: Verifying Checksum [2023-05-03T18:01:46.188Z] bab4dde63d76: Download complete [2023-05-03T18:01:47.124Z] b85a868b505f: Pull complete [2023-05-03T18:01:47.383Z] e2be974225ed: Pull complete [2023-05-03T18:01:47.643Z] 339a4e72a1f5: Pull complete [2023-05-03T18:01:47.903Z] 988bab9f4d93: Pull complete [2023-05-03T18:01:48.162Z] 1469e6f7b9e6: Pull complete [2023-05-03T18:01:48.162Z] eaf3925da568: Pull complete [2023-05-03T18:01:50.067Z] bab4dde63d76: Pull complete [2023-05-03T18:01:50.067Z] bde34c3a00c8: Pull complete [2023-05-03T18:01:50.067Z] b352a97aabf1: Pull complete [2023-05-03T18:01:50.067Z] 4872d77fe225: Pull complete [2023-05-03T18:01:50.067Z] 5851b861e8e6: Pull complete [2023-05-03T18:01:50.067Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-03T18:01:50.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-03T18:01:50.067Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:01:50.300Z] prd-ubuntu20.04-docker-8c-8g-12610 does not seem to be running inside a container [2023-05-03T18:01:50.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-232 -v /w/workspace/foundry_device-usb-camera_PR-232:/w/workspace/foundry_device-usb-camera_PR-232:rw,z -v /w/workspace/foundry_device-usb-camera_PR-232@tmp:/w/workspace/foundry_device-usb-camera_PR-232@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-03T18:01:52.369Z] $ docker top 2f130a89af06e826aa9e6ba8d56a5ee3aa8605e736270fdbe6a06469c2a38d77 -eo pid,comm [2023-05-03T18:01:52.441Z] 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-05-03T18:01:52.441Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-03T18:01:52.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T18:01:52.560Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T18:01:52.675Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T18:01:52.676Z] $ docker exec 2f130a89af06e826aa9e6ba8d56a5ee3aa8605e736270fdbe6a06469c2a38d77 ssh-agent [2023-05-03T18:01:52.775Z] SSH_AUTH_SOCK=/tmp/ssh-1xZ5lWfJ46NH/agent.33 [2023-05-03T18:01:52.775Z] SSH_AGENT_PID=39 [2023-05-03T18:01:52.781Z] Running ssh-add (command line suppressed) [2023-05-03T18:01:52.881Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-232@tmp/private_key_8411294705609002836.key (/w/workspace/foundry_device-usb-camera_PR-232@tmp/private_key_8411294705609002836.key) [2023-05-03T18:01:52.901Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T18:01:53.230Z] + git tag --points-at HEAD [Pipeline] } [2023-05-03T18:01:53.256Z] $ docker exec --env ******** --env ******** 2f130a89af06e826aa9e6ba8d56a5ee3aa8605e736270fdbe6a06469c2a38d77 ssh-agent -k [2023-05-03T18:01:53.361Z] unset SSH_AUTH_SOCK; [2023-05-03T18:01:53.362Z] unset SSH_AGENT_PID; [2023-05-03T18:01:53.362Z] echo Agent pid 39 killed; [2023-05-03T18:01:53.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-03T18:01:53.456Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-03T18:01:53.456Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-03T18:01:53.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-03T18:01:53.564Z] $ docker exec 2f130a89af06e826aa9e6ba8d56a5ee3aa8605e736270fdbe6a06469c2a38d77 ssh-agent [2023-05-03T18:01:53.668Z] SSH_AUTH_SOCK=/tmp/ssh-JfERZvJtePUO/agent.71 [2023-05-03T18:01:53.668Z] SSH_AGENT_PID=77 [2023-05-03T18:01:53.673Z] Running ssh-add (command line suppressed) [2023-05-03T18:01:53.770Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-232@tmp/private_key_14901146259537015212.key (/w/workspace/foundry_device-usb-camera_PR-232@tmp/private_key_14901146259537015212.key) [2023-05-03T18:01:53.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-03T18:01:54.109Z] + git semver init [2023-05-03T18:01:54.368Z] 2023-05-03 18:01:54,278 [run_init] DEBUG init version:0.0.0 force:False [2023-05-03T18:01:54.368Z] 2023-05-03 18:01:54,279 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-232/.semver [2023-05-03T18:01:54.368Z] 2023-05-03 18:01:54,279 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-232/.semver [2023-05-03T18:01:54.368Z] 2023-05-03 18:01:54,279 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-232/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-232, universal_newlines=False, shell=None, istream=None) [2023-05-03T18:01:55.306Z] 2023-05-03 18:01:54,979 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-232/.git/info/exclude [2023-05-03T18:01:55.306Z] 2023-05-03 18:01:54,979 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-232/.semver/PR-232 with force:False [2023-05-03T18:01:55.306Z] 2023-05-03 18:01:54,979 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-232/.semver/PR-232 [2023-05-03T18:01:55.306Z] 2023-05-03 18:01:54,983 [execute] INFO git cat-file --batch-check [2023-05-03T18:01:55.306Z] 2023-05-03 18:01:54,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-232/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T18:01:55.306Z] 2023-05-03 18:01:54,989 [execute] INFO git cat-file --batch [2023-05-03T18:01:55.306Z] 2023-05-03 18:01:54,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-232/.semver, universal_newlines=False, shell=None, istream=) [2023-05-03T18:01:55.306Z] 2023-05-03 18:01:54,993 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-232/.semver/PR-232 [2023-05-03T18:01:55.306Z] 0.0.0 [Pipeline] } [2023-05-03T18:01:55.336Z] $ docker exec --env ******** --env ******** 2f130a89af06e826aa9e6ba8d56a5ee3aa8605e736270fdbe6a06469c2a38d77 ssh-agent -k [2023-05-03T18:01:55.435Z] unset SSH_AUTH_SOCK; [2023-05-03T18:01:55.435Z] unset SSH_AGENT_PID; [2023-05-03T18:01:55.435Z] echo Agent pid 77 killed; [2023-05-03T18:01:55.446Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-03T18:01:55.853Z] + git semver [Pipeline] } [2023-05-03T18:01:56.136Z] $ docker stop --time=1 2f130a89af06e826aa9e6ba8d56a5ee3aa8605e736270fdbe6a06469c2a38d77 [2023-05-03T18:01:57.401Z] $ docker rm -f --volumes 2f130a89af06e826aa9e6ba8d56a5ee3aa8605e736270fdbe6a06469c2a38d77 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T18:01:57.789Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-03T18:01:58.047Z] Stashed 1 file(s) [Pipeline] echo [2023-05-03T18:01:58.063Z] [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-05-03T18:01:58.615Z] provisioning config files... [2023-05-03T18:01:58.625Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-232@tmp/config11783306769030521837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:01:58.968Z] ---> docker-login.sh [2023-05-03T18:01:58.968Z] nexus3.edgexfoundry.org:10001 [2023-05-03T18:01:58.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:01:58.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:01:58.968Z] Configure a credential helper to remove this warning. See [2023-05-03T18:01:58.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:01:58.968Z] [2023-05-03T18:01:58.968Z] Login Succeeded [2023-05-03T18:01:58.968Z] nexus3.edgexfoundry.org:10002 [2023-05-03T18:01:58.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:01:58.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:01:58.968Z] Configure a credential helper to remove this warning. See [2023-05-03T18:01:58.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:01:58.968Z] [2023-05-03T18:01:58.968Z] Login Succeeded [2023-05-03T18:01:58.968Z] nexus3.edgexfoundry.org:10003 [2023-05-03T18:01:59.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:01:59.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:01:59.227Z] Configure a credential helper to remove this warning. See [2023-05-03T18:01:59.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:01:59.227Z] [2023-05-03T18:01:59.227Z] Login Succeeded [2023-05-03T18:01:59.227Z] nexus3.edgexfoundry.org:10004 [2023-05-03T18:01:59.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:01:59.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:01:59.227Z] Configure a credential helper to remove this warning. See [2023-05-03T18:01:59.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:01:59.227Z] [2023-05-03T18:01:59.227Z] Login Succeeded [2023-05-03T18:01:59.227Z] docker.io [2023-05-03T18:01:59.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:01:59.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:01:59.486Z] Configure a credential helper to remove this warning. See [2023-05-03T18:01:59.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:01:59.486Z] [2023-05-03T18:01:59.486Z] Login Succeeded [2023-05-03T18:01:59.486Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T18:01:59.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T18:01:59.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T18:01:59.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T18:01:59.757Z] ========================================================= [2023-05-03T18:01:59.757Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-03T18:01:59.757Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:02:00.210Z] + 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-05-03T18:02:00.210Z] Sending build context to Docker daemon 1.976MB [2023-05-03T18:02:00.210Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T18:02:00.210Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-03T18:02:00.210Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-03T18:02:00.210Z] f56be85fc22e: Pulling fs layer [2023-05-03T18:02:00.210Z] 85791d961cd3: Pulling fs layer [2023-05-03T18:02:00.210Z] d694b5ae8c79: Pulling fs layer [2023-05-03T18:02:00.210Z] 9f32a84ed3da: Pulling fs layer [2023-05-03T18:02:00.210Z] 4d19c01a9841: Pulling fs layer [2023-05-03T18:02:00.210Z] 9325e15d5711: Pulling fs layer [2023-05-03T18:02:00.210Z] 556b6ee489ea: Pulling fs layer [2023-05-03T18:02:00.210Z] c5a4b2cf53e6: Pulling fs layer [2023-05-03T18:02:00.210Z] 4d19c01a9841: Waiting [2023-05-03T18:02:00.210Z] 9f32a84ed3da: Waiting [2023-05-03T18:02:00.210Z] 556b6ee489ea: Waiting [2023-05-03T18:02:00.210Z] c5a4b2cf53e6: Waiting [2023-05-03T18:02:00.210Z] 85791d961cd3: Download complete [2023-05-03T18:02:00.210Z] 9f32a84ed3da: Verifying Checksum [2023-05-03T18:02:00.210Z] 9f32a84ed3da: Download complete [2023-05-03T18:02:00.210Z] 4d19c01a9841: Download complete [2023-05-03T18:02:00.472Z] f56be85fc22e: Download complete [2023-05-03T18:02:00.472Z] 9325e15d5711: Verifying Checksum [2023-05-03T18:02:00.472Z] 9325e15d5711: Download complete [2023-05-03T18:02:00.472Z] f56be85fc22e: Pull complete [2023-05-03T18:02:00.734Z] 85791d961cd3: Pull complete [2023-05-03T18:02:01.023Z] c5a4b2cf53e6: Verifying Checksum [2023-05-03T18:02:01.023Z] c5a4b2cf53e6: Download complete [2023-05-03T18:02:01.319Z] d694b5ae8c79: Verifying Checksum [2023-05-03T18:02:01.319Z] d694b5ae8c79: Download complete [2023-05-03T18:02:01.579Z] 556b6ee489ea: Verifying Checksum [2023-05-03T18:02:01.579Z] 556b6ee489ea: Download complete [2023-05-03T18:02:04.112Z] d694b5ae8c79: Pull complete [2023-05-03T18:02:04.112Z] 9f32a84ed3da: Pull complete [2023-05-03T18:02:04.112Z] 4d19c01a9841: Pull complete [2023-05-03T18:02:04.370Z] 9325e15d5711: Pull complete [2023-05-03T18:02:06.898Z] 556b6ee489ea: Pull complete [2023-05-03T18:02:07.465Z] c5a4b2cf53e6: Pull complete [2023-05-03T18:02:07.465Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-03T18:02:07.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-03T18:02:07.465Z] ---> c4be618373d6 [2023-05-03T18:02:07.465Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-03T18:02:10.761Z] ---> Running in 27641a610c9b [2023-05-03T18:02:10.761Z] Removing intermediate container 27641a610c9b [2023-05-03T18:02:10.761Z] ---> d29d2d940d28 [2023-05-03T18:02:10.761Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T18:02:10.761Z] ---> Running in 4f93a796eb53 [2023-05-03T18:02:10.761Z] Removing intermediate container 4f93a796eb53 [2023-05-03T18:02:10.761Z] ---> 40164a34c251 [2023-05-03T18:02:10.761Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-03T18:02:10.761Z] ---> Running in b5dfec6c4774 [2023-05-03T18:02:10.761Z] Removing intermediate container b5dfec6c4774 [2023-05-03T18:02:10.761Z] ---> cd6b42566c83 [2023-05-03T18:02:10.761Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-03T18:02:10.761Z] ---> Running in a6768b3c936d [2023-05-03T18:02:10.761Z] Removing intermediate container a6768b3c936d [2023-05-03T18:02:10.761Z] ---> e34e5db14fe0 [2023-05-03T18:02:10.761Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T18:02:10.761Z] ---> Running in f56b451c2539 [2023-05-03T18:02:11.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T18:02:11.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T18:02:11.279Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-03T18:02:11.279Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-03T18:02:11.279Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-03T18:02:11.279Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-03T18:02:11.279Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-03T18:02:11.279Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-03T18:02:11.279Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-03T18:02:11.279Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-03T18:02:11.279Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-03T18:02:11.279Z] (10/14) Installing kmod-libs (30-r1) [2023-05-03T18:02:11.279Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-03T18:02:11.279Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-03T18:02:11.279Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-03T18:02:11.279Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-03T18:02:11.279Z] Executing busybox-1.35.0-r29.trigger [2023-05-03T18:02:11.279Z] Executing eudev-3.2.11-r4.trigger [2023-05-03T18:02:11.279Z] OK: 272 MiB in 67 packages [2023-05-03T18:02:11.849Z] Removing intermediate container f56b451c2539 [2023-05-03T18:02:11.849Z] ---> a8cc8eff0f2c [2023-05-03T18:02:11.849Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-03T18:02:11.849Z] ---> Running in d966bc698be5 [2023-05-03T18:02:11.849Z] Removing intermediate container d966bc698be5 [2023-05-03T18:02:11.849Z] ---> 853fd4b01493 [2023-05-03T18:02:11.849Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-03T18:02:11.849Z] ---> dc2e9fa906cf [2023-05-03T18:02:11.849Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T18:02:12.108Z] ---> Running in 83826dfb20a0 [2023-05-03T18:02:13.446Z] Still waiting to schedule task [2023-05-03T18:02:13.447Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-03T18:02:38.656Z] Removing intermediate container 83826dfb20a0 [2023-05-03T18:02:38.656Z] ---> 582b16d47e4a [2023-05-03T18:02:38.656Z] Step 11/13 : COPY . . [2023-05-03T18:02:38.656Z] ---> d69d44ae5e44 [2023-05-03T18:02:38.656Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-03T18:02:38.656Z] ---> Running in 0ad34c337eaf [2023-05-03T18:02:38.656Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T18:02:38.656Z] Dload Upload Total Spent Left Speed [2023-05-03T18:02:38.656Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7601 0 --:--:-- --:--:-- --:--:-- 7640 [2023-05-03T18:02:38.656Z] Removing intermediate container 0ad34c337eaf [2023-05-03T18:02:38.656Z] ---> 8317de6f344d [2023-05-03T18:02:38.656Z] Step 13/13 : RUN ${MAKE} [2023-05-03T18:02:38.656Z] ---> Running in 55bc1549e130 [2023-05-03T18:02:38.656Z] noop [2023-05-03T18:02:38.656Z] Removing intermediate container 55bc1549e130 [2023-05-03T18:02:38.656Z] ---> 90c68e38c4b7 [2023-05-03T18:02:38.656Z] Successfully built 90c68e38c4b7 [2023-05-03T18:02:38.656Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:02:39.096Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T18:02:39.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:02:39.263Z] prd-ubuntu20.04-docker-8c-8g-12610 does not seem to be running inside a container [2023-05-03T18:02:39.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-232 -v /w/workspace/foundry_device-usb-camera_PR-232:/w/workspace/foundry_device-usb-camera_PR-232:rw,z -v /w/workspace/foundry_device-usb-camera_PR-232@tmp:/w/workspace/foundry_device-usb-camera_PR-232@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 ******** ci-base-image-x86_64 cat [2023-05-03T18:02:39.611Z] $ docker top 55b1c6ebdaa70f9ed2df7d7663e3b1fe6f6e43154c654a15ff5e6ed262bb01d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T18:02:40.003Z] + go version [2023-05-03T18:02:40.003Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-03T18:02:40.032Z] $ docker stop --time=1 55b1c6ebdaa70f9ed2df7d7663e3b1fe6f6e43154c654a15ff5e6ed262bb01d6 [2023-05-03T18:02:41.282Z] $ docker rm -f --volumes 55b1c6ebdaa70f9ed2df7d7663e3b1fe6f6e43154c654a15ff5e6ed262bb01d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:02:42.003Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-03T18:02:42.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:02:42.160Z] prd-ubuntu20.04-docker-8c-8g-12610 does not seem to be running inside a container [2023-05-03T18:02:42.189Z] $ 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-232 -v /w/workspace/foundry_device-usb-camera_PR-232:/w/workspace/foundry_device-usb-camera_PR-232:rw,z -v /w/workspace/foundry_device-usb-camera_PR-232@tmp:/w/workspace/foundry_device-usb-camera_PR-232@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 ******** ci-base-image-x86_64 cat [2023-05-03T18:02:42.513Z] $ docker top 466c65ff55164a96838b1cdb2e038e1dad0b90e9f682516e7f800c2578c2650a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T18:02:42.914Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-232 [Pipeline] fileExists [Pipeline] sh [2023-05-03T18:02:43.269Z] + make test [2023-05-03T18:02:43.269Z] go test ./... -coverprofile=coverage.out ./... [2023-05-03T18:02:47.455Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-03T18:02:57.418Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-03T18:02:57.418Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.011s coverage: 2.0% of statements [2023-05-03T18:03:02.677Z] go vet ./... [2023-05-03T18:03:05.956Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T18:03:05.956Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-03T18:03:05.956Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-03T18:03:05.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T18:03:06.013Z] $ docker stop --time=1 466c65ff55164a96838b1cdb2e038e1dad0b90e9f682516e7f800c2578c2650a [2023-05-03T18:03:08.483Z] $ docker rm -f --volumes 466c65ff55164a96838b1cdb2e038e1dad0b90e9f682516e7f800c2578c2650a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T18:03:09.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T18:03:09.131Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-03T18:03:09.821Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-03T18:03:10.126Z] + ls -al . [2023-05-03T18:03:10.126Z] total 192 [2023-05-03T18:03:10.126Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 18:02 . [2023-05-03T18:03:10.127Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 18:01 .. [2023-05-03T18:03:10.127Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 18:01 .git [2023-05-03T18:03:10.127Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 18:01 .github [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 414 May 3 18:01 .gitignore [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 18:01 .golangci.yml [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 77 May 3 18:01 .hadolint.yml [2023-05-03T18:03:10.127Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 18:01 .semver [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 3 18:01 Attribution.txt [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 3 18:01 CHANGELOG.md [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 3 18:01 Dockerfile [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 678 May 3 18:01 GOVERNANCE.md [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 659 May 3 18:01 Jenkinsfile [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 3 18:01 LICENSE [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 3 18:01 Makefile [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 622 May 3 18:01 OWNERS.md [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 3 18:01 README.md [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 18:01 VERSION [2023-05-03T18:03:10.127Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 18:01 bin [2023-05-03T18:03:10.127Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 18:01 cmd [2023-05-03T18:03:10.127Z] -rw-r--r-- 1 jenkins jenkins 28693 May 3 18:02 coverage.out [2023-05-03T18:03:10.127Z] -rwxrwxr-x 1 jenkins jenkins 140 May 3 18:01 docker-entrypoint.sh [2023-05-03T18:03:10.127Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 18:01 docs [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 3 18:01 go.mod [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 3 18:01 go.sum [2023-05-03T18:03:10.127Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 18:01 internal [2023-05-03T18:03:10.127Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 18:01 snap [2023-05-03T18:03:10.127Z] -rw-rw-r-- 1 jenkins jenkins 231 May 3 18:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:03:10.511Z] + 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=c02fd2de79c928798e59539ff8ba42372fe46896 --label arch=amd64 --label version=0.0.0 . [2023-05-03T18:03:10.511Z] Sending build context to Docker daemon 2.006MB [2023-05-03T18:03:10.511Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T18:03:10.511Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-03T18:03:10.511Z] ---> 90c68e38c4b7 [2023-05-03T18:03:10.511Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-03T18:03:10.511Z] ---> Running in b4baa133c0b2 [2023-05-03T18:03:10.769Z] Removing intermediate container b4baa133c0b2 [2023-05-03T18:03:10.769Z] ---> 40c05fe65e3a [2023-05-03T18:03:10.769Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T18:03:10.769Z] ---> Running in 6315267ef164 [2023-05-03T18:03:10.769Z] Removing intermediate container 6315267ef164 [2023-05-03T18:03:10.769Z] ---> 87d91cc8c0bd [2023-05-03T18:03:10.769Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-03T18:03:10.769Z] ---> Running in 7c27fe99f2ce [2023-05-03T18:03:10.769Z] Removing intermediate container 7c27fe99f2ce [2023-05-03T18:03:10.769Z] ---> c4e88b65065c [2023-05-03T18:03:10.769Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-03T18:03:10.769Z] ---> Running in d15a25341e8f [2023-05-03T18:03:11.028Z] Removing intermediate container d15a25341e8f [2023-05-03T18:03:11.028Z] ---> 72101e0b8b09 [2023-05-03T18:03:11.028Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T18:03:11.028Z] ---> Running in 4837f3140753 [2023-05-03T18:03:11.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T18:03:11.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T18:03:11.546Z] OK: 272 MiB in 67 packages [2023-05-03T18:03:11.805Z] Removing intermediate container 4837f3140753 [2023-05-03T18:03:11.805Z] ---> 32f53a1ba296 [2023-05-03T18:03:11.805Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-03T18:03:11.805Z] ---> Running in deb7b5064b32 [2023-05-03T18:03:11.805Z] Removing intermediate container deb7b5064b32 [2023-05-03T18:03:11.805Z] ---> 0b5127a169e7 [2023-05-03T18:03:11.805Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-03T18:03:12.063Z] ---> 0ce880a4cd32 [2023-05-03T18:03:12.063Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T18:03:12.063Z] ---> Running in 10bf8482895e [2023-05-03T18:03:12.998Z] Removing intermediate container 10bf8482895e [2023-05-03T18:03:12.998Z] ---> 44115b512eda [2023-05-03T18:03:12.998Z] Step 11/35 : COPY . . [2023-05-03T18:03:12.998Z] ---> 5bd574882ea1 [2023-05-03T18:03:12.998Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-03T18:03:12.998Z] ---> Running in cb10031d45a3 [2023-05-03T18:03:13.564Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T18:03:13.564Z] Dload Upload Total Spent Left Speed [2023-05-03T18:03:13.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21296 0 --:--:-- --:--:-- --:--:-- 21673 [2023-05-03T18:03:13.822Z] Removing intermediate container cb10031d45a3 [2023-05-03T18:03:13.823Z] ---> 7f00c1fe494d [2023-05-03T18:03:13.823Z] Step 13/35 : RUN ${MAKE} [2023-05-03T18:03:13.823Z] ---> Running in b6c70ab101d0 [2023-05-03T18:03:14.081Z] 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-05-03T18:03:32.162Z] Removing intermediate container b6c70ab101d0 [2023-05-03T18:03:32.162Z] ---> 750c63db3b5a [2023-05-03T18:03:32.162Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-03T18:03:32.162Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-03T18:03:32.421Z] 4acc49c71d14: Pulling fs layer [2023-05-03T18:03:32.680Z] 4acc49c71d14: Verifying Checksum [2023-05-03T18:03:32.680Z] 4acc49c71d14: Download complete [2023-05-03T18:03:32.939Z] 4acc49c71d14: Pull complete [2023-05-03T18:03:32.939Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-03T18:03:32.939Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-03T18:03:32.939Z] ---> 01a2bd3e5fff [2023-05-03T18:03:32.939Z] Step 15/35 : FROM alpine:3.17 [2023-05-03T18:03:33.199Z] 3.17: Pulling from library/alpine [2023-05-03T18:03:33.467Z] f56be85fc22e: Already exists [2023-05-03T18:03:33.741Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-03T18:03:33.741Z] Status: Downloaded newer image for alpine:3.17 [2023-05-03T18:03:33.741Z] ---> 9ed4aefc74f6 [2023-05-03T18:03:33.741Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-03T18:03:34.001Z] ---> Running in aa0b23e1d24e [2023-05-03T18:03:34.260Z] Removing intermediate container aa0b23e1d24e [2023-05-03T18:03:34.260Z] ---> 17560e1d017b [2023-05-03T18:03:34.260Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-03T18:03:34.260Z] ---> Running in a3cf84bf9239 [2023-05-03T18:03:34.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-03T18:03:34.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-03T18:03:34.782Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-03T18:03:34.782Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-03T18:03:34.782Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-03T18:03:34.782Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-03T18:03:34.782Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-03T18:03:34.782Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-03T18:03:34.782Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-03T18:03:34.782Z] (8/86) Installing libxcb (1.15-r0) [2023-05-03T18:03:34.782Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-03T18:03:34.782Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-03T18:03:35.049Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-03T18:03:35.049Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-03T18:03:35.049Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-03T18:03:35.049Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-03T18:03:35.049Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-03T18:03:35.049Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-03T18:03:35.049Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-03T18:03:35.049Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-03T18:03:35.049Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-03T18:03:35.049Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-03T18:03:35.049Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-03T18:03:35.049Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-03T18:03:35.049Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-03T18:03:35.049Z] (24/86) Installing glib (2.74.6-r0) [2023-05-03T18:03:35.049Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-03T18:03:35.049Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-03T18:03:35.049Z] (27/86) Installing libass (0.16.0-r1) [2023-05-03T18:03:35.049Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-03T18:03:35.049Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-03T18:03:35.049Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-03T18:03:35.049Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-03T18:03:35.049Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-03T18:03:35.049Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-03T18:03:35.049Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-03T18:03:35.049Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-03T18:03:35.049Z] (36/86) Installing libunistring (1.1-r0) [2023-05-03T18:03:35.049Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-03T18:03:35.049Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-03T18:03:35.310Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-03T18:03:35.310Z] (40/86) Installing lame (3.100-r2) [2023-05-03T18:03:35.310Z] (41/86) Installing opus (1.3.1-r1) [2023-05-03T18:03:35.310Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-03T18:03:35.310Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-03T18:03:35.310Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-03T18:03:35.310Z] (45/86) Installing orc (0.4.33-r0) [2023-05-03T18:03:35.310Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-03T18:03:35.310Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-03T18:03:35.310Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-03T18:03:35.310Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-03T18:03:35.310Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-03T18:03:35.310Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-03T18:03:35.310Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-03T18:03:35.310Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-03T18:03:35.310Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-03T18:03:35.310Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-03T18:03:35.310Z] (56/86) Installing libpulse (16.1-r6) [2023-05-03T18:03:35.310Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-03T18:03:35.310Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-03T18:03:35.310Z] (59/86) Installing librist (0.2.7-r0) [2023-05-03T18:03:35.310Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-03T18:03:35.310Z] (61/86) Installing libssh (0.10.4-r0) [2023-05-03T18:03:35.310Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-03T18:03:35.310Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-03T18:03:35.310Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-03T18:03:35.310Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-03T18:03:35.310Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-03T18:03:35.310Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-03T18:03:35.310Z] (68/86) Installing libva (2.16.0-r0) [2023-05-03T18:03:35.310Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-03T18:03:35.310Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-03T18:03:35.310Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-03T18:03:35.579Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-03T18:03:35.579Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-03T18:03:35.579Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-03T18:03:35.579Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-03T18:03:35.579Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-03T18:03:35.579Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-03T18:03:35.579Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-03T18:03:35.579Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-03T18:03:35.579Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-03T18:03:35.837Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-03T18:03:35.837Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-03T18:03:35.837Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-03T18:03:35.837Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-03T18:03:35.837Z] (85/86) Installing kmod-libs (30-r1) [2023-05-03T18:03:35.837Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-03T18:03:35.837Z] Executing busybox-1.35.0-r29.trigger [2023-05-03T18:03:35.837Z] Executing eudev-3.2.11-r4.trigger [2023-05-03T18:03:35.837Z] OK: 112 MiB in 101 packages [2023-05-03T18:03:38.375Z] Removing intermediate container a3cf84bf9239 [2023-05-03T18:03:38.375Z] ---> e4a91e8717e8 [2023-05-03T18:03:38.375Z] Step 18/35 : WORKDIR / [2023-05-03T18:03:38.375Z] ---> Running in 9c135af1c36b [2023-05-03T18:03:38.375Z] Removing intermediate container 9c135af1c36b [2023-05-03T18:03:38.375Z] ---> 77a6d35cdce5 [2023-05-03T18:03:38.375Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-03T18:03:38.942Z] ---> 8f9a691355d5 [2023-05-03T18:03:38.942Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-03T18:03:38.942Z] ---> 9b6726c5d505 [2023-05-03T18:03:38.942Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-03T18:03:38.942Z] ---> e85a5b64e3fa [2023-05-03T18:03:38.942Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-03T18:03:39.199Z] ---> cea78dc3dbb0 [2023-05-03T18:03:39.199Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-03T18:03:39.199Z] ---> 910829e00736 [2023-05-03T18:03:39.199Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-03T18:03:39.458Z] ---> 2050ebfc8209 [2023-05-03T18:03:39.458Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-03T18:03:40.025Z] ---> 3565fdc796b7 [2023-05-03T18:03:40.025Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-03T18:03:40.025Z] ---> Running in 713ce094e606 [2023-05-03T18:03:40.594Z] Removing intermediate container 713ce094e606 [2023-05-03T18:03:40.594Z] ---> f0902654417c [2023-05-03T18:03:40.594Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-03T18:03:40.594Z] ---> Running in 8236c6ffff30 [2023-05-03T18:03:41.162Z] Removing intermediate container 8236c6ffff30 [2023-05-03T18:03:41.162Z] ---> 86bee6db755d [2023-05-03T18:03:41.162Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-03T18:03:41.162Z] ---> Running in 8e4933f8c16e [2023-05-03T18:03:41.735Z] Removing intermediate container 8e4933f8c16e [2023-05-03T18:03:41.735Z] ---> 8054ba1b2479 [2023-05-03T18:03:41.735Z] Step 29/35 : EXPOSE 59983 [2023-05-03T18:03:41.735Z] ---> Running in 255ae256ad9a [2023-05-03T18:03:41.735Z] Removing intermediate container 255ae256ad9a [2023-05-03T18:03:41.735Z] ---> ceb16b2a277d [2023-05-03T18:03:41.735Z] Step 30/35 : EXPOSE 8554 [2023-05-03T18:03:41.735Z] ---> Running in 9f00367da787 [2023-05-03T18:03:41.994Z] Removing intermediate container 9f00367da787 [2023-05-03T18:03:41.994Z] ---> 1a704a111ce4 [2023-05-03T18:03:41.994Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-03T18:03:41.994Z] ---> Running in 0b79441e9e54 [2023-05-03T18:03:41.994Z] Removing intermediate container 0b79441e9e54 [2023-05-03T18:03:41.994Z] ---> 74e08a5a0c9f [2023-05-03T18:03:41.994Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-03T18:03:41.994Z] ---> Running in 68374839b37b [2023-05-03T18:03:41.994Z] Removing intermediate container 68374839b37b [2023-05-03T18:03:41.994Z] ---> 48267d1df459 [2023-05-03T18:03:42.253Z] Step 33/35 : LABEL arch=amd64 [2023-05-03T18:03:42.253Z] ---> Running in 6bc1f2d92fbc [2023-05-03T18:03:42.253Z] Removing intermediate container 6bc1f2d92fbc [2023-05-03T18:03:42.253Z] ---> 2daa225ea76c [2023-05-03T18:03:42.253Z] Step 34/35 : LABEL git_sha=c02fd2de79c928798e59539ff8ba42372fe46896 [2023-05-03T18:03:42.253Z] ---> Running in f0b57b1ffad7 [2023-05-03T18:03:42.253Z] Removing intermediate container f0b57b1ffad7 [2023-05-03T18:03:42.253Z] ---> ab3b7988dea4 [2023-05-03T18:03:42.253Z] Step 35/35 : LABEL version=0.0.0 [2023-05-03T18:03:42.253Z] ---> Running in 3e5ccc2fc03e [2023-05-03T18:03:42.511Z] Removing intermediate container 3e5ccc2fc03e [2023-05-03T18:03:42.511Z] ---> 00630b749b42 [2023-05-03T18:03:42.511Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-03T18:03:42.511Z] Successfully built 00630b749b42 [2023-05-03T18:03:42.511Z] Successfully tagged device-usb-camera:latest [2023-05-03T18:03:48.882Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12611 in /w/workspace/foundry_device-usb-camera_PR-232 [Pipeline] } [Pipeline] { [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] ws [2023-05-03T18:03:49.105Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] checkout [2023-05-03T18:03:49.181Z] Selected Git installation does not exist. Using Default [2023-05-03T18:03:49.181Z] The recommended git tool is: NONE 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-05-03T18:03:49.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T18:03:49.862Z] [2023-05-03T18:03:49.862Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:03:50.238Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T18:03:50.238Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-03T18:03:50.238Z] 5eb5b503b376: Pulling fs layer [2023-05-03T18:03:50.238Z] 5c69ac0246d0: Pulling fs layer [2023-05-03T18:03:50.238Z] ec43610c2a17: Pulling fs layer [2023-05-03T18:03:50.238Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-03T18:03:50.238Z] 33b1e0a273af: Pulling fs layer [2023-05-03T18:03:50.238Z] 5d3b04190fa2: Pulling fs layer [2023-05-03T18:03:50.238Z] 2f39f015ded8: Pulling fs layer [2023-05-03T18:03:50.238Z] 3a2ae6a8a46f: Waiting [2023-05-03T18:03:50.238Z] 5d3b04190fa2: Waiting [2023-05-03T18:03:50.238Z] 33b1e0a273af: Waiting [2023-05-03T18:03:50.238Z] 2f39f015ded8: Waiting [2023-05-03T18:03:50.238Z] 5c69ac0246d0: Download complete [2023-05-03T18:03:50.238Z] 3a2ae6a8a46f: Download complete [2023-05-03T18:03:50.238Z] 33b1e0a273af: Verifying Checksum [2023-05-03T18:03:50.238Z] 33b1e0a273af: Download complete [2023-05-03T18:03:50.238Z] 5d3b04190fa2: Verifying Checksum [2023-05-03T18:03:50.238Z] 5d3b04190fa2: Download complete [2023-05-03T18:03:50.238Z] ec43610c2a17: Verifying Checksum [2023-05-03T18:03:50.238Z] ec43610c2a17: Download complete [2023-05-03T18:03:50.495Z] 5eb5b503b376: Download complete [2023-05-03T18:03:51.062Z] 2f39f015ded8: Download complete [2023-05-03T18:03:51.628Z] 5eb5b503b376: Pull complete [2023-05-03T18:03:51.628Z] 5c69ac0246d0: Pull complete [2023-05-03T18:03:52.198Z] ec43610c2a17: Pull complete [2023-05-03T18:03:52.198Z] 3a2ae6a8a46f: Pull complete [2023-05-03T18:03:52.458Z] 33b1e0a273af: Pull complete [2023-05-03T18:03:52.458Z] 5d3b04190fa2: Pull complete [2023-05-03T18:03:55.201Z] using credential edgex-jenkins-ssh [2023-05-03T18:03:55.216Z] Cloning the remote Git repository [2023-05-03T18:03:55.259Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-03T18:03:55.356Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-05-03T18:03:55.529Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-03T18:03:55.530Z] > git --version # timeout=10 [2023-05-03T18:03:55.552Z] > git --version # 'git version 2.25.1' [2023-05-03T18:03:55.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T18:03:55.707Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T18:03:56.454Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-03T18:03:56.488Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-03T18:03:56.655Z] 2f39f015ded8: Pull complete [2023-05-03T18:03:56.655Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-03T18:03:56.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T18:03:56.655Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:03:56.881Z] prd-ubuntu20.04-docker-8c-8g-12610 does not seem to be running inside a container [2023-05-03T18:03:56.907Z] $ 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-232 -v /w/workspace/foundry_device-usb-camera_PR-232:/w/workspace/foundry_device-usb-camera_PR-232:rw,z -v /w/workspace/foundry_device-usb-camera_PR-232@tmp:/w/workspace/foundry_device-usb-camera_PR-232@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-lftools-log-publisher:latest cat [2023-05-03T18:03:57.886Z] Merging remotes/origin/main commit c99ddce2530f0bca898d9428dd15bfa81bd19b45 into PR head commit c02fd2de79c928798e59539ff8ba42372fe46896 [2023-05-03T18:03:57.277Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-03T18:03:57.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-03T18:03:57.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T18:03:57.329Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-03T18:03:58.164Z] Merge succeeded, producing c02fd2de79c928798e59539ff8ba42372fe46896 [2023-05-03T18:03:58.165Z] Checking out Revision c02fd2de79c928798e59539ff8ba42372fe46896 (PR-232) [2023-05-03T18:03:58.624Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-03T18:03:58.673Z] > git --version # timeout=10 [2023-05-03T18:03:58.685Z] > git --version # 'git version 2.25.1' [2023-05-03T18:03:58.698Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-03T18:03:59.171Z] [2023-05-03T18:03:59.171Z] GitHub has been notified of this commit’s build result [2023-05-03T18:03:59.171Z] [2023-05-03T18:03:57.900Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T18:03:57.973Z] > git checkout -f c02fd2de79c928798e59539ff8ba42372fe46896 # timeout=10 [2023-05-03T18:03:58.064Z] > git remote # timeout=10 [2023-05-03T18:03:58.084Z] > git config --get remote.origin.url # timeout=10 [2023-05-03T18:03:58.107Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-03T18:03:58.120Z] > git merge c99ddce2530f0bca898d9428dd15bfa81bd19b45 # timeout=10 [2023-05-03T18:03:58.147Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-03T18:03:58.167Z] > git config core.sparsecheckout # timeout=10 [2023-05-03T18:03:58.184Z] > git checkout -f c02fd2de79c928798e59539ff8ba42372fe46896 # timeout=10 [2023-05-03T18:03:59.646Z] $ docker top 343cdbde423bf1fd5361c2fa3b1a4fbb2acf4557791c951c53293da7b3bd8c06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T18:04:00.120Z] ---> job-cost.sh [2023-05-03T18:04:00.120Z] lf-activate-venv: SKIPPING [2023-05-03T18:04:00.120Z] INFO: No Stack... [2023-05-03T18:04:00.392Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T18:04:00.563Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-03T18:04:00.563Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T18:04:00.563Z] Dload Upload Total Spent Left Speed [2023-05-03T18:04:00.563Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh [2023-05-03T18:04:00.960Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T18:04:01.122Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-03T18:04:01.275Z] + cat /w/workspace/foundry_device-usb-camera_PR-232/archives/cost.csv [2023-05-03T18:04:01.275Z] + cut -d, -f6 [Pipeline] lock [2023-05-03T18:04:01.311Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-232-1-stack-cost] [2023-05-03T18:04:01.320Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-232-1-stack-cost] did not exist. Created. [2023-05-03T18:04:01.320Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T18:04:01.461Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-03T18:04:01.461Z] + sudo tee /etc/docker/daemon.new [2023-05-03T18:04:01.461Z] { [2023-05-03T18:04:01.461Z] "registry-mirrors": [ [2023-05-03T18:04:01.461Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-03T18:04:01.461Z] ], [2023-05-03T18:04:01.461Z] "bip": "10.250.0.254/24", [2023-05-03T18:04:01.461Z] "hosts": [ [2023-05-03T18:04:01.461Z] "tcp://0.0.0.0:5555", [2023-05-03T18:04:01.461Z] "unix:///var/run/docker.sock" [2023-05-03T18:04:01.461Z] ], [2023-05-03T18:04:01.461Z] "mtu": 1458, [2023-05-03T18:04:01.461Z] "selinux-enabled": true, [2023-05-03T18:04:01.461Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-03T18:04:01.461Z] } [Pipeline] sh [2023-05-03T18:04:01.700Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-03T18:04:01.754Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T18:04:01.785Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-232-1-stack-cost] [2023-05-03T18:04:01.814Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } [2023-05-03T18:04:01.878Z] $ docker stop --time=1 343cdbde423bf1fd5361c2fa3b1a4fbb2acf4557791c951c53293da7b3bd8c06 [2023-05-03T18:04:03.024Z] $ docker rm -f --volumes 343cdbde423bf1fd5361c2fa3b1a4fbb2acf4557791c951c53293da7b3bd8c06 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2023-05-03T18:04:03.410Z] + sudo service docker restart [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T18:04:25.577Z] provisioning config files... [2023-05-03T18:04:25.608Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config367360771200997098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:04:26.000Z] ---> docker-login.sh [2023-05-03T18:04:26.000Z] nexus3.edgexfoundry.org:10001 [2023-05-03T18:04:26.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:04:26.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:04:26.867Z] Configure a credential helper to remove this warning. See [2023-05-03T18:04:26.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:04:26.867Z] [2023-05-03T18:04:26.867Z] Login Succeeded [2023-05-03T18:04:26.867Z] nexus3.edgexfoundry.org:10002 [2023-05-03T18:04:26.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:04:27.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:04:27.137Z] Configure a credential helper to remove this warning. See [2023-05-03T18:04:27.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:04:27.137Z] [2023-05-03T18:04:27.137Z] Login Succeeded [2023-05-03T18:04:27.137Z] nexus3.edgexfoundry.org:10003 [2023-05-03T18:04:27.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:04:27.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:04:27.415Z] Configure a credential helper to remove this warning. See [2023-05-03T18:04:27.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:04:27.415Z] [2023-05-03T18:04:27.415Z] Login Succeeded [2023-05-03T18:04:27.415Z] nexus3.edgexfoundry.org:10004 [2023-05-03T18:04:27.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:04:27.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:04:27.687Z] Configure a credential helper to remove this warning. See [2023-05-03T18:04:27.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:04:27.687Z] [2023-05-03T18:04:27.687Z] Login Succeeded [2023-05-03T18:04:27.687Z] docker.io [2023-05-03T18:04:27.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-03T18:04:28.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-03T18:04:28.226Z] Configure a credential helper to remove this warning. See [2023-05-03T18:04:28.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-03T18:04:28.226Z] [2023-05-03T18:04:28.226Z] Login Succeeded [2023-05-03T18:04:28.226Z] ---> docker-login.sh ends [Pipeline] } [2023-05-03T18:04:28.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-03T18:04:28.731Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T18:04:28.766Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-03T18:04:28.798Z] ========================================================= [2023-05-03T18:04:28.798Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-03T18:04:28.798Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:04:29.296Z] + 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-05-03T18:04:29.564Z] Sending build context to Docker daemon 1.254MB [2023-05-03T18:04:29.564Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T18:04:29.564Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-03T18:04:29.844Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-03T18:04:29.844Z] c41833b44d91: Pulling fs layer [2023-05-03T18:04:29.844Z] ed15518f5707: Pulling fs layer [2023-05-03T18:04:29.844Z] feae8fd75edb: Pulling fs layer [2023-05-03T18:04:29.844Z] 242c74f7c9fa: Pulling fs layer [2023-05-03T18:04:29.844Z] 3cdef696dda3: Pulling fs layer [2023-05-03T18:04:29.844Z] 2ced38df9373: Pulling fs layer [2023-05-03T18:04:29.844Z] 58f1dce35555: Pulling fs layer [2023-05-03T18:04:29.844Z] 242c74f7c9fa: Waiting [2023-05-03T18:04:29.844Z] 3cdef696dda3: Waiting [2023-05-03T18:04:29.844Z] 2ced38df9373: Waiting [2023-05-03T18:04:29.844Z] 58f1dce35555: Waiting [2023-05-03T18:04:29.844Z] ed15518f5707: Verifying Checksum [2023-05-03T18:04:29.844Z] ed15518f5707: Download complete [2023-05-03T18:04:29.844Z] 242c74f7c9fa: Verifying Checksum [2023-05-03T18:04:29.844Z] 242c74f7c9fa: Download complete [2023-05-03T18:04:29.844Z] 3cdef696dda3: Verifying Checksum [2023-05-03T18:04:29.844Z] 3cdef696dda3: Download complete [2023-05-03T18:04:29.844Z] c41833b44d91: Verifying Checksum [2023-05-03T18:04:29.844Z] c41833b44d91: Download complete [2023-05-03T18:04:31.270Z] c41833b44d91: Pull complete [2023-05-03T18:04:31.271Z] 58f1dce35555: Verifying Checksum [2023-05-03T18:04:31.271Z] 58f1dce35555: Download complete [2023-05-03T18:04:31.542Z] ed15518f5707: Pull complete [2023-05-03T18:04:32.508Z] feae8fd75edb: Verifying Checksum [2023-05-03T18:04:32.508Z] feae8fd75edb: Download complete [2023-05-03T18:04:32.508Z] 2ced38df9373: Verifying Checksum [2023-05-03T18:04:32.508Z] 2ced38df9373: Download complete [2023-05-03T18:04:44.825Z] feae8fd75edb: Pull complete [2023-05-03T18:04:44.825Z] 242c74f7c9fa: Pull complete [2023-05-03T18:04:44.825Z] 3cdef696dda3: Pull complete [2023-05-03T18:04:50.178Z] 2ced38df9373: Pull complete [2023-05-03T18:04:52.155Z] 58f1dce35555: Pull complete [2023-05-03T18:04:52.155Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-03T18:04:52.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-03T18:04:52.428Z] ---> fadd8f120f05 [2023-05-03T18:04:52.428Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-03T18:04:54.383Z] ---> Running in 60f7afdcad69 [2023-05-03T18:04:54.383Z] Removing intermediate container 60f7afdcad69 [2023-05-03T18:04:54.383Z] ---> 3a671772d8a7 [2023-05-03T18:04:54.384Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T18:04:54.384Z] ---> Running in 9eb6ef81d72e [2023-05-03T18:04:54.652Z] Removing intermediate container 9eb6ef81d72e [2023-05-03T18:04:54.652Z] ---> 9189c2d6b871 [2023-05-03T18:04:54.652Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-03T18:04:54.652Z] ---> Running in a4f325b7ef77 [2023-05-03T18:04:54.925Z] Removing intermediate container a4f325b7ef77 [2023-05-03T18:04:54.925Z] ---> 8d1d8cd1449a [2023-05-03T18:04:54.925Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-03T18:04:55.191Z] ---> Running in f07f88542f46 [2023-05-03T18:04:55.458Z] Removing intermediate container f07f88542f46 [2023-05-03T18:04:55.458Z] ---> 26553f829e9d [2023-05-03T18:04:55.458Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T18:04:55.458Z] ---> Running in 3887ebf3296e [2023-05-03T18:04:56.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T18:04:57.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T18:04:57.971Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-03T18:04:57.971Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-03T18:04:57.971Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-03T18:04:57.971Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-03T18:04:57.971Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-03T18:04:58.243Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-03T18:04:58.243Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-03T18:04:58.243Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-03T18:04:58.243Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-03T18:04:58.243Z] (10/14) Installing kmod-libs (30-r1) [2023-05-03T18:04:58.243Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-03T18:04:58.243Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-03T18:04:58.243Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-03T18:04:58.243Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-03T18:04:58.243Z] Executing busybox-1.35.0-r29.trigger [2023-05-03T18:04:58.243Z] Executing eudev-3.2.11-r4.trigger [2023-05-03T18:04:58.243Z] OK: 271 MiB in 67 packages [2023-05-03T18:04:59.654Z] Removing intermediate container 3887ebf3296e [2023-05-03T18:04:59.654Z] ---> ff7a84cc8247 [2023-05-03T18:04:59.654Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-03T18:04:59.654Z] ---> Running in b8cc82403505 [2023-05-03T18:04:59.923Z] Removing intermediate container b8cc82403505 [2023-05-03T18:04:59.923Z] ---> 3fd086db39c1 [2023-05-03T18:04:59.923Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-03T18:05:00.514Z] ---> dfeba762e02f [2023-05-03T18:05:00.514Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T18:05:00.514Z] ---> Running in b2c8c5c1a32e [2023-05-03T18:06:08.363Z] Removing intermediate container b2c8c5c1a32e [2023-05-03T18:06:08.363Z] ---> 8d3fff13d30f [2023-05-03T18:06:08.363Z] Step 11/13 : COPY . . [2023-05-03T18:06:08.363Z] ---> fc148f0fc37f [2023-05-03T18:06:08.363Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-03T18:06:08.363Z] ---> Running in 468808db4ea5 [2023-05-03T18:06:08.363Z]  % Total % Received % Xferd Average Speed Time  Time Time Current [2023-05-03T18:06:08.363Z] Dload Upload Total Spent Left Speed [2023-05-03T18:06:08.363Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4372 0 --:--:-- --:--:-- --:--:-- 4388 [2023-05-03T18:06:08.363Z] Removing intermediate container 468808db4ea5 [2023-05-03T18:06:08.363Z] ---> 303d6375ccfe [2023-05-03T18:06:08.363Z] Step 13/13 : RUN ${MAKE} [2023-05-03T18:06:08.363Z] ---> Running in 491b2cdc81ed [2023-05-03T18:06:08.363Z] noop [2023-05-03T18:06:08.363Z] Removing intermediate container 491b2cdc81ed [2023-05-03T18:06:08.363Z] ---> dd29d473403a [2023-05-03T18:06:08.363Z] Successfully built dd29d473403a [2023-05-03T18:06:08.363Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:06:08.826Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T18:06:08.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:06:09.118Z] prd-ubuntu20.04-docker-arm64-4c-16g-12611 does not seem to be running inside a container [2023-05-03T18:06:09.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-03T18:06:10.348Z] $ docker top 1f31f89502540b387d2869489dd1854bf1d851be5c9cc61d1096fa53960b024b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T18:06:11.213Z] + go version [2023-05-03T18:06:11.213Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-03T18:06:11.271Z] $ docker stop --time=1 1f31f89502540b387d2869489dd1854bf1d851be5c9cc61d1096fa53960b024b [2023-05-03T18:06:12.870Z] $ docker rm -f --volumes 1f31f89502540b387d2869489dd1854bf1d851be5c9cc61d1096fa53960b024b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:06:13.733Z] + docker inspect -f . ci-base-image-arm64 [2023-05-03T18:06:13.733Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:06:13.983Z] prd-ubuntu20.04-docker-arm64-4c-16g-12611 does not seem to be running inside a container [2023-05-03T18:06:14.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-03T18:06:15.178Z] $ docker top 9faa8507e971dcc1fd9bf7e38c92200b586a358637334107a8a172c2f16aa42b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T18:06:15.743Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-03T18:06:16.444Z] + make test [2023-05-03T18:06:16.444Z] go test ./... -coverprofile=coverage.out ./... [2023-05-03T18:06:48.664Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-03T18:08:40.313Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-03T18:08:44.576Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.084s coverage: 2.0% of statements [2023-05-03T18:08:44.576Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-03T18:08:44.576Z] go vet ./... [2023-05-03T18:09:11.281Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-03T18:09:11.281Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-03T18:09:11.281Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-03T18:09:11.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-03T18:09:11.348Z] $ docker stop --time=1 9faa8507e971dcc1fd9bf7e38c92200b586a358637334107a8a172c2f16aa42b [2023-05-03T18:09:13.143Z] $ docker rm -f --volumes 9faa8507e971dcc1fd9bf7e38c92200b586a358637334107a8a172c2f16aa42b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-03T18:09:14.294Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-03T18:09:14.329Z] Warning: overwriting stash ‘coverage-report’ [2023-05-03T18:09:14.778Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-03T18:09:15.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-03T18:09:15.708Z] + ls -al . [2023-05-03T18:09:15.708Z] total 188 [2023-05-03T18:09:15.708Z] drwxrwxr-x 9 jenkins jenkins 4096 May 3 18:06 . [2023-05-03T18:09:15.708Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 18:03 .. [2023-05-03T18:09:15.708Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 18:03 .git [2023-05-03T18:09:15.708Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 18:03 .github [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 414 May 3 18:03 .gitignore [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 42 May 3 18:03 .golangci.yml [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 77 May 3 18:03 .hadolint.yml [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 3 18:03 Attribution.txt [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 3 18:03 CHANGELOG.md [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 3 18:03 Dockerfile [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 678 May 3 18:03 GOVERNANCE.md [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 659 May 3 18:03 Jenkinsfile [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 3 18:03 LICENSE [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 3 18:03 Makefile [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 622 May 3 18:03 OWNERS.md [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 3 18:03 README.md [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 18:01 VERSION [2023-05-03T18:09:15.708Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 18:03 bin [2023-05-03T18:09:15.708Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 18:03 cmd [2023-05-03T18:09:15.708Z] -rw-r--r-- 1 jenkins jenkins 28693 May 3 18:08 coverage.out [2023-05-03T18:09:15.708Z] -rwxrwxr-x 1 jenkins jenkins 140 May 3 18:03 docker-entrypoint.sh [2023-05-03T18:09:15.708Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 18:03 docs [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 3 18:03 go.mod [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 3 18:03 go.sum [2023-05-03T18:09:15.708Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 18:03 internal [2023-05-03T18:09:15.708Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 18:03 snap [2023-05-03T18:09:15.708Z] -rw-rw-r-- 1 jenkins jenkins 231 May 3 18:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:09:16.118Z] + 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=c02fd2de79c928798e59539ff8ba42372fe46896 --label arch=arm64 --label version=0.0.0 . [2023-05-03T18:09:16.387Z] Sending build context to Docker daemon 1.284MB [2023-05-03T18:09:16.387Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-03T18:09:16.387Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-03T18:09:16.387Z] ---> dd29d473403a [2023-05-03T18:09:16.387Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-03T18:09:18.964Z] ---> Running in 4fe0aeac29a2 [2023-05-03T18:09:18.964Z] Removing intermediate container 4fe0aeac29a2 [2023-05-03T18:09:18.964Z] ---> cf814e6725f7 [2023-05-03T18:09:18.964Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-03T18:09:18.964Z] ---> Running in a909b3af4319 [2023-05-03T18:09:19.235Z] Removing intermediate container a909b3af4319 [2023-05-03T18:09:19.235Z] ---> 4adb313b9030 [2023-05-03T18:09:19.235Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-03T18:09:19.235Z] ---> Running in caa89c2a8c31 [2023-05-03T18:09:19.505Z] Removing intermediate container caa89c2a8c31 [2023-05-03T18:09:19.505Z] ---> 36a27352745e [2023-05-03T18:09:19.505Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-03T18:09:19.505Z] ---> Running in 57d393ab6d2d [2023-05-03T18:09:19.781Z] Removing intermediate container 57d393ab6d2d [2023-05-03T18:09:19.781Z] ---> bdd36192ca51 [2023-05-03T18:09:19.781Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-03T18:09:19.781Z] ---> Running in 364d2f265a6c [2023-05-03T18:09:20.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T18:09:21.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T18:09:22.731Z] OK: 271 MiB in 67 packages [2023-05-03T18:09:23.314Z] Removing intermediate container 364d2f265a6c [2023-05-03T18:09:23.314Z] ---> 5d70cead6a05 [2023-05-03T18:09:23.314Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-03T18:09:23.314Z] ---> Running in c9d4a5dead14 [2023-05-03T18:09:23.580Z] Removing intermediate container c9d4a5dead14 [2023-05-03T18:09:23.580Z] ---> 44abcfe29391 [2023-05-03T18:09:23.580Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-03T18:09:24.162Z] ---> 6aa195da2ed3 [2023-05-03T18:09:24.162Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-03T18:09:24.162Z] ---> Running in 3b1477fafe96 [2023-05-03T18:09:26.743Z] Removing intermediate container 3b1477fafe96 [2023-05-03T18:09:26.743Z] ---> 831a0df7d6e0 [2023-05-03T18:09:26.743Z] Step 11/35 : COPY . . [2023-05-03T18:09:27.329Z] ---> 2a5673bedbf5 [2023-05-03T18:09:27.329Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-03T18:09:27.597Z] ---> Running in b6bc8f393799 [2023-05-03T18:09:28.556Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T18:09:28.556Z] Dload Upload Total Spent Left Speed [2023-05-03T18:09:28.825Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2969 0 --:--:-- --:--:-- --:--:-- 2983 [2023-05-03T18:09:29.414Z] Removing intermediate container b6bc8f393799 [2023-05-03T18:09:29.414Z] ---> 22547a034951 [2023-05-03T18:09:29.414Z] Step 13/35 : RUN ${MAKE} [2023-05-03T18:09:29.685Z] ---> Running in 64ae865c1ad6 [2023-05-03T18:09:30.658Z] 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-05-03T18:11:52.348Z] Removing intermediate container 64ae865c1ad6 [2023-05-03T18:11:52.348Z] ---> 52c26a46a24d [2023-05-03T18:11:52.349Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-03T18:11:52.349Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-03T18:11:52.349Z] 8766b47fe142: Pulling fs layer [2023-05-03T18:11:52.349Z] 8766b47fe142: Verifying Checksum [2023-05-03T18:11:52.349Z] 8766b47fe142: Download complete [2023-05-03T18:11:52.930Z] 8766b47fe142: Pull complete [2023-05-03T18:11:52.930Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-03T18:11:52.930Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-03T18:11:52.930Z] ---> 69d40e2cb93c [2023-05-03T18:11:52.930Z] Step 15/35 : FROM alpine:3.17 [2023-05-03T18:11:53.196Z] 3.17: Pulling from library/alpine [2023-05-03T18:11:53.463Z] c41833b44d91: Already exists [2023-05-03T18:11:53.463Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-03T18:11:53.463Z] Status: Downloaded newer image for alpine:3.17 [2023-05-03T18:11:53.463Z] ---> 51e60588ff2c [2023-05-03T18:11:53.463Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-03T18:11:53.733Z] ---> Running in f45f41fcb3dd [2023-05-03T18:11:54.000Z] Removing intermediate container f45f41fcb3dd [2023-05-03T18:11:54.000Z] ---> a1997289c6d0 [2023-05-03T18:11:54.000Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-03T18:11:54.000Z] ---> Running in d67e9662a48b [2023-05-03T18:11:54.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-03T18:11:55.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-03T18:11:56.505Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-03T18:11:56.505Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-03T18:11:56.505Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-03T18:11:56.505Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-03T18:11:56.505Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-03T18:11:56.505Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-03T18:11:56.505Z] (7/83) Installing libxcb (1.15-r0) [2023-05-03T18:11:56.505Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-03T18:11:56.771Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-03T18:11:56.771Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-03T18:11:56.771Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-03T18:11:56.771Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-03T18:11:57.039Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-03T18:11:57.039Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-03T18:11:57.039Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-03T18:11:57.039Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-03T18:11:57.039Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-03T18:11:57.039Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-03T18:11:57.039Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-03T18:11:57.039Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-03T18:11:57.039Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-03T18:11:57.039Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-03T18:11:57.039Z] (23/83) Installing glib (2.74.6-r0) [2023-05-03T18:11:57.305Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-03T18:11:57.305Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-03T18:11:57.305Z] (26/83) Installing libass (0.16.0-r1) [2023-05-03T18:11:57.305Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-03T18:11:57.305Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-03T18:11:57.305Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-03T18:11:57.305Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-03T18:11:57.305Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-03T18:11:57.305Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-03T18:11:57.305Z] (33/83) Installing libunistring (1.1-r0) [2023-05-03T18:11:57.305Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-03T18:11:57.573Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-03T18:11:57.573Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-03T18:11:57.573Z] (37/83) Installing lame (3.100-r2) [2023-05-03T18:11:57.573Z] (38/83) Installing opus (1.3.1-r1) [2023-05-03T18:11:57.573Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-03T18:11:57.573Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-03T18:11:57.573Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-03T18:11:57.573Z] (42/83) Installing orc (0.4.33-r0) [2023-05-03T18:11:57.573Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-03T18:11:57.573Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-03T18:11:57.573Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-03T18:11:57.573Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-03T18:11:57.573Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-03T18:11:57.573Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-03T18:11:57.839Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-03T18:11:57.839Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-03T18:11:57.839Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-03T18:11:57.839Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-03T18:11:57.839Z] (53/83) Installing libpulse (16.1-r6) [2023-05-03T18:11:57.839Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-03T18:11:57.839Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-03T18:11:57.839Z] (56/83) Installing librist (0.2.7-r0) [2023-05-03T18:11:57.839Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-03T18:11:57.839Z] (58/83) Installing libssh (0.10.4-r0) [2023-05-03T18:11:57.839Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-03T18:11:57.839Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-03T18:11:57.839Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-03T18:11:57.839Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-03T18:11:57.839Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-03T18:11:57.839Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-03T18:11:57.839Z] (65/83) Installing libva (2.16.0-r0) [2023-05-03T18:11:57.839Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-03T18:11:58.107Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-03T18:11:58.107Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-03T18:11:58.107Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-03T18:11:58.107Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-03T18:11:58.107Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-03T18:11:58.107Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-03T18:11:58.374Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-03T18:11:58.374Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-03T18:11:58.374Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-03T18:11:58.374Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-03T18:11:58.641Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-03T18:11:58.641Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-03T18:11:58.641Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-03T18:11:58.641Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-03T18:11:58.641Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-03T18:11:58.911Z] (82/83) Installing kmod-libs (30-r1) [2023-05-03T18:11:58.911Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-03T18:11:58.911Z] Executing busybox-1.35.0-r29.trigger [2023-05-03T18:11:58.911Z] Executing eudev-3.2.11-r4.trigger [2023-05-03T18:11:58.911Z] OK: 86 MiB in 98 packages [2023-05-03T18:12:03.268Z] Removing intermediate container d67e9662a48b [2023-05-03T18:12:03.268Z] ---> dbe16c8a96ec [2023-05-03T18:12:03.268Z] Step 18/35 : WORKDIR / [2023-05-03T18:12:03.268Z] ---> Running in 84f4b5132f51 [2023-05-03T18:12:03.536Z] Removing intermediate container 84f4b5132f51 [2023-05-03T18:12:03.536Z] ---> 91425dc8ad10 [2023-05-03T18:12:03.536Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-03T18:12:04.965Z] ---> 2c04c9cd3818 [2023-05-03T18:12:04.965Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-03T18:12:05.564Z] ---> ee16a2bc9ae0 [2023-05-03T18:12:05.564Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-03T18:12:06.148Z] ---> 43fe3f1ba556 [2023-05-03T18:12:06.148Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-03T18:12:06.424Z] ---> 4a462418f23e [2023-05-03T18:12:06.424Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-03T18:12:07.006Z] ---> 4c28a81f2b1f [2023-05-03T18:12:07.006Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-03T18:12:07.588Z] ---> 7d31dade127f [2023-05-03T18:12:07.588Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-03T18:12:08.995Z] ---> 76cee3c36410 [2023-05-03T18:12:08.995Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-03T18:12:08.995Z] ---> Running in 83281654d2f4 [2023-05-03T18:12:10.404Z] Removing intermediate container 83281654d2f4 [2023-05-03T18:12:10.404Z] ---> 85a27ecfbec9 [2023-05-03T18:12:10.404Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-03T18:12:10.404Z] ---> Running in 9fa123cb0bb2 [2023-05-03T18:12:12.385Z] Removing intermediate container 9fa123cb0bb2 [2023-05-03T18:12:12.385Z] ---> 531220418511 [2023-05-03T18:12:12.385Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-03T18:12:12.385Z] ---> Running in 10db1be0d5d9 [2023-05-03T18:12:15.721Z] Removing intermediate container 10db1be0d5d9 [2023-05-03T18:12:15.721Z] ---> d89074a7c991 [2023-05-03T18:12:15.721Z] Step 29/35 : EXPOSE 59983 [2023-05-03T18:12:15.721Z] ---> Running in 1f6c8a8368ab [2023-05-03T18:12:15.721Z] Removing intermediate container 1f6c8a8368ab [2023-05-03T18:12:15.721Z] ---> 7481bb7f5a8f [2023-05-03T18:12:15.721Z] Step 30/35 : EXPOSE 8554 [2023-05-03T18:12:15.721Z] ---> Running in dfa16891595b [2023-05-03T18:12:15.989Z] Removing intermediate container dfa16891595b [2023-05-03T18:12:15.989Z] ---> 68f9e5e962fb [2023-05-03T18:12:15.989Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-03T18:12:16.258Z] ---> Running in bc27c758ada9 [2023-05-03T18:12:16.526Z] Removing intermediate container bc27c758ada9 [2023-05-03T18:12:16.526Z] ---> 4028d4d2fb1f [2023-05-03T18:12:16.526Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-03T18:12:16.526Z] ---> Running in 8e02418bd65c [2023-05-03T18:12:16.795Z] Removing intermediate container 8e02418bd65c [2023-05-03T18:12:16.795Z] ---> c06ff570b504 [2023-05-03T18:12:16.795Z] Step 33/35 : LABEL arch=arm64 [2023-05-03T18:12:16.795Z] ---> Running in be2d5cea26ed [2023-05-03T18:12:17.063Z] Removing intermediate container be2d5cea26ed [2023-05-03T18:12:17.063Z] ---> 361b810f30f4 [2023-05-03T18:12:17.063Z] Step 34/35 : LABEL git_sha=c02fd2de79c928798e59539ff8ba42372fe46896 [2023-05-03T18:12:17.331Z] ---> Running in e285755a5e88 [2023-05-03T18:12:17.331Z] Removing intermediate container e285755a5e88 [2023-05-03T18:12:17.331Z] ---> 9ffafa7d5d2d [2023-05-03T18:12:17.331Z] Step 35/35 : LABEL version=0.0.0 [2023-05-03T18:12:17.597Z] ---> Running in 66c94e532ff4 [2023-05-03T18:12:17.864Z] Removing intermediate container 66c94e532ff4 [2023-05-03T18:12:17.864Z] ---> 310b5cf3de21 [2023-05-03T18:12:17.864Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-03T18:12:17.864Z] Successfully built 310b5cf3de21 [2023-05-03T18:12:17.864Z] 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-05-03T18:12:18.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T18:12:18.671Z] [2023-05-03T18:12:18.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:12:19.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T18:12:19.120Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-03T18:12:19.120Z] 8998bd30e6a1: Pulling fs layer [2023-05-03T18:12:19.120Z] 04944245beec: Pulling fs layer [2023-05-03T18:12:19.120Z] 699f458cf7ca: Pulling fs layer [2023-05-03T18:12:19.120Z] 765212b225bb: Pulling fs layer [2023-05-03T18:12:19.120Z] f23df028b6ca: Pulling fs layer [2023-05-03T18:12:19.120Z] d65c8cfc05b1: Pulling fs layer [2023-05-03T18:12:19.120Z] 2437ff75d9bd: Pulling fs layer [2023-05-03T18:12:19.120Z] 765212b225bb: Waiting [2023-05-03T18:12:19.120Z] f23df028b6ca: Waiting [2023-05-03T18:12:19.120Z] d65c8cfc05b1: Waiting [2023-05-03T18:12:19.392Z] 04944245beec: Verifying Checksum [2023-05-03T18:12:19.392Z] 04944245beec: Download complete [2023-05-03T18:12:19.392Z] 765212b225bb: Verifying Checksum [2023-05-03T18:12:19.392Z] 765212b225bb: Download complete [2023-05-03T18:12:19.392Z] f23df028b6ca: Verifying Checksum [2023-05-03T18:12:19.392Z] f23df028b6ca: Download complete [2023-05-03T18:12:19.392Z] d65c8cfc05b1: Verifying Checksum [2023-05-03T18:12:19.392Z] d65c8cfc05b1: Download complete [2023-05-03T18:12:19.659Z] 699f458cf7ca: Verifying Checksum [2023-05-03T18:12:19.659Z] 699f458cf7ca: Download complete [2023-05-03T18:12:19.925Z] 8998bd30e6a1: Download complete [2023-05-03T18:12:21.883Z] 2437ff75d9bd: Verifying Checksum [2023-05-03T18:12:21.883Z] 2437ff75d9bd: Download complete [2023-05-03T18:12:23.816Z] 8998bd30e6a1: Pull complete [2023-05-03T18:12:24.080Z] 04944245beec: Pull complete [2023-05-03T18:12:27.408Z] 699f458cf7ca: Pull complete [2023-05-03T18:12:27.674Z] 765212b225bb: Pull complete [2023-05-03T18:12:28.635Z] f23df028b6ca: Pull complete [2023-05-03T18:12:28.635Z] d65c8cfc05b1: Pull complete [2023-05-03T18:12:43.595Z] 2437ff75d9bd: Pull complete [2023-05-03T18:12:43.595Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-03T18:12:43.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-03T18:12:43.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:12:43.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-12611 does not seem to be running inside a container [2023-05-03T18:12:43.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-03T18:12:46.351Z] $ docker top 43d44b7894236812107eb26cc613b3401ca320e3e60b62a9185825f79bc85761 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:12:47.237Z] ---> job-cost.sh [2023-05-03T18:12:47.237Z] lf-activate-venv: SKIPPING [2023-05-03T18:12:47.237Z] INFO: No Stack... [2023-05-03T18:12:47.817Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-03T18:12:48.398Z] INFO: Archiving Costs [Pipeline] sh [2023-05-03T18:12:48.737Z] + cut -d, -f6 [2023-05-03T18:12:48.737Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2023-05-03T18:12:49.081Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-232-1-stack-cost] [2023-05-03T18:12:49.086Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-232-1-stack-cost] did not exist. Created. [2023-05-03T18:12:49.086Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-232-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-03T18:12:49.803Z] /w/workspace/device-usb-camera/1@tmp/durable-523bc827/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-03T18:12:50.148Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-03T18:12:50.183Z] Warning: overwriting stash ‘stack-cost’ [2023-05-03T18:12:50.242Z] Stashed 1 file(s) [Pipeline] } [2023-05-03T18:12:50.258Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-232-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-03T18:12:50.335Z] $ docker stop --time=1 43d44b7894236812107eb26cc613b3401ca320e3e60b62a9185825f79bc85761 [2023-05-03T18:12:51.789Z] $ docker rm -f --volumes 43d44b7894236812107eb26cc613b3401ca320e3e60b62a9185825f79bc85761 [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-05-03T18:12:52.926Z] provisioning config files... [2023-05-03T18:12:52.934Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-232@tmp/config477875176919788015tmp [Pipeline] { [Pipeline] sh [2023-05-03T18:12:53.270Z] + set +x [2023-05-03T18:12:53.270Z] + + curl -s https://codecov.io/bash [2023-05-03T18:12:53.270Z] bash -s -- [2023-05-03T18:12:53.270Z] [2023-05-03T18:12:53.270Z] _____ _ [2023-05-03T18:12:53.270Z] / ____| | | [2023-05-03T18:12:53.270Z] | | ___ __| | ___ ___ _____ __ [2023-05-03T18:12:53.270Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-03T18:12:53.270Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-03T18:12:53.270Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-03T18:12:53.270Z] Bash-1.0.6 [2023-05-03T18:12:53.270Z] [2023-05-03T18:12:53.270Z] [2023-05-03T18:12:53.270Z] ==> git version 2.25.1 found [2023-05-03T18:12:53.270Z] ==> 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-05-03T18:12:53.270Z] Release-Date: 2020-01-08 [2023-05-03T18:12:53.270Z] 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-05-03T18:12:53.270Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-03T18:12:53.270Z] ==> Jenkins CI detected. [2023-05-03T18:12:53.270Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-232 [2023-05-03T18:12:53.270Z] project root: . [2023-05-03T18:12:53.270Z] --> token set from env [2023-05-03T18:12:53.270Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-03T18:12:53.270Z] ==> Running gcov in . (disable via -X gcov) [2023-05-03T18:12:53.270Z] ==> Python coveragepy not found [2023-05-03T18:12:53.270Z] ==> Searching for coverage reports in: [2023-05-03T18:12:53.270Z] + . [2023-05-03T18:12:53.270Z] -> Found 1 reports [2023-05-03T18:12:53.270Z] ==> Detecting git/mercurial file structure [2023-05-03T18:12:53.530Z] ==> Reading reports [2023-05-03T18:12:53.530Z] + ./coverage.out bytes=28693 [2023-05-03T18:12:53.530Z] ==> Appending adjustments [2023-05-03T18:12:53.530Z] https://docs.codecov.io/docs/fixing-reports [2023-05-03T18:12:53.530Z] + Found adjustments [2023-05-03T18:12:53.530Z] ==> Gzipping contents [2023-05-03T18:12:53.530Z] 4.0K /tmp/codecov.j4d8Vw.gz [2023-05-03T18:12:53.530Z] ==> Uploading reports [2023-05-03T18:12:53.530Z] url: https://codecov.io [2023-05-03T18:12:53.530Z] query: branch=PR-232&commit=c02fd2de79c928798e59539ff8ba42372fe46896&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-232%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=232&job=&cmd_args= [2023-05-03T18:12:53.530Z] -> Pinging Codecov [2023-05-03T18:12:53.530Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-232&commit=c02fd2de79c928798e59539ff8ba42372fe46896&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-232%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=232&job=&cmd_args= [2023-05-03T18:12:53.788Z] -> Uploading to [2023-05-03T18:12:53.788Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-03/73D8F5FF140700D3E01443B452E23636/c02fd2de79c928798e59539ff8ba42372fe46896/75d9a2f2-4af7-42f9-b080-1c142ce92e0d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T181253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d1bc94a8e186f419ea27c6c902dc1e3150daef39c71320ec0796a50b9dd6639 [2023-05-03T18:12:53.788Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-03T18:12:53.789Z] Dload Upload Total Spent Left Speed [2023-05-03T18:12:54.050Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 16302 --:--:-- --:--:-- --:--:-- 16302 [2023-05-03T18:12:54.050Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/c02fd2de79c928798e59539ff8ba42372fe46896 [Pipeline] } [2023-05-03T18:12:54.082Z] 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-05-03T18:12:55.731Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-232/archives ] [2023-05-03T18:12:55.731Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-232/archives [2023-05-03T18:12:55.731Z] total 16 [2023-05-03T18:12:55.731Z] drwxr-xr-x 3 root root 4096 May 3 18:04 . [2023-05-03T18:12:55.731Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 18:04 .. [2023-05-03T18:12:55.731Z] drwxr-xr-x 2 root root 4096 May 3 18:04 cost [2023-05-03T18:12:55.731Z] -rw-r--r-- 1 root root 89 May 3 18:04 cost.csv [2023-05-03T18:12:55.731Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-232/archives [2023-05-03T18:12:55.731Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-232/archives [2023-05-03T18:12:55.731Z] total 16 [2023-05-03T18:12:55.731Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 18:04 . [2023-05-03T18:12:55.731Z] drwxrwxr-x 11 jenkins jenkins 4096 May 3 18:04 .. [2023-05-03T18:12:55.731Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 18:04 cost [2023-05-03T18:12:55.731Z] -rw-r--r-- 1 jenkins jenkins 89 May 3 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:12:56.059Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:12:56.947Z] ---> package-listing.sh [2023-05-03T18:12:56.947Z] ++ facter osfamily [2023-05-03T18:12:56.947Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-03T18:12:57.206Z] + OS_FAMILY=debian [2023-05-03T18:12:57.206Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-232 [2023-05-03T18:12:57.206Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-03T18:12:57.206Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-03T18:12:57.206Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-03T18:12:57.206Z] + PACKAGES=/tmp/packages_start.txt [2023-05-03T18:12:57.206Z] + '[' /w/workspace/foundry_device-usb-camera_PR-232 ']' [2023-05-03T18:12:57.206Z] + PACKAGES=/tmp/packages_end.txt [2023-05-03T18:12:57.206Z] + case "${OS_FAMILY}" in [2023-05-03T18:12:57.206Z] + dpkg -l [2023-05-03T18:12:57.206Z] + grep '^ii' [2023-05-03T18:12:57.206Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-03T18:12:57.206Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-03T18:12:57.206Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-03T18:12:57.206Z] + '[' /w/workspace/foundry_device-usb-camera_PR-232 ']' [2023-05-03T18:12:57.206Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-232/archives/ [2023-05-03T18:12:57.206Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-232/archives/ [Pipeline] echo [2023-05-03T18:12:57.240Z] 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-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-03T18:12:57.531Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-03T18:12:58.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-03T18:12:58.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-03T18:12:58.299Z] prd-ubuntu20.04-docker-8c-8g-12610 does not seem to be running inside a container [2023-05-03T18:12:58.326Z] $ 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-232/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-232 -v /w/workspace/foundry_device-usb-camera_PR-232:/w/workspace/foundry_device-usb-camera_PR-232:rw,z -v /w/workspace/foundry_device-usb-camera_PR-232@tmp:/w/workspace/foundry_device-usb-camera_PR-232@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-03T18:12:58.519Z] $ docker top 1f2e5fd32cb7661239bebb35e3c85c8499fb8598d675458a6191d996d4ed1069 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-03T18:12:58.910Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-03T18:12:59.219Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-03T18:12:59.526Z] + ls /var/log/sa-host [2023-05-03T18:12:59.526Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-03T18:12:59.758Z] provisioning config files... [2023-05-03T18:12:59.767Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-232@tmp/config6517427828720371466tmp [Pipeline] { [Pipeline] echo [2023-05-03T18:12:59.812Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:13:00.120Z] ---> create-netrc.sh [Pipeline] } [2023-05-03T18:13:00.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:13:00.536Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-03T18:13:00.570Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:13:00.878Z] ---> sudo-logs.sh [2023-05-03T18:13:00.878Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-03T18:13:00.956Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:13:01.263Z] ---> job-cost.sh [2023-05-03T18:13:01.263Z] lf-activate-venv: SKIPPING [2023-05-03T18:13:01.263Z] DEBUG: total: 0.2199999988079071 [2023-05-03T18:13:01.263Z] INFO: Retrieving Stack Cost... [2023-05-03T18:13:01.832Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-03T18:13:02.091Z] INFO: Archiving Costs [Pipeline] echo [2023-05-03T18:13:02.125Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-03T18:13:02.432Z] ---> logs-deploy.sh [2023-05-03T18:13:02.432Z] lf-activate-venv: SKIPPING [2023-05-03T18:13:02.432Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-232/1 [2023-05-03T18:13:02.432Z] INFO: archiving workspace using pattern(s): [2023-05-03T18:13:03.366Z] Archives upload complete. [2023-05-03T18:13:03.366Z] INFO: archiving logs to Nexus