Pull request #179 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 3d9796f6f3cff5c87454f56c5748bf481479d9b5+4e47f77b753d7b234baa04d32f403ab5d967214f (1f2effc44c79132eea8a8401cf4f7d31142ed3ac) 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-ssh3419053270787632114.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14722262573566576195.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-179/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-179/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18272392112392789154.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-179/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3062710136575584686.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16549135034485967399.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-179/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-179/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9714857978238984180.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-9855 in /w/workspace/foundry_device-usb-camera_PR-179 [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-179 # 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 4e47f77b753d7b234baa04d32f403ab5d967214f into PR head commit 3d9796f6f3cff5c87454f56c5748bf481479d9b5 Merge succeeded, producing 3d9796f6f3cff5c87454f56c5748bf481479d9b5 Checking out Revision 3d9796f6f3cff5c87454f56c5748bf481479d9b5 (PR-179) > 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/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d9796f6f3cff5c87454f56c5748bf481479d9b5 # 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 4e47f77b753d7b234baa04d32f403ab5d967214f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d9796f6f3cff5c87454f56c5748bf481479d9b5 # timeout=10 Commit message: "fix: Upgrade rtsp-simple-server to fix vulnerability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T07:43:19.069Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T07:43:19.254Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T07:43:19.354Z] ========================================================= [2023-03-13T07:43:19.354Z] EdgeX Global Pipelines Version Info [2023-03-13T07:43:19.354Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:43:20.109Z] ------------------- [2023-03-13T07:43:20.109Z] stable info: [2023-03-13T07:43:20.109Z] ------------------- [2023-03-13T07:43:20.109Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T07:43:20.109Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T07:43:20.109Z] Message: update stable to v1.0.244 [2023-03-13T07:43:20.681Z] ------------------- [2023-03-13T07:43:20.681Z] experimental info: [2023-03-13T07:43:20.681Z] ------------------- [2023-03-13T07:43:20.681Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T07:43:20.681Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T07:43:20.681Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T07:43:20.986Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-13T07:43:21.025Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-13T07:43:21.062Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T07:43:21.103Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T07:43:21.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T07:43:21.176Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T07:43:21.215Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T07:43:21.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T07:43:21.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T07:43:21.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T07:43:21.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T07:43:21.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-13T07:43:21.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T07:43:21.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T07:43:21.515Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T07:43:21.557Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T07:43:21.596Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T07:43:21.641Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T07:43:21.683Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T07:43:21.724Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T07:43:21.768Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-13T07:43:21.812Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-13T07:43:21.851Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T07:43:21.893Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T07:43:21.934Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T07:43:21.969Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T07:43:22.007Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T07:43:22.044Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo [2023-03-13T07:43:22.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo [2023-03-13T07:43:22.129Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo [2023-03-13T07:43:22.167Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d9796f6f3cff5c87454f56c5748bf481479d9b5 [Pipeline] echo [2023-03-13T07:43:22.211Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d9796f [Pipeline] echo [2023-03-13T07:43:22.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T07:43:22.366Z] provisioning config files... [2023-03-13T07:43:22.380Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-179@tmp/config12018856086307030715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:43:22.720Z] ---> docker-login.sh [2023-03-13T07:43:22.720Z] nexus3.edgexfoundry.org:10001 [2023-03-13T07:43:22.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:43:22.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:43:22.980Z] Configure a credential helper to remove this warning. See [2023-03-13T07:43:22.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:43:22.980Z] [2023-03-13T07:43:22.980Z] Login Succeeded [2023-03-13T07:43:22.980Z] nexus3.edgexfoundry.org:10002 [2023-03-13T07:43:23.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:43:23.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:43:23.242Z] Configure a credential helper to remove this warning. See [2023-03-13T07:43:23.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:43:23.242Z] [2023-03-13T07:43:23.242Z] Login Succeeded [2023-03-13T07:43:23.242Z] nexus3.edgexfoundry.org:10003 [2023-03-13T07:43:23.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:43:23.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:43:23.242Z] Configure a credential helper to remove this warning. See [2023-03-13T07:43:23.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:43:23.242Z] [2023-03-13T07:43:23.242Z] Login Succeeded [2023-03-13T07:43:23.242Z] nexus3.edgexfoundry.org:10004 [2023-03-13T07:43:23.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:43:23.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:43:23.502Z] Configure a credential helper to remove this warning. See [2023-03-13T07:43:23.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:43:23.502Z] [2023-03-13T07:43:23.502Z] Login Succeeded [2023-03-13T07:43:23.502Z] docker.io [2023-03-13T07:43:23.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:43:23.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:43:23.763Z] Configure a credential helper to remove this warning. See [2023-03-13T07:43:23.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:43:23.763Z] [2023-03-13T07:43:23.763Z] Login Succeeded [2023-03-13T07:43:23.763Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T07:43:23.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T07:43:24.430Z] + git rev-list -1 --merges 3d9796f6f3cff5c87454f56c5748bf481479d9b5~1..3d9796f6f3cff5c87454f56c5748bf481479d9b5 [Pipeline] echo [2023-03-13T07:43:24.490Z] -----------> git rev-list -1 --merges 3d9796f6f3cff5c87454f56c5748bf481479d9b5~1..3d9796f6f3cff5c87454f56c5748bf481479d9b5 3d9796f6f3cff5c87454f56c5748bf481479d9b5 [false] [Pipeline] sh [2023-03-13T07:43:24.801Z] + git log --format=format:%s -1 3d9796f6f3cff5c87454f56c5748bf481479d9b5 [Pipeline] echo [2023-03-13T07:43:24.837Z] ========================================================= [2023-03-13T07:43:24.837Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T07:43:24.837Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T07:43:25.261Z] + git log --format=format:%s -1 3d9796f6f3cff5c87454f56c5748bf481479d9b5 [Pipeline] echo [2023-03-13T07:43:25.291Z] [semverPrep] GIT_COMMIT: 3d9796f6f3cff5c87454f56c5748bf481479d9b5, Commit Message: fix: Upgrade rtsp-simple-server to fix vulnerability [Pipeline] echo [2023-03-13T07:43:25.319Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T07:43:25.706Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T07:43:25.706Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T07:43:25.706Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T07:43:25.706Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T07:43:25.706Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T07:43:25.706Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T07:43:25.706Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:43:26.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T07:43:26.196Z] [2023-03-13T07:43:26.196Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:43:26.563Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T07:43:26.563Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T07:43:26.563Z] b85a868b505f: Pulling fs layer [2023-03-13T07:43:26.563Z] e2be974225ed: Pulling fs layer [2023-03-13T07:43:26.563Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T07:43:26.563Z] 988bab9f4d93: Pulling fs layer [2023-03-13T07:43:26.563Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T07:43:26.563Z] eaf3925da568: Pulling fs layer [2023-03-13T07:43:26.563Z] bab4dde63d76: Pulling fs layer [2023-03-13T07:43:26.563Z] bde34c3a00c8: Pulling fs layer [2023-03-13T07:43:26.563Z] b352a97aabf1: Pulling fs layer [2023-03-13T07:43:26.563Z] 4872d77fe225: Pulling fs layer [2023-03-13T07:43:26.563Z] 5851b861e8e6: Pulling fs layer [2023-03-13T07:43:26.563Z] bab4dde63d76: Waiting [2023-03-13T07:43:26.563Z] b352a97aabf1: Waiting [2023-03-13T07:43:26.563Z] 5851b861e8e6: Waiting [2023-03-13T07:43:26.563Z] 1469e6f7b9e6: Waiting [2023-03-13T07:43:26.563Z] 988bab9f4d93: Waiting [2023-03-13T07:43:26.564Z] eaf3925da568: Waiting [2023-03-13T07:43:26.564Z] 4872d77fe225: Waiting [2023-03-13T07:43:26.564Z] bde34c3a00c8: Waiting [2023-03-13T07:43:26.564Z] e2be974225ed: Verifying Checksum [2023-03-13T07:43:26.564Z] e2be974225ed: Download complete [2023-03-13T07:43:26.564Z] 988bab9f4d93: Verifying Checksum [2023-03-13T07:43:26.564Z] 988bab9f4d93: Download complete [2023-03-13T07:43:26.826Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T07:43:26.826Z] 1469e6f7b9e6: Download complete [2023-03-13T07:43:26.826Z] eaf3925da568: Verifying Checksum [2023-03-13T07:43:26.826Z] eaf3925da568: Download complete [2023-03-13T07:43:26.826Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T07:43:26.826Z] 339a4e72a1f5: Download complete [2023-03-13T07:43:26.826Z] bde34c3a00c8: Download complete [2023-03-13T07:43:26.826Z] b352a97aabf1: Download complete [2023-03-13T07:43:26.826Z] 4872d77fe225: Download complete [2023-03-13T07:43:26.826Z] 5851b861e8e6: Verifying Checksum [2023-03-13T07:43:26.826Z] 5851b861e8e6: Download complete [2023-03-13T07:43:26.826Z] b85a868b505f: Verifying Checksum [2023-03-13T07:43:26.826Z] b85a868b505f: Download complete [2023-03-13T07:43:27.409Z] bab4dde63d76: Verifying Checksum [2023-03-13T07:43:27.409Z] bab4dde63d76: Download complete [2023-03-13T07:43:28.346Z] b85a868b505f: Pull complete [2023-03-13T07:43:28.346Z] e2be974225ed: Pull complete [2023-03-13T07:43:28.917Z] 339a4e72a1f5: Pull complete [2023-03-13T07:43:29.177Z] 988bab9f4d93: Pull complete [2023-03-13T07:43:29.435Z] 1469e6f7b9e6: Pull complete [2023-03-13T07:43:29.435Z] eaf3925da568: Pull complete [2023-03-13T07:43:31.336Z] bab4dde63d76: Pull complete [2023-03-13T07:43:31.336Z] bde34c3a00c8: Pull complete [2023-03-13T07:43:31.595Z] b352a97aabf1: Pull complete [2023-03-13T07:43:31.595Z] 4872d77fe225: Pull complete [2023-03-13T07:43:31.595Z] 5851b861e8e6: Pull complete [2023-03-13T07:43:31.595Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T07:43:31.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T07:43:31.854Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T07:43:32.085Z] prd-ubuntu20.04-docker-8c-8g-9855 does not seem to be running inside a container [2023-03-13T07:43:32.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-179 -v /w/workspace/foundry_device-usb-camera_PR-179:/w/workspace/foundry_device-usb-camera_PR-179:rw,z -v /w/workspace/foundry_device-usb-camera_PR-179@tmp:/w/workspace/foundry_device-usb-camera_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T07:43:33.529Z] $ docker top 4b20418256f6cf737db133271540ecef950d7eb2f96f478d858cadd1cca6bd2a -eo pid,comm [2023-03-13T07:43:33.589Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-13T07:43:33.589Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T07:43:33.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T07:43:33.722Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T07:43:33.842Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T07:43:33.848Z] $ docker exec 4b20418256f6cf737db133271540ecef950d7eb2f96f478d858cadd1cca6bd2a ssh-agent [2023-03-13T07:43:33.958Z] SSH_AUTH_SOCK=/tmp/ssh-ALwBt32QvvvW/agent.32 [2023-03-13T07:43:33.958Z] SSH_AGENT_PID=38 [2023-03-13T07:43:33.964Z] Running ssh-add (command line suppressed) [2023-03-13T07:43:34.088Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-179@tmp/private_key_9234100998197033888.key (/w/workspace/foundry_device-usb-camera_PR-179@tmp/private_key_9234100998197033888.key) [2023-03-13T07:43:34.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T07:43:34.432Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T07:43:34.458Z] $ docker exec --env ******** --env ******** 4b20418256f6cf737db133271540ecef950d7eb2f96f478d858cadd1cca6bd2a ssh-agent -k [2023-03-13T07:43:34.564Z] unset SSH_AUTH_SOCK; [2023-03-13T07:43:34.564Z] unset SSH_AGENT_PID; [2023-03-13T07:43:34.564Z] echo Agent pid 38 killed; [2023-03-13T07:43:34.572Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T07:43:34.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T07:43:34.651Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T07:43:34.778Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T07:43:34.783Z] $ docker exec 4b20418256f6cf737db133271540ecef950d7eb2f96f478d858cadd1cca6bd2a ssh-agent [2023-03-13T07:43:34.914Z] SSH_AUTH_SOCK=/tmp/ssh-1n9e40B9EPx2/agent.70 [2023-03-13T07:43:34.914Z] SSH_AGENT_PID=76 [2023-03-13T07:43:34.919Z] Running ssh-add (command line suppressed) [2023-03-13T07:43:35.027Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-179@tmp/private_key_3853825743625542610.key (/w/workspace/foundry_device-usb-camera_PR-179@tmp/private_key_3853825743625542610.key) [2023-03-13T07:43:35.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T07:43:35.404Z] + git semver init [2023-03-13T07:43:35.682Z] 2023-03-13 07:43:35,578 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T07:43:35.682Z] 2023-03-13 07:43:35,579 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-179/.semver [2023-03-13T07:43:35.682Z] 2023-03-13 07:43:35,579 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-179/.semver [2023-03-13T07:43:35.682Z] 2023-03-13 07:43:35,580 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-179/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-179, universal_newlines=False, shell=None, istream=None) [2023-03-13T07:43:36.630Z] 2023-03-13 07:43:36,341 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-179/.git/info/exclude [2023-03-13T07:43:36.630Z] 2023-03-13 07:43:36,341 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-179/.semver/PR-179 with force:False [2023-03-13T07:43:36.630Z] 2023-03-13 07:43:36,341 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-179/.semver/PR-179 [2023-03-13T07:43:36.630Z] 2023-03-13 07:43:36,346 [execute] INFO git cat-file --batch-check [2023-03-13T07:43:36.630Z] 2023-03-13 07:43:36,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-179/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T07:43:36.630Z] 2023-03-13 07:43:36,354 [execute] INFO git cat-file --batch [2023-03-13T07:43:36.630Z] 2023-03-13 07:43:36,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-179/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T07:43:36.630Z] 2023-03-13 07:43:36,359 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-179/.semver/PR-179 [2023-03-13T07:43:36.630Z] 0.0.0 [Pipeline] } [2023-03-13T07:43:36.659Z] $ docker exec --env ******** --env ******** 4b20418256f6cf737db133271540ecef950d7eb2f96f478d858cadd1cca6bd2a ssh-agent -k [2023-03-13T07:43:36.768Z] unset SSH_AUTH_SOCK; [2023-03-13T07:43:36.768Z] unset SSH_AGENT_PID; [2023-03-13T07:43:36.768Z] echo Agent pid 76 killed; [2023-03-13T07:43:36.776Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T07:43:37.186Z] + git semver [Pipeline] } [2023-03-13T07:43:37.473Z] $ docker stop --time=1 4b20418256f6cf737db133271540ecef950d7eb2f96f478d858cadd1cca6bd2a [2023-03-13T07:43:38.816Z] $ docker rm -f --volumes 4b20418256f6cf737db133271540ecef950d7eb2f96f478d858cadd1cca6bd2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T07:43:39.215Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T07:43:39.485Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T07:43:39.503Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T07:43:40.092Z] provisioning config files... [2023-03-13T07:43:40.103Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-179@tmp/config5577975295070946457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:43:40.446Z] ---> docker-login.sh [2023-03-13T07:43:40.446Z] nexus3.edgexfoundry.org:10001 [2023-03-13T07:43:40.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:43:40.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:43:40.446Z] Configure a credential helper to remove this warning. See [2023-03-13T07:43:40.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:43:40.446Z] [2023-03-13T07:43:40.446Z] Login Succeeded [2023-03-13T07:43:40.446Z] nexus3.edgexfoundry.org:10002 [2023-03-13T07:43:40.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:43:40.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:43:40.446Z] Configure a credential helper to remove this warning. See [2023-03-13T07:43:40.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:43:40.446Z] [2023-03-13T07:43:40.446Z] Login Succeeded [2023-03-13T07:43:40.446Z] nexus3.edgexfoundry.org:10003 [2023-03-13T07:43:40.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:43:40.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:43:40.707Z] Configure a credential helper to remove this warning. See [2023-03-13T07:43:40.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:43:40.707Z] [2023-03-13T07:43:40.707Z] Login Succeeded [2023-03-13T07:43:40.707Z] nexus3.edgexfoundry.org:10004 [2023-03-13T07:43:40.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:43:40.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:43:40.707Z] Configure a credential helper to remove this warning. See [2023-03-13T07:43:40.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:43:40.707Z] [2023-03-13T07:43:40.707Z] Login Succeeded [2023-03-13T07:43:40.707Z] docker.io [2023-03-13T07:43:40.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:43:40.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:43:40.967Z] Configure a credential helper to remove this warning. See [2023-03-13T07:43:40.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:43:40.967Z] [2023-03-13T07:43:40.967Z] Login Succeeded [2023-03-13T07:43:40.967Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T07:43:40.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T07:43:41.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T07:43:41.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T07:43:41.260Z] ========================================================= [2023-03-13T07:43:41.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T07:43:41.260Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:43:41.728Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T07:43:41.728Z] Sending build context to Docker daemon 1.809MB [2023-03-13T07:43:41.728Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T07:43:41.728Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-13T07:43:41.728Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T07:43:41.728Z] 213ec9aee27d: Pulling fs layer [2023-03-13T07:43:41.728Z] 4583459ba037: Pulling fs layer [2023-03-13T07:43:41.728Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T07:43:41.728Z] 53926ce57604: Pulling fs layer [2023-03-13T07:43:41.728Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T07:43:41.728Z] 22ff95d597cd: Pulling fs layer [2023-03-13T07:43:41.728Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T07:43:41.728Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T07:43:41.728Z] a7acece74701: Pulling fs layer [2023-03-13T07:43:41.728Z] 53926ce57604: Waiting [2023-03-13T07:43:41.728Z] 21b2b0c7a3f4: Waiting [2023-03-13T07:43:41.728Z] 22ff95d597cd: Waiting [2023-03-13T07:43:41.728Z] 12d6caf4c0d1: Waiting [2023-03-13T07:43:41.728Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T07:43:41.728Z] 93c1e223e6f2: Download complete [2023-03-13T07:43:41.728Z] 4583459ba037: Verifying Checksum [2023-03-13T07:43:41.728Z] 4583459ba037: Download complete [2023-03-13T07:43:41.728Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T07:43:41.728Z] 21b2b0c7a3f4: Download complete [2023-03-13T07:43:41.728Z] 22ff95d597cd: Verifying Checksum [2023-03-13T07:43:41.728Z] 22ff95d597cd: Download complete [2023-03-13T07:43:41.990Z] 213ec9aee27d: Verifying Checksum [2023-03-13T07:43:41.990Z] 213ec9aee27d: Download complete [2023-03-13T07:43:41.990Z] 12d6caf4c0d1: Verifying Checksum [2023-03-13T07:43:41.990Z] 12d6caf4c0d1: Download complete [2023-03-13T07:43:41.990Z] 213ec9aee27d: Pull complete [2023-03-13T07:43:42.252Z] 4583459ba037: Pull complete [2023-03-13T07:43:42.252Z] 93c1e223e6f2: Pull complete [2023-03-13T07:43:42.252Z] a7acece74701: Verifying Checksum [2023-03-13T07:43:42.252Z] a7acece74701: Download complete [2023-03-13T07:43:42.823Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T07:43:42.823Z] 96b7cbca73a9: Download complete [2023-03-13T07:43:42.823Z] 53926ce57604: Verifying Checksum [2023-03-13T07:43:42.823Z] 53926ce57604: Download complete [2023-03-13T07:43:47.015Z] 53926ce57604: Pull complete [2023-03-13T07:43:47.015Z] 21b2b0c7a3f4: Pull complete [2023-03-13T07:43:47.015Z] 22ff95d597cd: Pull complete [2023-03-13T07:43:47.273Z] 12d6caf4c0d1: Pull complete [2023-03-13T07:43:49.173Z] 96b7cbca73a9: Pull complete [2023-03-13T07:43:50.107Z] a7acece74701: Pull complete [2023-03-13T07:43:50.107Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T07:43:50.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T07:43:50.107Z] ---> db6d94c90886 [2023-03-13T07:43:50.108Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-13T07:43:51.491Z] ---> Running in a6938c5647e7 [2023-03-13T07:43:51.759Z] Removing intermediate container a6938c5647e7 [2023-03-13T07:43:51.759Z] ---> 2e349fb750ae [2023-03-13T07:43:51.759Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T07:43:51.759Z] ---> Running in 4c9c66e81de8 [2023-03-13T07:43:51.759Z] Removing intermediate container 4c9c66e81de8 [2023-03-13T07:43:51.759Z] ---> abc7232095e9 [2023-03-13T07:43:51.759Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-13T07:43:51.759Z] ---> Running in 15d9e675a50c [2023-03-13T07:43:52.021Z] Removing intermediate container 15d9e675a50c [2023-03-13T07:43:52.021Z] ---> 2040fefcc806 [2023-03-13T07:43:52.021Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-13T07:43:52.021Z] ---> Running in 93569f1e73d4 [2023-03-13T07:43:52.283Z] Removing intermediate container 93569f1e73d4 [2023-03-13T07:43:52.283Z] ---> dadab2a2b3c1 [2023-03-13T07:43:52.283Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T07:43:52.283Z] ---> Running in 87046e757ff2 [2023-03-13T07:43:52.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T07:43:52.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T07:43:53.109Z] (1/80) Installing mesa (21.3.9-r0) [2023-03-13T07:43:53.109Z] (2/80) Installing libxau (1.0.9-r0) [2023-03-13T07:43:53.109Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-03-13T07:43:53.109Z] (4/80) Installing libxcb (1.15-r0) [2023-03-13T07:43:53.109Z] (5/80) Installing libx11 (1.8-r0) [2023-03-13T07:43:53.109Z] (6/80) Installing libxext (1.3.4-r0) [2023-03-13T07:43:53.109Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-03-13T07:43:53.109Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-03-13T07:43:53.109Z] (9/80) Installing libpciaccess (0.16-r0) [2023-03-13T07:43:53.109Z] (10/80) Installing libdrm (2.4.110-r0) [2023-03-13T07:43:53.109Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-03-13T07:43:53.109Z] (12/80) Installing libxshmfence (1.3-r1) [2023-03-13T07:43:53.109Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-03-13T07:43:53.109Z] (14/80) Installing icu-data-full (71.1-r2) [2023-03-13T07:43:53.109Z] (15/80) Installing libice (1.0.10-r0) [2023-03-13T07:43:53.109Z] (16/80) Installing libuuid (2.38-r1) [2023-03-13T07:43:53.109Z] (17/80) Installing libsm (1.2.3-r0) [2023-03-13T07:43:53.109Z] (18/80) Installing libxt (1.2.1-r0) [2023-03-13T07:43:53.369Z] (19/80) Installing libxmu (1.1.3-r0) [2023-03-13T07:43:53.369Z] (20/80) Installing xset (1.2.4-r0) [2023-03-13T07:43:53.369Z] (21/80) Installing xprop (1.2.5-r0) [2023-03-13T07:43:53.369Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-03-13T07:43:53.369Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-03-13T07:43:53.369Z] (24/80) Installing libffi (3.4.2-r1) [2023-03-13T07:43:53.369Z] (25/80) Installing libintl (0.21-r2) [2023-03-13T07:43:53.369Z] (26/80) Installing libblkid (2.38-r1) [2023-03-13T07:43:53.369Z] (27/80) Installing libmount (2.38-r1) [2023-03-13T07:43:53.369Z] (28/80) Installing pcre (8.45-r2) [2023-03-13T07:43:53.369Z] (29/80) Installing glib (2.72.1-r0) [2023-03-13T07:43:53.369Z] (30/80) Installing icu-libs (71.1-r2) [2023-03-13T07:43:53.369Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-03-13T07:43:53.369Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-03-13T07:43:53.369Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-03-13T07:43:53.628Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-03-13T07:43:53.628Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-03-13T07:43:53.628Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-03-13T07:43:53.628Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-03-13T07:43:53.628Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-03-13T07:43:53.887Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-03-13T07:43:53.887Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-03-13T07:43:53.887Z] (41/80) Installing libpng (1.6.37-r1) [2023-03-13T07:43:53.887Z] (42/80) Installing freetype (2.12.1-r0) [2023-03-13T07:43:54.147Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-03-13T07:43:54.147Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-03-13T07:43:54.147Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-03-13T07:43:54.147Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-03-13T07:43:54.147Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-03-13T07:43:54.147Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-03-13T07:43:54.147Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-03-13T07:43:54.147Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-03-13T07:43:54.406Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-03-13T07:43:54.406Z] (52/80) Installing avahi-libs (0.8-r6) [2023-03-13T07:43:54.406Z] (53/80) Installing nettle (3.7.3-r0) [2023-03-13T07:43:54.406Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-03-13T07:43:54.406Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-03-13T07:43:54.406Z] (56/80) Installing libunistring (1.0-r0) [2023-03-13T07:43:54.406Z] (57/80) Installing gnutls (3.7.7-r1) [2023-03-13T07:43:54.666Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-03-13T07:43:54.666Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-03-13T07:43:54.666Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-03-13T07:43:54.666Z] (61/80) Installing libevdev (1.12.1-r0) [2023-03-13T07:43:54.666Z] (62/80) Installing mtdev (1.1.6-r0) [2023-03-13T07:43:54.666Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-03-13T07:43:54.666Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-03-13T07:43:54.666Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-03-13T07:43:54.666Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-03-13T07:43:54.666Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-03-13T07:43:54.666Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-03-13T07:43:54.666Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-03-13T07:43:54.666Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-03-13T07:43:54.666Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-03-13T07:43:54.666Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-03-13T07:43:54.904Z] Still waiting to schedule task [2023-03-13T07:43:54.905Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-13T07:43:55.236Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-03-13T07:43:55.236Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-03-13T07:43:55.236Z] (75/80) Installing udev-init-scripts (35-r0) [2023-03-13T07:43:55.236Z] Executing udev-init-scripts-35-r0.post-install [2023-03-13T07:43:55.236Z] (76/80) Installing kmod-libs (29-r2) [2023-03-13T07:43:55.236Z] (77/80) Installing eudev (3.2.11-r0) [2023-03-13T07:43:55.236Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-03-13T07:43:55.236Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-13T07:43:55.236Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-03-13T07:43:55.236Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T07:43:55.236Z] Executing eudev-3.2.11-r0.trigger [2023-03-13T07:43:55.236Z] OK: 331 MiB in 131 packages [2023-03-13T07:43:57.779Z] Removing intermediate container 87046e757ff2 [2023-03-13T07:43:57.779Z] ---> b08c48fcbd8c [2023-03-13T07:43:57.779Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-13T07:43:57.779Z] ---> Running in b19f9419ba6a [2023-03-13T07:43:57.779Z] Removing intermediate container b19f9419ba6a [2023-03-13T07:43:57.779Z] ---> 90f24d3e8a5a [2023-03-13T07:43:57.779Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-13T07:43:57.779Z] ---> bc7cf8fa6089 [2023-03-13T07:43:57.779Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T07:43:57.779Z] ---> Running in 958b7303ea9c [2023-03-13T07:44:29.869Z] Removing intermediate container 958b7303ea9c [2023-03-13T07:44:29.869Z] ---> fd3aa6a940d4 [2023-03-13T07:44:29.869Z] Step 11/13 : COPY . . [2023-03-13T07:44:29.869Z] ---> bf8317a5fa65 [2023-03-13T07:44:29.869Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-13T07:44:29.869Z] ---> Running in 4f1c68054f42 [2023-03-13T07:44:29.869Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T07:44:29.869Z]   Dload Upload Total Spent Left Speed [2023-03-13T07:44:29.869Z] 0 0 0 0   0  0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 10188 0 --:--:-- --:--:-- --:--:-- 10211 [2023-03-13T07:44:29.869Z] Removing intermediate container 4f1c68054f42 [2023-03-13T07:44:29.869Z] ---> 487490fca9bd [2023-03-13T07:44:29.869Z] Step 13/13 : RUN ${MAKE} [2023-03-13T07:44:29.869Z] ---> Running in 899bcff6b114 [2023-03-13T07:44:29.869Z] noop [2023-03-13T07:44:29.869Z] Removing intermediate container 899bcff6b114 [2023-03-13T07:44:29.869Z] ---> 134e3e0e3bdf [2023-03-13T07:44:29.869Z] Successfully built 134e3e0e3bdf [2023-03-13T07:44:29.869Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:44:30.374Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T07:44:30.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T07:44:30.526Z] prd-ubuntu20.04-docker-8c-8g-9855 does not seem to be running inside a container [2023-03-13T07:44:30.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-179 -v /w/workspace/foundry_device-usb-camera_PR-179:/w/workspace/foundry_device-usb-camera_PR-179:rw,z -v /w/workspace/foundry_device-usb-camera_PR-179@tmp:/w/workspace/foundry_device-usb-camera_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T07:44:30.973Z] $ docker top a426c2a889fec6a99ef37b9ee1300b1b66a64fe795701339f7b8338137e5608d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T07:44:31.365Z] + go version [2023-03-13T07:44:31.365Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T07:44:31.395Z] $ docker stop --time=1 a426c2a889fec6a99ef37b9ee1300b1b66a64fe795701339f7b8338137e5608d [2023-03-13T07:44:32.710Z] $ docker rm -f --volumes a426c2a889fec6a99ef37b9ee1300b1b66a64fe795701339f7b8338137e5608d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:44:33.406Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T07:44:33.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T07:44:33.551Z] prd-ubuntu20.04-docker-8c-8g-9855 does not seem to be running inside a container [2023-03-13T07:44:33.582Z] $ 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-179 -v /w/workspace/foundry_device-usb-camera_PR-179:/w/workspace/foundry_device-usb-camera_PR-179:rw,z -v /w/workspace/foundry_device-usb-camera_PR-179@tmp:/w/workspace/foundry_device-usb-camera_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T07:44:33.992Z] $ docker top 454bfa3151bee2090d95351b2ceda1c7f08b01106e583f6eb5473fc46a63974f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T07:44:34.389Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-179 [Pipeline] fileExists [Pipeline] sh [2023-03-13T07:44:34.753Z] + make test [2023-03-13T07:44:34.754Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T07:44:35.019Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-13T07:44:47.230Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-13T07:44:47.230Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 2.0% of statements [2023-03-13T07:44:53.798Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-13T07:44:53.798Z] go vet ./... [2023-03-13T07:44:57.988Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T07:44:57.988Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T07:44:57.988Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T07:44:58.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T07:44:58.055Z] $ docker stop --time=1 454bfa3151bee2090d95351b2ceda1c7f08b01106e583f6eb5473fc46a63974f [2023-03-13T07:44:59.907Z] $ docker rm -f --volumes 454bfa3151bee2090d95351b2ceda1c7f08b01106e583f6eb5473fc46a63974f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T07:45:00.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T07:45:00.467Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-13T07:45:01.130Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T07:45:01.437Z] + ls -al . [2023-03-13T07:45:01.437Z] total 188 [2023-03-13T07:45:01.437Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 07:44 . [2023-03-13T07:45:01.437Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 07:43 .. [2023-03-13T07:45:01.437Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 07:44 .git [2023-03-13T07:45:01.437Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 07:43 .github [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 13 07:43 .gitignore [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 07:43 .golangci.yml [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 13 07:43 .hadolint.yml [2023-03-13T07:45:01.437Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 07:43 .semver [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 9660 Mar 13 07:43 Attribution.txt [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 13 07:43 CHANGELOG.md [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 13 07:43 Dockerfile [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 13 07:43 GOVERNANCE.md [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 13 07:43 Jenkinsfile [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 13 07:43 LICENSE [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 2329 Mar 13 07:43 Makefile [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 07:43 OWNERS.md [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 5271 Mar 13 07:43 README.md [2023-03-13T07:45:01.437Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 07:43 VERSION [2023-03-13T07:45:01.437Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 07:43 bin [2023-03-13T07:45:01.437Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 07:43 cmd [2023-03-13T07:45:01.437Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 13 07:44 coverage.out [2023-03-13T07:45:01.438Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 13 07:43 docker-entrypoint.sh [2023-03-13T07:45:01.438Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 07:43 docs [2023-03-13T07:45:01.438Z] -rw-rw-r-- 1 jenkins jenkins 3487 Mar 13 07:43 go.mod [2023-03-13T07:45:01.438Z] -rw-rw-r-- 1 jenkins jenkins 31546 Mar 13 07:43 go.sum [2023-03-13T07:45:01.438Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 07:43 internal [2023-03-13T07:45:01.438Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 07:43 snap [2023-03-13T07:45:01.438Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 13 07:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:45:01.822Z] + 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=3d9796f6f3cff5c87454f56c5748bf481479d9b5 --label arch=amd64 --label version=0.0.0 . [2023-03-13T07:45:01.822Z] Sending build context to Docker daemon 1.839MB [2023-03-13T07:45:01.822Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T07:45:01.822Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-13T07:45:01.822Z] ---> 134e3e0e3bdf [2023-03-13T07:45:01.822Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-13T07:45:01.822Z] ---> Running in 7b43aa88cd3d [2023-03-13T07:45:02.079Z] Removing intermediate container 7b43aa88cd3d [2023-03-13T07:45:02.079Z] ---> 7bf0169a79bc [2023-03-13T07:45:02.079Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T07:45:02.079Z] ---> Running in 51a8fd9e6dd9 [2023-03-13T07:45:02.079Z] Removing intermediate container 51a8fd9e6dd9 [2023-03-13T07:45:02.079Z] ---> 59de18b06c47 [2023-03-13T07:45:02.079Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-13T07:45:02.079Z] ---> Running in 5b34cf0fd6fb [2023-03-13T07:45:02.337Z] Removing intermediate container 5b34cf0fd6fb [2023-03-13T07:45:02.337Z] ---> 03b47bf02ec7 [2023-03-13T07:45:02.337Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-13T07:45:02.337Z] ---> Running in 06f7d706cd37 [2023-03-13T07:45:02.337Z] Removing intermediate container 06f7d706cd37 [2023-03-13T07:45:02.337Z] ---> ab5b59fc6afb [2023-03-13T07:45:02.337Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T07:45:02.597Z] ---> Running in 35d6fd14747b [2023-03-13T07:45:02.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T07:45:02.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T07:45:03.114Z] OK: 331 MiB in 131 packages [2023-03-13T07:45:03.683Z] Removing intermediate container 35d6fd14747b [2023-03-13T07:45:03.683Z] ---> ae2b33c8b3d3 [2023-03-13T07:45:03.683Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-13T07:45:03.683Z] ---> Running in 7dcd52246242 [2023-03-13T07:45:03.683Z] Removing intermediate container 7dcd52246242 [2023-03-13T07:45:03.683Z] ---> 0d5ac408f07a [2023-03-13T07:45:03.683Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-13T07:45:03.946Z] ---> 135d68020a9e [2023-03-13T07:45:03.946Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T07:45:03.946Z] ---> Running in 7030af479fe9 [2023-03-13T07:45:04.883Z] Removing intermediate container 7030af479fe9 [2023-03-13T07:45:04.883Z] ---> c0e3032719c3 [2023-03-13T07:45:04.883Z] Step 11/35 : COPY . . [2023-03-13T07:45:05.142Z] ---> 728492f5d961 [2023-03-13T07:45:05.142Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-13T07:45:05.401Z] ---> Running in 9971f1178d25 [2023-03-13T07:45:05.659Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T07:45:05.659Z] Dload Upload Total Spent Left Speed [2023-03-13T07:45:05.659Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 48735 0 --:--:-- --:--:-- --:--:-- 50571 [2023-03-13T07:45:05.917Z] Removing intermediate container 9971f1178d25 [2023-03-13T07:45:05.917Z] ---> 1714abb69f35 [2023-03-13T07:45:05.917Z] Step 13/35 : RUN ${MAKE} [2023-03-13T07:45:05.917Z] ---> Running in 5e9b58ad57c1 [2023-03-13T07:45:06.175Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-03-13T07:45:18.797Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9856 in /w/workspace/foundry_device-usb-camera_PR-179 [Pipeline] { [Pipeline] ws [2023-03-13T07:45:18.857Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-13T07:45:18.937Z] Selected Git installation does not exist. Using Default [2023-03-13T07:45:18.937Z] The recommended git tool is: NONE [2023-03-13T07:45:24.171Z] using credential edgex-jenkins-ssh [2023-03-13T07:45:24.185Z] Cloning the remote Git repository [2023-03-13T07:45:24.225Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-13T07:45:24.292Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-03-13T07:45:24.416Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-13T07:45:24.417Z] > git --version # timeout=10 [2023-03-13T07:45:24.454Z] > git --version # 'git version 2.25.1' [2023-03-13T07:45:24.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T07:45:24.509Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T07:45:25.210Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-13T07:45:25.238Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T07:45:26.092Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-13T07:45:26.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-13T07:45:26.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T07:45:26.151Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T07:45:26.726Z] Merging remotes/origin/main commit 4e47f77b753d7b234baa04d32f403ab5d967214f into PR head commit 3d9796f6f3cff5c87454f56c5748bf481479d9b5 [2023-03-13T07:45:26.953Z] Merge succeeded, producing 3d9796f6f3cff5c87454f56c5748bf481479d9b5 [2023-03-13T07:45:26.953Z] Checking out Revision 3d9796f6f3cff5c87454f56c5748bf481479d9b5 (PR-179) [2023-03-13T07:45:26.746Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T07:45:26.768Z] > git checkout -f 3d9796f6f3cff5c87454f56c5748bf481479d9b5 # timeout=10 [2023-03-13T07:45:26.857Z] > git remote # timeout=10 [2023-03-13T07:45:26.872Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T07:45:26.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T07:45:26.910Z] > git merge 4e47f77b753d7b234baa04d32f403ab5d967214f # timeout=10 [2023-03-13T07:45:26.932Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T07:45:26.964Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T07:45:26.978Z] > git checkout -f 3d9796f6f3cff5c87454f56c5748bf481479d9b5 # timeout=10 [2023-03-13T07:45:28.095Z] Removing intermediate container 5e9b58ad57c1 [2023-03-13T07:45:28.095Z] ---> 6b4e06f6b28b [2023-03-13T07:45:28.095Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-13T07:45:28.095Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-13T07:45:28.355Z] 4acc49c71d14: Pulling fs layer [2023-03-13T07:45:28.615Z] 4acc49c71d14: Verifying Checksum [2023-03-13T07:45:28.615Z] 4acc49c71d14: Download complete [2023-03-13T07:45:28.615Z] 4acc49c71d14: Pull complete [2023-03-13T07:45:28.874Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-13T07:45:28.874Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-13T07:45:28.874Z] ---> 01a2bd3e5fff [2023-03-13T07:45:28.874Z] Step 15/35 : FROM alpine:3.16 [2023-03-13T07:45:29.132Z] 3.16: Pulling from library/alpine [2023-03-13T07:45:29.132Z] ef5531b6e74e: Pulling fs layer [2023-03-13T07:45:29.392Z] ef5531b6e74e: Verifying Checksum [2023-03-13T07:45:29.392Z] ef5531b6e74e: Download complete [2023-03-13T07:45:29.651Z] ef5531b6e74e: Pull complete [2023-03-13T07:45:29.651Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-13T07:45:29.651Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T07:45:29.651Z] ---> dfd21b5a31f5 [2023-03-13T07:45:29.651Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-13T07:45:29.651Z] ---> Running in 3e730b804e4a [2023-03-13T07:45:29.909Z] Removing intermediate container 3e730b804e4a [2023-03-13T07:45:29.909Z] ---> 609434a182ce [2023-03-13T07:45:29.909Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-13T07:45:29.909Z] ---> Running in bfe60145349e [2023-03-13T07:45:30.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T07:45:30.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T07:45:30.434Z] (1/80) Installing dumb-init (1.2.5-r1) [2023-03-13T07:45:30.459Z] Commit message: "fix: Upgrade rtsp-simple-server to fix vulnerability" [2023-03-13T07:45:30.511Z] > git --version # timeout=10 [2023-03-13T07:45:30.523Z] > git --version # 'git version 2.25.1' [2023-03-13T07:45:30.539Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T07:45:30.693Z] (2/80) Installing sdl2 (2.0.22-r0) [2023-03-13T07:45:30.693Z] (3/80) Installing libxau (1.0.9-r0) [2023-03-13T07:45:30.693Z] (4/80) Installing libxdmcp (1.1.3-r0) [2023-03-13T07:45:30.693Z] (5/80) Installing libxcb (1.15-r0) [2023-03-13T07:45:30.693Z] (6/80) Installing libx11 (1.8-r0) [2023-03-13T07:45:30.693Z] (7/80) Installing aom-libs (3.3.0-r0) [2023-03-13T07:45:30.693Z] (8/80) Installing alsa-lib (1.2.7.2-r0) [2023-03-13T07:45:30.693Z] (9/80) Installing expat (2.5.0-r0) [2023-03-13T07:45:30.693Z] (10/80) Installing brotli-libs (1.0.9-r6) [2023-03-13T07:45:30.693Z] (11/80) Installing libbz2 (1.0.8-r1) [2023-03-13T07:45:30.693Z] (12/80) Installing libpng (1.6.37-r1) [2023-03-13T07:45:30.693Z] (13/80) Installing freetype (2.12.1-r0) [2023-03-13T07:45:30.693Z] (14/80) Installing fontconfig (2.14.0-r0) [2023-03-13T07:45:30.693Z] (15/80) Installing fribidi (1.0.12-r0) [2023-03-13T07:45:30.693Z] (16/80) Installing libffi (3.4.2-r1) [2023-03-13T07:45:30.693Z] (17/80) Installing libintl (0.21-r2) [2023-03-13T07:45:30.693Z] (18/80) Installing libblkid (2.38-r1) [2023-03-13T07:45:30.693Z] (19/80) Installing libmount (2.38-r1) [2023-03-13T07:45:30.693Z] (20/80) Installing pcre (8.45-r2) [2023-03-13T07:45:30.693Z] (21/80) Installing glib (2.72.1-r0) [2023-03-13T07:45:30.693Z] (22/80) Installing graphite2 (1.3.14-r1) [2023-03-13T07:45:30.693Z] (23/80) Installing harfbuzz (4.3.0-r0) [2023-03-13T07:45:30.953Z] (24/80) Installing libass (0.16.0-r0) [2023-03-13T07:45:30.953Z] (25/80) Installing libdav1d (1.0.0-r0) [2023-03-13T07:45:30.953Z] (26/80) Installing libpciaccess (0.16-r0) [2023-03-13T07:45:30.953Z] (27/80) Installing libdrm (2.4.110-r0) [2023-03-13T07:45:30.953Z] (28/80) Installing gmp (6.2.1-r2) [2023-03-13T07:45:30.953Z] (29/80) Installing nettle (3.7.3-r0) [2023-03-13T07:45:30.953Z] (30/80) Installing p11-kit (0.24.1-r0) [2023-03-13T07:45:30.953Z] (31/80) Installing libtasn1 (4.18.0-r1) [2023-03-13T07:45:30.953Z] (32/80) Installing libunistring (1.0-r0) [2023-03-13T07:45:30.953Z] (33/80) Installing gnutls (3.7.7-r1) [2023-03-13T07:45:30.953Z] (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-03-13T07:45:30.953Z] (35/80) Installing ncurses-libs (6.3_p20220521-r0) [2023-03-13T07:45:30.953Z] (36/80) Installing lame (3.100-r0) [2023-03-13T07:45:30.953Z] (37/80) Installing opus (1.3.1-r1) [2023-03-13T07:45:30.953Z] (38/80) Installing libasyncns (0.8-r1) [2023-03-13T07:45:30.953Z] (39/80) Installing dbus-libs (1.14.4-r0) [2023-03-13T07:45:30.953Z] (40/80) Installing libltdl (2.4.7-r0) [2023-03-13T07:45:30.953Z] (41/80) Installing orc (0.4.32-r0) [2023-03-13T07:45:30.953Z] (42/80) Installing libgcc (11.2.1_git20220219-r2) [2023-03-13T07:45:30.953Z] (43/80) Installing libogg (1.3.5-r1) [2023-03-13T07:45:30.953Z] (44/80) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-13T07:45:30.953Z] (45/80) Installing flac (1.3.4-r0) [2023-03-13T07:45:30.953Z] (46/80) Installing libvorbis (1.3.7-r0) [2023-03-13T07:45:30.953Z] (47/80) Installing libsndfile (1.1.0-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-03-13T07:45:31.214Z] (48/80) Installing libgomp (11.2.1_git20220219-r2) [2023-03-13T07:45:31.214Z] (49/80) Installing soxr (0.1.3-r2) [2023-03-13T07:45:31.214Z] (50/80) Installing speexdsp (1.2.0-r0) [2023-03-13T07:45:31.214Z] (51/80) Installing tdb-libs (1.4.6-r0) [2023-03-13T07:45:31.214Z] (52/80) Installing libpulse (15.0-r2) [2023-03-13T07:45:31.214Z] (53/80) Installing cjson (1.7.15-r3) [2023-03-13T07:45:31.214Z] (54/80) Installing mbedtls (2.28.2-r0) [2023-03-13T07:45:31.214Z] (55/80) Installing librist (0.2.6-r1) [2023-03-13T07:45:31.214Z] (56/80) Installing libsrt (1.4.4-r0) [2023-03-13T07:45:31.214Z] (57/80) Installing libssh (0.9.6-r1) [2023-03-13T07:45:31.214Z] (58/80) Installing libtheora (1.1.1-r16) [2023-03-13T07:45:31.214Z] (59/80) Installing libjpeg-turbo (2.1.3-r1) [2023-03-13T07:45:31.214Z] (60/80) Installing v4l-utils-libs (1.22.1-r1) [2023-03-13T07:45:31.214Z] (61/80) Installing libxext (1.3.4-r0) [2023-03-13T07:45:31.214Z] (62/80) Installing libxfixes (6.0.0-r0) [2023-03-13T07:45:31.214Z] (63/80) Installing wayland-libs-client (1.20.0-r0) [2023-03-13T07:45:31.214Z] (64/80) Installing libva (2.14.0-r0) [2023-03-13T07:45:31.214Z] (65/80) Installing libvdpau (1.5-r0) [2023-03-13T07:45:31.214Z] (66/80) Installing vidstab (1.1.0-r1) [2023-03-13T07:45:31.214Z] (67/80) Installing libvpx (1.11.0-r1) [2023-03-13T07:45:31.214Z] (68/80) Installing libwebp (1.2.3-r0) [2023-03-13T07:45:31.214Z] (69/80) Installing x264-libs (0.163_git20210613-r0) [2023-03-13T07:45:31.214Z] (70/80) Installing numactl (2.0.14-r0) [2023-03-13T07:45:31.214Z] (71/80) Installing x265-libs (3.5-r3) [Pipeline] sh [2023-03-13T07:45:31.472Z] (72/80) Installing xvidcore (1.3.7-r1) [2023-03-13T07:45:31.472Z] (73/80) Installing ffmpeg-libs (5.0.1-r1) [2023-03-13T07:45:31.472Z] (74/80) Installing ffmpeg (5.0.1-r1) [2023-03-13T07:45:31.670Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T07:45:31.670Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T07:45:31.670Z] Dload Upload Total Spent Left Speed [2023-03-13T07:45:31.670Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [2023-03-13T07:45:31.731Z] (75/80) Installing udev-init-scripts (35-r0) [2023-03-13T07:45:31.732Z] Executing udev-init-scripts-35-r0.post-install [2023-03-13T07:45:31.732Z] (76/80) Installing eudev-libs (3.2.11-r0) [2023-03-13T07:45:31.732Z] (77/80) Installing xz-libs (5.2.5-r1) [2023-03-13T07:45:31.732Z] (78/80) Installing zstd-libs (1.5.2-r1) [2023-03-13T07:45:31.732Z] (79/80) Installing kmod-libs (29-r2) [2023-03-13T07:45:31.732Z] (80/80) Installing eudev (3.2.11-r0) [2023-03-13T07:45:31.732Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T07:45:31.732Z] Executing eudev-3.2.11-r0.trigger [2023-03-13T07:45:31.732Z] OK: 100 MiB in 94 packages [Pipeline] sh [2023-03-13T07:45:32.448Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T07:45:32.791Z] + sudo tee /etc/docker/daemon.new [2023-03-13T07:45:32.791Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T07:45:32.791Z] { [2023-03-13T07:45:32.791Z] "registry-mirrors": [ [2023-03-13T07:45:32.791Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T07:45:32.791Z] ], [2023-03-13T07:45:32.791Z] "bip": "10.250.0.254/24", [2023-03-13T07:45:32.791Z] "hosts": [ [2023-03-13T07:45:32.791Z] "tcp://0.0.0.0:5555", [2023-03-13T07:45:32.791Z] "unix:///var/run/docker.sock" [2023-03-13T07:45:32.791Z] ], [2023-03-13T07:45:32.791Z] "mtu": 1458, [2023-03-13T07:45:32.791Z] "selinux-enabled": true, [2023-03-13T07:45:32.791Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T07:45:32.792Z] } [Pipeline] sh [2023-03-13T07:45:33.132Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T07:45:33.473Z] + sudo service docker restart [2023-03-13T07:45:33.634Z] Removing intermediate container bfe60145349e [2023-03-13T07:45:33.634Z] ---> 932edffe14ef [2023-03-13T07:45:33.634Z] Step 18/35 : WORKDIR / [2023-03-13T07:45:33.634Z] ---> Running in 7cc285435118 [2023-03-13T07:45:33.634Z] Removing intermediate container 7cc285435118 [2023-03-13T07:45:33.634Z] ---> f8216ced4105 [2023-03-13T07:45:33.634Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-13T07:45:33.893Z] ---> b670a0a7f647 [2023-03-13T07:45:33.893Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-13T07:45:34.151Z] ---> 6a01bd60d847 [2023-03-13T07:45:34.151Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-13T07:45:34.151Z] ---> 111cc729daf7 [2023-03-13T07:45:34.151Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-13T07:45:34.410Z] ---> d3523e4b4f38 [2023-03-13T07:45:34.410Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-13T07:45:34.668Z] ---> 873bb700a084 [2023-03-13T07:45:34.668Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-13T07:45:34.668Z] ---> 21f2316d2f74 [2023-03-13T07:45:34.668Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-13T07:45:35.233Z] ---> d63033517c9d [2023-03-13T07:45:35.233Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-13T07:45:35.493Z] ---> Running in 5b2a3df7be27 [2023-03-13T07:45:36.059Z] Removing intermediate container 5b2a3df7be27 [2023-03-13T07:45:36.059Z] ---> 8a36de61f7f4 [2023-03-13T07:45:36.059Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-13T07:45:36.059Z] ---> Running in 2b9fc88b3887 [2023-03-13T07:45:36.627Z] Removing intermediate container 2b9fc88b3887 [2023-03-13T07:45:36.627Z] ---> 0094b55433b2 [2023-03-13T07:45:36.627Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-13T07:45:36.627Z] ---> Running in 57f39eafbc8f [2023-03-13T07:45:37.565Z] Removing intermediate container 57f39eafbc8f [2023-03-13T07:45:37.565Z] ---> 28b0d8d10f5c [2023-03-13T07:45:37.565Z] Step 29/35 : EXPOSE 59983 [2023-03-13T07:45:37.565Z] ---> Running in 241056b46ac0 [2023-03-13T07:45:37.565Z] Removing intermediate container 241056b46ac0 [2023-03-13T07:45:37.565Z] ---> 2c0b26bce9b1 [2023-03-13T07:45:37.565Z] Step 30/35 : EXPOSE 8554 [2023-03-13T07:45:37.565Z] ---> Running in 8e5146704c0a [2023-03-13T07:45:37.565Z] Removing intermediate container 8e5146704c0a [2023-03-13T07:45:37.565Z] ---> 45205b11b720 [2023-03-13T07:45:37.565Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-13T07:45:37.565Z] ---> Running in 9215d16110fb [2023-03-13T07:45:37.824Z] Removing intermediate container 9215d16110fb [2023-03-13T07:45:37.824Z] ---> 58f81024d202 [2023-03-13T07:45:37.824Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-13T07:45:37.824Z] ---> Running in d0c2165d5ecc [2023-03-13T07:45:37.824Z] Removing intermediate container d0c2165d5ecc [2023-03-13T07:45:37.824Z] ---> b87e6c50df9b [2023-03-13T07:45:37.824Z] Step 33/35 : LABEL arch=amd64 [2023-03-13T07:45:37.824Z] ---> Running in d089c60a36e3 [2023-03-13T07:45:38.086Z] Removing intermediate container d089c60a36e3 [2023-03-13T07:45:38.086Z] ---> b06efbab71ba [2023-03-13T07:45:38.086Z] Step 34/35 : LABEL git_sha=3d9796f6f3cff5c87454f56c5748bf481479d9b5 [2023-03-13T07:45:38.086Z] ---> Running in 556d6295bca7 [2023-03-13T07:45:38.086Z] Removing intermediate container 556d6295bca7 [2023-03-13T07:45:38.086Z] ---> 1e01c2f2ea66 [2023-03-13T07:45:38.086Z] Step 35/35 : LABEL version=0.0.0 [2023-03-13T07:45:38.346Z] ---> Running in 8e6ac9548a2d [2023-03-13T07:45:38.346Z] Removing intermediate container 8e6ac9548a2d [2023-03-13T07:45:38.346Z] ---> ab0097683b99 [2023-03-13T07:45:38.346Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T07:45:38.346Z] Successfully built ab0097683b99 [2023-03-13T07:45:38.346Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:45:39.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T07:45:39.246Z] [2023-03-13T07:45:39.246Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:45:39.624Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T07:45:39.624Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T07:45:39.624Z] 5eb5b503b376: Pulling fs layer [2023-03-13T07:45:39.624Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T07:45:39.624Z] ec43610c2a17: Pulling fs layer [2023-03-13T07:45:39.624Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T07:45:39.624Z] 33b1e0a273af: Pulling fs layer [2023-03-13T07:45:39.624Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T07:45:39.624Z] 2f39f015ded8: Pulling fs layer [2023-03-13T07:45:39.624Z] 33b1e0a273af: Waiting [2023-03-13T07:45:39.624Z] 5d3b04190fa2: Waiting [2023-03-13T07:45:39.624Z] 3a2ae6a8a46f: Waiting [2023-03-13T07:45:39.624Z] 5c69ac0246d0: Download complete [2023-03-13T07:45:39.624Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-13T07:45:39.624Z] 3a2ae6a8a46f: Download complete [2023-03-13T07:45:39.884Z] 33b1e0a273af: Verifying Checksum [2023-03-13T07:45:39.884Z] 33b1e0a273af: Download complete [2023-03-13T07:45:39.884Z] 5d3b04190fa2: Download complete [2023-03-13T07:45:39.884Z] ec43610c2a17: Verifying Checksum [2023-03-13T07:45:39.884Z] ec43610c2a17: Download complete [2023-03-13T07:45:39.884Z] 5eb5b503b376: Verifying Checksum [2023-03-13T07:45:39.884Z] 5eb5b503b376: Download complete [2023-03-13T07:45:40.453Z] 2f39f015ded8: Download complete [2023-03-13T07:45:41.390Z] 5eb5b503b376: Pull complete [2023-03-13T07:45:41.390Z] 5c69ac0246d0: Pull complete [2023-03-13T07:45:41.958Z] ec43610c2a17: Pull complete [2023-03-13T07:45:41.958Z] 3a2ae6a8a46f: Pull complete [2023-03-13T07:45:42.216Z] 33b1e0a273af: Pull complete [2023-03-13T07:45:42.216Z] 5d3b04190fa2: Pull complete [2023-03-13T07:45:47.502Z] 2f39f015ded8: Pull complete [2023-03-13T07:45:47.502Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T07:45:47.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T07:45:47.502Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T07:45:47.714Z] prd-ubuntu20.04-docker-8c-8g-9855 does not seem to be running inside a container [2023-03-13T07:45:47.746Z] $ 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-179 -v /w/workspace/foundry_device-usb-camera_PR-179:/w/workspace/foundry_device-usb-camera_PR-179:rw,z -v /w/workspace/foundry_device-usb-camera_PR-179@tmp:/w/workspace/foundry_device-usb-camera_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T07:45:49.608Z] $ docker top d690d4bdb31ba2172bd8e5164456ab7e3c3b1fbdc6ab538ca7f274cb7d1090ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:45:50.071Z] ---> job-cost.sh [2023-03-13T07:45:50.071Z] lf-activate-venv: SKIPPING [2023-03-13T07:45:50.071Z] INFO: No Stack... [2023-03-13T07:45:50.331Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T07:45:50.590Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T07:45:50.911Z] + cat /w/workspace/foundry_device-usb-camera_PR-179/archives/cost.csv [2023-03-13T07:45:50.911Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T07:45:50.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-179-1-stack-cost] [2023-03-13T07:45:50.961Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-179-1-stack-cost] did not exist. Created. [2023-03-13T07:45:50.962Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-179-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T07:45:51.372Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T07:45:51.422Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T07:45:51.457Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-179-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T07:45:51.535Z] $ docker stop --time=1 d690d4bdb31ba2172bd8e5164456ab7e3c3b1fbdc6ab538ca7f274cb7d1090ad [2023-03-13T07:45:52.718Z] $ docker rm -f --volumes d690d4bdb31ba2172bd8e5164456ab7e3c3b1fbdc6ab538ca7f274cb7d1090ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider [2023-03-13T07:45:52.942Z] provisioning config files... [2023-03-13T07:45:52.966Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config9239918056964333897tmp [Pipeline] } [Pipeline] // withEnv [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] } [2023-03-13T07:45:53.416Z] ---> docker-login.sh [2023-03-13T07:45:53.416Z] nexus3.edgexfoundry.org:10001 [2023-03-13T07:45:53.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:45:53.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:45:53.956Z] Configure a credential helper to remove this warning. See [2023-03-13T07:45:53.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:45:53.956Z] [2023-03-13T07:45:53.956Z] Login Succeeded [2023-03-13T07:45:53.956Z] nexus3.edgexfoundry.org:10002 [2023-03-13T07:45:54.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:45:54.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:45:54.223Z] Configure a credential helper to remove this warning. See [2023-03-13T07:45:54.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:45:54.223Z] [2023-03-13T07:45:54.223Z] Login Succeeded [2023-03-13T07:45:54.223Z] nexus3.edgexfoundry.org:10003 [2023-03-13T07:45:54.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:45:54.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:45:54.757Z] Configure a credential helper to remove this warning. See [2023-03-13T07:45:54.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:45:54.757Z] [2023-03-13T07:45:54.757Z] Login Succeeded [2023-03-13T07:45:54.757Z] nexus3.edgexfoundry.org:10004 [2023-03-13T07:45:54.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:45:55.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:45:55.027Z] Configure a credential helper to remove this warning. See [2023-03-13T07:45:55.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:45:55.027Z] [2023-03-13T07:45:55.027Z] Login Succeeded [2023-03-13T07:45:55.027Z] docker.io [2023-03-13T07:45:55.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T07:45:55.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T07:45:55.293Z] Configure a credential helper to remove this warning. See [2023-03-13T07:45:55.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T07:45:55.293Z] [2023-03-13T07:45:55.293Z] Login Succeeded [2023-03-13T07:45:55.293Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T07:45:55.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T07:45:55.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T07:45:55.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T07:45:55.743Z] ========================================================= [2023-03-13T07:45:55.743Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T07:45:55.743Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:45:56.242Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T07:45:56.509Z] Sending build context to Docker daemon 1.167MB [2023-03-13T07:45:56.509Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T07:45:56.509Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-13T07:45:57.924Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T07:45:57.924Z] 9b18e9b68314: Pulling fs layer [2023-03-13T07:45:57.924Z] 35d82f9e3411: Pulling fs layer [2023-03-13T07:45:57.924Z] e16973657156: Pulling fs layer [2023-03-13T07:45:57.924Z] fc693d55d65f: Pulling fs layer [2023-03-13T07:45:57.924Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T07:45:57.924Z] dda99020689f: Pulling fs layer [2023-03-13T07:45:57.924Z] db1c61fa0a46: Pulling fs layer [2023-03-13T07:45:57.924Z] 891c053d2c06: Pulling fs layer [2023-03-13T07:45:57.924Z] dda99020689f: Waiting [2023-03-13T07:45:57.924Z] db1c61fa0a46: Waiting [2023-03-13T07:45:57.924Z] 891c053d2c06: Waiting [2023-03-13T07:45:57.924Z] fc693d55d65f: Waiting [2023-03-13T07:45:57.924Z] 7e9fc2657dce: Waiting [2023-03-13T07:45:57.924Z] e16973657156: Verifying Checksum [2023-03-13T07:45:57.924Z] e16973657156: Download complete [2023-03-13T07:45:57.924Z] 35d82f9e3411: Verifying Checksum [2023-03-13T07:45:57.924Z] 35d82f9e3411: Download complete [2023-03-13T07:45:57.924Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T07:45:57.924Z] 7e9fc2657dce: Download complete [2023-03-13T07:45:57.924Z] dda99020689f: Verifying Checksum [2023-03-13T07:45:57.924Z] dda99020689f: Download complete [2023-03-13T07:45:57.924Z] 9b18e9b68314: Verifying Checksum [2023-03-13T07:45:57.924Z] 9b18e9b68314: Download complete [2023-03-13T07:45:58.893Z] 9b18e9b68314: Pull complete [2023-03-13T07:45:58.893Z] 891c053d2c06: Verifying Checksum [2023-03-13T07:45:58.893Z] 891c053d2c06: Download complete [2023-03-13T07:45:59.492Z] 35d82f9e3411: Pull complete [2023-03-13T07:45:59.759Z] e16973657156: Pull complete [2023-03-13T07:46:00.039Z] db1c61fa0a46: Verifying Checksum [2023-03-13T07:46:00.039Z] db1c61fa0a46: Download complete [2023-03-13T07:46:00.634Z] fc693d55d65f: Download complete [2023-03-13T07:46:12.964Z] fc693d55d65f: Pull complete [2023-03-13T07:46:12.964Z] 7e9fc2657dce: Pull complete [2023-03-13T07:46:12.964Z] dda99020689f: Pull complete [2023-03-13T07:46:19.617Z] db1c61fa0a46: Pull complete [2023-03-13T07:46:20.578Z] 891c053d2c06: Pull complete [2023-03-13T07:46:20.578Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T07:46:20.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T07:46:20.578Z] ---> f96f9c87975a [2023-03-13T07:46:20.578Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-13T07:46:21.535Z] ---> Running in fe63ad32a32d [2023-03-13T07:46:21.802Z] Removing intermediate container fe63ad32a32d [2023-03-13T07:46:21.802Z] ---> b66550417dfb [2023-03-13T07:46:21.802Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T07:46:21.802Z] ---> Running in 3aabcfa7cf86 [2023-03-13T07:46:22.069Z] Removing intermediate container 3aabcfa7cf86 [2023-03-13T07:46:22.069Z] ---> 1d5d2a30700c [2023-03-13T07:46:22.069Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-13T07:46:22.069Z] ---> Running in d724014af2b9 [2023-03-13T07:46:22.341Z] Removing intermediate container d724014af2b9 [2023-03-13T07:46:22.341Z] ---> 9893a9499740 [2023-03-13T07:46:22.341Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-13T07:46:22.607Z] ---> Running in 8ca8387208ea [2023-03-13T07:46:22.876Z] Removing intermediate container 8ca8387208ea [2023-03-13T07:46:22.876Z] ---> 16bd88bf8fde [2023-03-13T07:46:22.876Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T07:46:22.876Z] ---> Running in e5e861004323 [2023-03-13T07:46:23.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T07:46:24.424Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T07:46:25.388Z] (1/14) Installing libintl (0.21-r2) [2023-03-13T07:46:25.388Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-03-13T07:46:25.388Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-03-13T07:46:25.388Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-03-13T07:46:25.388Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-03-13T07:46:25.388Z] (6/14) Installing udev-init-scripts (35-r0) [2023-03-13T07:46:25.388Z] Executing udev-init-scripts-35-r0.post-install [2023-03-13T07:46:25.388Z] (7/14) Installing libblkid (2.38-r1) [2023-03-13T07:46:25.388Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-03-13T07:46:25.388Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-03-13T07:46:25.388Z] (10/14) Installing kmod-libs (29-r2) [2023-03-13T07:46:25.388Z] (11/14) Installing eudev (3.2.11-r0) [2023-03-13T07:46:25.388Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-03-13T07:46:25.388Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-13T07:46:25.388Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-03-13T07:46:25.388Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T07:46:25.657Z] Executing eudev-3.2.11-r0.trigger [2023-03-13T07:46:25.657Z] OK: 228 MiB in 65 packages [2023-03-13T07:46:26.625Z] Removing intermediate container e5e861004323 [2023-03-13T07:46:26.625Z] ---> b9a73ef0bbf4 [2023-03-13T07:46:26.625Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-13T07:46:26.625Z] ---> Running in b74a5346433b [2023-03-13T07:46:26.893Z] Removing intermediate container b74a5346433b [2023-03-13T07:46:26.893Z] ---> 2aa9aa14cdb6 [2023-03-13T07:46:26.893Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-13T07:46:27.480Z] ---> cf462029329e [2023-03-13T07:46:27.480Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T07:46:27.480Z] ---> Running in 6b5fe5f5794d [2023-03-13T07:47:23.897Z] Removing intermediate container 6b5fe5f5794d [2023-03-13T07:47:23.897Z] ---> 89e3dca83f72 [2023-03-13T07:47:23.897Z] Step 11/13 : COPY . . [2023-03-13T07:47:23.897Z] ---> 7d9e028afe7a [2023-03-13T07:47:23.897Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-13T07:47:23.897Z] ---> Running in 261f739b1102 [2023-03-13T07:47:24.481Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T07:47:24.481Z] Dload Upload Total Spent Left Speed [2023-03-13T07:47:24.748Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14203 0 --:--:-- --:--:-- --:--:-- 14351 [2023-03-13T07:47:25.337Z] Removing intermediate container 261f739b1102 [2023-03-13T07:47:25.337Z] ---> eed1f6d7fc8c [2023-03-13T07:47:25.337Z] Step 13/13 : RUN ${MAKE} [2023-03-13T07:47:25.337Z] ---> Running in a9ce1e411a00 [2023-03-13T07:47:26.295Z] noop [2023-03-13T07:47:26.562Z] Removing intermediate container a9ce1e411a00 [2023-03-13T07:47:26.562Z] ---> 49fec7af0b96 [2023-03-13T07:47:26.562Z] Successfully built 49fec7af0b96 [2023-03-13T07:47:26.827Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:47:27.300Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T07:47:27.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T07:47:27.555Z] prd-ubuntu20.04-docker-arm64-4c-16g-9856 does not seem to be running inside a container [2023-03-13T07:47:27.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T07:47:30.071Z] $ docker top cbda0101699540cb47cd3df6491c45b627a41fe6dd4778a5717808c828f47940 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T07:47:30.936Z] + go version [2023-03-13T07:47:30.936Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T07:47:30.975Z] $ docker stop --time=1 cbda0101699540cb47cd3df6491c45b627a41fe6dd4778a5717808c828f47940 [2023-03-13T07:47:32.523Z] $ docker rm -f --volumes cbda0101699540cb47cd3df6491c45b627a41fe6dd4778a5717808c828f47940 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:47:33.356Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T07:47:33.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T07:47:33.594Z] prd-ubuntu20.04-docker-arm64-4c-16g-9856 does not seem to be running inside a container [2023-03-13T07:47:33.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T07:47:34.701Z] $ docker top a54eb9167f05ae5043cb082ef58dcc57328c5272eb16009e18a396856b65c2b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T07:47:35.234Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-13T07:47:35.616Z] + make test [2023-03-13T07:47:35.616Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T07:47:37.556Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-13T07:48:59.181Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-13T07:49:01.761Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.063s coverage: 2.0% of statements [2023-03-13T07:49:02.030Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-13T07:49:02.030Z] go vet ./... [2023-03-13T07:49:24.100Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-13T07:49:24.100Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-13T07:49:24.100Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-13T07:49:24.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-13T07:49:24.175Z] $ docker stop --time=1 a54eb9167f05ae5043cb082ef58dcc57328c5272eb16009e18a396856b65c2b6 [2023-03-13T07:49:25.931Z] $ docker rm -f --volumes a54eb9167f05ae5043cb082ef58dcc57328c5272eb16009e18a396856b65c2b6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T07:49:26.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-13T07:49:26.939Z] Warning: overwriting stash ‘coverage-report’ [2023-03-13T07:49:27.366Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T07:49:27.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-13T07:49:28.306Z] + ls -al . [2023-03-13T07:49:28.306Z] total 184 [2023-03-13T07:49:28.306Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 07:47 . [2023-03-13T07:49:28.306Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 07:45 .. [2023-03-13T07:49:28.306Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 07:45 .git [2023-03-13T07:49:28.306Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 07:45 .github [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 13 07:45 .gitignore [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 07:45 .golangci.yml [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 13 07:45 .hadolint.yml [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 9660 Mar 13 07:45 Attribution.txt [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 13 07:45 CHANGELOG.md [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 13 07:45 Dockerfile [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 13 07:45 GOVERNANCE.md [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 13 07:45 Jenkinsfile [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 13 07:45 LICENSE [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 2329 Mar 13 07:45 Makefile [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 13 07:45 OWNERS.md [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 5271 Mar 13 07:45 README.md [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 07:43 VERSION [2023-03-13T07:49:28.306Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 07:45 bin [2023-03-13T07:49:28.306Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 07:45 cmd [2023-03-13T07:49:28.306Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 13 07:49 coverage.out [2023-03-13T07:49:28.306Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 13 07:45 docker-entrypoint.sh [2023-03-13T07:49:28.306Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 07:45 docs [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 3487 Mar 13 07:45 go.mod [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 31546 Mar 13 07:45 go.sum [2023-03-13T07:49:28.306Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 07:45 internal [2023-03-13T07:49:28.306Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 07:45 snap [2023-03-13T07:49:28.306Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 13 07:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:49:28.723Z] + 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=3d9796f6f3cff5c87454f56c5748bf481479d9b5 --label arch=arm64 --label version=0.0.0 . [2023-03-13T07:49:28.991Z] Sending build context to Docker daemon 1.196MB [2023-03-13T07:49:28.991Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T07:49:28.991Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-13T07:49:28.991Z] ---> 49fec7af0b96 [2023-03-13T07:49:28.991Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-13T07:49:29.265Z] ---> Running in 748717da5c5b [2023-03-13T07:49:29.534Z] Removing intermediate container 748717da5c5b [2023-03-13T07:49:29.534Z] ---> 810888078311 [2023-03-13T07:49:29.534Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T07:49:29.534Z] ---> Running in 441d3c5b0bed [2023-03-13T07:49:29.802Z] Removing intermediate container 441d3c5b0bed [2023-03-13T07:49:29.802Z] ---> 7e67be6aa3ec [2023-03-13T07:49:29.802Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-13T07:49:29.802Z] ---> Running in 6a3719bdbeb4 [2023-03-13T07:49:30.070Z] Removing intermediate container 6a3719bdbeb4 [2023-03-13T07:49:30.071Z] ---> 909c08479c6a [2023-03-13T07:49:30.071Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-13T07:49:30.071Z] ---> Running in f20abd283e04 [2023-03-13T07:49:30.343Z] Removing intermediate container f20abd283e04 [2023-03-13T07:49:30.343Z] ---> 808195d5c936 [2023-03-13T07:49:30.343Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T07:49:30.612Z] ---> Running in 60cf4fdb15c9 [2023-03-13T07:49:31.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T07:49:31.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T07:49:32.801Z] OK: 228 MiB in 65 packages [2023-03-13T07:49:33.392Z] Removing intermediate container 60cf4fdb15c9 [2023-03-13T07:49:33.392Z] ---> 90002beb841e [2023-03-13T07:49:33.392Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-13T07:49:33.392Z] ---> Running in a5d9abbe2bbb [2023-03-13T07:49:33.662Z] Removing intermediate container a5d9abbe2bbb [2023-03-13T07:49:33.662Z] ---> 07605afc0e38 [2023-03-13T07:49:33.662Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-13T07:49:34.242Z] ---> 80251fc07729 [2023-03-13T07:49:34.242Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T07:49:34.242Z] ---> Running in 5a2455a2d380 [2023-03-13T07:49:36.821Z] Removing intermediate container 5a2455a2d380 [2023-03-13T07:49:36.821Z] ---> 2191a69c48e0 [2023-03-13T07:49:36.821Z] Step 11/35 : COPY . . [2023-03-13T07:49:38.770Z] ---> 9c5e77798e00 [2023-03-13T07:49:38.770Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-13T07:49:38.770Z] ---> Running in 05580d450195 [2023-03-13T07:49:39.726Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T07:49:39.726Z] Dload Upload Total Spent Left Speed [2023-03-13T07:49:39.993Z] 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6316 0 --:--:-- --:--:-- --:--:-- 6359 [2023-03-13T07:49:41.128Z] Removing intermediate container 05580d450195 [2023-03-13T07:49:41.128Z] ---> a54d8da750ca [2023-03-13T07:49:41.128Z] Step 13/35 : RUN ${MAKE} [2023-03-13T07:49:41.128Z] ---> Running in 043dfc283e15 [2023-03-13T07:49:42.132Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-03-13T07:52:18.975Z] Removing intermediate container 043dfc283e15 [2023-03-13T07:52:18.975Z] ---> 9b8c3e822a14 [2023-03-13T07:52:18.975Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-03-13T07:52:18.975Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-03-13T07:52:18.975Z] 8766b47fe142: Pulling fs layer [2023-03-13T07:52:18.975Z] 8766b47fe142: Verifying Checksum [2023-03-13T07:52:18.975Z] 8766b47fe142: Download complete [2023-03-13T07:52:18.975Z] 8766b47fe142: Pull complete [2023-03-13T07:52:18.975Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-03-13T07:52:18.975Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-03-13T07:52:18.975Z] ---> 69d40e2cb93c [2023-03-13T07:52:18.975Z] Step 15/35 : FROM alpine:3.16 [2023-03-13T07:52:18.975Z] 3.16: Pulling from library/alpine [2023-03-13T07:52:18.975Z] 3760b48202b3: Pulling fs layer [2023-03-13T07:52:18.975Z] 3760b48202b3: Verifying Checksum [2023-03-13T07:52:18.975Z] 3760b48202b3: Download complete [2023-03-13T07:52:18.975Z] 3760b48202b3: Pull complete [2023-03-13T07:52:18.975Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-13T07:52:18.975Z] Status: Downloaded newer image for alpine:3.16 [2023-03-13T07:52:18.975Z] ---> 4c81e5bf8899 [2023-03-13T07:52:18.975Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-13T07:52:18.975Z] ---> Running in 802c301a6d61 [2023-03-13T07:52:18.975Z] Removing intermediate container 802c301a6d61 [2023-03-13T07:52:18.975Z] ---> 5d8b042fd0c6 [2023-03-13T07:52:18.975Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-13T07:52:18.975Z] ---> Running in a07752225b3e [2023-03-13T07:52:18.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T07:52:18.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T07:52:18.975Z] (1/79) Installing dumb-init (1.2.5-r1) [2023-03-13T07:52:18.975Z] (2/79) Installing sdl2 (2.0.22-r0) [2023-03-13T07:52:18.975Z] (3/79) Installing libxau (1.0.9-r0) [2023-03-13T07:52:18.975Z] (4/79) Installing libxdmcp (1.1.3-r0) [2023-03-13T07:52:18.975Z] (5/79) Installing libxcb (1.15-r0) [2023-03-13T07:52:18.975Z] (6/79) Installing libx11 (1.8-r0) [2023-03-13T07:52:18.975Z] (7/79) Installing aom-libs (3.3.0-r0) [2023-03-13T07:52:18.975Z] (8/79) Installing alsa-lib (1.2.7.2-r0) [2023-03-13T07:52:18.975Z] (9/79) Installing expat (2.5.0-r0) [2023-03-13T07:52:18.975Z] (10/79) Installing brotli-libs (1.0.9-r6) [2023-03-13T07:52:18.975Z] (11/79) Installing libbz2 (1.0.8-r1) [2023-03-13T07:52:18.975Z] (12/79) Installing libpng (1.6.37-r1) [2023-03-13T07:52:18.975Z] (13/79) Installing freetype (2.12.1-r0) [2023-03-13T07:52:18.975Z] (14/79) Installing fontconfig (2.14.0-r0) [2023-03-13T07:52:18.975Z] (15/79) Installing fribidi (1.0.12-r0) [2023-03-13T07:52:18.975Z] (16/79) Installing libffi (3.4.2-r1) [2023-03-13T07:52:18.975Z] (17/79) Installing libintl (0.21-r2) [2023-03-13T07:52:18.975Z] (18/79) Installing libblkid (2.38-r1) [2023-03-13T07:52:18.975Z] (19/79) Installing libmount (2.38-r1) [2023-03-13T07:52:18.975Z] (20/79) Installing pcre (8.45-r2) [2023-03-13T07:52:18.975Z] (21/79) Installing glib (2.72.1-r0) [2023-03-13T07:52:18.975Z] (22/79) Installing graphite2 (1.3.14-r1) [2023-03-13T07:52:18.975Z] (23/79) Installing harfbuzz (4.3.0-r0) [2023-03-13T07:52:18.975Z] (24/79) Installing libass (0.16.0-r0) [2023-03-13T07:52:18.975Z] (25/79) Installing libdav1d (1.0.0-r0) [2023-03-13T07:52:18.975Z] (26/79) Installing libdrm (2.4.110-r0) [2023-03-13T07:52:19.243Z] (27/79) Installing gmp (6.2.1-r2) [2023-03-13T07:52:19.243Z] (28/79) Installing nettle (3.7.3-r0) [2023-03-13T07:52:19.243Z] (29/79) Installing p11-kit (0.24.1-r0) [2023-03-13T07:52:19.511Z] (30/79) Installing libtasn1 (4.18.0-r1) [2023-03-13T07:52:19.511Z] (31/79) Installing libunistring (1.0-r0) [2023-03-13T07:52:19.511Z] (32/79) Installing gnutls (3.7.7-r1) [2023-03-13T07:52:19.511Z] (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-03-13T07:52:19.511Z] (34/79) Installing ncurses-libs (6.3_p20220521-r0) [2023-03-13T07:52:19.778Z] (35/79) Installing lame (3.100-r0) [2023-03-13T07:52:19.778Z] (36/79) Installing opus (1.3.1-r1) [2023-03-13T07:52:19.778Z] (37/79) Installing libasyncns (0.8-r1) [2023-03-13T07:52:19.778Z] (38/79) Installing dbus-libs (1.14.4-r0) [2023-03-13T07:52:19.778Z] (39/79) Installing libltdl (2.4.7-r0) [2023-03-13T07:52:19.778Z] (40/79) Installing orc (0.4.32-r0) [2023-03-13T07:52:19.778Z] (41/79) Installing libgcc (11.2.1_git20220219-r2) [2023-03-13T07:52:19.778Z] (42/79) Installing libogg (1.3.5-r1) [2023-03-13T07:52:19.778Z] (43/79) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-13T07:52:19.778Z] (44/79) Installing flac (1.3.4-r0) [2023-03-13T07:52:19.778Z] (45/79) Installing libvorbis (1.3.7-r0) [2023-03-13T07:52:20.048Z] (46/79) Installing libsndfile (1.1.0-r0) [2023-03-13T07:52:20.048Z] (47/79) Installing libgomp (11.2.1_git20220219-r2) [2023-03-13T07:52:20.048Z] (48/79) Installing soxr (0.1.3-r2) [2023-03-13T07:52:20.048Z] (49/79) Installing speexdsp (1.2.0-r0) [2023-03-13T07:52:20.048Z] (50/79) Installing tdb-libs (1.4.6-r0) [2023-03-13T07:52:20.048Z] (51/79) Installing libpulse (15.0-r2) [2023-03-13T07:52:20.316Z] (52/79) Installing cjson (1.7.15-r3) [2023-03-13T07:52:20.316Z] (53/79) Installing mbedtls (2.28.2-r0) [2023-03-13T07:52:20.316Z] (54/79) Installing librist (0.2.6-r1) [2023-03-13T07:52:20.316Z] (55/79) Installing libsrt (1.4.4-r0) [2023-03-13T07:52:20.316Z] (56/79) Installing libssh (0.9.6-r1) [2023-03-13T07:52:20.316Z] (57/79) Installing libtheora (1.1.1-r16) [2023-03-13T07:52:20.316Z] (58/79) Installing libjpeg-turbo (2.1.3-r1) [2023-03-13T07:52:20.316Z] (59/79) Installing v4l-utils-libs (1.22.1-r1) [2023-03-13T07:52:20.316Z] (60/79) Installing libxext (1.3.4-r0) [2023-03-13T07:52:20.316Z] (61/79) Installing libxfixes (6.0.0-r0) [2023-03-13T07:52:20.585Z] (62/79) Installing wayland-libs-client (1.20.0-r0) [2023-03-13T07:52:20.585Z] (63/79) Installing libva (2.14.0-r0) [2023-03-13T07:52:20.585Z] (64/79) Installing libvdpau (1.5-r0) [2023-03-13T07:52:20.585Z] (65/79) Installing vidstab (1.1.0-r1) [2023-03-13T07:52:20.851Z] (66/79) Installing libvpx (1.11.0-r1) [2023-03-13T07:52:20.851Z] (67/79) Installing libwebp (1.2.3-r0) [2023-03-13T07:52:21.117Z] (68/79) Installing x264-libs (0.163_git20210613-r0) [2023-03-13T07:52:21.117Z] (69/79) Installing numactl (2.0.14-r0) [2023-03-13T07:52:21.117Z] (70/79) Installing x265-libs (3.5-r3) [2023-03-13T07:52:21.117Z] (71/79) Installing xvidcore (1.3.7-r1) [2023-03-13T07:52:21.384Z] (72/79) Installing ffmpeg-libs (5.0.1-r1) [2023-03-13T07:52:22.792Z] (73/79) Installing ffmpeg (5.0.1-r1) [2023-03-13T07:52:22.792Z] (74/79) Installing udev-init-scripts (35-r0) [2023-03-13T07:52:22.792Z] Executing udev-init-scripts-35-r0.post-install [2023-03-13T07:52:22.792Z] (75/79) Installing eudev-libs (3.2.11-r0) [2023-03-13T07:52:22.792Z] (76/79) Installing xz-libs (5.2.5-r1) [2023-03-13T07:52:22.792Z] (77/79) Installing zstd-libs (1.5.2-r1) [2023-03-13T07:52:22.792Z] (78/79) Installing kmod-libs (29-r2) [2023-03-13T07:52:22.792Z] (79/79) Installing eudev (3.2.11-r0) [2023-03-13T07:52:22.792Z] Executing busybox-1.35.0-r17.trigger [2023-03-13T07:52:22.792Z] Executing eudev-3.2.11-r0.trigger [2023-03-13T07:52:22.792Z] OK: 77 MiB in 93 packages [2023-03-13T07:52:26.136Z] Removing intermediate container a07752225b3e [2023-03-13T07:52:26.136Z] ---> 67fa5a3c6acf [2023-03-13T07:52:26.136Z] Step 18/35 : WORKDIR / [2023-03-13T07:52:26.136Z] ---> Running in 899edb5fb1f7 [2023-03-13T07:52:26.136Z] Removing intermediate container 899edb5fb1f7 [2023-03-13T07:52:26.136Z] ---> 61d34961c53b [2023-03-13T07:52:26.136Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-13T07:52:28.722Z] ---> 244986348592 [2023-03-13T07:52:28.722Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-13T07:52:29.302Z] ---> cbd777720e38 [2023-03-13T07:52:29.302Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-13T07:52:29.889Z] ---> 0faa8639fb1e [2023-03-13T07:52:29.889Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-13T07:52:30.471Z] ---> 0c26d67efe29 [2023-03-13T07:52:30.471Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-13T07:52:30.738Z] ---> f0c2896b0bd0 [2023-03-13T07:52:30.738Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-13T07:52:31.322Z] ---> 4c318e71a70e [2023-03-13T07:52:31.322Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-13T07:52:32.729Z] ---> 0ed61749e0f8 [2023-03-13T07:52:32.729Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-13T07:52:32.729Z] ---> Running in 82882204741d [2023-03-13T07:52:34.689Z] Removing intermediate container 82882204741d [2023-03-13T07:52:34.689Z] ---> 1c8ee40827b4 [2023-03-13T07:52:34.689Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-13T07:52:34.689Z] ---> Running in dda312086c2b [2023-03-13T07:52:36.101Z] Removing intermediate container dda312086c2b [2023-03-13T07:52:36.101Z] ---> 3c4945683b85 [2023-03-13T07:52:36.101Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-13T07:52:36.101Z] ---> Running in 19d3378c50b5 [2023-03-13T07:52:37.508Z] Removing intermediate container 19d3378c50b5 [2023-03-13T07:52:37.508Z] ---> 8d638524554c [2023-03-13T07:52:37.508Z] Step 29/35 : EXPOSE 59983 [2023-03-13T07:52:37.774Z] ---> Running in c59a4a432aa6 [2023-03-13T07:52:38.042Z] Removing intermediate container c59a4a432aa6 [2023-03-13T07:52:38.042Z] ---> 6fb36ea15b7c [2023-03-13T07:52:38.042Z] Step 30/35 : EXPOSE 8554 [2023-03-13T07:52:38.042Z] ---> Running in 12a92d2a57be [2023-03-13T07:52:38.308Z] Removing intermediate container 12a92d2a57be [2023-03-13T07:52:38.308Z] ---> 85902069aa7c [2023-03-13T07:52:38.308Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-13T07:52:38.308Z] ---> Running in c55e992d7141 [2023-03-13T07:52:38.577Z] Removing intermediate container c55e992d7141 [2023-03-13T07:52:38.577Z] ---> 978d4cb1ca5a [2023-03-13T07:52:38.577Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-13T07:52:38.842Z] ---> Running in 69f32d18c9ef [2023-03-13T07:52:39.111Z] Removing intermediate container 69f32d18c9ef [2023-03-13T07:52:39.111Z] ---> 274b0a0cf236 [2023-03-13T07:52:39.111Z] Step 33/35 : LABEL arch=arm64 [2023-03-13T07:52:39.111Z] ---> Running in 2ff1f7094525 [2023-03-13T07:52:39.378Z] Removing intermediate container 2ff1f7094525 [2023-03-13T07:52:39.378Z] ---> a75fa84c1017 [2023-03-13T07:52:39.378Z] Step 34/35 : LABEL git_sha=3d9796f6f3cff5c87454f56c5748bf481479d9b5 [2023-03-13T07:52:39.378Z] ---> Running in 40a35b39ce3d [2023-03-13T07:52:39.654Z] Removing intermediate container 40a35b39ce3d [2023-03-13T07:52:39.654Z] ---> fd9ce9da3f10 [2023-03-13T07:52:39.654Z] Step 35/35 : LABEL version=0.0.0 [2023-03-13T07:52:39.921Z] ---> Running in 60ae72a380f0 [2023-03-13T07:52:40.187Z] Removing intermediate container 60ae72a380f0 [2023-03-13T07:52:40.187Z] ---> 10afac3ae51c [2023-03-13T07:52:40.187Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-13T07:52:40.187Z] Successfully built 10afac3ae51c [2023-03-13T07:52:40.187Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:52:41.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T07:52:41.016Z] [2023-03-13T07:52:41.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:52:41.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T07:52:41.421Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T07:52:41.421Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T07:52:41.421Z] 04944245beec: Pulling fs layer [2023-03-13T07:52:41.421Z] 699f458cf7ca: Pulling fs layer [2023-03-13T07:52:41.421Z] 765212b225bb: Pulling fs layer [2023-03-13T07:52:41.421Z] f23df028b6ca: Pulling fs layer [2023-03-13T07:52:41.421Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T07:52:41.421Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T07:52:41.421Z] 765212b225bb: Waiting [2023-03-13T07:52:41.421Z] f23df028b6ca: Waiting [2023-03-13T07:52:41.421Z] d65c8cfc05b1: Waiting [2023-03-13T07:52:41.421Z] 2437ff75d9bd: Waiting [2023-03-13T07:52:41.686Z] 04944245beec: Verifying Checksum [2023-03-13T07:52:41.686Z] 04944245beec: Download complete [2023-03-13T07:52:41.686Z] 765212b225bb: Verifying Checksum [2023-03-13T07:52:41.686Z] 765212b225bb: Download complete [2023-03-13T07:52:41.686Z] f23df028b6ca: Verifying Checksum [2023-03-13T07:52:41.686Z] f23df028b6ca: Download complete [2023-03-13T07:52:41.686Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T07:52:41.686Z] d65c8cfc05b1: Download complete [2023-03-13T07:52:41.686Z] 699f458cf7ca: Verifying Checksum [2023-03-13T07:52:41.686Z] 699f458cf7ca: Download complete [2023-03-13T07:52:42.271Z] 8998bd30e6a1: Download complete [2023-03-13T07:52:44.207Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T07:52:44.207Z] 2437ff75d9bd: Download complete [2023-03-13T07:52:46.144Z] 8998bd30e6a1: Pull complete [2023-03-13T07:52:46.410Z] 04944245beec: Pull complete [2023-03-13T07:52:47.816Z] 699f458cf7ca: Pull complete [2023-03-13T07:52:47.816Z] 765212b225bb: Pull complete [2023-03-13T07:52:48.796Z] f23df028b6ca: Pull complete [2023-03-13T07:52:48.796Z] d65c8cfc05b1: Pull complete [2023-03-13T07:53:03.785Z] 2437ff75d9bd: Pull complete [2023-03-13T07:53:03.785Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T07:53:03.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T07:53:03.785Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T07:53:04.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-9856 does not seem to be running inside a container [2023-03-13T07:53:04.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T07:53:06.518Z] $ docker top 4e2db99b63d699af78ab48617f292e2ff4bd6bd5b90c4620854da963f076bf37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:53:07.401Z] ---> job-cost.sh [2023-03-13T07:53:07.401Z] lf-activate-venv: SKIPPING [2023-03-13T07:53:07.401Z] INFO: No Stack... [2023-03-13T07:53:07.666Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T07:53:08.618Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T07:53:08.949Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-03-13T07:53:08.949Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T07:53:09.030Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-179-1-stack-cost] [2023-03-13T07:53:09.035Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-179-1-stack-cost] did not exist. Created. [2023-03-13T07:53:09.035Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-179-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T07:53:09.446Z] /w/workspace/device-usb-camera/1@tmp/durable-4f56fb55/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T07:53:09.800Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T07:53:09.835Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T07:53:09.880Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T07:53:09.895Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-179-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T07:53:09.974Z] $ docker stop --time=1 4e2db99b63d699af78ab48617f292e2ff4bd6bd5b90c4620854da963f076bf37 [2023-03-13T07:53:11.422Z] $ docker rm -f --volumes 4e2db99b63d699af78ab48617f292e2ff4bd6bd5b90c4620854da963f076bf37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-13T07:53:12.369Z] provisioning config files... [2023-03-13T07:53:12.379Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-179@tmp/config16467915974314555121tmp [Pipeline] { [Pipeline] sh [2023-03-13T07:53:12.709Z] + set +x [2023-03-13T07:53:12.710Z] + curl -s https://codecov.io/bash [2023-03-13T07:53:12.710Z] + bash -s -- [2023-03-13T07:53:12.710Z] [2023-03-13T07:53:12.710Z] _____ _ [2023-03-13T07:53:12.710Z] / ____| | | [2023-03-13T07:53:12.710Z] | | ___ __| | ___ ___ _____ __ [2023-03-13T07:53:12.710Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-13T07:53:12.710Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-13T07:53:12.710Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-13T07:53:12.710Z] Bash-1.0.6 [2023-03-13T07:53:12.710Z] [2023-03-13T07:53:12.710Z] [2023-03-13T07:53:12.710Z] ==> git version 2.25.1 found [2023-03-13T07:53:12.710Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-13T07:53:12.710Z] Release-Date: 2020-01-08 [2023-03-13T07:53:12.710Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-13T07:53:12.710Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-13T07:53:12.710Z] ==> Jenkins CI detected. [2023-03-13T07:53:12.710Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-179 [2023-03-13T07:53:12.710Z] project root: . [2023-03-13T07:53:12.710Z] --> token set from env [2023-03-13T07:53:12.710Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-13T07:53:12.710Z] ==> Running gcov in . (disable via -X gcov) [2023-03-13T07:53:12.710Z] ==> Python coveragepy not found [2023-03-13T07:53:12.710Z] ==> Searching for coverage reports in: [2023-03-13T07:53:12.710Z] + . [2023-03-13T07:53:12.710Z] -> Found 1 reports [2023-03-13T07:53:12.710Z] ==> Detecting git/mercurial file structure [2023-03-13T07:53:12.970Z] ==> Reading reports [2023-03-13T07:53:12.970Z] + ./coverage.out bytes=28352 [2023-03-13T07:53:12.970Z] ==> Appending adjustments [2023-03-13T07:53:12.970Z] https://docs.codecov.io/docs/fixing-reports [2023-03-13T07:53:12.970Z] + Found adjustments [2023-03-13T07:53:12.970Z] ==> Gzipping contents [2023-03-13T07:53:12.970Z] 4.0K /tmp/codecov.P17oZ1.gz [2023-03-13T07:53:12.970Z] ==> Uploading reports [2023-03-13T07:53:12.970Z] url: https://codecov.io [2023-03-13T07:53:12.970Z] query: branch=PR-179&commit=3d9796f6f3cff5c87454f56c5748bf481479d9b5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-179%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=179&job=&cmd_args= [2023-03-13T07:53:12.970Z] -> Pinging Codecov [2023-03-13T07:53:12.970Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-179&commit=3d9796f6f3cff5c87454f56c5748bf481479d9b5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-179%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=179&job=&cmd_args= [2023-03-13T07:53:13.230Z] -> Uploading to [2023-03-13T07:53:13.230Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-13/73D8F5FF140700D3E01443B452E23636/3d9796f6f3cff5c87454f56c5748bf481479d9b5/8584e80b-546c-46ca-a1f3-b9b9391cdd8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T075312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5cc38089941862f6412423883ba1016c9d9bba0ce45b560615332773b556ca2a [2023-03-13T07:53:13.230Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T07:53:13.230Z] Dload Upload Total Spent Left Speed [2023-03-13T07:53:13.490Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3981 0 0 100 3981 0 14854 --:--:-- --:--:-- --:--:-- 14854 [2023-03-13T07:53:13.490Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/3d9796f6f3cff5c87454f56c5748bf481479d9b5 [Pipeline] } [2023-03-13T07:53:13.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-13T07:53:15.242Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-179/archives ] [2023-03-13T07:53:15.242Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-179/archives [2023-03-13T07:53:15.242Z] total 16 [2023-03-13T07:53:15.242Z] drwxr-xr-x 3 root root 4096 Mar 13 07:45 . [2023-03-13T07:53:15.242Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 07:45 .. [2023-03-13T07:53:15.242Z] drwxr-xr-x 2 root root 4096 Mar 13 07:45 cost [2023-03-13T07:53:15.242Z] -rw-r--r-- 1 root root 89 Mar 13 07:45 cost.csv [2023-03-13T07:53:15.242Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-179/archives [2023-03-13T07:53:15.242Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-179/archives [2023-03-13T07:53:15.242Z] total 16 [2023-03-13T07:53:15.242Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 07:45 . [2023-03-13T07:53:15.242Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 07:45 .. [2023-03-13T07:53:15.242Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 07:45 cost [2023-03-13T07:53:15.242Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 13 07:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:53:15.570Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:53:16.463Z] ---> package-listing.sh [2023-03-13T07:53:16.463Z] ++ facter osfamily [2023-03-13T07:53:16.463Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T07:53:16.723Z] + OS_FAMILY=debian [2023-03-13T07:53:16.723Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-179 [2023-03-13T07:53:16.723Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T07:53:16.723Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T07:53:16.723Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T07:53:16.723Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T07:53:16.723Z] + '[' /w/workspace/foundry_device-usb-camera_PR-179 ']' [2023-03-13T07:53:16.723Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T07:53:16.723Z] + case "${OS_FAMILY}" in [2023-03-13T07:53:16.723Z] + dpkg -l [2023-03-13T07:53:16.723Z] + grep '^ii' [2023-03-13T07:53:16.723Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T07:53:16.723Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T07:53:16.723Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T07:53:16.723Z] + '[' /w/workspace/foundry_device-usb-camera_PR-179 ']' [2023-03-13T07:53:16.723Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-179/archives/ [2023-03-13T07:53:16.723Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-179/archives/ [Pipeline] echo [2023-03-13T07:53:16.755Z] 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-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T07:53:17.047Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T07:53:17.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T07:53:17.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T07:53:17.816Z] prd-ubuntu20.04-docker-8c-8g-9855 does not seem to be running inside a container [2023-03-13T07:53:17.848Z] $ 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-179/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-179 -v /w/workspace/foundry_device-usb-camera_PR-179:/w/workspace/foundry_device-usb-camera_PR-179:rw,z -v /w/workspace/foundry_device-usb-camera_PR-179@tmp:/w/workspace/foundry_device-usb-camera_PR-179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T07:53:18.123Z] $ docker top c329c7501378b1692c30b48a18ee007af668ea7b18360d75c4fd2513011850ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T07:53:18.505Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T07:53:18.812Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T07:53:19.118Z] + ls /var/log/sa-host [2023-03-13T07:53:19.118Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T07:53:19.339Z] provisioning config files... [2023-03-13T07:53:19.348Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-179@tmp/config4502212865664153145tmp [Pipeline] { [Pipeline] echo [2023-03-13T07:53:19.403Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:53:19.713Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T07:53:19.740Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:53:20.164Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T07:53:20.197Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:53:20.507Z] ---> sudo-logs.sh [2023-03-13T07:53:20.507Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T07:53:20.603Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:53:20.917Z] ---> job-cost.sh [2023-03-13T07:53:20.917Z] lf-activate-venv: SKIPPING [2023-03-13T07:53:20.917Z] DEBUG: total: 0.2199999988079071 [2023-03-13T07:53:20.917Z] INFO: Retrieving Stack Cost... [2023-03-13T07:53:21.487Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T07:53:21.746Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T07:53:21.790Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T07:53:22.105Z] ---> logs-deploy.sh [2023-03-13T07:53:22.105Z] lf-activate-venv: SKIPPING [2023-03-13T07:53:22.105Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-179/1 [2023-03-13T07:53:22.105Z] INFO: archiving workspace using pattern(s): [2023-03-13T07:53:23.045Z] Archives upload complete. [2023-03-13T07:53:23.305Z] INFO: archiving logs to Nexus [2023-03-13T07:53:23.873Z] ---> uname -a: [2023-03-13T07:53:23.873Z] Linux prd-ubuntu20-04-docker-8c-8g-9855 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-13T07:53:23.873Z] [2023-03-13T07:53:23.873Z]