Pull request #237 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 jumpingliu for edgexfoundry/device-usb-camera Loading trusted files from base branch main at b46066adcd577da1416ab754af5e0b29040ea265 rather than 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 Obtained Jenkinsfile from b46066adcd577da1416ab754af5e0b29040ea265 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-ssh10767084776907851257.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6493021488328163303.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-237/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-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11717839580957848989.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-237/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4510301248471162227.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh9555806959853792083.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-237/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-237/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11454876168711511201.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14435 in /w/workspace/foundry_device-usb-camera_PR-237 [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-237 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b46066adcd577da1416ab754af5e0b29040ea265 into PR head commit 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 Merge succeeded, producing 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 Checking out Revision 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 (PR-237) > git config core.sparsecheckout # timeout=10 > git checkout -f 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 # 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 b46066adcd577da1416ab754af5e0b29040ea265 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 # timeout=10 Commit message: "build: Ignore all go-mods except device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T04:15:32.714Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T04:15:32.899Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T04:15:33.001Z] ========================================================= [2023-05-08T04:15:33.001Z] EdgeX Global Pipelines Version Info [2023-05-08T04:15:33.001Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:15:33.730Z] ------------------- [2023-05-08T04:15:33.730Z] stable info: [2023-05-08T04:15:33.730Z] ------------------- [2023-05-08T04:15:33.730Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T04:15:33.730Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T04:15:33.730Z] Message: update stable to v1.0.249 [2023-05-08T04:15:34.302Z] ------------------- [2023-05-08T04:15:34.302Z] experimental info: [2023-05-08T04:15:34.302Z] ------------------- [2023-05-08T04:15:34.302Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T04:15:34.302Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T04:15:34.302Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T04:15:34.604Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-05-08T04:15:34.650Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-05-08T04:15:34.716Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T04:15:34.758Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T04:15:34.798Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T04:15:34.839Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T04:15:34.880Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T04:15:34.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-08T04:15:34.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T04:15:35.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T04:15:35.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T04:15:35.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-05-08T04:15:35.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T04:15:35.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T04:15:35.218Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T04:15:35.261Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T04:15:35.302Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T04:15:35.344Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T04:15:35.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T04:15:35.430Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T04:15:35.470Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-08T04:15:35.509Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-08T04:15:35.548Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T04:15:35.595Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T04:15:35.637Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T04:15:35.676Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T04:15:35.712Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T04:15:35.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-237 [Pipeline] echo [2023-05-08T04:15:35.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-237 [Pipeline] echo [2023-05-08T04:15:35.830Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-237 [Pipeline] echo [2023-05-08T04:15:35.875Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 [Pipeline] echo [2023-05-08T04:15:35.912Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f2ed8f [Pipeline] echo [2023-05-08T04:15:35.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T04:15:36.070Z] provisioning config files... [2023-05-08T04:15:36.085Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-237@tmp/config10346465321544367526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:15:36.425Z] ---> docker-login.sh [2023-05-08T04:15:36.425Z] nexus3.edgexfoundry.org:10001 [2023-05-08T04:15:36.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:15:36.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:15:36.685Z] Configure a credential helper to remove this warning. See [2023-05-08T04:15:36.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:15:36.685Z] [2023-05-08T04:15:36.685Z] Login Succeeded [2023-05-08T04:15:36.685Z] nexus3.edgexfoundry.org:10002 [2023-05-08T04:15:36.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:15:36.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:15:36.685Z] Configure a credential helper to remove this warning. See [2023-05-08T04:15:36.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:15:36.685Z] [2023-05-08T04:15:36.685Z] Login Succeeded [2023-05-08T04:15:36.685Z] nexus3.edgexfoundry.org:10003 [2023-05-08T04:15:36.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:15:36.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:15:36.945Z] Configure a credential helper to remove this warning. See [2023-05-08T04:15:36.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:15:36.945Z] [2023-05-08T04:15:36.945Z] Login Succeeded [2023-05-08T04:15:36.945Z] nexus3.edgexfoundry.org:10004 [2023-05-08T04:15:36.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:15:36.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:15:36.945Z] Configure a credential helper to remove this warning. See [2023-05-08T04:15:36.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:15:36.945Z] [2023-05-08T04:15:36.945Z] Login Succeeded [2023-05-08T04:15:36.945Z] docker.io [2023-05-08T04:15:37.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:15:37.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:15:37.207Z] Configure a credential helper to remove this warning. See [2023-05-08T04:15:37.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:15:37.207Z] [2023-05-08T04:15:37.207Z] Login Succeeded [2023-05-08T04:15:37.207Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T04:15:37.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T04:15:37.865Z] + git rev-list -1 --merges 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5~1..8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 [Pipeline] echo [2023-05-08T04:15:37.933Z] -----------> git rev-list -1 --merges 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5~1..8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 [false] [Pipeline] sh [2023-05-08T04:15:38.247Z] + git log --format=format:%s -1 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 [Pipeline] echo [2023-05-08T04:15:38.276Z] ========================================================= [2023-05-08T04:15:38.276Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T04:15:38.276Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T04:15:38.699Z] + git log --format=format:%s -1 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 [Pipeline] echo [2023-05-08T04:15:38.732Z] [semverPrep] GIT_COMMIT: 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5, Commit Message: build: Ignore all go-mods except device-sdk-go [Pipeline] echo [2023-05-08T04:15:38.772Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T04:15:39.158Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T04:15:39.158Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T04:15:39.158Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T04:15:39.158Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T04:15:39.158Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T04:15:39.158Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T04:15:39.158Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:15:39.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T04:15:39.592Z] [2023-05-08T04:15:39.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:15:39.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T04:15:39.965Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T04:15:39.965Z] b85a868b505f: Pulling fs layer [2023-05-08T04:15:39.965Z] e2be974225ed: Pulling fs layer [2023-05-08T04:15:39.965Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T04:15:39.965Z] 988bab9f4d93: Pulling fs layer [2023-05-08T04:15:39.965Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T04:15:39.965Z] eaf3925da568: Pulling fs layer [2023-05-08T04:15:39.965Z] bab4dde63d76: Pulling fs layer [2023-05-08T04:15:39.965Z] bde34c3a00c8: Pulling fs layer [2023-05-08T04:15:39.965Z] b352a97aabf1: Pulling fs layer [2023-05-08T04:15:39.965Z] 4872d77fe225: Pulling fs layer [2023-05-08T04:15:39.965Z] 5851b861e8e6: Pulling fs layer [2023-05-08T04:15:39.965Z] 988bab9f4d93: Waiting [2023-05-08T04:15:39.965Z] 1469e6f7b9e6: Waiting [2023-05-08T04:15:39.965Z] 4872d77fe225: Waiting [2023-05-08T04:15:39.965Z] bde34c3a00c8: Waiting [2023-05-08T04:15:39.965Z] eaf3925da568: Waiting [2023-05-08T04:15:39.965Z] bab4dde63d76: Waiting [2023-05-08T04:15:39.965Z] b352a97aabf1: Waiting [2023-05-08T04:15:39.965Z] 5851b861e8e6: Waiting [2023-05-08T04:15:39.965Z] e2be974225ed: Download complete [2023-05-08T04:15:39.965Z] 988bab9f4d93: Verifying Checksum [2023-05-08T04:15:39.965Z] 988bab9f4d93: Download complete [2023-05-08T04:15:39.965Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T04:15:39.965Z] 1469e6f7b9e6: Download complete [2023-05-08T04:15:39.965Z] eaf3925da568: Verifying Checksum [2023-05-08T04:15:39.965Z] eaf3925da568: Download complete [2023-05-08T04:15:40.226Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T04:15:40.226Z] 339a4e72a1f5: Download complete [2023-05-08T04:15:40.226Z] bde34c3a00c8: Download complete [2023-05-08T04:15:40.226Z] b352a97aabf1: Download complete [2023-05-08T04:15:40.226Z] 4872d77fe225: Verifying Checksum [2023-05-08T04:15:40.226Z] 4872d77fe225: Download complete [2023-05-08T04:15:40.226Z] 5851b861e8e6: Download complete [2023-05-08T04:15:40.226Z] b85a868b505f: Verifying Checksum [2023-05-08T04:15:40.226Z] b85a868b505f: Download complete [2023-05-08T04:15:40.488Z] bab4dde63d76: Verifying Checksum [2023-05-08T04:15:40.488Z] bab4dde63d76: Download complete [2023-05-08T04:15:41.427Z] b85a868b505f: Pull complete [2023-05-08T04:15:41.427Z] e2be974225ed: Pull complete [2023-05-08T04:15:41.995Z] 339a4e72a1f5: Pull complete [2023-05-08T04:15:41.995Z] 988bab9f4d93: Pull complete [2023-05-08T04:15:42.255Z] 1469e6f7b9e6: Pull complete [2023-05-08T04:15:42.255Z] eaf3925da568: Pull complete [2023-05-08T04:15:44.159Z] bab4dde63d76: Pull complete [2023-05-08T04:15:44.159Z] bde34c3a00c8: Pull complete [2023-05-08T04:15:44.420Z] b352a97aabf1: Pull complete [2023-05-08T04:15:44.420Z] 4872d77fe225: Pull complete [2023-05-08T04:15:44.420Z] 5851b861e8e6: Pull complete [2023-05-08T04:15:44.420Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T04:15:44.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T04:15:44.420Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:15:44.814Z] prd-ubuntu20.04-docker-8c-8g-14435 does not seem to be running inside a container [2023-05-08T04:15:44.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-237 -v /w/workspace/foundry_device-usb-camera_PR-237:/w/workspace/foundry_device-usb-camera_PR-237:rw,z -v /w/workspace/foundry_device-usb-camera_PR-237@tmp:/w/workspace/foundry_device-usb-camera_PR-237@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-05-08T04:15:46.266Z] $ docker top 768de93dc93105c9fcd9fe5bb2241433e24484db82c1591e849f52eee63cb7cb -eo pid,comm [2023-05-08T04:15:46.342Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-08T04:15:46.342Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T04:15:46.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T04:15:46.464Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T04:15:46.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T04:15:46.595Z] $ docker exec 768de93dc93105c9fcd9fe5bb2241433e24484db82c1591e849f52eee63cb7cb ssh-agent [2023-05-08T04:15:46.699Z] SSH_AUTH_SOCK=/tmp/ssh-C2TdaYWJtyzF/agent.33 [2023-05-08T04:15:46.699Z] SSH_AGENT_PID=39 [2023-05-08T04:15:46.705Z] Running ssh-add (command line suppressed) [2023-05-08T04:15:46.809Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-237@tmp/private_key_2185018901945472342.key (/w/workspace/foundry_device-usb-camera_PR-237@tmp/private_key_2185018901945472342.key) [2023-05-08T04:15:46.821Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T04:15:47.150Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T04:15:47.176Z] $ docker exec --env ******** --env ******** 768de93dc93105c9fcd9fe5bb2241433e24484db82c1591e849f52eee63cb7cb ssh-agent -k [2023-05-08T04:15:47.276Z] unset SSH_AUTH_SOCK; [2023-05-08T04:15:47.277Z] unset SSH_AGENT_PID; [2023-05-08T04:15:47.277Z] echo Agent pid 39 killed; [2023-05-08T04:15:47.286Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T04:15:47.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T04:15:47.372Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T04:15:47.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T04:15:47.484Z] $ docker exec 768de93dc93105c9fcd9fe5bb2241433e24484db82c1591e849f52eee63cb7cb ssh-agent [2023-05-08T04:15:47.599Z] SSH_AUTH_SOCK=/tmp/ssh-XAnbjVvtl3DU/agent.71 [2023-05-08T04:15:47.599Z] SSH_AGENT_PID=77 [2023-05-08T04:15:47.603Z] Running ssh-add (command line suppressed) [2023-05-08T04:15:47.714Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-237@tmp/private_key_9378327471828999371.key (/w/workspace/foundry_device-usb-camera_PR-237@tmp/private_key_9378327471828999371.key) [2023-05-08T04:15:47.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T04:15:48.057Z] + git semver init [2023-05-08T04:15:48.318Z] 2023-05-08 04:15:48,222 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T04:15:48.318Z] 2023-05-08 04:15:48,223 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-237/.semver [2023-05-08T04:15:48.318Z] 2023-05-08 04:15:48,223 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-237/.semver [2023-05-08T04:15:48.318Z] 2023-05-08 04:15:48,223 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-237/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-237, universal_newlines=False, shell=None, istream=None) [2023-05-08T04:15:49.258Z] 2023-05-08 04:15:49,032 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-237/.git/info/exclude [2023-05-08T04:15:49.258Z] 2023-05-08 04:15:49,032 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-237/.semver/PR-237 with force:False [2023-05-08T04:15:49.258Z] 2023-05-08 04:15:49,032 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-237/.semver/PR-237 [2023-05-08T04:15:49.258Z] 2023-05-08 04:15:49,036 [execute] INFO git cat-file --batch-check [2023-05-08T04:15:49.258Z] 2023-05-08 04:15:49,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-237/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T04:15:49.258Z] 2023-05-08 04:15:49,043 [execute] INFO git cat-file --batch [2023-05-08T04:15:49.258Z] 2023-05-08 04:15:49,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-237/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T04:15:49.258Z] 2023-05-08 04:15:49,050 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-237/.semver/PR-237 [2023-05-08T04:15:49.258Z] 0.0.0 [Pipeline] } [2023-05-08T04:15:49.283Z] $ docker exec --env ******** --env ******** 768de93dc93105c9fcd9fe5bb2241433e24484db82c1591e849f52eee63cb7cb ssh-agent -k [2023-05-08T04:15:49.374Z] unset SSH_AUTH_SOCK; [2023-05-08T04:15:49.374Z] unset SSH_AGENT_PID; [2023-05-08T04:15:49.374Z] echo Agent pid 77 killed; [2023-05-08T04:15:49.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T04:15:49.827Z] + git semver [Pipeline] } [2023-05-08T04:15:50.112Z] $ docker stop --time=1 768de93dc93105c9fcd9fe5bb2241433e24484db82c1591e849f52eee63cb7cb [2023-05-08T04:15:51.433Z] $ docker rm -f --volumes 768de93dc93105c9fcd9fe5bb2241433e24484db82c1591e849f52eee63cb7cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T04:15:51.837Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T04:15:52.086Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T04:15:52.110Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T04:15:52.704Z] provisioning config files... [2023-05-08T04:15:52.714Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-237@tmp/config13656627565925492726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:15:53.061Z] ---> docker-login.sh [2023-05-08T04:15:53.061Z] nexus3.edgexfoundry.org:10001 [2023-05-08T04:15:53.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:15:53.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:15:53.061Z] Configure a credential helper to remove this warning. See [2023-05-08T04:15:53.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:15:53.061Z] [2023-05-08T04:15:53.061Z] Login Succeeded [2023-05-08T04:15:53.061Z] nexus3.edgexfoundry.org:10002 [2023-05-08T04:15:53.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:15:53.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:15:53.322Z] Configure a credential helper to remove this warning. See [2023-05-08T04:15:53.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:15:53.322Z] [2023-05-08T04:15:53.322Z] Login Succeeded [2023-05-08T04:15:53.322Z] nexus3.edgexfoundry.org:10003 [2023-05-08T04:15:53.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:15:53.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:15:53.322Z] Configure a credential helper to remove this warning. See [2023-05-08T04:15:53.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:15:53.322Z] [2023-05-08T04:15:53.322Z] Login Succeeded [2023-05-08T04:15:53.322Z] nexus3.edgexfoundry.org:10004 [2023-05-08T04:15:53.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:15:53.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:15:53.583Z] Configure a credential helper to remove this warning. See [2023-05-08T04:15:53.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:15:53.583Z] [2023-05-08T04:15:53.583Z] Login Succeeded [2023-05-08T04:15:53.583Z] docker.io [2023-05-08T04:15:53.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:15:53.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:15:53.843Z] Configure a credential helper to remove this warning. See [2023-05-08T04:15:53.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:15:53.843Z] [2023-05-08T04:15:53.843Z] Login Succeeded [2023-05-08T04:15:53.843Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T04:15:53.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T04:15:54.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T04:15:54.087Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T04:15:54.121Z] ========================================================= [2023-05-08T04:15:54.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T04:15:54.122Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:15:54.589Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T04:15:54.590Z] Sending build context to Docker daemon 1.981MB [2023-05-08T04:15:54.590Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T04:15:54.590Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-08T04:15:54.590Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T04:15:54.590Z] f56be85fc22e: Pulling fs layer [2023-05-08T04:15:54.590Z] 85791d961cd3: Pulling fs layer [2023-05-08T04:15:54.590Z] d694b5ae8c79: Pulling fs layer [2023-05-08T04:15:54.590Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T04:15:54.590Z] 4d19c01a9841: Pulling fs layer [2023-05-08T04:15:54.590Z] 9325e15d5711: Pulling fs layer [2023-05-08T04:15:54.590Z] 556b6ee489ea: Pulling fs layer [2023-05-08T04:15:54.590Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T04:15:54.590Z] 9f32a84ed3da: Waiting [2023-05-08T04:15:54.590Z] 4d19c01a9841: Waiting [2023-05-08T04:15:54.590Z] 9325e15d5711: Waiting [2023-05-08T04:15:54.590Z] 556b6ee489ea: Waiting [2023-05-08T04:15:54.590Z] c5a4b2cf53e6: Waiting [2023-05-08T04:15:54.590Z] 85791d961cd3: Verifying Checksum [2023-05-08T04:15:54.590Z] 85791d961cd3: Download complete [2023-05-08T04:15:54.590Z] 9f32a84ed3da: Verifying Checksum [2023-05-08T04:15:54.590Z] 9f32a84ed3da: Download complete [2023-05-08T04:15:54.590Z] 4d19c01a9841: Verifying Checksum [2023-05-08T04:15:54.590Z] 4d19c01a9841: Download complete [2023-05-08T04:15:54.590Z] f56be85fc22e: Verifying Checksum [2023-05-08T04:15:54.590Z] f56be85fc22e: Download complete [2023-05-08T04:15:54.848Z] 9325e15d5711: Verifying Checksum [2023-05-08T04:15:54.848Z] 9325e15d5711: Download complete [2023-05-08T04:15:54.848Z] f56be85fc22e: Pull complete [2023-05-08T04:15:55.108Z] 85791d961cd3: Pull complete [2023-05-08T04:15:55.108Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T04:15:55.108Z] c5a4b2cf53e6: Download complete [2023-05-08T04:15:55.366Z] d694b5ae8c79: Verifying Checksum [2023-05-08T04:15:55.366Z] d694b5ae8c79: Download complete [2023-05-08T04:15:55.366Z] 556b6ee489ea: Verifying Checksum [2023-05-08T04:15:55.366Z] 556b6ee489ea: Download complete [2023-05-08T04:15:59.549Z] d694b5ae8c79: Pull complete [2023-05-08T04:15:59.549Z] 9f32a84ed3da: Pull complete [2023-05-08T04:15:59.549Z] 4d19c01a9841: Pull complete [2023-05-08T04:15:59.549Z] 9325e15d5711: Pull complete [2023-05-08T04:16:01.452Z] 556b6ee489ea: Pull complete [2023-05-08T04:16:02.393Z] c5a4b2cf53e6: Pull complete [2023-05-08T04:16:02.393Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T04:16:02.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T04:16:02.393Z] ---> c4be618373d6 [2023-05-08T04:16:02.393Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-08T04:16:04.297Z] ---> Running in 0d73875b75dd [2023-05-08T04:16:04.297Z] Removing intermediate container 0d73875b75dd [2023-05-08T04:16:04.297Z] ---> 089575fd6d5f [2023-05-08T04:16:04.297Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T04:16:04.297Z] ---> Running in 43f6bf98feea [2023-05-08T04:16:04.297Z] Removing intermediate container 43f6bf98feea [2023-05-08T04:16:04.297Z] ---> 8ebc0cfedd84 [2023-05-08T04:16:04.297Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-08T04:16:04.297Z] ---> Running in c92c90ee8827 [2023-05-08T04:16:04.558Z] Removing intermediate container c92c90ee8827 [2023-05-08T04:16:04.558Z] ---> 7b2185f35834 [2023-05-08T04:16:04.558Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-08T04:16:04.558Z] ---> Running in 69cc73d21799 [2023-05-08T04:16:04.558Z] Removing intermediate container 69cc73d21799 [2023-05-08T04:16:04.558Z] ---> 2d2e30f202c3 [2023-05-08T04:16:04.558Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T04:16:04.558Z] ---> Running in 5bff2e4f74a7 [2023-05-08T04:16:04.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T04:16:05.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T04:16:05.337Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-08T04:16:05.337Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-08T04:16:05.337Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-08T04:16:05.337Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-08T04:16:05.337Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-08T04:16:05.337Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-08T04:16:05.337Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-08T04:16:05.337Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-08T04:16:05.337Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-08T04:16:05.337Z] (10/14) Installing kmod-libs (30-r1) [2023-05-08T04:16:05.337Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-08T04:16:05.337Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-08T04:16:05.337Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-08T04:16:05.337Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-08T04:16:05.337Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T04:16:05.337Z] Executing eudev-3.2.11-r4.trigger [2023-05-08T04:16:05.337Z] OK: 272 MiB in 67 packages [2023-05-08T04:16:05.907Z] Removing intermediate container 5bff2e4f74a7 [2023-05-08T04:16:05.907Z] ---> 66d81c6f911f [2023-05-08T04:16:05.907Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-08T04:16:05.907Z] ---> Running in e6dd29592e73 [2023-05-08T04:16:05.907Z] Removing intermediate container e6dd29592e73 [2023-05-08T04:16:05.907Z] ---> c9fe54637a80 [2023-05-08T04:16:05.907Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-08T04:16:05.907Z] ---> 8cd0cb22cb46 [2023-05-08T04:16:05.907Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T04:16:06.166Z] ---> Running in 93ae40a9dc3b [2023-05-08T04:16:07.532Z] Still waiting to schedule task [2023-05-08T04:16:07.533Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-08T04:16:24.261Z] Removing intermediate container 93ae40a9dc3b [2023-05-08T04:16:24.261Z] ---> de858029332c [2023-05-08T04:16:24.261Z] Step 11/13 : COPY . . [2023-05-08T04:16:24.520Z] ---> 7c7c05167605 [2023-05-08T04:16:24.520Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-08T04:16:24.520Z] ---> Running in bb3b29d618c9 [2023-05-08T04:16:24.779Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T04:16:24.779Z] Dload Upload Total Spent Left Speed [2023-05-08T04:16:25.037Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8373 0 --:--:-- --:--:-- --:--:-- 8428 [2023-05-08T04:16:25.295Z] Removing intermediate container bb3b29d618c9 [2023-05-08T04:16:25.295Z] ---> a24ab0e5ce24 [2023-05-08T04:16:25.295Z] Step 13/13 : RUN ${MAKE} [2023-05-08T04:16:25.295Z] ---> Running in a14a51baea21 [2023-05-08T04:16:25.560Z] noop [2023-05-08T04:16:25.818Z] Removing intermediate container a14a51baea21 [2023-05-08T04:16:25.818Z] ---> 59e712d5e5e9 [2023-05-08T04:16:25.818Z] Successfully built 59e712d5e5e9 [2023-05-08T04:16:25.818Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:16:26.274Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T04:16:26.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:16:26.428Z] prd-ubuntu20.04-docker-8c-8g-14435 does not seem to be running inside a container [2023-05-08T04:16:26.460Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-237 -v /w/workspace/foundry_device-usb-camera_PR-237:/w/workspace/foundry_device-usb-camera_PR-237:rw,z -v /w/workspace/foundry_device-usb-camera_PR-237@tmp:/w/workspace/foundry_device-usb-camera_PR-237@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-05-08T04:16:26.815Z] $ docker top 76e91d9a88b1f9d929174ec7b13eea778ae99805740c40337e895106a6067411 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T04:16:27.216Z] + go version [2023-05-08T04:16:27.216Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T04:16:27.252Z] $ docker stop --time=1 76e91d9a88b1f9d929174ec7b13eea778ae99805740c40337e895106a6067411 [2023-05-08T04:16:28.535Z] $ docker rm -f --volumes 76e91d9a88b1f9d929174ec7b13eea778ae99805740c40337e895106a6067411 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:16:29.257Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T04:16:29.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:16:29.406Z] prd-ubuntu20.04-docker-8c-8g-14435 does not seem to be running inside a container [2023-05-08T04:16:29.448Z] $ 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-237 -v /w/workspace/foundry_device-usb-camera_PR-237:/w/workspace/foundry_device-usb-camera_PR-237:rw,z -v /w/workspace/foundry_device-usb-camera_PR-237@tmp:/w/workspace/foundry_device-usb-camera_PR-237@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-05-08T04:16:29.785Z] $ docker top 6512918fe8d3620ffbce582715e399ec3d376e07ee02608460cf5cb5f6484416 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T04:16:30.186Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-237 [Pipeline] fileExists [Pipeline] sh [2023-05-08T04:16:30.544Z] + make test [2023-05-08T04:16:30.544Z] go test ./... -coverprofile=coverage.out ./... [2023-05-08T04:16:35.813Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-08T04:16:45.782Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-08T04:16:45.782Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 2.0% of statements [2023-05-08T04:16:52.502Z] go vet ./... [2023-05-08T04:16:55.794Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T04:16:55.794Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T04:16:55.794Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T04:16:55.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T04:16:55.869Z] $ docker stop --time=1 6512918fe8d3620ffbce582715e399ec3d376e07ee02608460cf5cb5f6484416 [2023-05-08T04:16:57.659Z] $ docker rm -f --volumes 6512918fe8d3620ffbce582715e399ec3d376e07ee02608460cf5cb5f6484416 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T04:16:58.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T04:16:58.290Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T04:16:58.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T04:16:59.304Z] + ls -al . [2023-05-08T04:16:59.304Z] total 192 [2023-05-08T04:16:59.304Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:16 . [2023-05-08T04:16:59.304Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:15 .. [2023-05-08T04:16:59.304Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:15 .git [2023-05-08T04:16:59.304Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:15 .github [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 414 May 8 04:15 .gitignore [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 04:15 .golangci.yml [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 77 May 8 04:15 .hadolint.yml [2023-05-08T04:16:59.304Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:15 .semver [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 8 04:15 Attribution.txt [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 8 04:15 CHANGELOG.md [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 8 04:15 Dockerfile [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 678 May 8 04:15 GOVERNANCE.md [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 659 May 8 04:15 Jenkinsfile [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 8 04:15 LICENSE [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 8 04:15 Makefile [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 622 May 8 04:15 OWNERS.md [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 8 04:15 README.md [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:15 VERSION [2023-05-08T04:16:59.304Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:15 bin [2023-05-08T04:16:59.304Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:15 cmd [2023-05-08T04:16:59.304Z] -rw-r--r-- 1 jenkins jenkins 28693 May 8 04:16 coverage.out [2023-05-08T04:16:59.304Z] -rwxrwxr-x 1 jenkins jenkins 140 May 8 04:15 docker-entrypoint.sh [2023-05-08T04:16:59.304Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:15 docs [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 8 04:15 go.mod [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 8 04:15 go.sum [2023-05-08T04:16:59.304Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:15 internal [2023-05-08T04:16:59.304Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:15 snap [2023-05-08T04:16:59.304Z] -rw-rw-r-- 1 jenkins jenkins 231 May 8 04:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:16:59.703Z] + 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=8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 --label arch=amd64 --label version=0.0.0 . [2023-05-08T04:16:59.703Z] Sending build context to Docker daemon 2.011MB [2023-05-08T04:16:59.703Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T04:16:59.703Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-08T04:16:59.703Z] ---> 59e712d5e5e9 [2023-05-08T04:16:59.703Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-08T04:16:59.703Z] ---> Running in bec85bfbb6c2 [2023-05-08T04:16:59.703Z] Removing intermediate container bec85bfbb6c2 [2023-05-08T04:16:59.703Z] ---> 7a0eeef527ab [2023-05-08T04:16:59.703Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T04:16:59.703Z] ---> Running in 7c1c510016f4 [2023-05-08T04:16:59.962Z] Removing intermediate container 7c1c510016f4 [2023-05-08T04:16:59.962Z] ---> 669b6df22ba1 [2023-05-08T04:16:59.962Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-08T04:16:59.962Z] ---> Running in 060735477f33 [2023-05-08T04:16:59.962Z] Removing intermediate container 060735477f33 [2023-05-08T04:16:59.963Z] ---> ed051af3ecdb [2023-05-08T04:16:59.963Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-08T04:16:59.963Z] ---> Running in 8b1f56095f33 [2023-05-08T04:16:59.963Z] Removing intermediate container 8b1f56095f33 [2023-05-08T04:16:59.963Z] ---> 1934d6e0ca62 [2023-05-08T04:16:59.963Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T04:17:00.224Z] ---> Running in c9df5b262dc2 [2023-05-08T04:17:00.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T04:17:00.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T04:17:00.745Z] OK: 272 MiB in 67 packages [2023-05-08T04:17:01.006Z] Removing intermediate container c9df5b262dc2 [2023-05-08T04:17:01.006Z] ---> 37c5476d0e3d [2023-05-08T04:17:01.006Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-08T04:17:01.006Z] ---> Running in 3be947117042 [2023-05-08T04:17:01.006Z] Removing intermediate container 3be947117042 [2023-05-08T04:17:01.006Z] ---> 43933a86f022 [2023-05-08T04:17:01.006Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-08T04:17:01.267Z] ---> 59792f93e5c0 [2023-05-08T04:17:01.267Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T04:17:01.267Z] ---> Running in 6add3e94160b [2023-05-08T04:17:01.841Z] Removing intermediate container 6add3e94160b [2023-05-08T04:17:01.841Z] ---> 9a368fbf39c3 [2023-05-08T04:17:01.841Z] Step 11/35 : COPY . . [2023-05-08T04:17:02.099Z] ---> c1dad148302c [2023-05-08T04:17:02.099Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-08T04:17:02.099Z] ---> Running in 46dcae61fe86 [2023-05-08T04:17:02.357Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T04:17:02.357Z] Dload Upload Total Spent Left Speed [2023-05-08T04:17:02.615Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20559 0 --:--:-- --:--:-- --:--:-- 20823 [2023-05-08T04:17:02.872Z] Removing intermediate container 46dcae61fe86 [2023-05-08T04:17:02.872Z] ---> fb3aa30506ad [2023-05-08T04:17:02.872Z] Step 13/35 : RUN ${MAKE} [2023-05-08T04:17:02.872Z] ---> Running in 8cbfe029de6b [2023-05-08T04:17:03.130Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-08T04:17:21.223Z] Removing intermediate container 8cbfe029de6b [2023-05-08T04:17:21.223Z] ---> 386478c7259c [2023-05-08T04:17:21.223Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-08T04:17:21.223Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-08T04:17:21.485Z] 4acc49c71d14: Pulling fs layer [2023-05-08T04:17:22.056Z] 4acc49c71d14: Verifying Checksum [2023-05-08T04:17:22.056Z] 4acc49c71d14: Download complete [2023-05-08T04:17:22.314Z] 4acc49c71d14: Pull complete [2023-05-08T04:17:22.314Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-08T04:17:22.314Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-08T04:17:22.314Z] ---> 01a2bd3e5fff [2023-05-08T04:17:22.314Z] Step 15/35 : FROM alpine:3.17 [2023-05-08T04:17:22.882Z] 3.17: Pulling from library/alpine [2023-05-08T04:17:22.882Z] f56be85fc22e: Already exists [2023-05-08T04:17:23.145Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T04:17:23.145Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T04:17:23.145Z] ---> 9ed4aefc74f6 [2023-05-08T04:17:23.145Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-08T04:17:23.145Z] ---> Running in e86f7f334b38 [2023-05-08T04:17:23.145Z] Removing intermediate container e86f7f334b38 [2023-05-08T04:17:23.145Z] ---> 99b83b7bc346 [2023-05-08T04:17:23.145Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-08T04:17:23.145Z] ---> Running in cdaf23262f7b [2023-05-08T04:17:23.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T04:17:23.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T04:17:23.926Z] (1/86) Installing dumb-init (1.2.5-r2) [2023-05-08T04:17:23.926Z] (2/86) Installing sdl2 (2.26.5-r0) [2023-05-08T04:17:23.926Z] (3/86) Installing svt-av1-libs (1.3.0-r0) [2023-05-08T04:17:23.926Z] (4/86) Installing libxau (1.0.10-r0) [2023-05-08T04:17:23.926Z] (5/86) Installing libmd (1.0.4-r0) [2023-05-08T04:17:23.926Z] (6/86) Installing libbsd (0.11.7-r0) [2023-05-08T04:17:23.926Z] (7/86) Installing libxdmcp (1.1.4-r0) [2023-05-08T04:17:23.926Z] (8/86) Installing libxcb (1.15-r0) [2023-05-08T04:17:23.926Z] (9/86) Installing libx11 (1.8.4-r0) [2023-05-08T04:17:23.926Z] (10/86) Installing aom-libs (3.5.0-r0) [2023-05-08T04:17:23.926Z] (11/86) Installing alsa-lib (1.2.8-r0) [2023-05-08T04:17:24.186Z] (12/86) Installing libexpat (2.5.0-r0) [2023-05-08T04:17:24.186Z] (13/86) Installing brotli-libs (1.0.9-r9) [2023-05-08T04:17:24.186Z] (14/86) Installing libbz2 (1.0.8-r4) [2023-05-08T04:17:24.186Z] (15/86) Installing libpng (1.6.38-r0) [2023-05-08T04:17:24.186Z] (16/86) Installing freetype (2.12.1-r0) [2023-05-08T04:17:24.186Z] (17/86) Installing fontconfig (2.14.1-r0) [2023-05-08T04:17:24.186Z] (18/86) Installing fribidi (1.0.12-r0) [2023-05-08T04:17:24.186Z] (19/86) Installing libffi (3.4.4-r0) [2023-05-08T04:17:24.186Z] (20/86) Installing libintl (0.21.1-r1) [2023-05-08T04:17:24.186Z] (21/86) Installing libblkid (2.38.1-r1) [2023-05-08T04:17:24.186Z] (22/86) Installing libmount (2.38.1-r1) [2023-05-08T04:17:24.186Z] (23/86) Installing pcre2 (10.42-r0) [2023-05-08T04:17:24.186Z] (24/86) Installing glib (2.74.6-r0) [2023-05-08T04:17:24.186Z] (25/86) Installing graphite2 (1.3.14-r2) [2023-05-08T04:17:24.186Z] (26/86) Installing harfbuzz (5.3.1-r1) [2023-05-08T04:17:24.186Z] (27/86) Installing libass (0.16.0-r1) [2023-05-08T04:17:24.186Z] (28/86) Installing libdav1d (1.0.0-r2) [2023-05-08T04:17:24.186Z] (29/86) Installing hwdata-pci (0.364-r0) [2023-05-08T04:17:24.186Z] (30/86) Installing libpciaccess (0.17-r0) [2023-05-08T04:17:24.186Z] (31/86) Installing libdrm (2.4.114-r0) [2023-05-08T04:17:24.186Z] (32/86) Installing gmp (6.2.1-r2) [2023-05-08T04:17:24.186Z] (33/86) Installing nettle (3.8.1-r0) [2023-05-08T04:17:24.186Z] (34/86) Installing p11-kit (0.24.1-r1) [2023-05-08T04:17:24.186Z] (35/86) Installing libtasn1 (4.19.0-r0) [2023-05-08T04:17:24.186Z] (36/86) Installing libunistring (1.1-r0) [2023-05-08T04:17:24.186Z] (37/86) Installing gnutls (3.7.8-r3) [2023-05-08T04:17:24.445Z] (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-08T04:17:24.445Z] (39/86) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-08T04:17:24.445Z] (40/86) Installing lame (3.100-r2) [2023-05-08T04:17:24.445Z] (41/86) Installing opus (1.3.1-r1) [2023-05-08T04:17:24.445Z] (42/86) Installing libasyncns (0.8-r1) [2023-05-08T04:17:24.445Z] (43/86) Installing dbus-libs (1.14.4-r0) [2023-05-08T04:17:24.445Z] (44/86) Installing libltdl (2.4.7-r1) [2023-05-08T04:17:24.445Z] (45/86) Installing orc (0.4.33-r0) [2023-05-08T04:17:24.445Z] (46/86) Installing libgcc (12.2.1_git20220924-r4) [2023-05-08T04:17:24.445Z] (47/86) Installing libogg (1.3.5-r2) [2023-05-08T04:17:24.445Z] (48/86) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-08T04:17:24.445Z] (49/86) Installing flac-libs (1.4.2-r0) [2023-05-08T04:17:24.445Z] (50/86) Installing libvorbis (1.3.7-r0) [2023-05-08T04:17:24.445Z] (51/86) Installing libsndfile (1.1.0-r2) [2023-05-08T04:17:24.445Z] (52/86) Installing libgomp (12.2.1_git20220924-r4) [2023-05-08T04:17:24.445Z] (53/86) Installing soxr (0.1.3-r3) [2023-05-08T04:17:24.445Z] (54/86) Installing speexdsp (1.2.1-r0) [2023-05-08T04:17:24.445Z] (55/86) Installing tdb-libs (1.4.6-r0) [2023-05-08T04:17:24.445Z] (56/86) Installing libpulse (16.1-r6) [2023-05-08T04:17:24.445Z] (57/86) Installing cjson (1.7.15-r3) [2023-05-08T04:17:24.445Z] (58/86) Installing mbedtls (2.28.3-r0) [2023-05-08T04:17:24.445Z] (59/86) Installing librist (0.2.7-r0) [2023-05-08T04:17:24.445Z] (60/86) Installing libsrt (1.5.1-r0) [2023-05-08T04:17:24.445Z] (61/86) Installing libssh (0.10.5-r0) [2023-05-08T04:17:24.445Z] (62/86) Installing libtheora (1.1.1-r16) [2023-05-08T04:17:24.445Z] (63/86) Installing libjpeg-turbo (2.1.4-r0) [2023-05-08T04:17:24.445Z] (64/86) Installing v4l-utils-libs (1.22.1-r2) [2023-05-08T04:17:24.445Z] (65/86) Installing libxext (1.3.5-r0) [2023-05-08T04:17:24.445Z] (66/86) Installing libxfixes (6.0.0-r0) [2023-05-08T04:17:24.445Z] (67/86) Installing wayland-libs-client (1.21.0-r1) [2023-05-08T04:17:24.445Z] (68/86) Installing libva (2.16.0-r0) [2023-05-08T04:17:24.445Z] (69/86) Installing libvdpau (1.5-r0) [2023-05-08T04:17:24.445Z] (70/86) Installing vidstab (1.1.0-r2) [2023-05-08T04:17:24.445Z] (71/86) Installing libvpx (1.12.0-r1) [2023-05-08T04:17:24.705Z] (72/86) Installing libwebp (1.2.4-r1) [2023-05-08T04:17:24.705Z] (73/86) Installing x264-libs (0.164_git20220602-r0) [2023-05-08T04:17:24.705Z] (74/86) Installing numactl (2.0.16-r1) [2023-05-08T04:17:24.705Z] (75/86) Installing x265-libs (3.5-r3) [2023-05-08T04:17:24.705Z] (76/86) Installing xvidcore (1.3.7-r1) [2023-05-08T04:17:24.705Z] (77/86) Installing libsodium (1.0.18-r2) [2023-05-08T04:17:24.705Z] (78/86) Installing libzmq (4.3.4-r1) [2023-05-08T04:17:24.705Z] (79/86) Installing ffmpeg-libs (5.1.3-r0) [2023-05-08T04:17:24.966Z] (80/86) Installing ffmpeg (5.1.3-r0) [2023-05-08T04:17:24.966Z] (81/86) Installing udev-init-scripts (35-r1) [2023-05-08T04:17:24.966Z] (82/86) Installing eudev-libs (3.2.11-r4) [2023-05-08T04:17:24.966Z] (83/86) Installing xz-libs (5.2.9-r0) [2023-05-08T04:17:24.966Z] (84/86) Installing zstd-libs (1.5.5-r0) [2023-05-08T04:17:24.966Z] (85/86) Installing kmod-libs (30-r1) [2023-05-08T04:17:24.966Z] (86/86) Installing eudev (3.2.11-r4) [2023-05-08T04:17:24.966Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T04:17:24.966Z] Executing eudev-3.2.11-r4.trigger [2023-05-08T04:17:24.966Z] OK: 112 MiB in 101 packages [2023-05-08T04:17:26.342Z] Removing intermediate container cdaf23262f7b [2023-05-08T04:17:26.342Z] ---> 5dd2766b2c91 [2023-05-08T04:17:26.342Z] Step 18/35 : WORKDIR / [2023-05-08T04:17:26.342Z] ---> Running in 185a4a9143fb [2023-05-08T04:17:26.601Z] Removing intermediate container 185a4a9143fb [2023-05-08T04:17:26.601Z] ---> 0244704198b5 [2023-05-08T04:17:26.601Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-08T04:17:26.859Z] ---> 1a954b498b3c [2023-05-08T04:17:26.859Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-08T04:17:27.120Z] ---> 8e2e665b6cca [2023-05-08T04:17:27.120Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-08T04:17:27.120Z] ---> 8538b70c97e3 [2023-05-08T04:17:27.120Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-08T04:17:27.120Z] ---> e76b36175ef3 [2023-05-08T04:17:27.120Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-08T04:17:27.380Z] ---> 39b8af260655 [2023-05-08T04:17:27.380Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-08T04:17:27.380Z] ---> d58d2a6f4553 [2023-05-08T04:17:27.380Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-08T04:17:27.946Z] ---> 4eccb0bb9352 [2023-05-08T04:17:27.946Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-08T04:17:27.946Z] ---> Running in 815e0905bc5b [2023-05-08T04:17:28.513Z] Removing intermediate container 815e0905bc5b [2023-05-08T04:17:28.513Z] ---> 2e5ca20d72b8 [2023-05-08T04:17:28.513Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-08T04:17:28.513Z] ---> Running in dd2ebb8ad275 [2023-05-08T04:17:29.079Z] Removing intermediate container dd2ebb8ad275 [2023-05-08T04:17:29.079Z] ---> 36289cba24de [2023-05-08T04:17:29.079Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-08T04:17:29.079Z] ---> Running in 751bb419acb4 [2023-05-08T04:17:29.645Z] Removing intermediate container 751bb419acb4 [2023-05-08T04:17:29.645Z] ---> 5bf6cbe2cd19 [2023-05-08T04:17:29.645Z] Step 29/35 : EXPOSE 59983 [2023-05-08T04:17:29.645Z] ---> Running in c408f9a0c94e [2023-05-08T04:17:29.645Z] Removing intermediate container c408f9a0c94e [2023-05-08T04:17:29.645Z] ---> 8b0979c9e892 [2023-05-08T04:17:29.645Z] Step 30/35 : EXPOSE 8554 [2023-05-08T04:17:29.645Z] ---> Running in 77cf653b587c [2023-05-08T04:17:29.903Z] Removing intermediate container 77cf653b587c [2023-05-08T04:17:29.903Z] ---> 4fe119480da0 [2023-05-08T04:17:29.903Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-08T04:17:29.903Z] ---> Running in 30b2a481320e [2023-05-08T04:17:29.903Z] Removing intermediate container 30b2a481320e [2023-05-08T04:17:29.903Z] ---> 7e818c641fa8 [2023-05-08T04:17:29.903Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-08T04:17:29.903Z] ---> Running in e99c6fdd9ad8 [2023-05-08T04:17:29.903Z] Removing intermediate container e99c6fdd9ad8 [2023-05-08T04:17:29.903Z] ---> 342e2c36bdb7 [2023-05-08T04:17:29.903Z] Step 33/35 : LABEL arch=amd64 [2023-05-08T04:17:29.903Z] ---> Running in 1cf7cddb1af4 [2023-05-08T04:17:30.160Z] Removing intermediate container 1cf7cddb1af4 [2023-05-08T04:17:30.160Z] ---> 611408331d7f [2023-05-08T04:17:30.160Z] Step 34/35 : LABEL git_sha=8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 [2023-05-08T04:17:30.160Z] ---> Running in cf1b2cca34be [2023-05-08T04:17:30.160Z] Removing intermediate container cf1b2cca34be [2023-05-08T04:17:30.160Z] ---> 243ac6e2e1d3 [2023-05-08T04:17:30.160Z] Step 35/35 : LABEL version=0.0.0 [2023-05-08T04:17:30.160Z] ---> Running in 0c9e68846cbe [2023-05-08T04:17:30.160Z] Removing intermediate container 0c9e68846cbe [2023-05-08T04:17:30.160Z] ---> 6153e0fb20b8 [2023-05-08T04:17:30.160Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T04:17:30.160Z] Successfully built 6153e0fb20b8 [2023-05-08T04:17:30.160Z] 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-05-08T04:17:31.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T04:17:31.038Z] [2023-05-08T04:17:31.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:17:31.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T04:17:31.407Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T04:17:31.407Z] 5eb5b503b376: Pulling fs layer [2023-05-08T04:17:31.407Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T04:17:31.407Z] ec43610c2a17: Pulling fs layer [2023-05-08T04:17:31.407Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T04:17:31.407Z] 33b1e0a273af: Pulling fs layer [2023-05-08T04:17:31.407Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T04:17:31.407Z] 2f39f015ded8: Pulling fs layer [2023-05-08T04:17:31.407Z] 3a2ae6a8a46f: Waiting [2023-05-08T04:17:31.407Z] 33b1e0a273af: Waiting [2023-05-08T04:17:31.407Z] 5d3b04190fa2: Waiting [2023-05-08T04:17:31.407Z] 2f39f015ded8: Waiting [2023-05-08T04:17:31.407Z] 5c69ac0246d0: Verifying Checksum [2023-05-08T04:17:31.407Z] 5c69ac0246d0: Download complete [2023-05-08T04:17:31.407Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T04:17:31.407Z] 3a2ae6a8a46f: Download complete [2023-05-08T04:17:31.407Z] 33b1e0a273af: Verifying Checksum [2023-05-08T04:17:31.407Z] 33b1e0a273af: Download complete [2023-05-08T04:17:31.407Z] ec43610c2a17: Verifying Checksum [2023-05-08T04:17:31.407Z] ec43610c2a17: Download complete [2023-05-08T04:17:31.407Z] 5d3b04190fa2: Verifying Checksum [2023-05-08T04:17:31.407Z] 5d3b04190fa2: Download complete [2023-05-08T04:17:31.666Z] 5eb5b503b376: Verifying Checksum [2023-05-08T04:17:31.666Z] 5eb5b503b376: Download complete [2023-05-08T04:17:32.231Z] 2f39f015ded8: Verifying Checksum [2023-05-08T04:17:32.231Z] 2f39f015ded8: Download complete [2023-05-08T04:17:32.796Z] 5eb5b503b376: Pull complete [2023-05-08T04:17:32.796Z] 5c69ac0246d0: Pull complete [2023-05-08T04:17:33.362Z] ec43610c2a17: Pull complete [2023-05-08T04:17:33.362Z] 3a2ae6a8a46f: Pull complete [2023-05-08T04:17:33.620Z] 33b1e0a273af: Pull complete [2023-05-08T04:17:33.620Z] 5d3b04190fa2: Pull complete [2023-05-08T04:17:37.817Z] 2f39f015ded8: Pull complete [2023-05-08T04:17:37.817Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T04:17:37.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T04:17:37.817Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:17:38.016Z] prd-ubuntu20.04-docker-8c-8g-14435 does not seem to be running inside a container [2023-05-08T04:17:38.047Z] $ 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-237 -v /w/workspace/foundry_device-usb-camera_PR-237:/w/workspace/foundry_device-usb-camera_PR-237:rw,z -v /w/workspace/foundry_device-usb-camera_PR-237@tmp:/w/workspace/foundry_device-usb-camera_PR-237@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-05-08T04:17:39.496Z] $ docker top b44ab8c41b4f040b80d8b3a27147ce257e6065f0c685a9952953c0aec2e9dc54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:17:39.950Z] ---> job-cost.sh [2023-05-08T04:17:39.950Z] lf-activate-venv: SKIPPING [2023-05-08T04:17:39.950Z] INFO: No Stack... [2023-05-08T04:17:40.210Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T04:17:40.470Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T04:17:40.789Z] + cat /w/workspace/foundry_device-usb-camera_PR-237/archives/cost.csv [2023-05-08T04:17:40.789Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T04:17:40.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-237-1-stack-cost] [2023-05-08T04:17:40.835Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-237-1-stack-cost] did not exist. Created. [2023-05-08T04:17:40.835Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T04:17:41.231Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T04:17:41.282Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T04:17:41.313Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-237-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T04:17:41.395Z] $ docker stop --time=1 b44ab8c41b4f040b80d8b3a27147ce257e6065f0c685a9952953c0aec2e9dc54 [2023-05-08T04:17:42.536Z] $ docker rm -f --volumes b44ab8c41b4f040b80d8b3a27147ce257e6065f0c685a9952953c0aec2e9dc54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T04:18:57.168Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14437 in /w/workspace/foundry_device-usb-camera_PR-237 [Pipeline] { [Pipeline] ws [2023-05-08T04:18:57.226Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-05-08T04:18:57.304Z] Selected Git installation does not exist. Using Default [2023-05-08T04:18:57.304Z] The recommended git tool is: NONE [2023-05-08T04:19:04.166Z] using credential edgex-jenkins-ssh [2023-05-08T04:19:04.188Z] Cloning the remote Git repository [2023-05-08T04:19:04.254Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-05-08T04:19:04.374Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-05-08T04:19:04.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-08T04:19:04.553Z] > git --version # timeout=10 [2023-05-08T04:19:04.580Z] > git --version # 'git version 2.25.1' [2023-05-08T04:19:04.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T04:19:04.773Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T04:19:05.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-08T04:19:05.729Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T04:19:06.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-05-08T04:19:06.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-05-08T04:19:06.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T04:19:06.924Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-08T04:19:07.616Z] Merging remotes/origin/main commit b46066adcd577da1416ab754af5e0b29040ea265 into PR head commit 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 [2023-05-08T04:19:07.957Z] Merge succeeded, producing 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 [2023-05-08T04:19:07.957Z] Checking out Revision 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 (PR-237) [2023-05-08T04:19:07.642Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T04:19:07.722Z] > git checkout -f 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 # timeout=10 [2023-05-08T04:19:07.831Z] > git remote # timeout=10 [2023-05-08T04:19:07.856Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T04:19:07.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T04:19:07.905Z] > git merge b46066adcd577da1416ab754af5e0b29040ea265 # timeout=10 [2023-05-08T04:19:07.937Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T04:19:07.968Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T04:19:07.984Z] > git checkout -f 8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 # timeout=10 [2023-05-08T04:19:11.584Z] Commit message: "build: Ignore all go-mods except device-sdk-go" [2023-05-08T04:19:11.652Z] > git --version # timeout=10 [2023-05-08T04:19:11.664Z] > git --version # 'git version 2.25.1' [2023-05-08T04:19:11.680Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T04:19:12.829Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T04:19:12.829Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T04:19:12.829Z] Dload Upload Total Spent Left Speed [2023-05-08T04:19:12.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-05-08T04:19:13.526Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T04:19:13.888Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T04:19:13.888Z] + sudo tee /etc/docker/daemon.new [2023-05-08T04:19:13.888Z] { [2023-05-08T04:19:13.888Z] "registry-mirrors": [ [2023-05-08T04:19:13.888Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T04:19:13.888Z] ], [2023-05-08T04:19:13.888Z] "bip": "10.250.0.254/24", [2023-05-08T04:19:13.888Z] "hosts": [ [2023-05-08T04:19:13.888Z] "tcp://0.0.0.0:5555", [2023-05-08T04:19:13.888Z] "unix:///var/run/docker.sock" [2023-05-08T04:19:13.888Z] ], [2023-05-08T04:19:13.888Z] "mtu": 1458, [2023-05-08T04:19:13.888Z] "selinux-enabled": true, [2023-05-08T04:19:13.888Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T04:19:13.888Z] } [Pipeline] sh [2023-05-08T04:19:14.259Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T04:19:14.622Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T04:19:32.962Z] provisioning config files... [2023-05-08T04:19:32.994Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config10443922301363798476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:19:33.397Z] ---> docker-login.sh [2023-05-08T04:19:33.397Z] nexus3.edgexfoundry.org:10001 [2023-05-08T04:19:33.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:19:33.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:19:33.989Z] Configure a credential helper to remove this warning. See [2023-05-08T04:19:33.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:19:33.989Z] [2023-05-08T04:19:33.989Z] Login Succeeded [2023-05-08T04:19:33.989Z] nexus3.edgexfoundry.org:10002 [2023-05-08T04:19:34.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:19:34.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:19:34.528Z] Configure a credential helper to remove this warning. See [2023-05-08T04:19:34.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:19:34.528Z] [2023-05-08T04:19:34.528Z] Login Succeeded [2023-05-08T04:19:34.528Z] nexus3.edgexfoundry.org:10003 [2023-05-08T04:19:34.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:19:34.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:19:34.800Z] Configure a credential helper to remove this warning. See [2023-05-08T04:19:34.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:19:34.800Z] [2023-05-08T04:19:34.800Z] Login Succeeded [2023-05-08T04:19:34.800Z] nexus3.edgexfoundry.org:10004 [2023-05-08T04:19:35.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:19:35.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:19:35.070Z] Configure a credential helper to remove this warning. See [2023-05-08T04:19:35.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:19:35.070Z] [2023-05-08T04:19:35.070Z] Login Succeeded [2023-05-08T04:19:35.070Z] docker.io [2023-05-08T04:19:35.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:19:35.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:19:35.660Z] Configure a credential helper to remove this warning. See [2023-05-08T04:19:35.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:19:35.660Z] [2023-05-08T04:19:35.660Z] Login Succeeded [2023-05-08T04:19:35.660Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T04:19:35.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T04:19:36.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T04:19:36.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T04:19:36.178Z] ========================================================= [2023-05-08T04:19:36.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T04:19:36.178Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:19:36.753Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T04:19:37.021Z] Sending build context to Docker daemon 1.259MB [2023-05-08T04:19:37.021Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T04:19:37.021Z] Step 2/13 : FROM ${BASE} AS builder [2023-05-08T04:19:37.293Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T04:19:37.293Z] c41833b44d91: Pulling fs layer [2023-05-08T04:19:37.293Z] ed15518f5707: Pulling fs layer [2023-05-08T04:19:37.293Z] feae8fd75edb: Pulling fs layer [2023-05-08T04:19:37.293Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T04:19:37.293Z] 3cdef696dda3: Pulling fs layer [2023-05-08T04:19:37.293Z] 2ced38df9373: Pulling fs layer [2023-05-08T04:19:37.293Z] 58f1dce35555: Pulling fs layer [2023-05-08T04:19:37.293Z] 242c74f7c9fa: Waiting [2023-05-08T04:19:37.293Z] 3cdef696dda3: Waiting [2023-05-08T04:19:37.293Z] 2ced38df9373: Waiting [2023-05-08T04:19:37.293Z] 58f1dce35555: Waiting [2023-05-08T04:19:37.293Z] ed15518f5707: Download complete [2023-05-08T04:19:37.293Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T04:19:37.293Z] 242c74f7c9fa: Download complete [2023-05-08T04:19:37.293Z] 3cdef696dda3: Verifying Checksum [2023-05-08T04:19:37.293Z] 3cdef696dda3: Download complete [2023-05-08T04:19:37.293Z] c41833b44d91: Verifying Checksum [2023-05-08T04:19:38.279Z] c41833b44d91: Pull complete [2023-05-08T04:19:38.869Z] 58f1dce35555: Verifying Checksum [2023-05-08T04:19:39.144Z] ed15518f5707: Pull complete [2023-05-08T04:19:40.114Z] feae8fd75edb: Verifying Checksum [2023-05-08T04:19:40.114Z] feae8fd75edb: Download complete [2023-05-08T04:19:40.114Z] 2ced38df9373: Verifying Checksum [2023-05-08T04:19:40.114Z] 2ced38df9373: Download complete [2023-05-08T04:19:52.441Z] feae8fd75edb: Pull complete [2023-05-08T04:19:52.441Z] 242c74f7c9fa: Pull complete [2023-05-08T04:19:52.441Z] 3cdef696dda3: Pull complete [2023-05-08T04:19:57.818Z] 2ced38df9373: Pull complete [2023-05-08T04:20:00.423Z] 58f1dce35555: Pull complete [2023-05-08T04:20:00.423Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T04:20:00.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T04:20:00.692Z] ---> fadd8f120f05 [2023-05-08T04:20:00.692Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-05-08T04:20:02.663Z] ---> Running in a105d99a9e8a [2023-05-08T04:20:02.937Z] Removing intermediate container a105d99a9e8a [2023-05-08T04:20:02.937Z] ---> 70e37924077e [2023-05-08T04:20:02.937Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T04:20:02.937Z] ---> Running in ac5bbc6267fb [2023-05-08T04:20:03.208Z] Removing intermediate container ac5bbc6267fb [2023-05-08T04:20:03.208Z] ---> 5200552ce68e [2023-05-08T04:20:03.208Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-08T04:20:03.476Z] ---> Running in fda14e1ecafb [2023-05-08T04:20:03.745Z] Removing intermediate container fda14e1ecafb [2023-05-08T04:20:03.745Z] ---> 22dbe7ed6e24 [2023-05-08T04:20:03.745Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-08T04:20:03.745Z] ---> Running in 9bf8855e9e82 [2023-05-08T04:20:04.013Z] Removing intermediate container 9bf8855e9e82 [2023-05-08T04:20:04.013Z] ---> 3cc96c060b15 [2023-05-08T04:20:04.013Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T04:20:04.285Z] ---> Running in ba4515617e7a [2023-05-08T04:20:05.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T04:20:05.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T04:20:07.249Z] (1/14) Installing libintl (0.21.1-r1) [2023-05-08T04:20:07.249Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-05-08T04:20:07.249Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-05-08T04:20:07.249Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-05-08T04:20:07.249Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-05-08T04:20:07.249Z] (6/14) Installing udev-init-scripts (35-r1) [2023-05-08T04:20:07.249Z] (7/14) Installing libblkid (2.38.1-r1) [2023-05-08T04:20:07.249Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-05-08T04:20:07.249Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-05-08T04:20:07.249Z] (10/14) Installing kmod-libs (30-r1) [2023-05-08T04:20:07.249Z] (11/14) Installing eudev (3.2.11-r4) [2023-05-08T04:20:07.249Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-05-08T04:20:07.249Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-05-08T04:20:07.249Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-05-08T04:20:07.519Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T04:20:07.519Z] Executing eudev-3.2.11-r4.trigger [2023-05-08T04:20:07.519Z] OK: 271 MiB in 67 packages [2023-05-08T04:20:08.936Z] Removing intermediate container ba4515617e7a [2023-05-08T04:20:08.936Z] ---> 3d1b29b81f9a [2023-05-08T04:20:08.936Z] Step 8/13 : WORKDIR /device-usb-camera [2023-05-08T04:20:08.936Z] ---> Running in 962745299e2f [2023-05-08T04:20:09.208Z] Removing intermediate container 962745299e2f [2023-05-08T04:20:09.208Z] ---> 0aef16819c6a [2023-05-08T04:20:09.208Z] Step 9/13 : COPY go.mod vendor* ./ [2023-05-08T04:20:09.795Z] ---> 3c0d2c82620c [2023-05-08T04:20:09.795Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T04:20:09.795Z] ---> Running in 241f87861d8c [2023-05-08T04:21:31.463Z] Removing intermediate container 241f87861d8c [2023-05-08T04:21:31.463Z] ---> 2becdfae0492 [2023-05-08T04:21:31.463Z] Step 11/13 : COPY . . [2023-05-08T04:21:31.463Z] ---> d6dbe4730348 [2023-05-08T04:21:31.463Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-08T04:21:31.463Z] ---> Running in 5855642cf840 [2023-05-08T04:21:31.735Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T04:21:31.735Z] Dload Upload Total Spent Left Speed [2023-05-08T04:21:32.011Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 2981 0 --:--:-- --:--:-- --:--:-- 2983 [2023-05-08T04:21:32.979Z] Removing intermediate container 5855642cf840 [2023-05-08T04:21:32.979Z] ---> d7ee3671447f [2023-05-08T04:21:32.979Z] Step 13/13 : RUN ${MAKE} [2023-05-08T04:21:32.979Z] ---> Running in 40da4ea8d8e4 [2023-05-08T04:21:33.949Z] noop [2023-05-08T04:21:35.365Z] Removing intermediate container 40da4ea8d8e4 [2023-05-08T04:21:35.365Z] ---> 5728f68da9ef [2023-05-08T04:21:35.365Z] Successfully built 5728f68da9ef [2023-05-08T04:21:35.365Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:21:35.835Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T04:21:35.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:21:36.157Z] prd-ubuntu20.04-docker-arm64-4c-16g-14437 does not seem to be running inside a container [2023-05-08T04:21:36.236Z] $ 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-05-08T04:21:37.486Z] $ docker top 6fcd2ba0d0143ddd067fd85fc0ae6d9f3e03118e8c276d8d76e915048f8c9ce1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T04:21:38.378Z] + go version [2023-05-08T04:21:38.378Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T04:21:38.413Z] $ docker stop --time=1 6fcd2ba0d0143ddd067fd85fc0ae6d9f3e03118e8c276d8d76e915048f8c9ce1 [2023-05-08T04:21:40.073Z] $ docker rm -f --volumes 6fcd2ba0d0143ddd067fd85fc0ae6d9f3e03118e8c276d8d76e915048f8c9ce1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:21:40.923Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T04:21:40.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:21:41.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-14437 does not seem to be running inside a container [2023-05-08T04:21:41.267Z] $ 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-05-08T04:21:42.547Z] $ docker top 2f968e9f077ebdd6477dceda11c48a902ac663c1660c9f9cfa359f37019b6a2b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T04:21:43.439Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-05-08T04:21:44.158Z] + make test [2023-05-08T04:21:44.159Z] go test ./... -coverprofile=coverage.out ./... [2023-05-08T04:22:23.059Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-05-08T04:24:44.784Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-05-08T04:24:45.367Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.056s coverage: 2.0% of statements [2023-05-08T04:24:45.950Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T04:24:45.950Z] go vet ./... [2023-05-08T04:25:12.672Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T04:25:12.672Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T04:25:12.672Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T04:25:12.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T04:25:12.746Z] $ docker stop --time=1 2f968e9f077ebdd6477dceda11c48a902ac663c1660c9f9cfa359f37019b6a2b [2023-05-08T04:25:14.596Z] $ docker rm -f --volumes 2f968e9f077ebdd6477dceda11c48a902ac663c1660c9f9cfa359f37019b6a2b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T04:25:15.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T04:25:15.839Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T04:25:16.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T04:25:17.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T04:25:17.368Z] + ls -al . [2023-05-08T04:25:17.369Z] total 188 [2023-05-08T04:25:17.369Z] drwxrwxr-x 9 jenkins jenkins 4096 May 8 04:21 . [2023-05-08T04:25:17.369Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:19 .. [2023-05-08T04:25:17.369Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:19 .git [2023-05-08T04:25:17.369Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:19 .github [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 414 May 8 04:19 .gitignore [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 04:19 .golangci.yml [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 77 May 8 04:19 .hadolint.yml [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 9665 May 8 04:19 Attribution.txt [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 6219 May 8 04:19 CHANGELOG.md [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 2328 May 8 04:19 Dockerfile [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 678 May 8 04:19 GOVERNANCE.md [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 659 May 8 04:19 Jenkinsfile [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 11348 May 8 04:19 LICENSE [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 2364 May 8 04:19 Makefile [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 622 May 8 04:19 OWNERS.md [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 5681 May 8 04:19 README.md [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:15 VERSION [2023-05-08T04:25:17.369Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:19 bin [2023-05-08T04:25:17.369Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:19 cmd [2023-05-08T04:25:17.369Z] -rw-r--r-- 1 jenkins jenkins 28693 May 8 04:24 coverage.out [2023-05-08T04:25:17.369Z] -rwxrwxr-x 1 jenkins jenkins 140 May 8 04:19 docker-entrypoint.sh [2023-05-08T04:25:17.369Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:19 docs [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 3443 May 8 04:19 go.mod [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 31488 May 8 04:19 go.sum [2023-05-08T04:25:17.369Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:19 internal [2023-05-08T04:25:17.369Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:19 snap [2023-05-08T04:25:17.369Z] -rw-rw-r-- 1 jenkins jenkins 231 May 8 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:25:17.794Z] + 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=8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 --label arch=arm64 --label version=0.0.0 . [2023-05-08T04:25:18.059Z] Sending build context to Docker daemon 1.289MB [2023-05-08T04:25:18.059Z] Step 1/35 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T04:25:18.059Z] Step 2/35 : FROM ${BASE} AS builder [2023-05-08T04:25:18.059Z] ---> 5728f68da9ef [2023-05-08T04:25:18.060Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-05-08T04:25:18.328Z] ---> Running in 3ac4c08ef9d6 [2023-05-08T04:25:19.387Z] Removing intermediate container 3ac4c08ef9d6 [2023-05-08T04:25:19.388Z] ---> 8f67c14ab52a [2023-05-08T04:25:19.388Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T04:25:19.388Z] ---> Running in 2bbf4e8b76fa [2023-05-08T04:25:19.388Z] Removing intermediate container 2bbf4e8b76fa [2023-05-08T04:25:19.388Z] ---> 5afb4a021a5e [2023-05-08T04:25:19.388Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-05-08T04:25:19.388Z] ---> Running in 5490258e627f [2023-05-08T04:25:19.388Z] Removing intermediate container 5490258e627f [2023-05-08T04:25:19.388Z] ---> b839ac82bf63 [2023-05-08T04:25:19.388Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-05-08T04:25:19.388Z] ---> Running in 09acb8d13530 [2023-05-08T04:25:20.570Z] Removing intermediate container 09acb8d13530 [2023-05-08T04:25:20.570Z] ---> 6e096cc17f7d [2023-05-08T04:25:20.570Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T04:25:20.570Z] ---> Running in 199e5615047c [2023-05-08T04:25:20.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T04:25:21.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T04:25:22.496Z] OK: 271 MiB in 67 packages [2023-05-08T04:25:23.903Z] Removing intermediate container 199e5615047c [2023-05-08T04:25:23.903Z] ---> dfa5ea89bccc [2023-05-08T04:25:23.903Z] Step 8/35 : WORKDIR /device-usb-camera [2023-05-08T04:25:23.903Z] ---> Running in a60992bd3c2c [2023-05-08T04:25:24.174Z] Removing intermediate container a60992bd3c2c [2023-05-08T04:25:24.174Z] ---> b8dd9bb31d3e [2023-05-08T04:25:24.174Z] Step 9/35 : COPY go.mod vendor* ./ [2023-05-08T04:25:24.448Z] ---> 5166b9936b5f [2023-05-08T04:25:24.448Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T04:25:24.717Z] ---> Running in 8c8405789bdd [2023-05-08T04:25:27.290Z] Removing intermediate container 8c8405789bdd [2023-05-08T04:25:27.290Z] ---> 53d07b09e07b [2023-05-08T04:25:27.290Z] Step 11/35 : COPY . . [2023-05-08T04:25:27.884Z] ---> 05aa74078575 [2023-05-08T04:25:27.884Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-05-08T04:25:27.884Z] ---> Running in 2d4c8f31acc0 [2023-05-08T04:25:28.847Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T04:25:28.847Z] Dload Upload Total Spent Left Speed [2023-05-08T04:25:29.114Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4195 0 --:--:-- --:--:-- --:--:-- 4197 [2023-05-08T04:25:29.702Z] Removing intermediate container 2d4c8f31acc0 [2023-05-08T04:25:29.702Z] ---> b08255337b01 [2023-05-08T04:25:29.702Z] Step 13/35 : RUN ${MAKE} [2023-05-08T04:25:29.702Z] ---> Running in f5c28dbd3a44 [2023-05-08T04:25:33.377Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-05-08T04:27:55.111Z] Removing intermediate container f5c28dbd3a44 [2023-05-08T04:27:55.111Z] ---> 0ae2d37ada49 [2023-05-08T04:27:55.111Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp [2023-05-08T04:27:55.111Z] v0.21.6: Pulling from aler9/rtsp-simple-server [2023-05-08T04:27:55.111Z] 8766b47fe142: Pulling fs layer [2023-05-08T04:27:55.111Z] 8766b47fe142: Verifying Checksum [2023-05-08T04:27:55.111Z] 8766b47fe142: Download complete [2023-05-08T04:27:55.111Z] 8766b47fe142: Pull complete [2023-05-08T04:27:55.111Z] Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f [2023-05-08T04:27:55.111Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 [2023-05-08T04:27:55.111Z] ---> 69d40e2cb93c [2023-05-08T04:27:55.111Z] Step 15/35 : FROM alpine:3.17 [2023-05-08T04:27:55.111Z] 3.17: Pulling from library/alpine [2023-05-08T04:27:55.111Z] c41833b44d91: Already exists [2023-05-08T04:27:55.111Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T04:27:55.111Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T04:27:55.111Z] ---> 51e60588ff2c [2023-05-08T04:27:55.111Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-05-08T04:27:55.111Z] ---> Running in 2d1b1affb15e [2023-05-08T04:27:55.111Z] Removing intermediate container 2d1b1affb15e [2023-05-08T04:27:55.111Z] ---> 52f3b40d21b4 [2023-05-08T04:27:55.111Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-05-08T04:27:55.111Z] ---> Running in ba2cc3cc3245 [2023-05-08T04:27:55.693Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T04:27:56.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T04:27:57.240Z] (1/83) Installing dumb-init (1.2.5-r2) [2023-05-08T04:27:57.240Z] (2/83) Installing sdl2 (2.26.5-r0) [2023-05-08T04:27:57.240Z] (3/83) Installing libxau (1.0.10-r0) [2023-05-08T04:27:57.240Z] (4/83) Installing libmd (1.0.4-r0) [2023-05-08T04:27:57.240Z] (5/83) Installing libbsd (0.11.7-r0) [2023-05-08T04:27:57.240Z] (6/83) Installing libxdmcp (1.1.4-r0) [2023-05-08T04:27:57.240Z] (7/83) Installing libxcb (1.15-r0) [2023-05-08T04:27:57.508Z] (8/83) Installing libx11 (1.8.4-r0) [2023-05-08T04:27:57.508Z] (9/83) Installing aom-libs (3.5.0-r0) [2023-05-08T04:27:57.775Z] (10/83) Installing alsa-lib (1.2.8-r0) [2023-05-08T04:27:57.775Z] (11/83) Installing libexpat (2.5.0-r0) [2023-05-08T04:27:57.775Z] (12/83) Installing brotli-libs (1.0.9-r9) [2023-05-08T04:27:57.775Z] (13/83) Installing libbz2 (1.0.8-r4) [2023-05-08T04:27:57.775Z] (14/83) Installing libpng (1.6.38-r0) [2023-05-08T04:27:57.775Z] (15/83) Installing freetype (2.12.1-r0) [2023-05-08T04:27:57.775Z] (16/83) Installing fontconfig (2.14.1-r0) [2023-05-08T04:27:57.775Z] (17/83) Installing fribidi (1.0.12-r0) [2023-05-08T04:27:57.775Z] (18/83) Installing libffi (3.4.4-r0) [2023-05-08T04:27:57.775Z] (19/83) Installing libintl (0.21.1-r1) [2023-05-08T04:27:57.775Z] (20/83) Installing libblkid (2.38.1-r1) [2023-05-08T04:27:57.775Z] (21/83) Installing libmount (2.38.1-r1) [2023-05-08T04:27:58.043Z] (22/83) Installing pcre2 (10.42-r0) [2023-05-08T04:27:58.043Z] (23/83) Installing glib (2.74.6-r0) [2023-05-08T04:27:58.043Z] (24/83) Installing graphite2 (1.3.14-r2) [2023-05-08T04:27:58.043Z] (25/83) Installing harfbuzz (5.3.1-r1) [2023-05-08T04:27:58.043Z] (26/83) Installing libass (0.16.0-r1) [2023-05-08T04:27:58.043Z] (27/83) Installing libdav1d (1.0.0-r2) [2023-05-08T04:27:58.043Z] (28/83) Installing libdrm (2.4.114-r0) [2023-05-08T04:27:58.043Z] (29/83) Installing gmp (6.2.1-r2) [2023-05-08T04:27:58.043Z] (30/83) Installing nettle (3.8.1-r0) [2023-05-08T04:27:58.043Z] (31/83) Installing p11-kit (0.24.1-r1) [2023-05-08T04:27:58.310Z] (32/83) Installing libtasn1 (4.19.0-r0) [2023-05-08T04:27:58.310Z] (33/83) Installing libunistring (1.1-r0) [2023-05-08T04:27:58.310Z] (34/83) Installing gnutls (3.7.8-r3) [2023-05-08T04:27:58.310Z] (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) [2023-05-08T04:27:58.310Z] (36/83) Installing ncurses-libs (6.3_p20221119-r0) [2023-05-08T04:27:58.310Z] (37/83) Installing lame (3.100-r2) [2023-05-08T04:27:58.310Z] (38/83) Installing opus (1.3.1-r1) [2023-05-08T04:27:58.310Z] (39/83) Installing libasyncns (0.8-r1) [2023-05-08T04:27:58.310Z] (40/83) Installing dbus-libs (1.14.4-r0) [2023-05-08T04:27:58.310Z] (41/83) Installing libltdl (2.4.7-r1) [2023-05-08T04:27:58.310Z] (42/83) Installing orc (0.4.33-r0) [2023-05-08T04:27:58.310Z] (43/83) Installing libgcc (12.2.1_git20220924-r4) [2023-05-08T04:27:58.310Z] (44/83) Installing libogg (1.3.5-r2) [2023-05-08T04:27:58.310Z] (45/83) Installing libstdc++ (12.2.1_git20220924-r4) [2023-05-08T04:27:58.576Z] (46/83) Installing flac-libs (1.4.2-r0) [2023-05-08T04:27:58.576Z] (47/83) Installing libvorbis (1.3.7-r0) [2023-05-08T04:27:58.576Z] (48/83) Installing libsndfile (1.1.0-r2) [2023-05-08T04:27:58.576Z] (49/83) Installing libgomp (12.2.1_git20220924-r4) [2023-05-08T04:27:58.576Z] (50/83) Installing soxr (0.1.3-r3) [2023-05-08T04:27:58.576Z] (51/83) Installing speexdsp (1.2.1-r0) [2023-05-08T04:27:58.576Z] (52/83) Installing tdb-libs (1.4.6-r0) [2023-05-08T04:27:58.576Z] (53/83) Installing libpulse (16.1-r6) [2023-05-08T04:27:58.576Z] (54/83) Installing cjson (1.7.15-r3) [2023-05-08T04:27:58.576Z] (55/83) Installing mbedtls (2.28.3-r0) [2023-05-08T04:27:58.576Z] (56/83) Installing librist (0.2.7-r0) [2023-05-08T04:27:58.576Z] (57/83) Installing libsrt (1.5.1-r0) [2023-05-08T04:27:58.576Z] (58/83) Installing libssh (0.10.5-r0) [2023-05-08T04:27:58.576Z] (59/83) Installing libtheora (1.1.1-r16) [2023-05-08T04:27:58.576Z] (60/83) Installing libjpeg-turbo (2.1.4-r0) [2023-05-08T04:27:58.842Z] (61/83) Installing v4l-utils-libs (1.22.1-r2) [2023-05-08T04:27:58.843Z] (62/83) Installing libxext (1.3.5-r0) [2023-05-08T04:27:58.843Z] (63/83) Installing libxfixes (6.0.0-r0) [2023-05-08T04:27:58.843Z] (64/83) Installing wayland-libs-client (1.21.0-r1) [2023-05-08T04:27:58.843Z] (65/83) Installing libva (2.16.0-r0) [2023-05-08T04:27:58.843Z] (66/83) Installing libvdpau (1.5-r0) [2023-05-08T04:27:58.843Z] (67/83) Installing vidstab (1.1.0-r2) [2023-05-08T04:27:58.843Z] (68/83) Installing libvpx (1.12.0-r1) [2023-05-08T04:27:58.843Z] (69/83) Installing libwebp (1.2.4-r1) [2023-05-08T04:27:58.843Z] (70/83) Installing x264-libs (0.164_git20220602-r0) [2023-05-08T04:27:58.843Z] (71/83) Installing numactl (2.0.16-r1) [2023-05-08T04:27:58.843Z] (72/83) Installing x265-libs (3.5-r3) [2023-05-08T04:27:59.110Z] (73/83) Installing xvidcore (1.3.7-r1) [2023-05-08T04:27:59.110Z] (74/83) Installing libsodium (1.0.18-r2) [2023-05-08T04:27:59.110Z] (75/83) Installing libzmq (4.3.4-r1) [2023-05-08T04:27:59.110Z] (76/83) Installing ffmpeg-libs (5.1.3-r0) [2023-05-08T04:27:59.377Z] (77/83) Installing ffmpeg (5.1.3-r0) [2023-05-08T04:27:59.644Z] (78/83) Installing udev-init-scripts (35-r1) [2023-05-08T04:27:59.644Z] (79/83) Installing eudev-libs (3.2.11-r4) [2023-05-08T04:27:59.644Z] (80/83) Installing xz-libs (5.2.9-r0) [2023-05-08T04:27:59.644Z] (81/83) Installing zstd-libs (1.5.5-r0) [2023-05-08T04:27:59.644Z] (82/83) Installing kmod-libs (30-r1) [2023-05-08T04:27:59.644Z] (83/83) Installing eudev (3.2.11-r4) [2023-05-08T04:27:59.644Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T04:27:59.644Z] Executing eudev-3.2.11-r4.trigger [2023-05-08T04:27:59.644Z] OK: 86 MiB in 98 packages [2023-05-08T04:28:03.900Z] Removing intermediate container ba2cc3cc3245 [2023-05-08T04:28:03.900Z] ---> 7edf26a31311 [2023-05-08T04:28:03.900Z] Step 18/35 : WORKDIR / [2023-05-08T04:28:03.900Z] ---> Running in affd3a6a4813 [2023-05-08T04:28:03.900Z] Removing intermediate container affd3a6a4813 [2023-05-08T04:28:03.900Z] ---> 2d84fd93fb11 [2023-05-08T04:28:03.900Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-05-08T04:28:04.860Z] ---> a0e9a29a7c98 [2023-05-08T04:28:04.860Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-05-08T04:28:05.441Z] ---> ee453363fef4 [2023-05-08T04:28:05.441Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-05-08T04:28:06.026Z] ---> d5b15c6d843e [2023-05-08T04:28:06.026Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-05-08T04:28:06.609Z] ---> 783096b9670d [2023-05-08T04:28:06.609Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-05-08T04:28:06.878Z] ---> 43ce87e29680 [2023-05-08T04:28:06.878Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-05-08T04:28:07.472Z] ---> f8050a913862 [2023-05-08T04:28:07.472Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-05-08T04:28:08.888Z] ---> 6ba0777e710c [2023-05-08T04:28:08.888Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-05-08T04:28:08.888Z] ---> Running in 30fdd5f4f18e [2023-05-08T04:28:10.831Z] Removing intermediate container 30fdd5f4f18e [2023-05-08T04:28:10.831Z] ---> bae0cabca5e7 [2023-05-08T04:28:10.831Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-05-08T04:28:10.831Z] ---> Running in c06b8f7bb4bd [2023-05-08T04:28:12.239Z] Removing intermediate container c06b8f7bb4bd [2023-05-08T04:28:12.239Z] ---> 8e7339a6e005 [2023-05-08T04:28:12.239Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-05-08T04:28:12.239Z] ---> Running in 4e7cefbb6943 [2023-05-08T04:28:13.664Z] Removing intermediate container 4e7cefbb6943 [2023-05-08T04:28:13.664Z] ---> c4d231179196 [2023-05-08T04:28:13.664Z] Step 29/35 : EXPOSE 59983 [2023-05-08T04:28:13.664Z] ---> Running in 89d4ec51790d [2023-05-08T04:28:13.933Z] Removing intermediate container 89d4ec51790d [2023-05-08T04:28:13.933Z] ---> 9ecc67095a10 [2023-05-08T04:28:13.933Z] Step 30/35 : EXPOSE 8554 [2023-05-08T04:28:13.933Z] ---> Running in 6a560908944c [2023-05-08T04:28:14.524Z] Removing intermediate container 6a560908944c [2023-05-08T04:28:14.524Z] ---> c94150c583bc [2023-05-08T04:28:14.524Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-05-08T04:28:14.524Z] ---> Running in 759134e18939 [2023-05-08T04:28:14.791Z] Removing intermediate container 759134e18939 [2023-05-08T04:28:14.791Z] ---> 1c311fabf831 [2023-05-08T04:28:14.791Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-05-08T04:28:14.791Z] ---> Running in 925490500a35 [2023-05-08T04:28:15.063Z] Removing intermediate container 925490500a35 [2023-05-08T04:28:15.063Z] ---> b3dc010f01e1 [2023-05-08T04:28:15.063Z] Step 33/35 : LABEL arch=arm64 [2023-05-08T04:28:15.063Z] ---> Running in 5cb6bdb8a19f [2023-05-08T04:28:15.331Z] Removing intermediate container 5cb6bdb8a19f [2023-05-08T04:28:15.331Z] ---> 90a64615258b [2023-05-08T04:28:15.331Z] Step 34/35 : LABEL git_sha=8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 [2023-05-08T04:28:15.606Z] ---> Running in 61a9c1559ba3 [2023-05-08T04:28:15.875Z] Removing intermediate container 61a9c1559ba3 [2023-05-08T04:28:15.875Z] ---> 01fdf03a7f29 [2023-05-08T04:28:15.875Z] Step 35/35 : LABEL version=0.0.0 [2023-05-08T04:28:15.875Z] ---> Running in 51e23e81704b [2023-05-08T04:28:16.142Z] Removing intermediate container 51e23e81704b [2023-05-08T04:28:16.142Z] ---> 8b8b0bbefd61 [2023-05-08T04:28:16.142Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T04:28:16.142Z] Successfully built 8b8b0bbefd61 [2023-05-08T04:28:16.142Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:28:16.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T04:28:16.957Z] [2023-05-08T04:28:16.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:28:17.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T04:28:17.372Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T04:28:17.372Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T04:28:17.372Z] 04944245beec: Pulling fs layer [2023-05-08T04:28:17.372Z] 699f458cf7ca: Pulling fs layer [2023-05-08T04:28:17.372Z] 765212b225bb: Pulling fs layer [2023-05-08T04:28:17.372Z] f23df028b6ca: Pulling fs layer [2023-05-08T04:28:17.372Z] 765212b225bb: Waiting [2023-05-08T04:28:17.372Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T04:28:17.372Z] f23df028b6ca: Waiting [2023-05-08T04:28:17.372Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T04:28:17.372Z] d65c8cfc05b1: Waiting [2023-05-08T04:28:17.372Z] 2437ff75d9bd: Waiting [2023-05-08T04:28:17.641Z] 04944245beec: Verifying Checksum [2023-05-08T04:28:17.641Z] 04944245beec: Download complete [2023-05-08T04:28:17.641Z] 765212b225bb: Verifying Checksum [2023-05-08T04:28:17.641Z] 765212b225bb: Download complete [2023-05-08T04:28:17.641Z] f23df028b6ca: Verifying Checksum [2023-05-08T04:28:17.641Z] f23df028b6ca: Download complete [2023-05-08T04:28:17.641Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T04:28:17.641Z] d65c8cfc05b1: Download complete [2023-05-08T04:28:17.909Z] 699f458cf7ca: Verifying Checksum [2023-05-08T04:28:17.909Z] 699f458cf7ca: Download complete [2023-05-08T04:28:18.174Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T04:28:18.174Z] 8998bd30e6a1: Download complete [2023-05-08T04:28:20.123Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T04:28:20.123Z] 2437ff75d9bd: Download complete [2023-05-08T04:28:22.089Z] 8998bd30e6a1: Pull complete [2023-05-08T04:28:22.357Z] 04944245beec: Pull complete [2023-05-08T04:28:23.767Z] 699f458cf7ca: Pull complete [2023-05-08T04:28:23.767Z] 765212b225bb: Pull complete [2023-05-08T04:28:24.725Z] f23df028b6ca: Pull complete [2023-05-08T04:28:24.725Z] d65c8cfc05b1: Pull complete [2023-05-08T04:28:39.723Z] 2437ff75d9bd: Pull complete [2023-05-08T04:28:39.723Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T04:28:39.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T04:28:39.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:28:40.077Z] prd-ubuntu20.04-docker-arm64-4c-16g-14437 does not seem to be running inside a container [2023-05-08T04:28:40.148Z] $ 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-05-08T04:28:42.994Z] $ docker top 3de650d2750512a60f2392245bc58b919be473c97299b1128e4b1f38066f907c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:28:43.917Z] ---> job-cost.sh [2023-05-08T04:28:43.917Z] lf-activate-venv: SKIPPING [2023-05-08T04:28:43.917Z] INFO: No Stack... [2023-05-08T04:28:44.510Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T04:28:45.088Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T04:28:45.527Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-05-08T04:28:45.527Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T04:28:45.864Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-237-1-stack-cost] [2023-05-08T04:28:45.868Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-237-1-stack-cost] did not exist. Created. [2023-05-08T04:28:45.868Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-237-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T04:28:46.274Z] /w/workspace/device-usb-camera/1@tmp/durable-5eb6fcca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T04:28:46.625Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T04:28:46.666Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T04:28:46.716Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T04:28:46.731Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-237-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T04:28:46.811Z] $ docker stop --time=1 3de650d2750512a60f2392245bc58b919be473c97299b1128e4b1f38066f907c [2023-05-08T04:28:48.301Z] $ docker rm -f --volumes 3de650d2750512a60f2392245bc58b919be473c97299b1128e4b1f38066f907c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-08T04:28:49.259Z] provisioning config files... [2023-05-08T04:28:49.265Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-237@tmp/config17112753015815594232tmp [Pipeline] { [Pipeline] sh [2023-05-08T04:28:49.606Z] + set +x [2023-05-08T04:28:49.606Z] + curl -s https://codecov.io/bash [2023-05-08T04:28:49.606Z] + bash -s -- [2023-05-08T04:28:49.606Z] [2023-05-08T04:28:49.606Z] _____ _ [2023-05-08T04:28:49.606Z] / ____| | | [2023-05-08T04:28:49.606Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T04:28:49.606Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T04:28:49.606Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T04:28:49.606Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T04:28:49.606Z] Bash-1.0.6 [2023-05-08T04:28:49.606Z] [2023-05-08T04:28:49.606Z] [2023-05-08T04:28:49.606Z] ==> git version 2.25.1 found [2023-05-08T04:28:49.606Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-08T04:28:49.606Z] Release-Date: 2020-01-08 [2023-05-08T04:28:49.606Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-08T04:28:49.606Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T04:28:49.606Z] ==> Jenkins CI detected. [2023-05-08T04:28:49.606Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-237 [2023-05-08T04:28:49.606Z] project root: . [2023-05-08T04:28:49.606Z] --> token set from env [2023-05-08T04:28:49.606Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T04:28:49.606Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T04:28:49.606Z] ==> Python coveragepy not found [2023-05-08T04:28:49.606Z] ==> Searching for coverage reports in: [2023-05-08T04:28:49.606Z] + . [2023-05-08T04:28:49.606Z] -> Found 1 reports [2023-05-08T04:28:49.606Z] ==> Detecting git/mercurial file structure [2023-05-08T04:28:49.865Z] ==> Reading reports [2023-05-08T04:28:49.865Z] + ./coverage.out bytes=28693 [2023-05-08T04:28:49.865Z] ==> Appending adjustments [2023-05-08T04:28:49.865Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T04:28:49.865Z] + Found adjustments [2023-05-08T04:28:49.865Z] ==> Gzipping contents [2023-05-08T04:28:49.865Z] 4.0K /tmp/codecov.GlFEcW.gz [2023-05-08T04:28:49.865Z] ==> Uploading reports [2023-05-08T04:28:49.865Z] url: https://codecov.io [2023-05-08T04:28:49.865Z] query: branch=PR-237&commit=8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-237%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=237&job=&cmd_args= [2023-05-08T04:28:49.865Z] -> Pinging Codecov [2023-05-08T04:28:49.865Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-237&commit=8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-237%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=237&job=&cmd_args= [2023-05-08T04:28:50.125Z] -> Uploading to [2023-05-08T04:28:50.125Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/73D8F5FF140700D3E01443B452E23636/8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5/a205a980-dc34-43e2-b44c-ec1d220a8172.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T042849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d795b36fa0fd8311756a43178882101bfd5efb707d4427a4f1bff30a4b59df63 [2023-05-08T04:28:50.125Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T04:28:50.125Z] Dload Upload Total Spent Left Speed [2023-05-08T04:28:50.384Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 17462 --:--:-- --:--:-- --:--:-- 17462 [2023-05-08T04:28:50.384Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/8f2ed8f6a56cd1435889fcdb8040b5fb804ac4f5 [Pipeline] } [2023-05-08T04:28:50.410Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-08T04:28:52.169Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-237/archives ] [2023-05-08T04:28:52.169Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-237/archives [2023-05-08T04:28:52.169Z] total 16 [2023-05-08T04:28:52.169Z] drwxr-xr-x 3 root root 4096 May 8 04:17 . [2023-05-08T04:28:52.169Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 04:17 .. [2023-05-08T04:28:52.169Z] drwxr-xr-x 2 root root 4096 May 8 04:17 cost [2023-05-08T04:28:52.169Z] -rw-r--r-- 1 root root 89 May 8 04:17 cost.csv [2023-05-08T04:28:52.169Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-237/archives [2023-05-08T04:28:52.169Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-237/archives [2023-05-08T04:28:52.169Z] total 16 [2023-05-08T04:28:52.169Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:17 . [2023-05-08T04:28:52.169Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 04:17 .. [2023-05-08T04:28:52.169Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 04:17 cost [2023-05-08T04:28:52.169Z] -rw-r--r-- 1 jenkins jenkins 89 May 8 04:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:28:52.500Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:28:53.395Z] ---> package-listing.sh [2023-05-08T04:28:53.396Z] ++ facter osfamily [2023-05-08T04:28:53.396Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T04:28:53.663Z] + OS_FAMILY=debian [2023-05-08T04:28:53.663Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-237 [2023-05-08T04:28:53.663Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T04:28:53.663Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T04:28:53.663Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T04:28:53.663Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T04:28:53.663Z] + '[' /w/workspace/foundry_device-usb-camera_PR-237 ']' [2023-05-08T04:28:53.663Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T04:28:53.663Z] + case "${OS_FAMILY}" in [2023-05-08T04:28:53.663Z] + dpkg -l [2023-05-08T04:28:53.663Z] + grep '^ii' [2023-05-08T04:28:53.663Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T04:28:53.663Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T04:28:53.663Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T04:28:53.663Z] + '[' /w/workspace/foundry_device-usb-camera_PR-237 ']' [2023-05-08T04:28:53.663Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-237/archives/ [2023-05-08T04:28:53.663Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-237/archives/ [Pipeline] echo [2023-05-08T04:28:53.704Z] 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-237/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-08T04:28:53.998Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:28:54.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T04:28:54.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:28:54.796Z] prd-ubuntu20.04-docker-8c-8g-14435 does not seem to be running inside a container [2023-05-08T04:28:54.823Z] $ 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-237/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-237 -v /w/workspace/foundry_device-usb-camera_PR-237:/w/workspace/foundry_device-usb-camera_PR-237:rw,z -v /w/workspace/foundry_device-usb-camera_PR-237@tmp:/w/workspace/foundry_device-usb-camera_PR-237@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-05-08T04:28:55.013Z] $ docker top 53e402fd91c42166bea3d3a9871b7eb5329912200769af3206863a465fb94f4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T04:28:55.410Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T04:28:55.722Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T04:28:56.025Z] + ls /var/log/sa-host [2023-05-08T04:28:56.025Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T04:28:56.165Z] provisioning config files... [2023-05-08T04:28:56.174Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-237@tmp/config12842136067667961345tmp [Pipeline] { [Pipeline] echo [2023-05-08T04:28:56.300Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:28:56.617Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T04:28:56.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:28:57.039Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T04:28:57.071Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:28:57.387Z] ---> sudo-logs.sh [2023-05-08T04:28:57.387Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T04:28:57.472Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:28:57.782Z] ---> job-cost.sh [2023-05-08T04:28:57.782Z] lf-activate-venv: SKIPPING [2023-05-08T04:28:57.782Z] DEBUG: total: 0.2199999988079071 [2023-05-08T04:28:57.782Z] INFO: Retrieving Stack Cost... [2023-05-08T04:28:58.041Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T04:28:58.610Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T04:28:58.647Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:28:58.969Z] ---> logs-deploy.sh [2023-05-08T04:28:58.969Z] lf-activate-venv: SKIPPING [2023-05-08T04:28:58.969Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-237/1 [2023-05-08T04:28:58.969Z] INFO: archiving workspace using pattern(s): [2023-05-08T04:28:59.911Z] Archives upload complete. [2023-05-08T04:29:00.170Z] INFO: archiving logs to Nexus